Talk to printer before a job in CUPS model

keens312 keens312 at hotmail.com
Tue Jul 12 19:09:42 PDT 2011


> On Jul 6, 2011, at 10:56 PM, keens312 wrote:
> > Hi Michael,
> >
> >
> > Is there a chance to send a query command and receive its feedback before processing the job?
> >
> > More info about the context:
> > Our CUPS driver work in this way: PDF->Our filter->port monitor->backend
> >
> > Our printer has multiple trays, each tray expects unique page order and orientation. So the CUPS driver needs to know what setting is on the printer firmware.
> >
> > Is this possible to implement in CUPS environment, and how? in filter or port monitor?
>
>
> Your filter can send commands to the printer and read back responses from the backend.
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
Can I write the command to stderr and then read from backchannel in my filter?
If not, can you give more detail about how to send and receive it. thanks




More information about the cups-devel mailing list