[Okular-devel] [Bug 209620] okular does not respect print queue defaults

Roderick Johnstone rmj at ast.cam.ac.uk
Wed Nov 4 12:23:55 CET 2009


https://bugs.kde.org/show_bug.cgi?id=209620





--- Comment #5 from Roderick Johnstone <rmj ast cam ac uk>  2009-11-04 12:23:53 ---
Albert: I just re-read your comment #3 and realized that maybe I can answer
this after all.

In our case the printing system is cups and the printer queue defaults are set
though the printer ppd files on the cups server.

You can get the current defaults using the cupsGetOption function described at 
http://www.cups.org/documentation.php/doc-1.4/api-cups.html#OPTIONS

I'll attach a simple program, modified from an example on that page, which
returns the printer default for duplexing. You need to link it against
libcups.so

Option names are described at:
http://www.cups.org/documentation.php/doc-1.4/options.html

Does this answer your question?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list