How to drive a postscript printer in SysV 3.2

Sean Casey sean at ms.uky.edu
Thu Jun 7 08:43:58 AEST 1990


I got several replies to my request. None of them were the least bit
helpful "you're sending it a text file". "Your system is messed up."
"Blah blah blah."

So, after digging through the manuals, here's what you do:

Make a file, call it anything, with the following contents:

#!/bin/sh

shift; shift; shift; shift; shift;

cat $*


Then:

/usr/lib/lpadmin -pprintername -ifilename -v/dev/devicename
enable printername
/usr/lib/accept printername


-- 
***  Sean Casey          sean at ms.uky.edu, sean at ukma.bitnet, ukma!sean



More information about the Comp.unix.i386 mailing list