The problem is caused by the auto rotation done by pdftopdf which makes
the pages rotated to print short-edge-first if the printer requires
this. If your original page is portrait and you request landscape,
pdftopdf rotates it by 90 degrees and after that pdftopdf applies auto
rotation and rotates the page by another 90 degrees putting it upside
down (180 degrees).

Please try the "nopdfAutoRotate" option:

lp -d queue -o landscape -o nopdfAutoRotate
/usr/share/cups/data/default.pdf

Is this what you are looking for?

All PDF files have already defined geometries for each page and the
auto-rotation of pdftopdf rotates landscape pages when the printer pulls
in the paper only in portrait orientation. So simply sending a PDF file
without the "landscape" option does usually the right thing.

The "landscape" option makes more sense if the input data has no ready
layout, like plain text. texttopdf will layout the text on landscape-
oriented pages with this option.

So why are you using the "landscape" option in your particular case?

So for text files it would make more sense if pdftopdf ignores the
"landscape" option as texttopdf is already doing the job. For PDF files
you usually decide in the desktop application whether it should be
landscape-oriented, so here pdftopdf applying a "landscape" option is
also not of much sense.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1243484

Title:
  Incorrect handling of orientation when printing PDF files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1243484/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to