Okay, found an HP printer: LaserJet Pro 200 Color to test with. Driver is HPLIP. Tried the same lp command as I have outlined above:
lp -o PageSize=Custom.2.75x6.25in -o landscape -d HP-LaserJet-200-color- MFP-M276NW-4267 The small cheque printed out horizontally centred, but with the trail edge first: in essence what we had working with the Brother printers successfully until 12.04, except that the image is rotated 180 degrees. So it would be workable, except that this printer doesn't handle forms that small :(. Sigh. Brother drivers haven't changed since 2009, so what else has changed? -- 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/1024578 Title: Problem printing custom page sizes with lp after upgrading to 12.04 Status in “cups” package in Ubuntu: New Bug description: I have a workflow generating PDFs using LaTeX and ConTeXt on custom pages sizes. For instance I will print index cards, personal and corporate cheques, etc. The printers in question (right now) are a Brother HL-5370DW and a Brother MFC-6490CW, but in the past have been various HP laser printers. This workflow has been stable through several recent versions of Ubuntu. Upon upgrading to 12.04, the workflow has broken for me. Initially, I reported this to Linux Support at Brother, but they have thrown it back saying that it isn't their issue. For instance, on initial upgrade I faced this issue: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/faq_prn.html#f00110 However, this was resolved on my installation by updating my installation. I was using Avery labels and printing them via an MS- Office document from within LibreOffice. This had worked for years. I am enclosing with this report a (sample) personal cheque, and because I am only allowed a single attachment, in a follow-up a sample outline set on an index card, which exhibit slightly different behaviour. SAMPLE PERSONAL CHEQUE: The command I have used to date to print this is: lp -o media=letter -o PageSize=Custom.2.75x6.25in -o landscape The expected behaviour is that a cheque fed through with the guide arms brought in will be printed as a centre fed page with the printing starting at the leading edge of the page. The behaviour that I am now getting is that printing is centred on a letter-sized page. It makes no difference if I remove the 'media=letter' option. INDEX CARD: The command I have used to date to print this is: lp -o media=letter -o PageSize=Custom.3.0x5.0in -o portrait The expected behaviour is that a cheque fed through with the guide arms brought in will be printed as a centre fed page with the printing starting at the leading edge of the page. The behaviour that I am now getting is that printing is done on the bottom left hand side of the a letter-sized page. Again, it makes no difference if I remove the 'media=letter' option. Any help would be most appreciated. advTHANKSance. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1024578/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

