+state not used by cups

Michael Sweet msweet at apple.com
Mon Jul 26 10:04:28 PDT 2010


printer-state-reasons keywords may only contain letters, numbers, dashes, and periods (i.e. no spaces).

Please read RFC 2911 for the list of standard keywords to use.

On Jul 26, 2010, at 3:05 AM, Sterck Serge wrote:

> OS : Fedora 10 Cups version 1.3.9
> I have a function that convert pjl code to ipp state reason code when i write
> to stderr using fprintf
> fprintf(stderr, "STATE: +cover open\n");  ---> nothing append!!!!
> when i write to stderr using fprintf
> fprintf(stderr, "ERROR: +cover open\n"); --> the message has been appending to the description string
> 
> What am i doing wrong ? is there a bug in 1.3.9 ? if i have a error like cover open, paper jam, empty tray must i use the ERROR msg or the STATE msg ?
> Sorry i'm very new with cups programming
> 
> 
> _______________________________________________
> cups-ddk mailing list
> cups-ddk at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-ddk

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups-devel mailing list