35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
|
diff -up cups-filters-1.0.53/filter/pdftops.c.pdf-landscape cups-filters-1.0.53/filter/pdftops.c
|
||
|
--- cups-filters-1.0.53/filter/pdftops.c.pdf-landscape 2014-05-09 12:18:35.679501730 +0200
|
||
|
+++ cups-filters-1.0.53/filter/pdftops.c 2014-05-09 12:19:34.114704598 +0200
|
||
|
@@ -646,23 +646,23 @@ main(int argc, /* I - Number of comm
|
||
|
if ((renderer == PDFTOPS) || (renderer == PDFTOCAIRO))
|
||
|
{
|
||
|
/*
|
||
|
- * Use the page sizes of the original PDF document, this way documents
|
||
|
- * which contain pages of different sizes can be printed correctly
|
||
|
+ * No options to add. Note: pdftopdf has already rotated pages
|
||
|
+ * for us.
|
||
|
*/
|
||
|
|
||
|
- pdf_argv[pdf_argc++] = (char *)"-origpagesizes";
|
||
|
- pdf_argv[pdf_argc++] = (char *)"-nocenter";
|
||
|
+ //pdf_argv[pdf_argc++] = (char *)"-origpagesizes";
|
||
|
+ //pdf_argv[pdf_argc++] = (char *)"-nocenter";
|
||
|
}
|
||
|
else
|
||
|
#endif /* HAVE_POPPLER_PDFTOPS_WITH_ORIGPAGESIZES */
|
||
|
if (renderer == ACROREAD)
|
||
|
{
|
||
|
/*
|
||
|
- * Use the page sizes of the original PDF document, this way documents
|
||
|
- * which contain pages of different sizes can be printed correctly
|
||
|
+ * No options to add. Note: pdftopdf has already rotated pages
|
||
|
+ * for us.
|
||
|
*/
|
||
|
|
||
|
- pdf_argv[pdf_argc++] = (char *)"-choosePaperByPDFPageSize";
|
||
|
+ //pdf_argv[pdf_argc++] = (char *)"-choosePaperByPDFPageSize";
|
||
|
}
|
||
|
|
||
|
/*
|