Date: Sat, 18 Mar 2006 17:58:50 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Jose Luis Alarcon Sanchez <jlalarcon@gawab.com> Cc: Lista FreeBSD-questions <freebsd-questions@freebsd.org> Subject: Re: USB printer and native BSD printing system Message-ID: <20060318174721.R10647@wonkity.com> In-Reply-To: <1142686198.2835.50.camel@Endeavour.lordofunix.org> References: <1142686198.2835.50.camel@Endeavour.lordofunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Mar 2006, Jose Luis Alarcon Sanchez wrote: > I have an USB printer at /dev/ulpt0, dmesg say: > > ulpt0: Lexmark 730 Series, rev 2.00/1.00, addr 2, iclass 7/1 > ulpt0: using bi-directional mode I can't find any useful information on that printer online. Maybe it's very old? Many printers can't understand ASCII data, and it may be one of them. > CUPS is not installed and i am trying make printer work with the native > BSD printing system. This is what have my /etc/printcap file: > > lp|local printer:\ > :sh:\ > :lp=/dev/ulpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs: > > And this is 'ls -l /var/spool/lpd' > > -rw-rw-r-- 1 root daemon 37 Mar 14 19:55 lock > -rw-rw-r-- 1 root daemon 25 Mar 14 19:55 status > > I don't get printer work. Command 'lp file.txt' don't return any output, > 'cat file.txt > /dev/ulpt0' don't return any output. Command > 'cat /var/spool/lpd/status' output is: > > lp is ready and printing > > and this can indicate the configuration is well done. lpd is run... > > I am thinking about if the cause of this problem can be the native BSD > printing system can't manage USB printers, so my concrete question to > the list is: Can be used the BSD lpd with USB printers?. Yes it can. The problem is most likely that the printer can't print plain ASCII data. Sometimes these printers are called "host-based", "GDI", or "Winprinters". If it is one of those printers, you need to find a program that can send the data in a form the printer understands. http://www.linuxprinting.org doesn't list the Lexmark 730, but it may use the same codes as one of the other Lexmark printers. -Warren Block * Rapid City, South Dakota USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060318174721.R10647>