Kai Hendry
2013-03-20 05:21:01 UTC
Hi there,
I have a customer whose users print a lot of PDFs, however those users
cannot be expected to manually set the orientation of the Print
dialog.
Loading Image...
So I am looking for a solution whereby PDFs are auto-rotated.
Tbh I'm not entirely sure who should be doing the auto-rotation
transform. The PDF viewer? CUPS itself? The individual PPD driver? The
printer itself?
After Googling a bit, it seems that the cups-filter
/usr/lib/cups/filter/pdftopdf might be upto the job. However IIUC,
the PPD needs to have a rule to use this filter?
I'm using a cups-pdf configured printer and I'm printing a landscape
PDF from epdfview. This is what the PPD looks like:
http://s.natalian.org/2013-03-20/Virtual_PDF_Printer.ppd
How do I modify it so that PDFs are auto-rotated depending on their orientation?
I did also notice https://github.com/smilingthax/pdfautorotate though
again I'm not sure how to integrate this.
Thanks for any pointers in advance,
I have a customer whose users print a lot of PDFs, however those users
cannot be expected to manually set the orientation of the Print
dialog.
Loading Image...
So I am looking for a solution whereby PDFs are auto-rotated.
Tbh I'm not entirely sure who should be doing the auto-rotation
transform. The PDF viewer? CUPS itself? The individual PPD driver? The
printer itself?
After Googling a bit, it seems that the cups-filter
/usr/lib/cups/filter/pdftopdf might be upto the job. However IIUC,
the PPD needs to have a rule to use this filter?
I'm using a cups-pdf configured printer and I'm printing a landscape
PDF from epdfview. This is what the PPD looks like:
http://s.natalian.org/2013-03-20/Virtual_PDF_Printer.ppd
How do I modify it so that PDFs are auto-rotated depending on their orientation?
I did also notice https://github.com/smilingthax/pdfautorotate though
again I'm not sure how to integrate this.
Thanks for any pointers in advance,