  
  #endif
 diff --git a/cpp/poppler-page-renderer.cpp b/cpp/poppler-page-renderer.cpp
-index 1317192..72b5a34 100644
+index 1317192..f665b94 100644
 --- a/cpp/poppler-page-renderer.cpp
 +++ b/cpp/poppler-page-renderer.cpp
 @@ -28,6 +28,9 @@

  Rendering capability test.
 
diff --git a/cpp/poppler-page-renderer.h b/cpp/poppler-page-renderer.h
index 1383865..2894b69 100644
--- a/cpp/poppler-page-renderer.h
+++ b/cpp/poppler-page-renderer.h
@@ -53,6 +53,13 @@ public:
                       double xres = 72.0, double yres = 72.0,
                       int x = -1, int y = -1, int w = -1, int h = -1,
                       rotation_enum rotate = rotate_0) const;

+                           bool printing,
+                           double xres = 72.0, double yres = 72.0,
+                           int x = -1, int y = -1, int w = -1, int h = -1,
+                           rotation_enum rotate = rotate_0);
+#endif  // HAVE_CAIRO
 
     static bool can_render();
