Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!sundc!hqda-ai!merlin From: merlin@hqda-ai.UUCP Newsgroups: comp.unix.wizards Subject: 4.2BSD LPR Spooler Protocol Message-ID: <328@hqda-ai.UUCP> Date: Wed, 1-Apr-87 14:04:15 EST Article-I.D.: hqda-ai.328 Posted: Wed Apr 1 14:04:15 1987 Date-Received: Sat, 4-Apr-87 07:46:19 EST Organization: Army AI Center, Pentagon Lines: 33 Keywords: bsd spooler protocol I need some help. I have a Sun 3/160 running 4.2BSD. It's connected to a Symbolics Lisp machine via an ethernet. The Symbolics is naked, but the Sun has a printer. I'd like to get the Symbolics to print using the UCB spooler system. I have been able to get the TCP connections properly configured, but I'm having trouble with the protocol. The manuals say that the valid requests to the lp daemon are: 1: ^A printer Search for and print jobs for "printer" 2: ^B printer Accept a new job for "printer" 3: ^C printer [users...] [jobs...] Short list of current queue state 4: ^D printer [users...] [jobs...] Long list of current queue state 5: ^E printer person [users...] [jobs...] Remove jobs from queue I'm most interested in number 2, but it might be nice to implement the others, as well. I don't have any further documentation on what, exactly, the protocol is. Obviously something follows most of these commands, but I don't know what. Is there anyone out there who has documentation on this? If so, and you'd be willing to mail it to me, please let me know. (Don't just mail it off, 'cause I don't want to waste bandwidth with 20 copies of the same document.) Eternally perplexed, -- David S. Hayes, The Merlin of Avalon PhoneNet: (202) 694-6900 UUCP: *!seismo!sundc!hqda-ai!merlin ARPA: merlin%hqda-ai.uucp@brl.arpa