+state not used by cups

Sterck Serge serge.sterck at fmsb.be
Mon Jul 26 10:56:10 PDT 2010


Thx to point me for the space found in state and indeed when i look the usb-inix.c
state +connecting-to-device there are no space.
Thx a lot i wasn't aware about this sorry i'm very new in cups programming

> 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
> >=20
> > 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
> >=20
> >=20
> > _______________________________________________
> > 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