Re: How to print using cups on FreeBSD? [SOLVED]

2009-11-27 Thread Unga
--- On Fri, 11/27/09, Patrick Lamaiziere  wrote:

> From: Patrick Lamaiziere 
> Subject: Re: How to print using cups on FreeBSD?
> To: freebsd-questions@freebsd.org
> Cc: "Unga" 
> Date: Friday, November 27, 2009, 8:19 PM
> Le Thu, 26 Nov 2009 20:50:31 -0800
> (PST),
> Unga 
> a écrit :
> 
> > The same printer prints very well on a older Linux
> system with a
> > older Gutenprint driver!
> > 
> > What am I still missing?
> 
> Try to change the usb mode, there are two modes : one use
> ulpt and one
> use unlpt. You can change it under cups (http://localhost:631)
> 
> If this does not do the trick I don't know.
> 
> Regards.
> ___
> freebsd-questions@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
> 

Thanks Patrick, you knew enough :) That was the problem.

Best regards
Unga



 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to print using cups on FreeBSD?

2009-11-27 Thread Patrick Lamaiziere
Le Thu, 26 Nov 2009 20:50:31 -0800 (PST),
Unga  a écrit :

> The same printer prints very well on a older Linux system with a
> older Gutenprint driver!
> 
> What am I still missing?

Try to change the usb mode, there are two modes : one use ulpt and one
use unlpt. You can change it under cups (http://localhost:631)

If this does not do the trick I don't know.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to print using cups on FreeBSD?

2009-11-26 Thread Unga
--- On Fri, 11/27/09, Patrick Lamaiziere  wrote:

> From: Patrick Lamaiziere 
> Subject: Re: How to print using cups on FreeBSD?
> To: "Unga" 
> Cc: freebsd-questions@freebsd.org
> Date: Friday, November 27, 2009, 8:19 AM
> Le Wed, 25 Nov 2009 21:15:07 -0800
> (PST),
> Unga 
> 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
> print?
> 
> Yes.
> 
> ...
> 
> > 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.
> 
> Ok.
> 
> 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.
>  
Hi

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?

Regards
Unga





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to print using cups on FreeBSD?

2009-11-26 Thread Patrick Lamaiziere
Le Wed, 25 Nov 2009 21:15:07 -0800 (PST),
Unga  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 print?

Yes.

...

> 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  cups0, 155 Nov 26 12:23 /dev/unlpt0
> 
> ls -l /dev/ulpt0
> crw-rw  1 root  cups0, 154 Nov 26 12:23 /dev/ulpt0
> 
> I don't have /dev/lpt* .
> 
> I'm a member of cups group.

Ok.

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.
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"