backend doesn't receive options
Michael Sweet
mike at easysw.com
Sun Oct 2 16:31:48 PDT 2005
Meier Rudolf wrote:
> I wrote a backend. Then I installed a printer, using this backend (this backend redirects all data through the network, so, it's a 1:1 copy of the socket backend at the moment). But what it finaly should do, is to send the options like the paper size etc. first (collected trough the configuration page), and then the postscript data.
> But I don't get options... the options-parameter (argv[5]) is always empty ("") ... why? How can I get the options? Do I have to write a filter for this?
If you are setting the default options in the PPD file, then you need
to get them from the PPD file, just like a filter.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups-devel
mailing list