Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!uflorida!bikini!jco From: jco@reef.cis.ufl.edu (Dumpmaster John) Newsgroups: comp.sys.hp Subject: Re: HP-UX, PostScript, LasetJetIII Message-ID: Date: 29 Jan 91 13:51:28 GMT References: <1991Jan28.003701.17785@kaos.mbari.org> <5570568@hpfcdc.HP.COM> Sender: news@uflorida.cis.ufl.EDU Organization: /cis/serc1/jco/.organization Lines: 55 In-reply-to: richard@hpfcdc.HP.COM's message of 28 Jan 91 23:20:24 GMT In article <5570568@hpfcdc.HP.COM> richard@hpfcdc.HP.COM (Richard Artz) writes: take one of the 7.0 scripts and rip out everything except the line that cat's the file. I've done this and it does work. You should also keep the stty line which sets up the port for you. Here is a very primitive script for a ps model. Something I've been meaning to add is a cut line at the top to get the %! so that only PS files will print. Also a header would be nice. :-) later jco ----------------------------Cut Here-------------------------------------- #!/bin/sh # Author: John C. Orthoefer # Date: 19 Dec 1990 # Based on the PCL level 4 HP printer model # # lp interface for HP laserjet IID w/ Hp Postscript cart. # seqid=$1 name=$2 title="$3" copies=$4 options="$5" # The remaining arguments are files shift; shift; shift; shift; shift files="$*" stty raw 9600 -parenb cs8 ixon -istrip clocal <&1 2>/dev/null # Print the spooled files for file in $files do cat "$file" 2>&1 echo "\004\c" done stty raw 9600 -parenb cs8 ixon -istrip clocal <&1 2>/dev/null exit 0 ----------------------------Cut Here-------------------------------------- -- "BSD the strongest Operating System avaible today without a prescription." In Real Life: John C. Orthoefer Internet: jco@smuggler.cis.ufl.edu University of Florida Floyd Mailing List: eclipse-request@beach.cis.ufl.edu