[cups] force CUPS print server to fit-to-page

Helge Blischke helgeblischke at web.de
Wed Jul 1 14:12:24 PDT 2020



> Am 01.07.2020 um 23:10 schrieb Helge Blischke <helgeblischke at web.de>:
> 
> 
> 
>> Am 01.07.2020 um 22:04 schrieb Josh <jcnt at use.startmail.com>:
>> 
>> Greetings,
>> 
>> I've just set up an AirPrint server for a home office by following instructions in
>> 
>> https://www.linux-magazine.com/Issues/2013/154/AirPrint-in-Linux
>> and
>> https://github.com/jpawlowski/airprint-generate
>> 
>> Printer works just fine except for a problem described in
>> 
>> https://serverfault.com/questions/897140/force-cups-print-server-to-fit-to-page-if-job-is-not-a4
>> 
>> Text jobs sent from iOS devices print full page but photos and images print size is about 50% of the page.
>> 
>> CUPS v1.6.3 on CentOS 7.
>> 
>> Does anyone have any ideas?
>> 
>> Please advise,
>> Josh.
>> 
> 
> In your lpoptions command, try to replace 
> fit-to-page
> by
> auto-fit
> 
> It seems that the pdftopdf filter simply ignores the fit-to-page option, but – from inspecting the source code – I assume
> the auto-fit option does what you want.
> 
> Let me know if it works.
> 
> Helge



More information about the cups mailing list