Argh. That's what I just tried... take a look:
Filter_status: done at 20:47:09.113
Filter_status: using model 'hp4100' at 21:15:17.200
Filter_status: pagecount using 'pjl info pagecount' at 21:15:17.210
Filter_status: setting up printer at 21:15:17.211
Filter_status: getting sync using
'/opt/LPRng/libexec/filters/check_printer_status.pl' at 21:15:17.211
Filter_status: started 'check_printer_status.pl' at 21:15:17.213
Filter_status: 'status' = '> {},' at 21:15:18.225
Filter_status: 'jobstatus_oid' = '> '.1.3.6.1.2.1.25.3.5.1.1',' at 21:15:18.225
Filter_status: 'status_ok' = '> '3',' at 21:15:18.225
Filter_status: sync done at 21:15:18.236
Filter_status: pagecounter 279665 after 1 attempts at 21:15:19.229
Filter_status: pagecounter 279665 at 21:15:19.243
Filter_status: sending job file at 21:15:19.245
Filter_status: starting transfer at 21:15:19.245
Filter_status: initial job type 'PJL' at 21:15:19.245
Filter_status: decoded job type 'PJL' at 21:15:19.246
Filter_status: job type 'PJL' at 21:15:19.246
Filter_status: transferring 2611 bytes at 21:15:19.246
Filter_status: 100 percent done at 21:15:19.246
Filter_status: sent job file at 21:15:19.246
Filter_status: getting end using 'prog' at 21:15:19.248
Filter_status: started 'check_printer_waitend.pl' at 21:15:19.249
Filter_status: end of job detected at 21:15:19.764
Filter_status: id = '"HP LaserJet 4100 Series"' at 21:15:20.047
Filter_status: pagecounter 279665 after 1 attempts at 21:15:22.636
Filter_status: pagecounter 279665, pages 0 at 21:15:22.636
Filter_status: done at 21:15:22.637
This printer is driving me crazy. Back to the patched ifhp I go for now.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
On Tue, 27 Aug 2002, Sam Noble wrote:
> I actually had to use it for both sync and waitend.
>
> On Tue, Aug 27, 2002 at 02:45:24PM -0400, Ryan Novosielski wrote:
> > I actually tried this with my 4100 and I still got short counts on print
> > jobs... what did work was the Fernando Blanco patch.
> >
> > ---- _ _ _ _ ___ _ _ _
> > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
> > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
> > \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
> >
> > On Mon, 26 Aug 2002, John Perkins wrote:
> >
> > > 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.
> > > -----------------------------------------------------------------------------
> > >
> >
> >
> > -----------------------------------------------------------------------------
> > 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.
> > -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------