On Tue, Nov 11, 2003 at 03:17:21PM +0100, Henrik Edlund wrote: > On Tue, 11 Nov 2003, Jerome Alet wrote: > > 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?
I don't know. > 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? This is interesting ! Here's what I've got on my HP Laserjet 2100 TN : [EMAIL PROTECTED]:~$ snmpget -v1 -c public -Ov imprime.ateur mib-2.43.10.2.1.4.1.1 Counter32: 35250 [EMAIL PROTECTED]:~$ nc -w2 imprime.ateur 9100 <untested/netatalk/pagecount.ps 35250 [EMAIL PROTECTED]:~$ Both give the same result for me. Jerome Alet -- "A non-free program is a predatory social system that keeps people in a state of domination and division, and uses the spoils to dominate more." - RMS ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
