LPD help needed

Gergo Szakal bastyaelvtars at gmail.com
Wed Oct 11 10:14:18 PDT 2006


I've got a HP Deskjet 5940 printer. I installed foomatic-filters, hpijs, 
and ghostscript-afpl. I have created the following printcap:

lp|DeskJet:\
    :lp=/dev/ulpt0:\
    :af=/usr/pkg/etc/foomatic/5940.ppd:\
    :if=/usr/pkg/bin/foomatic-rip:\
    :sd=/var/spool/lpd/DeskJet:\
    :sh:
-----------------------------------------------------------------

5940.ppd is from linuxprinting.org (hpijs did not contain that by default).

Now I "lpr /etc/printcap" and get this mail:

-----------------------------------------------------------------

Your printer job
had the following errors and may not have printed:
foomatic-rip version $Revision: 3.43.2.6 $ running...
called with arguments: '-w132', '-l66', '-i0', '-n', 'root', '-h', 
'dragonfly.jancso.szote.u-szeged.hu', '/usr/pkg/etc/foomatic/5940.ppd'
Parsing PPD file ...
*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
Added option ColorSpace
Added option Resolution
Added option PageSize
Added option PageRegion
Added option Model
Added option PrintoutMode
Added option InputSlot

Parameter Summary
-----------------
Spooler: lpd
Printer:
PPD file: /usr/pkg/etc/foomatic/5940.ppd
Printer model: HP DeskJet 5940 Foomatic/hpijs (recommended)
Options:
Job title:
File(s) to be printed:
<STDIN>
================================================

File: <STDIN>

================================================

Reading PostScript input ...

Job does not start with "%!", is it PostScript?
Starting file converter
Starting converter for non-PostScript files
file converter PID kid2=59333
file converter command: a2ps -1   -o -
tail process done reading data from STDIN
KID2 finished
a2ps: gethostname: Cannot allocate memory
file converter return value: 1
file converter received signal: 1
Job does not start with "%!", is it PostScript?
Starting file converter
Process dying with "File conversion filter probably crashed", exit stat: 3
File conversion filter probably crashed
Process dying with "The file converter command line returned an 
unrecognized error code 1.", exit stat: 1
The file converter command line returned an unrecognized error code 1.
-----------------------------------------------------------------

Can anyone tell me where the error is? Thanks.





More information about the Users mailing list