Setting number of copies through the API

Michael Sweet mike at easysw.com
Sun Feb 6 05:20:15 PST 2005


Ken Herron wrote:
>> Ken Herron wrote:
>> 
>>> Is there a standard name for the number-of-copies option? Where
>>> are names such as this documented? If there isn't a standard
>>> name, how would a program like mozilla figure out the correct
>>> option name at runtime?
>> 
>> There is a standard name, "copies".
>> 
>> See the IPP specification, the CUPS book, the SPM, etc.
> 
> 
> Thank you. That answers my immediate need, but I suppose what'd I'd
> really like to know is how I could have figured this out myself,
> and/or what is the full list of standard options? You say to see the
> SPM. I've just been through it yet again and there's no list of
> standard option names I can find, nothing saying "IPP attributes and
> CUPS options are the same thing", no "for the list of standard
> options, see xyz." What am I overlooking?

The IPP specification is the authoritative source for most options.

     http://www.pwg.org/ipp/

CUPS-specific options are described in detail in the IPP
implementation documentation:

     http://www.cups.org/documentation.php

The SPM provides information on using these in CUPS-based programs.

The CUPS book combines all of these on-line resources into one
place...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list