On 4/23/19 10:55 PM, Ed Greshko wrote:
On 4/24/19 1:28 PM, ToddAndMargo via users wrote:
No idea how to tell CUPS-PDF to print Landscane by default.
My printer is named Cups-PDF.
Prior to modification this is the printer's info...
[root@f29bk ~]# lpoptions -p Cups-PDF copies=1 device-uri=cups-pdf:/ finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info=Cups-PDF printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location printer-make-and-model='Generic CUPS-PDF Printer (w/ options)' printer-state=3 printer-state-change-time=1556084401 printer-state-reasons=none printer-type=8450124 printer-uri-supported=ipp://localhost/printers/Cups-PDF
then
[root@f29bk ~]# lpoptions -p Cups-PDF -o landscape=true
[root@f29bk ~]# lpoptions -p Cups-PDF copies=1 device-uri=cups-pdf:/ finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none landscape=true marker-change-time=0 number-up=1 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info=Cups-PDF printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location printer-make-and-model='Generic CUPS-PDF Printer (w/ options)' printer-state=3 printer-state-change-time=1556084401 printer-state-reasons=none printer-type=8450124 printer-uri-supported=ipp://localhost/printers/Cups-PDF
So, now any file printed *without* specifying orientation will be printed as landscape.
The important thing to remember is "Application Defaults" will override the printer defaults.
An example of this is Thunderbird. Its print dialog defaults to "Portrait" and will override the default setting.
Hi Ed,
Thank you!
# lpoptions -p Cups-PDF copies=1 device-uri=cups-pdf:/ finishings=3 job-cancel-after=10800 job-hold-until=no-hold job-priority=50 job-sheets=none,none landscape=true marker-change-time=0 number-up=1 orientation-requested=4 printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info=Cups-PDF printer-is-accepting-jobs=true printer-is-shared=true printer-is-temporary=false printer-location printer-make-and-model='Generic CUPS-PDF Printer (no options)' printer-state=3 printer-state-change-time=1556134913 printer-state-reasons=none printer-type=8450124 printer-uri-supported=ipp://localhost/printers/Cups-PDF
I see both landscape=true and orientation-requested=4
I wonder if they conflict?
-T