Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 14:36:20 -0700
From:      Andrew Moran <amoran@forsythia.net>
To:        freebsd-questions@freebsd.org
Subject:   CUPS and parallel port printing problem
Message-ID:  <4D656A8A-F93A-11D8-B459-000D93B1D960@forsythia.net>

next in thread | raw e-mail | index | archive | help

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 
installed:
[root@galadriel] ~# pkg_info | grep cups
cups-1.1.20.0       The Common UNIX Printing System: Metaport to 
install comple
cups-base-1.1.20.0  The Common UNIX Printing System: headers, libs, & 
daemons
cups-lpr-1.1.20.0   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 
ports.

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

root        148     1   148 c37c9040    0 Ss    ??    0:01.92 
/usr/local/sbin/cupsd
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?

Thanks!

--Andy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D656A8A-F93A-11D8-B459-000D93B1D960>