luffy
luffy

Reputation: 2388

How to change Cups printing options

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

Answers (1)

deimus
deimus

Reputation: 9865

Most probably you are looking for following functions from CUPS API

  1. cupsAddOptions
  2. cupsAddDest
  3. cupsSetDests/cupsSaveDest

The official documentation is quite well documented with examples.

There is also a related book

Upvotes: 1

Related Questions