On Tue, 11 Nov 2003, Henrik Edlund wrote: > JT> ps_status_code= > JT> %!PS-Adobe-2.0 > JT> ## for PS Level 3 add: > JT> # false 0 startjob pop > JT> ( %%[ echo: NAME ]%% ) print () = flush > > Exactly what does code do? How does it actually reflect the printer > status?
It's misleading. That is actually used by Do_sync to check to see if the printer is responding. "NAME" is substituted with ifhp's pid and a timestamp, and the response to that command is that the printer echo back what it was asked to. The status is actually obtained by sending a ctrl-t to the printer, where it will reply with something like: %%[ status: idle ]%% > JT> i'm using this on a savin 2055DP, 9955DP, and 9965DP because their pjl > JT> is broken. it works well. it would work even better if the printer > JT> didn't completely stop responding when it ran out of paper :) > > Do the printer does no longer parse any PS when it is in down mode? It goes completely offline, and will not respond to any more commands until you manually intervene. ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
