🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #7356

Re: lpd with remote printers

#7356
From: Elizabeth Zwicky
Date: Tue, 02 Apr 1991 15:00
25 lines
1908 bytes
In article <2147@brchh104.bnr.ca> de@helios.ucsc.edu (De Clarke) writes:
> But I didn't think you needed separate spool directories for
>remote printers.  Am I in left field?

You are in left field. A printer job, as a file, does not contain any
information about what printer it has been spooled to. When it is spooled,
an lpd starts up, and that lpd gets told by lpr what the relevant printer
is. As long as that lpd is running, it will spool the job to the correct
printer, no matter how the spool directories are set up. (It will also
drain all other jobs in what it thinks is its spool directory, but you are
unlikely to notice this unless printing is heavy and directed to multiple
printers.) When you kill off lpd and restart it, it reads through the
printcap, and checks for outstanding jobs in the queues. The first
printcap entry for a given spool directory will get all of that
directory's entries. 

The reason that people often let all their remote printers use the same
spool directory is that they assume that all jobs will drain rapidly. When
this assumptions fails, so does the printer system.

(By the way, the easy way to undo the hang when you get a "waiting for
remotehost to come up" message is to use lpc to abort and restart the
relevant queue.)

	Elizabeth D. Zwicky
Technical Details
Message-ID: <2288@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: zwicky@erg.sri.com (Elizabeth Zwicky)
Newsgroups: comp.sys.sun
Subject: Re: lpd with remote printers
Keywords: Miscellaneous
Message-ID: <2288@brchh104.bnr.ca>
Date: 2 Apr 91 15:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 25
Approved: Sun-Spots@rice.edu
X-Original-Date: Fri, 29 Mar 91 00:42:35 GMT
X-Refs:  Original: v10n65
X-Sun-Spots-Digest: Volume 10, Issue 75, message 10
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu