[Tfug] lpr and unknown printer
Shawn Nock
nock at fastmail.fm
Sun Mar 2 22:33:38 MST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Glen Pfeiffer wrote:
> On 03/02/2008 10:11 PM, Glen Pfeiffer wrote:
>> The cupsys-bsd description says that provides the BSD commands
>> for interfacing with CUPS. Does that mean that lpr cannot
>> interface with CUPS?
>>
> I should have been clearer.
>
> Does that mean that the lpr provided by the lpr package cannot
> interface with CUPS?
>
Short answer, no. CUPS uses IPP as it's network protocol (over TCP or
socket). A traditional lpr doesn't speak IPP. cups-lpr provides an
lpr-like interface to IPP.
Another alternative, is to use cups-lpd. cups-lpd speaks very basic lpd
on port 515. Assuming you setup the printers as remote queues
(@localhost) in the printcap (or printer.conf), traditional lpr/rlpr
should work.
Unless you are setting this box up as a print server for legacy clients
(which usually only speak lpd), cups-lpr is what you are looking for.
Peace,
Shawn
- --
Shawn Nock (OpenPGP: 0x8801F8F4)
nock at fastmail dot fm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHy42yrg6S4IgB+PQRAnaXAJ4vDHpnLaUDEmCk3sFIFUFG2JwD+gCeKItT
VIy/vKb/bSa/LCdw12bfvGY=
=CZ6n
-----END PGP SIGNATURE-----
More information about the tfug
mailing list