From owner-freebsd-questions@FreeBSD.ORG Fri Nov 27 04:50:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B4CB106566B for ; Fri, 27 Nov 2009 04:50:32 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57006.mail.re3.yahoo.com (web57006.mail.re3.yahoo.com [66.196.97.110]) by mx1.freebsd.org (Postfix) with SMTP id EB5E28FC22 for ; Fri, 27 Nov 2009 04:50:31 +0000 (UTC) Received: (qmail 74951 invoked by uid 60001); 27 Nov 2009 04:50:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1259297431; bh=9zWj/KaWPJGfah7ofstgMvaCmNTdU4YXQH1pKE4hsS8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EWwVd9kb3ry3z3MCi82alJeuKe2Usynm7mg5LvUpj/55hlQm4hTrSMiv/gm4r2vtlbCKZxr3q+N4YHGKhD7Vr+mzOwfe7024llogiKrrCS8WwmRe/nGWLZDImgKAuZVbjo+OC8mgmjXkzL4uJ5fFsjynJIL78twOos9PcytvZDE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kMaxmLitF/qky79cGNIZo6S4wWE/ir7AmW3Fq/0TqsDrVWpn4Xv+6xOFSYCYlpcZ7DX0zx1svnWbmsC3iJyvZUuR41XSP03XYZxD3CBXdUvVaAjOdTeCEUe+OkOWMUIv4Bwir7nloQSNNbBIOEP9kEi6qVAPB10N74senHh0sVI=; Message-ID: <480495.72992.qm@web57006.mail.re3.yahoo.com> X-YMail-OSG: w84YzoQVM1mNrVZfJEMVo2Zc9fsEACxjMStA6TgxkBR.vKWmYsLFITJHD_u9n9AHMzIuwid9kFa2ACCmF1s5eHVqYhOB0f0X9xO3ctADUnI4aqoPZoxXdulX.aByNKTKOaY84WTV7pOAxeDRUiMDqFkrr.du.eF.Qpv_atOvEYphX9zVV7qhs6sA8dz88QOBn1EO8RdcoP7Iu3hBYlky7w1MHAXbqwX8yH1x6oxEDlM1tqudQB797k7wXM3mnbrKz5B3wvMRqc5H3_nNDv9BQ4C8HR2CFovHt5jEEuzU4SxxFGPkDqS86b_wB4r9DNfEIwCAxOiyfXCPWPh0hCwfjukWDSt25K0kfk3b11vb9Ur2eqq2FjUhApbL Received: from [220.255.7.209] by web57006.mail.re3.yahoo.com via HTTP; Thu, 26 Nov 2009 20:50:31 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.8.100.260964 Date: Thu, 26 Nov 2009 20:50:31 -0800 (PST) From: Unga To: freebsd-questions@freebsd.org In-Reply-To: <20091127011937.27de0607@baby-jane.lamaiziere.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: How to print using cups on FreeBSD? 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: Fri, 27 Nov 2009 04:50:32 -0000 --- On Fri, 11/27/09, Patrick Lamaiziere wrote:=0A= =0A> From: Patrick Lamaiziere =0A> Subject: Re: How = to print using cups on FreeBSD?=0A> To: "Unga" =0A> Cc: = freebsd-questions@freebsd.org=0A> Date: Friday, November 27, 2009, 8:19 AM= =0A> Le Wed, 25 Nov 2009 21:15:07 -0800=0A> (PST),=0A> Unga =0A> a =E9crit :=0A> =0A> > Hi=0A> > =0A> > I'm trying to print using c= ups 1.3.10 on FreeBSD 7.2=0A> on a Epson=0A> > Stylus Photo R800 printer. I= t prints garbage! That is,=0A> it print some=0A> > series of characters.=0A= > > =0A> > My first question is, does cups work on FreeBSD to=0A> print?=0A= > =0A> Yes.=0A> =0A> ...=0A> =0A> > pkg_info | grep foomatic=0A> > foomatic= -db-20090530 Foomatic database=0A> > foomatic-db-engine-4.0.1,2 Foomatic da= tabase engine=0A> > gutenprint-foomatic-5.1.7_2 GutenPrint Printer Driver= =0A> =0A> Looks good, according to linuxprinting.org the Gutenprint=0A> dri= ver should=0A> work for your printer.=0A> =0A> =0A> > I have followed this = for cups configuration:=0A> > http://www.freebsd.org/doc/en/articles/cups/p= rinting-cups-configuring-server.html=0A> > =0A> > ls -l /dev/unlpt0=0A> > c= rw-rw----=A0 1 root=A0 cups=A0 =A0 0, 155=0A> Nov 26 12:23 /dev/unlpt0=0A> = > =0A> > ls -l /dev/ulpt0=0A> > crw-rw----=A0 1 root=A0 cups=A0 =A0 0, 154= =0A> Nov 26 12:23 /dev/ulpt0=0A> > =0A> > I don't have /dev/lpt* .=0A> > = =0A> > I'm a member of cups group.=0A> =0A> Ok.=0A> =0A> How did you config= ure the printer under cups? Did you try=0A> the option=0A> usb / usb no res= et for the usb port used by cups?=0A> Also check the cups logs (/var/log/cu= ps/*)=0A> =0A> HTH, regards.=0A> =0AHi=0A=0AThank you very much for the re= ply.=0A=0AHere is what shows on error_log:=0A=0AListening to ::1:631 on fd = 1...=0AListening to 127.0.0.1:631 on fd 3...=0AListening to /var/run/cups.s= ock on fd 4...=0AResuming new connection processing...=0A[Job ???] Request = file type is application/postscript.=0A[Job 14] Adding start banner page "n= one".=0A[Job 14] Adding end banner page "none".=0A[Job 14] File of type app= lication/postscript queued by "unga".=0A[Job 14] Queued on "EPSON-R800" by = "unga".=0A[Job 14] Started filter /usr/local/libexec/cups/filter/pstops (PI= D 1467)=0A[Job 14] Started filter /usr/local/libexec/cups/filter/pstoraster= (PID 1468)=0A[Job 14] Started filter /usr/local/libexec/cups/filter/raster= togutenprint.5.1 (PID 1469)=0A[Job 14] Started backend /usr/local/libexec/c= ups/backend/usb (PID 1470)=0A[Job 14] Canceled by "unga".=0A=0A=0AOnly erro= r is on access_log:=0A"POST /printers/ HTTP/1.1" 200 112 CUPS-Get-Default c= lient-error-not-found=0A=0AAs for your question, the printer is connected t= o a USB port and configured using the KDE 3.5 printer configuration utility= .=0A=0AThe same printer prints very well on a older Linux system with a old= er Gutenprint driver!=0A=0AWhat am I still missing?=0A=0ARegards=0AUnga=0A= =0A=0A=0A=0A