CUPS (www.cups.org) uses a wrapper around the pdftops utility from poppler in order to handle PDF documents. Previously, a private fork of xpdf had been used, with some additions to make it behave more usefully as a CUPS filter. It would be really useful if pdftops could be enhanced in the following ways: * pdftops could be instructed to always produce portrait PostScript documents, rotating the input pages as needed * correct BoundingBox DSC comments for each page in the output * an additional comment 'cupsRotation: 0' added indicating that no further rotation of the document is required
I understand cups already does that in their copy, so where are the patches?
CUPS used to have a private fork of xpdf which had been modified in several ways so that it would unconditionally act as a CUPS filter. I'm not sure of the best approach for getting the needed changes upstream to make pdftops better-behaved as a CUPS filter. Obviously, unconditional changes will not be any good, so a command line option of some sort is probably the way to go. Do you think that a single option such as "--cupsfilter" would be acceptable and make sense?
I'd sincerely prefer more fine grained options like --alwaysPortrait --addCupsRotation --fooBar Than just a huge "--cupsMagic".
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/101.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.