From owner-freebsd-questions@FreeBSD.ORG Sat Aug 5 14:03:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5E9E016A4DE for ; Sat, 5 Aug 2006 14:03:55 +0000 (UTC) (envelope-from no-spam@swiftdsl.com.au) Received: from smtp.ade.people.net.au (smtp.ade.people.net.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id 89C7D43D46 for ; Sat, 5 Aug 2006 14:03:53 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 1250 invoked from network); 5 Aug 2006 14:03:49 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.people.net.au with SMTP; 5 Aug 2006 14:03:49 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Sat, 5 Aug 2006 23:33:37 +0930 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5803945.JyO59qBnis"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608052333.44364.no-spam@swiftdsl.com.au> Subject: Cups USB workaround was working but now fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 14:03:55 -0000 --nextPart5803945.JyO59qBnis Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, When CUPS 1.2.0 came out, I had the same problem as others with port=20 permissions and the USB backend, so I changed my usb device permissions: crw-rw-rw- 1 root cups 227, 0 Aug 5 22:36 /dev/ulpt0 crw-rw-rw- 1 root cups 227, 64 Aug 5 22:39 /dev/unlpt0 I also edited printers.conf and changed the URI from usb: to file: and I wa= s=20 able to print without any trouble. Today, I tried to print something and my printer printed a small amount of = the=20 page and then just hung with it's power/status light flashing. CUPS reporte= d=20 the printer was printing.=20 After trying to get it going, I checked printers.conf and found the URI lin= e=20 was set back to usb:, so I changed it to file: again restarted cupsd, but i= t=20 wouldn't start. Looking at the error log, I see: d [05/Aug/2006:23:18:42 +0930] start_job: filterfds[1]=3D[ 17 20 ] d [05/Aug/2006:23:18:42 +0930]=20 cupsdStartProcess("/usr/local/libexec/cups/filter/pstoraster", 0x80e1b60,=20 0xbfbef790, 18, 20, 16) d [05/Aug/2006:23:18:42 +0930] start_job: Closing filter pipes for slot 0 [= 18=20 19 ]... I [05/Aug/2006:23:18:42 +0930] Started=20 filter /usr/local/libexec/cups/filter/pstoraster (PID 5358) for job 18. E [05/Aug/2006:23:18:42 +0930] Unable to open output file "file:/dev/unlpt0= " -=20 Device not configured. D [05/Aug/2006:23:18:42 +0930] Discarding unused job-completed event... d [05/Aug/2006:23:18:42 +0930] start_job: Closing filter pipes for slot 0=20 [ -1 -1 ]... d [05/Aug/2006:23:18:42 +0930] start_job: Closing filter pipes for slot 1 [= 17=20 20 ]... d [05/Aug/2006:23:18:42 +0930] start_job: Closing status pipes [ 15 16 ]... d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: id =3D 18, force =3D 0 D [05/Aug/2006:23:18:42 +0930] Discarding unused printer-state-changed=20 event... d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: printer state is 3 d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Closing print pipes [ -1 -1 ].= =2E. d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Closing back pipes [ 13 14 ]... d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Removing fd 15 from InputSet... d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Closing status pipes [ -1 -1 ]= =2E.. It seems that cups now won't recognise the file: setting, yet previously it= =20 did. I checked back through my logs to see if a newer cups port had come ou= t=20 & I'd inadvertently upgraded to it, but it seems that's not the case - it's= =20 still 1.2.0 Using the usb: URI always gives the same result - the job starts printing b= ut=20 stops after about 12% and won't go any further. Any ideas as to why my cups no longer accepts the file: URI? I'm running FreeBSD 5.11-Release-p2 and my printer is an Epson Stylus C61 o= n a=20 USB port. Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart5803945.JyO59qBnis Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE1KVAPUlnmbKkJ6ARAm2jAKCPOX85oyqus8JLS/qN+++P7lNeCQCdHooK Q6kD/dTl/A/7ZbUcPsRrVC8= =dih2 -----END PGP SIGNATURE----- --nextPart5803945.JyO59qBnis--