Hi Tim!
Thank you for your request.
What I have figured out so far, to print out a multi Page TIFF Document
so far, is to set 'fit-to-page' option.
if I set the option 'fit-to-page', only the 1st page (1 of 4) of this
multi-page document is printout properly.
Any ideas how to solve this problem, that the other pages are printed
out too ?!
getPrinterAttributes tell me, what options, but not the flags I am
capable to set.....
any ideas?! here the tiny code!
__init__(self), I defined self.__conn = cups.Connection()
------
Datei = '/var/spool/fax/recvq/FAX-3f442089-7d7f-4e73-a340-91c9d0012cdf.tiff'
Drucker = self.__conn.getDefault()
self.__conn.printFile(Drucker,Datei,'MeinTitel'{'media':'A4','orientation-requested':'3','fit-to-page':'True'})
print self.__conn.getPrinterAttributes(Drucker)
Tamer
Am 24.08.2012 15:58, schrieb Tim Waugh:
On Fri, 2012-08-24 at 02:46 +0200, Tamer Higazi wrote:
> How do I get the available "options" of a printer through pycups, which
> I want to use for printing. Let us say, the system predefined standard
> printer.
The default options can be discovered from the Dest object (which
cups.Connection.GetDests() returns a dict of).
The available option values can be discovered from the printer
attributes (i.e. cups.Connection.getPrinterAttributes()).
Tim.
*/
_______________________________________________
system-config-printer-devel mailing list
system-config-printer-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/system-config-printer-devel