On Sun, 25 Aug 2002 00:35:50 -0400 (EDT)
Ryan Novosielski <[EMAIL PROTECTED]> wrote:
> What about all of that XML code that is in there for the Phaser? Is there
> a modified version for the HP, or are those generally the same? (I'm
> pretty busy lately and trying not to do anything unnecessary).
What about all that XML code in there for the Phaser? Just leave it in there. You
can add other lines for other printers (or that was the intent).
I'm working on updating the scripts a bit, preferably such that they will take args
from ifhp rather than pulling them from the printcap. You shouldn't have to use that
script for anything other than waitend functionality, since the PJL pagecounting seems
to work just fine with the HP printers yet. Phasers have a strange idea of when the
page counter should update, which makes them interesting to deal with (at best).
The following XML entries should work for the HP printers:
<printerdata
name="hp4000"
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>
<printerdata
name="hp4050"
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>
<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>
<printerdata
name="hp4500"
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>
<printerdata
name="hp8100"
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>
============================================================================
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.
-----------------------------------------------------------------------------