[cups] cups-pdf and landscape?

Helge Blischke helgeblischke at web.de
Wed Apr 24 12:32:08 PDT 2019


> Am 24.04.2019 um 21:04 schrieb Todd And Margo Chester <toddandmargo at gmail.com>:
> 
> Hi Brian,
> 
> When I select CUPS-PDF as the printer and I haven't told the
> printer what paper size I want and what orientation I want,
> I want it to default to "Letter" and "Landscape".
> 
> I figured out how to do "Letter" but not how to set orientation
> "Landscape".
> 
> Is there some .conf I can set orentation in?
> 

use the command

sudo lpoptions -p name_of_your_printer -o orientation-requested=4 

where name_of_your_printer is the queue name for your CUPS-PDF printer.
This command sets the system wide default orientation for this printer.
For more details see the lpoptionbs manual page.

Helge



More information about the cups mailing list