larsu, I tested now whether your fix also works for paper sizes which are wider than high and selected A5 landscape-oriented (It fits into A4 and therefore can easily be tested on most inkjet printers). I printed on the HP OfficeJet Pro 8500A (with the hpcups driver, any inkjet with custom paper size support should work) using the command:
lpr -P OJP8500 -o PageSize=Custom.595x421pt /usr/share/cups/data/testprint and got the attached result. larsu, awesome. Your bannertopdf is perfect now! Paul, you could use this as an example when presenting the new test page. ** Attachment added: "Test page on A5 paper inserted long-edge first (scanned)" https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/921073/+attachment/2797929/+files/a5-landscape-testpage-lp921073.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/921073 Title: Scale-to-fit the generated page onto the printer's page size To manage notifications about this bug go to: https://bugs.launchpad.net/bannertopdf/+bug/921073/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs