Public bug reported: I am doing receipt printing by creating PDF file.
The size of my receipt PDF is dynamic. Currently, the LPR command which I am using for getting this printed is as follows: lpr -P "ReceiptPrinter" -o PageSize=Custom.20x6cm "/home/ubuntu/Desktop/Punu1/iText123.pdf" I am required to pass custom size, as LPR command is not taking PDF page size during printing. But passing of custom size, is not helpful to me, as size of my receipt keeps on changing. Can someone please tell me, how can I set printer page size to PDF page size in LPR command? ** Affects: cups (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/1651399 Title: LPR command to use PDF page size while printing Status in cups package in Ubuntu: New Bug description: I am doing receipt printing by creating PDF file. The size of my receipt PDF is dynamic. Currently, the LPR command which I am using for getting this printed is as follows: lpr -P "ReceiptPrinter" -o PageSize=Custom.20x6cm "/home/ubuntu/Desktop/Punu1/iText123.pdf" I am required to pass custom size, as LPR command is not taking PDF page size during printing. But passing of custom size, is not helpful to me, as size of my receipt keeps on changing. Can someone please tell me, how can I set printer page size to PDF page size in LPR command? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1651399/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp