Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site gymble.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!lll-crg!gymble!beth
From: beth@gymble.UUCP (Beth Katz)
Newsgroups: net.micro.pc
Subject: Re: banner headers on xenix printouts
Message-ID: <250@gymble.UUCP>
Date: Wed, 14-Aug-85 11:54:57 EDT
Article-I.D.: gymble.250
Posted: Wed Aug 14 11:54:57 1985
Date-Received: Sun, 18-Aug-85 05:31:31 EDT
References: <627@deepthot.UUCP> <1042@mtgzz.UUCP>
Reply-To: beth@gymble.UUCP (Beth Katz)
Organization: U of Maryland, Laboratory for Parallel Computation, C.P., MD
Lines: 16

>> 	I have an IBM AT running XENIX.  When I output to the printer,
>> I get a nice banner telling who printed the file.  Unfortunatly,
>> the AT thinks that this banner is so nice that it outputs it twice. Followed
>> by an extraneous blank page.

To get just your output, use the following shell script.  (You can also
just use the one line, but I don't like remembering such things.)
	#
	cat $1 > /dev/lp &
I put this in /usr/beth/bin/p and then just type 'p filename'.  I make
no claims for this working with all printers.  It seems to work well
with the standard IBM Graphics printer.  It seems simple enough to work
with any printer.
				Beth Katz
				Dept. of Computer Science, Univ. of Maryland
				{seismo,allegra}!umcp-cs!beth