From owner-freebsd-questions@FreeBSD.ORG Sat Nov 29 16:17:44 2008 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 E2EA31065673 for ; Sat, 29 Nov 2008 16:17:44 +0000 (UTC) (envelope-from luizbcampos@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC608FC08 for ; Sat, 29 Nov 2008 16:17:44 +0000 (UTC) (envelope-from luizbcampos@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so663794ana.13 for ; Sat, 29 Nov 2008 08:17:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gsZSbuBYWNICxK3mcN7l4dH/DA+ipK4IGGLJByTKxcI=; b=qIuGefaiZONIECaxSjeoF6zCPIVKORTkEkwGzsqns5APGMh79GR3wyrYQXo5DomFXY Kqn90tZ2r8MpMqaePt/6/D0FT7avFDMxYMtO76UrSfR3UsrOV5f9i/+wQYf4up9j68wa lGNhpt4prMbnIcziynRUlfmo7sE0boepzD7X8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QOPt4nPFVX6iqeUbFuuAxXEW8w2pGFtoU7LloSuoGSc1sDG2lOnIJINt5JJS7b+0vN vFABUS8A7JeL0tY0KmVQxVOfM3w18JXpIaeMf1T7vwH0cyML7DAnPWM60TPZZYQ2FUr8 YjFeofMpNfEpULGlRN0iun+t3D7kObPVx4H2o= Received: by 10.100.121.12 with SMTP id t12mr4778740anc.96.1227975463609; Sat, 29 Nov 2008 08:17:43 -0800 (PST) Received: by 10.100.164.6 with HTTP; Sat, 29 Nov 2008 08:17:43 -0800 (PST) Message-ID: Date: Sat, 29 Nov 2008 14:17:43 -0200 From: luizbcampos To: freebsd-questions@freebsd.org In-Reply-To: <44wsenv73e.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44wsenv73e.fsf@lowell-desk.lan> Subject: Re: "printer not found"... printing with LPRng and foomatic 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, 29 Nov 2008 16:17:45 -0000 On 11/28/08, Lowell Gilbert wrote: > luizbcampos writes: > >> I own a usb Canon Pixma iP 1600 printer and I use FBSD-7.0-R >> amd64. I've choosen LPRng as printer spooler and foomatic-filters, >> everything is OK in /etc/printcap but when I type "lpq" I get "printer >> not found" as output. >> >> >> >> # /etc/printcap >> >> ip2200_usb_ps: \ >> >> :lp=/dev/ulpt0 >> :force_localhost: \ >> :if=/usr/local/bin/foomatic-rip: \ >> :ppd=/usr/local/libexec/cups/filter/canonip2200.ppd: \ >> :sd=/var/spool/lpd/ip2200_usb_ps: \ >> :mx#0:sh: >> >> >> I followed all the info contained in "openprinting" section lpd >> and I chmoded 0755 lprng.sh > > How about "lpq -P ip2200_usb_ps"? > > -- printer has been detected but some problems come up: #lpq Printer ip2200_usb_ps@localhost (dest /dev/ulpt0@localhost Quue: no printable jobs in queue Server: no server active Status: job 'luiz@localhost+913' saved at 12:52:09 error: luiz@localhost+913 : too many errors Printer : /dev/ulpt0@localhost - ERROR: printer '/dev/ulpt0 has illegal char at ' /dev/ulpt0' in name >> should I set up firstly lpd.perm in order to correct these errrors? >> /etc/printcap ip2200_usb_ps: \ :lp=/dev/ulpt0@localhost: \ :force_localhost: \ :if=/usr/local/bin/foomatic-rip: \ :ppd=/usr/local/libexec/cups/filter/canonip2200.ppd: \ :sd=/var/spool/lpd/ip2200_usb_ps: \ :mx#0:sh: >> /var/log/lpd.errs: Nov 28 19:25:44 localhost lpd[850]: lpd startup: logging=0 such sentence repeat many times ... > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ >