On Wed, 30 Oct 2002 15:51:50 +0100 (NFT) Margrit Lottmann <[EMAIL PROTECTED]> wrote:
> ..I found in this message a number of xml-codes of the following > form: > > <printerdata > name="hp4100" > pagecount_oid=".1.3.6.1.2.1.43.10.2.1.4.1.1" > display_oid=".1.3.6.1.2.1.43.16.5.1.2.1.1" > jobstatus_oid=".1.3.6.1.4.1.11.2.3.9.4.2.1.1.6.5.15" > status_cancelled="10" > status_ok="5"> > <status> </status> > </printerdata> > > I don't understand, what I can do with this codes ??? The XML formatting is for the perl script I wrote to interrogate the printer. Each of those dotted-number strings are SNMP OIDs you can extract from the printer using some sort of SNMP tool. pagecount_oid returns the printer pagecount; display_oid will return what is displayed on the printer console or give you a tree with one entry per line of console output (depending on the printer model). jobstatus_oid returns a tree of status entries for the last N jobs printed, where N > 0. ============================================================================ John Perkins | University of Wisconsin-Madison Associate Researcher | Department of Computer Science [EMAIL PROTECTED] | 1210 W. Dayton St. 608-262-0438/608-262-9997 FAX | Madison, WI 53706-1685 ============================================================================ ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
