> From [EMAIL PROTECTED] Wed Oct 8 14:16:26 2003 > Date: Wed, 08 Oct 2003 17:30:28 -0300 > From: Daniel Weingaertner <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: LPRng: X terminal as printer server! > > Hi, > > I have a paralell printer conected to a X-terminal. The problem is > that it uses the local disk (of the terminal) for spooling, which is > not what I want. I want the X-server to handle all the spooling and > the X-term should only be a "network interface" for my paralell > printer. I could not figure out how to do it. I appreciate any help on > this... (princap for server and X-term) > > Daniel Weingaertner >
Find out what the Xterminal print spooler is. Proabably something like [EMAIL PROTECTED] You can test this by using: lpr [EMAIL PROTECTED] /tmp/somefile.to.print And it should come of the printer. Now you can set up: lp_terminal1: :[EMAIL PROTECTED] :sd=..... When your users log on, set the PRINTER environment variable to lp_terminal_1, etc: PRINTER=lp_terminal_1 You will have to do something fancy, but there are various envirnment variables set by most X-terminal servers. Patrick ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
