"printer not found"... printing with LPRng and foomatic

luizbcampos luizbcampos at gmail.com
Sat Nov 29 08:17:45 PST 2008


On 11/28/08, Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:
> luizbcampos <luizbcampos at 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 at localhost (dest /dev/ulpt0 at localhost
        Quue: no printable jobs in queue
         Server: no server active
        Status: job 'luiz at localhost+913' saved at 12:52:09
        error: luiz at localhost+913  : too many errors
        Printer : /dev/ulpt0 at 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 at 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/
>


More information about the freebsd-questions mailing list