Jacob Meuser <jake...@sdf.lonestar.org> writes:

> foomatic is pretty easy to set up.

Thread hijacker here. I tried to setup a lpd/foomatic for a printer over
network and always end-up with this kind of message in
/var/log/lpd-errs:
--8<---------------cut here---------------start------------->8---
Feb  1 13:46:29 K lpd[6548]: restarted
foomatic-rip version 4.0.4.217 running...
called with arguments: '-w132', '-l66', '-i0', '-n', 'manuel', '-j', 'foo.pdf', 
'-h', 'K', '/etc/foomatic/HPcolor.ppd'
Parsing PPD file ...
Added option Resolution
Added option PageSize
Added option Model
Added option PrintoutMode
Added option InputSlot
Added option Duplex
Added option Quality
Added option ImageableArea
Added option PaperDimension
Added option Font

Parameter Summary
-----------------

Spooler: lpd
Printer: 
Shell: /bin/ksh
PPD file: /etc/foomatic/HPcolor.ppd
ATTR file: 
Printer model: HP Color LaserJet 4500 hpijs pcl3, 3.10.4.16
Options: foo.pdf 
Job title: foo.pdf
File(s) to be printed:
<STDIN>

Printing system options:
Pondering option 'foo.pdf'
Unknown boolean option "foo.pdf".
Options from the PPD file:

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

File: <STDIN>

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

Filetype: PDF
Process is dying with "Cannot find a writable temp dir.", exit stat 9
Cleaning up...
Feb  1 13:46:58 K lpd[24642]: col: filter 'f' exited (retcode=9)
Feb  1 13:48:01 K lpd[24642]: mail sent to user manuel about job foo.pdf on 
printer col (FILTERERR)
Feb  1 13:48:01 K lpd[24642]: col: job could not be printed (cfA007K)
--8<---------------cut here---------------end--------------->8---

I'm using 4.8 stable with packages. /etc/foomatic/HPcolor.ppd is a copy
of
/usr/local/share/foomatic/db/source/PPD/HP/hp-color_laserjet_4500-hpijs-pcl3.ppd.gz
from the hpijs package.

I've also installed foomatic-filters and my /etc/printcap is:
--8<---------------cut here---------------start------------->8---
col|HP Color: \
        :lp=9100@192.168.0.12:\
        :af=/etc/foomatic/HPcolor.ppd:\
        :if=/usr/local/bin/foomatic-rip:\
        :sd=/var/spool/output:\
        :lf=/var/log/lpd-errs:\
        :sh:
--8<---------------cut here---------------end--------------->8---

Well. Searching the web, this seems to be related to this:
http://old.nabble.com/foomatic-stops-working-again-td29285534.html#a29287775
And might be already fixed in -current (i think i should shut up and
test then).
-- 
Manuel Giraud

Reply via email to