Date: Sat, 5 Aug 2006 23:33:37 +0930 From: Ian Moore <no-spam@swiftdsl.com.au> To: freebsd-questions@freebsd.org Subject: Cups USB workaround was working but now fails Message-ID: <200608052333.44364.no-spam@swiftdsl.com.au>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608052333.44364.no-spam>