From: Solomon P. <pi...@sh...> - 2019-09-12 15:19:26
|
On Wed, Sep 11, 2019 at 11:06:01PM +0000, Felix Heller wrote: > Now I bought an Mitsubishi CP-D70DW and got it working on a RPi4 with > Cups and the plugin from http://www.peachyphotos.com but i don’t know > how to set the driver to not change the proportions when I print with > AirPrint using an iPhone. The short version is that CUPS does not properly support being an AirPrint server, and they have no plans to change that. > All the Pictures will be fit to 4x6 but not being zoomed in but expand > the corners to the paper size. I don't know what version of cups-filtes that's running on your RPi4, but cups-filters 1.22.2 or newer has much-improved scaling options that should do what you want. I think you'll want the 'print-scaling=fill' option, and on the cmdline you should be able to set it as default: lpadmin -d queuename -o print-scaling-default=fill (Alteratively, stop cups, edit /etc/cups/printers.conf and within the block for the printer, add a line that reads 'Option print-scaling fill') > Any idea on how to solve that? When I edit the picture on the iPhone > first and crop it to a 2:3 format it works just fine but can’t this be > done with the driver? I can set the Shrink Page if necessary to fit > borders to any setting, the result is always the same. Is it just that > the AirPrint does not send the available paper size? Could that be? > With my other printer where AirPrint works OOB i can set all the paper > size etc. within the AirPrint setting. It's not exactly an ideal situation, but other folks I've talked to end up creating multiple CUPS queues for the same printer, but with different page size options, and select between them with AirPrint. - Solomon -- Solomon Peachy pizza at shaftnet dot org High Springs, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |