CUPS and parallel port printing problem

Andrew Moran amoran at
Sat Aug 28 14:36:28 PDT 2004

hello all,

I somehow managed to foobar my CUPS printing system.  I had it working 
and I don't even know what I did to break things, but in an attempt to 
fix things, I uninstalled all the cups packages, updated my ports tree 
from CVS, and rebuilt everything.  Now I don't get any errors, but I 
also can't seem to print.

here is my setup:
I have CUPS running on a FreeBSD 4.10 system with an HP Laserjet 1100A 
connected to the parallel port (lpt0).    I have the cups packages 
[root at galadriel] ~# pkg_info | grep cups
cups-       The Common UNIX Printing System: Metaport to 
install comple
cups-base-  The Common UNIX Printing System: headers, libs, & 
cups-lpr-   The CUPS BSD and system V compatibility binaries 
(lp* comma
cups-pstoraster-7.07_1 GNU Postscript interpreter for CUPS printing to 
non-PS prin

The daemon starts and I added my printer like normal using the parallel 
(interrupt) option.  I selected the HP Laserjet PPD which comes with 
CUPS.  I believe it uses the espgs filter, also included with the cups 

When I print, the job says it's printing and it's 12% done.  And then 
it stays that way indefinitely.  I can see the job in the queue both 
from LPQ and from the webpage.   I also seem to have the following 

root        148     1   148 c37c9040    0 Ss    ??    0:01.92 
root        400   148   148 c37c9040    0 I     ??    0:00.01 golllum 2 
root Test Page 1 /var/spool/cups/d00002-001 (pstops)
root        401   148   148 c37c9040    0 I     ??    0:00.01 /bin/sh 
/usr/local/libexec/cups/filter/pstoraster 2 root Test Page 1
root        402   148   148 c37c9040    0 I     ??    0:00.02 golllum 2 
root Test Page 1 (rastertohp)
root        403   148   148 c37c9040    0 S     ??    0:00.10 
parallel:/dev/lpt0 2 root Test Page 1 (parallel)
root        404   401   148 c37c9040    0 I     ??    0:00.63 
/usr/local/bin/espgs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH 
-dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -

These processes hang around indefinitely.  If I kill off the 
"parallel:/dev/lpt0" process, the job gets cancelled.

I thought at first it was the printer, but I tried power-cycling the 
printer and the computer without success.   This was working before I 
started mucking with my CUPS configuration, so I figure there is 
something obvious I'm missing.

Does anyone have any ideas?



More information about the freebsd-questions mailing list