>Hi Ashley,
         >
         >The message being captured via ifhp is the end of job commands from a
         >Windows PostScript printer driver. You might want to check and see wh
         >ether
         >the working Lexmark Optra T616 printers are receiving their ifhp info
         >rmation
         >via a Windows PCL 5e or PCL 6 printer driver instead of a PostScript 
         >printer
         >driver.

Hmm, that's certainly what it looks like, but I still get this even when
printing from the solaris host lpd is running on via lpr.  eg.

echo "This is a test" > file.txt
lpr -Porange_b file.txt
lpq -Porange_b -llllll


 Filter_status: started FILE_UTIL- 'file' at 09:36:50.151
 Filter_status: file information = 'ascii_text' at 09:36:50.153
 Filter_status: initial job type 'ascii_text' at 09:36:50.153
 Filter_status: decoded job type 'PCL' at 09:36:50.153
 Filter_status: job type 'PCL' at 09:36:50.153
 Filter_status: transferring 18 bytes at 09:36:50.154
 Filter_status: 44 percent done at 09:36:50.154
 Filter_status: 100 percent done at 09:36:50.154
 Filter_status: sent job file at 09:36:50.154
 Filter_status: getting end using 'ps' at 09:36:50.154
 Filter_status: code = 10024, 'waiting' at 09:36:50.474
 Filter_status: end of job detected at 09:36:50.847
 Filter_status: error = 'undefined; Offending' at 09:36:51.000
 Filter_status: Error: undefined; Offending Command: ^T^D at 09:36:51.000

I don't understand how this could cause the above error.  I understand 
even less how it fails here and yet works for every other printer.

Hmm, wait.. an idea.  (changes waitend=ps to waitend=pjl) 

 Filter_status: sent job file at 09:49:12.534
 Filter_status: getting end using 'pjl job/eoj' at 09:49:12.534
                                   ^^^^^^^^^^^
 Filter_status: code = 10024, 'waiting' at 09:49:12.857
 Filter_status: end of job detected at 09:49:12.915
 Filter_status: pagecounter 155072 after 1 attempts at 09:49:12.930
 Filter_status: pagecounter 155072, pages 0 at 09:49:12.931
 Filter_status: done at 09:49:12.935 

Works fine.  ARGH!  I recently got these printers to pagecount 
correctly without the need to poll them by having this in the
ifhp.conf:

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


and setting waitend=ps.  

Any ideas on why the postscript waitend is killing this printer?  I 
really need to use it to get correct pagecounting. 

On a related note, I'd be interested in creating a Lexmark Optra
T616 entry in ifhp.conf for all to share, but aren't entirely
sure how to go about it.  Can anyone provide me with some 
pointers?


Regards,
Ashley


         >
         >HTH
         >
         >Best Regards,
         >
         >/Paul
         >--
         >Paul Tykodi
         >National Product Manager
         >Intermate US Inc.
         >
         >p: 603-431-0606 x115
         >f: 603-436-6432
         >E-mail: [EMAIL PROTECTED]
         >www.intermate.com
         >
         >>-----Original Message-----
         >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf 
         >Of
         >>Ashley Smith
         >>Sent: Tuesday, January 07, 2003 5:44 PM
         >>To: [EMAIL PROTECTED]
         >>Subject: LPRng: Error: undefined; Offending Command: ^T^D^D
         >>
         >>
         >>Guys,
         >>
         >>Any ideas on this one?  It's a Lexmark Optra T616 laser printer, the
         >>same as about 30 others we use across a few locations.  Seemingly
         >>without warning, this printer, and only this printer, now prints
         >>3 copies of each job (the ifhp filter fails with a JFAIL so lpd
         >>retries the job two more times).  Ifhp seems to be failing due to
         >>the strange characters you can see in the error message below.
         >>Trouble is, this happens regardless of what you print - even if it's
         >>just a text file with "This is a test" in it.  The printcap, ifhp,
         >>lpd and printer firmware & basecode are all consistent with the
         >>other printers that work fine, so I can't put my finger on the
         >>cause of it.  The printers are being printed to via LPR printing
         >>from Windows 2000 or XP.
         >>
         >>Any ideas?  Alternatively, for the short term, how can I tell
         >>lpd not to retry jobs that fail?  I see that JFAIL retries
         >>printing but JABORT doesn't - is there someway I can tell lpd
         >>to fail with JABORT instead of JFAIL?
         >>
         >>Any help much appreciated.
         >>
         >>
         >>Regards,
         >>Ashley
         >>
         >>
         >>
         >>$ lpq -Porange_b -lll
         >>Printer: orange_b@rana 'lexmark t616 Burwood, Room b416'
         >> Queue: no printable jobs in queue
         >> Status: printing finished at 09:20:33.161
         >> Status: accounting at end at 09:20:33.168
         >> Status: finished 'ashs@rana+374', status 'JFAIL' at 09:20:33.174
         >> Status: subserver pid 18471 exit status 'JFAIL' at 09:20:33.183
         >> Status: job 'ashs@rana+374', attempt 3, allowed 3 at 09:20:33.207
         >> Status: send_failure_action 'JREMOVE' at 09:20:33.210
         >> Status: job 'ashs@rana+374', removing job - status JREMOVE at 09:20
         >:33.210
         >> Status: removing job 'ashs@rana+374' - JREMOVE at 09:20:33.225
         >> Filter_status: transferring 13900 bytes at 09:20:33.032
         >> Filter_status: 73 percent done at 09:20:33.034
         >> Filter_status: 100 percent done at 09:20:33.034
         >> Filter_status: sent job file at 09:20:33.035
         >> Filter_status: getting end using 'ps' at 09:20:33.035
         >> Filter_status: end of job detected at 09:20:33.148
         >> Filter_status: error = 'undefined; Offending' at 09:20:33.155
         >> Filter_status: Error: undefined; Offending Command: ^T^D^D at 09:20
         >:33.155
         >

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