Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 14:17:43 -0200
From:      luizbcampos <luizbcampos@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: "printer not found"... printing with LPRng and foomatic
Message-ID:  <d534d2fe0811290817u38be3b81o3f3f1940f67f761a@mail.gmail.com>
In-Reply-To: <44wsenv73e.fsf@lowell-desk.lan>
References:  <d534d2fe0811281209i73ffbbe8x741f9c92e3223d50@mail.gmail.com> <44wsenv73e.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/28/08, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> wrote:
> luizbcampos <luizbcampos@gmail.com> 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/
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d534d2fe0811290817u38be3b81o3f3f1940f67f761a>