Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!megatest!sjordahl From: sjordahl@megatest.UUCP (Scott Jordahl) Newsgroups: comp.lang.postscript Subject: Re: Help with Mac-generated PS files... Message-ID: <457@megatest.UUCP> Date: 15 Apr 88 22:48:09 GMT References: <993@nugipsy.UUCP> <136800002@uxa.cso.uiuc.edu> <4407@batcomputer.tn.cornell.edu> Reply-To: sjordahl@megatest.UUCP (Scott Jordahl) Organization: Megatest Corporation, San Jose, Ca Lines: 47 Summary: WHERE'S THE BEEF!!!! In article <4407@batcomputer.tn.cornell.edu> hurf@tcgould.tn.cornell.edu (Hurf Sheldon) writes: > Submitted here is a shell script lsmith created to handle files created >with command F and all the little bugs due to different versions of >laserprep, etc. ... There seems to be a couple of important files missing: >echo ' Input is ' $# 'files.' >for FILE in $@ > do if test -r $FILE -a -s $FILE > then if grep -s appledict $FILE > then echo 'Please use MacPostscript files produced by CMD f, not CMD k.' > echo 'The file' $FILE 'is not acceptable for printing' > elif grep -s dobe-2.0 $FILE > then echo 'Printing MacIntosh PostScript2.0 file' $FILE > cat /usr/lib/mac/LaserPrep4.0.ps $FILE | lpr -Plsr ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > elif grep -s dobe-1.0 $FILE > then echo 'Printing Mac PostScript1.0 file' $FILE > cat /usr/lib/mac/LaserPrep.ps $FILE | lpr -Plsr and ^^^^^^^^^^^^^^^^^^^^^^^^^ Could the original poster please post these two (2) files. This looks just like the utility we've been looking for. Thanks for the posting, -- Scott >-- > Hurf Sheldon Network: hurf@ionvax.tn.cornell.edu > Lab of Plasma Studies Bitnet: hurf@CRNLION > 369 Upson Hall, Cornell University, Ithaca, N.Y. 14853 ph:607 255 7267 > I sold my Elan, got a job in science; Now, no one takes me seriously. /########################################################################\ | Scott A. Jordahl | | Megatest Corporation | | UUCP: {decwrl, sun, fortune, pyramid, ubvax, amd} !megatest!sjordahl | | USMAIL: Megatest Corporation | | 880 Fox Lane | | San Jose, Ca 95131 | | PHONE: [408] 437-9700 x3489 | \########################################################################/