On Tue, 11 Nov 2003, Jim Trocki wrote:
JT> the code is in ifhp's ifhp.conf file, and you can enable using postscript
JT> sync + status + pagecounting by specifying "sync=ps" and "pagecount=ps"
JT> in your config. here's what it looks like:
JT>
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?
startjob is according to the reference manual a level 2 command.
JT> ps_pagecount_code=
JT> %!PS-Adobe-2.0
JT> ## for PS Level 3 add:
JT> # false 0 startjob pop
JT> /p{print}t, or any other reasonare included in the ( %%[ pagecount: ) p
JT> statusdict begin pagecount end 20 string cvs p
JT> ( ]%% ) p () = flush
This works, but it is still another counter value than the one I get over
SNMP.
Maybe because of this:
> Even pages not physically printed --- because of manual feed timeout,
> job abort, or any other reason -- are included in the count. The count
> will be accurate at the end of each job, but not necessarily after each
> showpage.
The question is how to interprete that sentence. Will it actually
recalculate when the job is done to get correct? Any clues?
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?
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------