Please put the unit only once, at the very end of the expression. WRONG: lpr -P <printer> -o PageSize=Custom.20.32cmx17cm <file>
CORRECT: lpr -P <printer> -o PageSize=Custom.20.32x17cm <file> Keep in mind that this only works if your printer's PPD offers a custom page size. If you use the paper very frequently, create an "Instance" of your printer: lpoptions -p <printer>/invoices -o PageSize=Custom.20.32x17cm Now two queues appear in your printing dialogs: <printer> and <printer>/invoices. The latter is for invoices and uses your custom paper size by default. NOTE: Always where I have written <printer> put your print queue name without the brackets, If this does not help you, please attach the PPDs of your dot matrix printers (/etc/cups/ppd/<printer>.ppd) so that we can give you further help. -- changing paper size has no effect https://bugs.launchpad.net/bugs/304285 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs