From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8b7937027619369c,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-30 09:28:58 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!gumby!yale!yale!hal.silsoe.cranfield.ac.uk!sspt From: sspt@silsoe.cranfield.ac.uk (P.Thanigasalam) Newsgroups: comp.unix.osf.osf1 Subject: Remote printers Date: 30 Nov 1994 17:20:05 GMT Organization: SSLRC, Cranfield University Sender: sspt@hal.silsoe.cranfield.ac.uk (P.Thanigasalam) Distribution: world Message-ID: <3bic86$irp@babyblue.cs.yale.edu> Reply-To: sspt@silsoe.cranfield.ac.uk (P.Thanigasalam) NNTP-Posting-Host: 138.250.128.11 X-Newsreader: mxrn 6.18-27 I am having trouble getting lpr to format my text files to send them to our postscript printer. For example, the '-O landscape' option is ignored. As far as I can determine, the problem is that since the printer (an HP4 with NetJet Printer Server) has an ethernet card and is connected directly to our network, it is therefore a remote printer. It seems that because the printcap file specifies an 'rm=' field, the filter program is not run by lpd. I can't find any reference to this in the docs. Does anybody know if this is true and, if so, what can be done? We are running OSF/1 V3.0. The printcap entry is: lp|lp0|0|post:\ :af=/usr/adm/lp0acct:\ :fc#0177777:\ :fs#03:\ :if=/usr/lbin/hplaserpsof:\ :lf=/usr/adm/lp0err:\ :lp=:\ :mc#20:\ :mx#0:\ :of=/usr/lbin/hplaserpsof:\ :pl#66:\ :pw#80:\ :rm=NJA0201DB:\ :rp=TEXT:\ :rw:\ :sd=/usr/spool/lpd0:\ :xc#0177777:\ :xf=/usr/lbin/hplaserpsof:\ :xs#044000: BTW, I know the printer connection works because if I send a PS file to it, e.g. cat textfile | /usr/lbin/hplaserpsof | lpr everything works fine. On the other hand, sending the text itself lpr textfile generates a PS error indicating that the conversion to PS has not been done. Thanks in advance Pillaiyar Thanigasalam