How to print using cups on FreeBSD?
unga888 at yahoo.com
Fri Nov 27 04:50:32 UTC 2009
--- On Fri, 11/27/09, Patrick Lamaiziere <patfbsd at davenulle.org> wrote:
> From: Patrick Lamaiziere <patfbsd at davenulle.org>
> Subject: Re: How to print using cups on FreeBSD?
> To: "Unga" <unga888 at yahoo.com>
> Cc: freebsd-questions at freebsd.org
> Date: Friday, November 27, 2009, 8:19 AM
> Le Wed, 25 Nov 2009 21:15:07 -0800
> Unga <unga888 at yahoo.com>
> a écrit :
> > Hi
> > I'm trying to print using cups 1.3.10 on FreeBSD 7.2
> on a Epson
> > Stylus Photo R800 printer. It prints garbage! That is,
> it print some
> > series of characters.
> > My first question is, does cups work on FreeBSD to
> > pkg_info | grep foomatic
> > foomatic-db-20090530 Foomatic database
> > foomatic-db-engine-4.0.1,2 Foomatic database engine
> > gutenprint-foomatic-5.1.7_2 GutenPrint Printer Driver
> Looks good, according to linuxprinting.org the Gutenprint
> driver should
> work for your printer.
> > I have followed this for cups configuration:
> > http://www.freebsd.org/doc/en/articles/cups/printing-cups-configuring-server.html
> > ls -l /dev/unlpt0
> > crw-rw---- 1 root cups 0, 155
> Nov 26 12:23 /dev/unlpt0
> > ls -l /dev/ulpt0
> > crw-rw---- 1 root cups 0, 154
> Nov 26 12:23 /dev/ulpt0
> > I don't have /dev/lpt* .
> > I'm a member of cups group.
> How did you configure the printer under cups? Did you try
> the option
> usb / usb no reset for the usb port used by cups?
> Also check the cups logs (/var/log/cups/*)
> HTH, regards.
Thank you very much for the reply.
Here is what shows on error_log:
Listening to ::1:631 on fd 1...
Listening to 127.0.0.1:631 on fd 3...
Listening to /var/run/cups.sock on fd 4...
Resuming new connection processing...
[Job ???] Request file type is application/postscript.
[Job 14] Adding start banner page "none".
[Job 14] Adding end banner page "none".
[Job 14] File of type application/postscript queued by "unga".
[Job 14] Queued on "EPSON-R800" by "unga".
[Job 14] Started filter /usr/local/libexec/cups/filter/pstops (PID 1467)
[Job 14] Started filter /usr/local/libexec/cups/filter/pstoraster (PID 1468)
[Job 14] Started filter /usr/local/libexec/cups/filter/rastertogutenprint.5.1 (PID 1469)
[Job 14] Started backend /usr/local/libexec/cups/backend/usb (PID 1470)
[Job 14] Canceled by "unga".
Only error is on access_log:
"POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Default client-error-not-found
As for your question, the printer is connected to a USB port and configured using the KDE 3.5 printer configuration utility.
The same printer prints very well on a older Linux system with a older Gutenprint driver!
What am I still missing?
More information about the freebsd-questions