On Tue, 11 Nov 2003, Jerome Alet wrote: JA> You could look at the untested/netatalk/ directory and its content JA> in PyKota (http://www.librelogiciel.com/software/PyKota/action_Download) JA> JA> This shows how to retrieve the page counter with a postscript job JA> sent via netatalk. I've just tested and you can use NetCat too JA> if you don't have netatalk installed.
%! PS-Adobe-2.0 statusdict begin pagecount == end flush How well supported is this? Question is, what value is it that you get? [EMAIL PROTECTED]:~> telnet sub3e2 9100 Trying 192.168.186.16... Connected to sub3e2. Escape character is '^]'. %! PS-Adobe-2.0 statusdict begin pagecount == end flush 77586 ^] telnet> quit Connection closed. $ snmp_monitor.pl sub3e2 5 1 0x90000000 (MarkerCount: 75145) 5 1 0x90000000 (MarkerCount: 75145) 5 1 0x90000000 (MarkerCount: 75145) 77586 != 75145 hmmm? And what is the PS way to verify the status (printing, idle, down) of the printer? ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
