On 4/23/19 9:14 PM, Ed Greshko wrote:
On 4/24/19 12:04 PM, ToddAndMargo via users wrote:
> On 4/23/19 8:39 PM, Ed Greshko wrote:
>> On 4/24/19 10:45 AM, ToddAndMargo via users wrote:
>>> Hi All,
>>>
>>> I am trying to figure ouyt how to get cups-pdf to default
>>> to Landscape. I have found how to get it to default
>>> to Letter in
http://127.0.0.1.:631, but not to default
>>> to landscape.
>>>
>>> The cups mailing list tosses my eMail for soem reason.
>>> Does CUPS-PDF have its own mailing list by chance?
>>
>>
https://www.cups.org/doc/options.html
>>
>> See...
>>
>> Creating Saved Options
>
> I am confused. :'(
>
Are we supposed to guess what is confusing to you?
What? You can't read my mind? Well now ...
1) -p printer/instance
2) -o name=value ...
No idea how to tell CUPS-PDF to print Landscane by default.
Is there a .conf I can edit?
Creating Saved Options
Saved options are supported in CUPS through printer instances. Printer
instances are, as their name implies, copies of a printer that have
certain options associated with them. Use the lpoptions command to
create a printer instance:
lpoptions -p printer/instance -o name=value ...
The -p printer/instance option provides the name of the instance, which
is always the printer name, a slash, and the instance name which can
contain any printable characters except space and slash. The remaining
options are then associated with the instance instead of the main queue.
For example, the following command creates a duplex instance of the
LaserJet queue:
lpoptions -p LaserJet/duplex -o sides=two-sided-long-edge
Instances do not inherit lpoptions from the main queue.