[Tfug] lpr and unknown printer
Robert Hunter
hunter at tfug.org
Sun Mar 2 04:26:26 MST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Mar 01, 2008 at 10:53:15PM -0700, Glen Pfeiffer wrote:
> Using 'lp -d tp0 test.txt' works. So that then raises my next
> question, why does lpr fail to see the printer and lp does not?
On debian or ubunutu (and assuming you are using cups), you need the
cupsys-bsd package.
: lpq
HP_Color_LaserJet_2840 is ready
no entries
: dpkg -L cupsys-bsd
/.
/usr
/usr/sbin
/usr/sbin/lpc
/usr/bin
/usr/bin/lpq
/usr/bin/lpr
/usr/bin/lprm
/usr/lib
/usr/lib/cups
/usr/lib/cups/daemon
/usr/lib/cups/daemon/cups-lpd
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lpr.1.gz
/usr/share/man/man1/lprm.1.gz
/usr/share/man/man1/lpq.1.gz
/usr/share/man/man8
/usr/share/man/man8/cups-lpd.8.gz
/usr/share/man/man8/lpc.8.gz
/usr/share/doc
/usr/share/doc/cupsys-bsd
- --
Rob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHyo7iJ1pz6tWxufARAgUKAJoCB3cx8zcSgpal3KMMSU2v8+NowgCeKmQ2
LNwLyHwdF5UljHilU7NrX4s=
=g2Cc
-----END PGP SIGNATURE-----
More information about the tfug
mailing list