On Wed, Oct 29, 2003 at 05:37:21PM +0100, Henrik Edlund wrote: > On Wed, 29 Oct 2003, Patrick Powell wrote: > > PP> Well, it turns out that this is not true - if the previous job has been > PP> rasterized but pages are still moving through the paper path, you get > PP> an echo. Oh yes, and if you get a jam, all bets are off. > > Then you will be tricked that he job is done, even though it will complete > after the jam has been fixed? > > PP> The PJL USTATUS command is supposed to return 'Unsolicited Status' > PP> at a specified interval. It may or may not. If the printers is off line, > PP> it sends an 'offline' ONCE on some printers. It may send an 'ONLINE' > PP> or 'PRINTING' message when put back online. > > So basically you will then wait forever or timeout and when you check > again at start of next job, you will now really know if the printer is > still printing the old job?
Ummm... but most people make their timeouts really long... like forever, so that when they get a jam they do not reprint their jobs. > > PP> If you want to wait (i.e. - poll the printer periodically) you can get > PP> very accurate page counts. > PP> > PP> The PJL mechanism and the SNMP OID's are either both functional > PP> or both broke. > PP> > PP> If you need to get 'offline status' then SNMP is your only hope. > > So what you are saying is, that if the printer goes offline due to out of > paper or toner then there is no way to know this? Then you will in reality > be fooled to think the job is done/complete and you will get a false > impression count? > You usually get an 'error' condition. But! As somebody noted, you may get: error->idle->printing The 'idle' is usually really short. -- Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
