I have two laptops on a LAN. Both print to a deskjet 3820
which is attached to a third host. All three boxes have lprng
*.debs installed. Printing worked great until recently, perhaps
beginning on the date I upgraded one laptop from potato
to woody.
Now, the upgraded laptop prints 'lpr /etc/motd' fine, but no
longer prints properly from Staroffice or Acrobat, instead
printing:
Conversion failed for type ''
Using '/usr/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH -dNOPAUSE -q '-sOutputFile=
/dev/fd/3' 3>&1 1>&2 -sPAPERSIZE=letter -sDEVICE=cdj550 -'
Error: 'Converter exited with status 'exit status 1''
However, 'lpq -L' indicates JSUCC exit status for these jobs.
The lprng, ifhp, gs-aladdin versions are identical on both laptops,
as are the /etc/lprng/* and ifhp.conf files, and the SysV lprng
init script (identical on both laptops) set PATH.
Based on my rudimentary understanding of lprng, and because it
appears the 'Error:..' line is printed by ifhp.c, I concluded that
problem is related to ifhp-3.5.10 configuration:
I followed the debugging suggestions in the IFHP-HOWTO, replacing
'/etc/motd' in 'send' with a Staroffice or pdf file. The resultant 'trace'
output is identical for the two laptops, even with debug=2.
What am I missing? TIA for your help!
Here's a trace:
ifhp 12:18:48.883 [291] main: Debug '1', DbgFlag 0x0
ifhp 12:18:48.883 [291] main: dump <NULL>
ifhp 12:18:48.883 [291] main: Model_id '<NULL>'
ifhp 12:18:48.883 [291] main: LANG '<NULL>', 'TRANSLATE TEST' is 'TRANSLATE TEST
'
ifhp 12:18:48.939 [291] main: scanning Raw for default, then model '<NULL>'
ifhp 12:18:49.050 [291] main: using model 'DEFAULT'
Version ifhp-3.5.10
$Id: ifhp.c,v 1.93 2002/06/22 01:05:12 papowell Exp papowell $
Copyright 1992-2002 Patrick Powell <[EMAIL PROTECTED]>
ifhp 12:18:49.051 [291] Open_device: device '/tmp/t'
ifhp 12:18:49.051 [291] Open_device: closed fd 1
ifhp 12:18:49.051 [291] Open_device: device '/tmp/t', attempt 0
ifhp 12:18:49.074 [291] Open_device: success
ifhp 12:18:49.074 [291] main: poll for status 0, Dev_sleep 1000 msec
ifhp 12:18:49.076 [291] Process_job: setting up printer
ifhp 12:18:49.076 [291] Start_of_job: do_pagecount 0, ps 0, pjl 0, prog '<NULL>'
ifhp 12:18:49.076 [291] Do_accounting: pagecounter 0
ifhp 12:18:49.076 [291] Accounting: script '<NULL>', Accountfile '<NULL>', outpu
t 'filestart '-q291' '-p0' '-t2003-09-23-12:18:49.076''
ifhp 12:18:49.076 [291] Start_of_job: doing 'init'
ifhp 12:18:49.076 [291] Start_of_job: doing pjl
ifhp 12:18:49.076 [291] Start_of_job: 'pjl_init'='[ info=id ustatus teoj ]'
ifhp 12:18:49.077 [291] Start_of_job: 'pjl' and Zopts
ifhp 12:18:49.077 [291] Start_of_job: 'pjl' and Topts
ifhp 12:18:49.077 [291] Process_job: sending job file
ifhp 12:18:49.077 [291] Send_job: starting transfer
ifhp 12:18:49.077 [291] Use_file_util: pgm '/usr/bin/file -', value_len 512
ifhp 12:18:49.077 [291] Use_file_util: file program = '/usr/bin/file -'
ifhp 12:18:49.077 [291] Filter_file: started FILE_UTIL- 'file'
ifhp 12:18:49.178 [291] Filter_file: converter pid 292, exit 'exit status 0'
ifhp 12:18:49.178 [291] Filter_file: freeing pgm
ifhp 12:18:49.179 [291] Filter_file: done freeing pgm
ifhp 12:18:49.179 [291] Use_file_util: read 60, 'standard input: Mi
crosoft Office document data
'
ifhp 12:18:49.179 [291] Use_file_util: file information = 'microsoft_office_docu
ment_data'
ifhp 12:18:49.179 [291] Send_job: initial job type 'microsoft_office_document_da
ta'
ifhp 12:18:49.179 [291] Send_job: match language 'msg'
ifhp 12:18:49.179 [291] Send_job: converter pgm 'no_converter', final 'no_conver
ter'
ifhp 12:18:49.179 [291] Send_job: language 'msg', converter pgm 'no_converter'
ifhp 12:18:49.179 [291] Send_job: decoded job type 'msg'
ifhp 12:18:49.179 [291] Send_job: job type 'msg', converter 'no_converter'
ifhp 12:18:49.179 [291] Send_job: converter done, output 159 bytes
ifhp 12:18:49.179 [291] Send_job: initial job type 'POSTSCRIPT'
ifhp 12:18:49.179 [291] Send_job: match language 'ps'
ifhp 12:18:49.179 [291] Send_job: converter pgm '\%s{ps_converter}', final '<NUL
L>'
ifhp 12:18:49.179 [291] Send_job: language 'POSTSCRIPT', converter pgm '<NULL>'
ifhp 12:18:49.179 [291] Send_job: decoded job type 'POSTSCRIPT'
ifhp 12:18:49.179 [291] Send_job: job type 'POSTSCRIPT'
ifhp 12:18:49.179 [291] Init_job: doing ps init
ifhp 12:18:49.179 [291] Init_job: 'ps' and Topts
ifhp 12:18:49.179 [291] Init_job: 'ps' and Zopts
ifhp 12:18:49.179 [291] Send_job: doing file transfer
ifhp 12:18:49.180 [291] Send_job: transferring 159 bytes
ifhp 12:18:49.180 [291] Send_job: writing 8
ifhp 12:18:49.180 [291] Send_job: total written 8
ifhp 12:18:49.180 [291] Send_job: k total 8, change 0
ifhp 12:18:49.180 [291] Send_job: read 151
ifhp 12:18:49.180 [291] Send_job: read total 151
ifhp 12:18:49.180 [291] Send_job: writing 151
ifhp 12:18:49.180 [291] Send_job: total written 159
ifhp 12:18:49.180 [291] Send_job: pc total 159, change 100%
ifhp 12:18:49.180 [291] Send_job: 100 percent done
ifhp 12:18:49.180 [291] Send_job: finished file transfer
ifhp 12:18:49.180 [291] Term_job: doing ps term
ifhp 12:18:49.180 [291] Process_job: sent job file
ifhp 12:18:49.180 [291] End_of_job: doing pjl at end
ifhp 12:18:49.180 [291] End_of_job: 'pjl_term'='[ ustatus teoj ]'
ifhp 12:18:49.180 [291] End_of_job: end sync and pagecount, do_pagecount 0, ps 0
, pjl 0, prog '<NULL>'
ifhp 12:18:49.180 [291] End_of_job: clearing console at end
ifhp 12:18:49.180 [291] Do_accounting: pagecounter 0, pages 0
ifhp 12:18:49.180 [291] Accounting: script '<NULL>', Accountfile '<NULL>', outpu
t 'fileend '-b0' '-T1' '-q291' '-p0' '-t2003-09-23-12:18:49.180''
ifhp 12:18:49.181 [291] Process_job: done
--
Mark
[EMAIL PROTECTED]
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------