Greetings,

I am having trouble retrieving pagecount info from an HP business InkJet 2200
with PS/PCL5 personality card and JetDirect 600n interface.

I suspect the output of PJL and PS commands are not being parsed correctly
by ifhp.  Perhaps someone can verify this or correct me.

<PRE>
/usr/lib/ifhp/ifhp -Tdev=/dev/lp0,model=hpij2250,pagecount=pjl,trace,debug=1 
<pages1copies1.pcl.prn
 ...
ifhp 20:32:46.384 [6960] main: using model 'hpij2250'
Version ifhp-3.5.7
$Id: ifhp.c,v 1.85 2002/04/01 18:01:01 papowell Exp papowell $
 ...
ifhp 20:32:56.392 [6960] Read_status_timeout: read count 45, '@PJL INFO ID^M
ID = HP BUSINESS INKJET 2250^M
^L'
 ...
ifhp 20:33:06.392 [6960] Read_status_timeout: read count 40, '@PJL INFO PAGECOUNT^M
PAGECOUNT = 6519^M
^L'
ifhp 20:33:06.392 [6960] Current_pagecounter: write/read result 0
</PRE>

I've fooled around with crlf, pagecount=|/pagecount_program (unsupported in 3.5.7?),
and pagecount=ps with no success:

<PRE>
ifhp 20:36:09.321 [6962] Read_status_timeout: read count 27, ' %%[ pagecount: 6519 ]%% 
^M
'
</PRE>

Same thing with dev=printername%9100 use the JetDirect interface.


  ---

As an aside question.  Is it possible to forward a job to a functioning JetDirect 
interface
just to count pages then dump the job (ie. not actually print)?  This would be a 
convenient
way for me to count pages (PCL and/or PS) since I have no trouble with my HP4000N and 
HP4MV
using either lp0 or %9100 port.  (there is no "PAGECOUNT = " in PJL output, just the 
number).

thanks in advance,

-- 
later,
Vincent Kujala (http://www.geog.ubc.ca/~kujala)

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to