From: Justin Mason (jm at domain jmason.org)
Date: Fri 01 Jun 2001 - 17:39:00 IST
"John P. Looney" said:
> Anyone know how to speak lpd ? Basically, we've just gotten a great big
> feck-off printer (canon GP-335). And, it's "lpd enabled". I know the
> printer name...what else do I need to know ?
>
> When I tried to print a test page, I got;
>
> bartender [0] lpq
> Printer: printer1 at domain bartender (dest printer1 at domain printer1)
> Queue: 1 printable job
> Server: pid 3080 active
> Unspooler: pid 3140 active
> Status: attempt 3, sleeping 20 before retry at 17:10:21.039
> Rank Owner/ID Class Job Files Size
> Time
> active(attempt-3) root A 79 /usr/share/printconf 18043
> 17:10:10
> no entries
>
> So, it looks like redhat's printtool assumes that if you don't give a
> print queue name it defaults to the printer name. Anyway. Is "lpd" a text
> type thing like SMTP/IMAP etc ?
Use "lp" as the printer name, that'll probably work. And no, lpd
protocol is not text-based, it's worse -- it's so unbelievably primitive
-- one-character header followed by a little bit of payload for the (iirc)
5 message types ;)
--j.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:33 GMT