From owner-freebsd-questions@FreeBSD.ORG Sat Aug 28 21:36:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E66716A4CE for ; Sat, 28 Aug 2004 21:36:28 +0000 (GMT) Received: from galadriel.forsythia.net (galadriel.forsythia.net [64.81.65.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id E67E343D46 for ; Sat, 28 Aug 2004 21:36:27 +0000 (GMT) (envelope-from amoran@forsythia.net) Received: from [10.200.1.103] (cerberus.forsythia.net [64.81.65.55]) i7SLaQN0002350 for ; Sat, 28 Aug 2004 14:36:27 -0700 (PDT) (envelope-from amoran@forsythia.net) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <4D656A8A-F93A-11D8-B459-000D93B1D960@forsythia.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Andrew Moran Date: Sat, 28 Aug 2004 14:36:20 -0700 X-Mailer: Apple Mail (2.619) Subject: CUPS and parallel port printing problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 21:36:28 -0000 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