|
Re: Re: device ID string.: msg#00033printing.cups.devel
Can I get some help as to how to recompile CUPS and know where the stderr from the backend/usb.c is logged. Mike Sweet wrote: > skejariwal-eMvYNY28iGNBDgjK7y7TUQ@xxxxxxxxxxxxxxxx wrote: > > Hi everyone, > > > > I get the device ID string from the HP Inkjet printer through my > C > > program and it works fine. However, if the printer is in use, the > C > > program fails to open the device ie /dev/usb/lp[value] since it is > > already opened by the application using the printer. > > > > I was wondering if the CUPS code could be modified somehow to report > > device ID string continuously from the point when a job is sent out > > for printing to when the job is complete. Please let me know if there > > is a way this can be done. > > You could modify the CUPS code to do this, however it would not be > a reliable way to collect the device ID. What you *really* want to > do is poll the port at regular intervals and cache/store the device > ID in a common file/shared memory segment/etc., or provide your own > backend which communicates with your software... > > -- > ______________________________________________________________________ > Michael Sweet, Easy Software Products > mike-B9D8k9nSxTHQT0dZR+AlfA@xxxxxxxxxxxxxxxx > Printing Software for UNIX http://www.easysw.com > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Carbon From CUPS ?.: 00033, s . sriram-GvBU0t0oFxcybS5Ee8rs3A |
|---|---|
| Next by Date: | Re: Re: Re: Re: How to replicate old LPD filter functionality?: 00033, Morgan |
| Previous by Thread: | Re: device ID string.i: 00033, Mike Sweet |
| Next by Thread: | Job Monitoring...: 00033, s . sriram-GvBU0t0oFxcybS5Ee8rs3A |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |