Reputation: 2388
Is there a way to set the default printing options like page size, resolution, color ... for a given printer using the CUPS API or any other API (PPD, HTTP & IPP)? An example could really help.
Upvotes: 1
Views: 2194
Reputation: 9865
Most probably you are looking for following functions from CUPS API
cupsAddOptions
cupsAddDest
cupsSetDests/cupsSaveDest
The official documentation is quite well documented with examples.
There is also a related book
Upvotes: 1