[cups] unable to find the printer off-line

Michael Sweet msweet at apple.com
Thu Jul 2 08:25:57 PDT 2015


You may need to ask more than once.  Also, some network backends do not connect to the printer (and thus may not report the printer as "online") until you have sent the print data.


> On Jul 2, 2015, at 6:35 AM, SivaKumar NSK <kavinsivak at gmail.com> wrote:
> 
> Hello All,
> 
> Currently , I am developing a raster filter.Before sending the job i need
> to know whether the printer is on-line or off-line.
> 
> I used cupsSideChannelDoRequest along with CUPS_SC_CMD_GET_STATE command to
> get back the state of the printer. This command is working well with the
> USB printer.
> 
> But it always returns CUPS_SC_STATE_OFFLINE state always for the network
> printer even it is connected with the network as well as the jobs goes
> well. Please let me know how do find the printer state.
> 
> -- 
> *SivaKumar N*
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair




More information about the cups mailing list