How to retrieve Advanced Printer Settings

Jeevan K. S. Chalam jeevan.chalam at gmail.com
Mon Dec 28 03:14:55 PST 2009


I am making a print dialogue similar to GtkPrintUnixDialog. I am doing it for a different UI but the backend should have all the functionalities.

I am able to print the pages for applications with basic settings like:
1. Number of Copies
2. Reverse
3. Collate
4. Current Page/All Pages/Page Range
5. Landscape/Portrait (Orientation)

But, I am not able to retrieve and use the Advanced Settings like:
1. Single/Dual page mode
2. Resolution
3. Pages per side.
4. Tray
from the Network Printer (via CUPS).

Any help in this regard would be appreciated.




More information about the cups mailing list