Path: utzoo!mnetor!uunet!hi-csc!slocum From: slocum@hi-csc.UUCP (Brett Slocum) Newsgroups: comp.sys.apollo Subject: postscript printers using lpr Message-ID: <3a8561d9.805@hi-csc.UUCP> Date: 26 Feb 88 21:57:00 GMT References: <8802220318.AA04482@ATHENA.CS.YALE.EDU> <3a79b848.c366@apollo.uucp> Reply-To: slocum@hi-csc.UUCP (Brett Slocum) Distribution: na Organization: csdd Lines: 26 Keywords: postscript lpr UltraOffice Summary: help using lpr with ps printer Has anyone solved the problem of sending files to post-script printers using 'lpr'. The problem lies in the fact that 'lpr' uses 'prf' to do the printing, after prepending a banner page. This works okay with text files, but gets very confused when printing post-script output from such products as 'xroff' since the text banner page gets prepended in front of postscript output. My very kludgy solution is to have 'lpr' pass everything through a filter before sending it to 'prf'. This filter adds postscript commands to the banner page, and tests to see if the body of the printout is text or postscript. If ps, it does nothing, but if text it again adds postscript commands. The whole file is thus postscript, and gets passed to the prf command transparently. There must be a better way. Also, we are trying to bring the Ultra Office software up, which connects the Domain network to an AppleTalk network. Has anyone else had experience with this, especially getting the Apollo side to print Mac files on Postscript printers?? Any help is greatly appreciated. Thanks in advance. -- --Brett Slocum "Never bet with a Sicilian where Death is involved." UUCP: ...{uunet,ihnp4!umn-cs}!hi-csc!slocum Arpa: hi-csc!slocum@umn-cs.arpa