Tim,
I had similar problems myself with our Lexmark Optra T616 & T622's.
In the end I did the following and it worked a charm:
1. In printcap, I added:
:ifhp=model=lexmark4039:\
so that the printers would use the lexmark4039 model info. Why?
Here's the relevant section from ifhp.conf:
[ lexmark4039 ]
pcl@
pjl@
ps
ps_init=[ sync ]
ps_sync=
serverdict begin 0 exitserver
statusdict begin true setenginesync end
ps_async=
serverdict begin 0 exitserver
statusdict begin false setenginesync end
This sets up the printer to only accept postscript (and not pcl/pjl).
But the real key are the ps_sync lines. It means that when you
see "Filter_status: getting end using 'ps'" it will actually wait
for the correct status code from the printer before it continues.
Previously, it would (as you describe) just declare end of job
had been detected as soon as the job started printing.
Your mileage may vary, and the actual technique you need to use
may differ from what I describe (please post your solution if you
get it working). However, hopefully this gives you a prod in the
right direction.
Regards,
Ashley
--
Ashley Smith, Systems Programmer, Information Technology Services Division
Deakin University Geelong Victoria 3217 Australia.
>Hi folks -- I'm having a nasty problem with "waitend" in ifhp. (3.5.1
>0)
>
>It appears that the printers (HP LJ5m, 8000, 8100, all PS) are return
>ing EOJ
>as soon as the job is finished processing, not after the last page ha
>s been
>ejected. This royally fscks up the pagecounts for my accounting proje
>ct.
>
>I've tried waitend=ps and =pcl, with no better (sometimes worse) resu
>lts.
>I haven't yet tried waitend via SNMP for fear of overimplementing an
>otherwise
>simple project.
>
>I dislike the idea of pagecount polling -- I'd like to keep jobs queu
>ed up on
>the printer and keep it churning as continuously as possible.
>
>Any ideas?
>
>Tim
>
>--
>Tim Strobell, Assistant Systems Administrator [EMAIL PROTECTED]
>Department of Mathematics, University of Maryland Tel (301)405-8175
>Mail: 1301 Math Bldg, College Park, MD 20742-4015 Fax (301)314-0827
>
>---------------------------------------------------------------------
>--------
>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-request
>s
>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]
>com
>with: | example:
>subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
>.org
>unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
>If you have major problems, send email to [EMAIL PROTECTED] with t
>he 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.
-----------------------------------------------------------------------------