ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/May-Jun/printing-mac-generated-postscript-files-on-the-NeXT

This is printing-mac-generated-postscript-files-on-the-NeXT in view mode; [Up]


Date: Sun 21-May-1989 04:36:37 From: Unknown Subject: printing mac-generated postscript files on the NeXT The sed script that Steve Dorner posted here which cleaned up the apple LaserPr ep file so 0.8 would print it doesn't work in 0.9. Fooling around, I discovered that the reason is that Steve's script puts a gsave at the very beginning, rig ht after the %!, and ends with a grestore. These are what 0.9 doesn't like! So here is the trivial modification of Steve's sed script, which when run on a com mand-k generated postscript file turns it into something that 0.9 will print: -----cut here------ 1i\ %! 402,421d 82,83d 20,24c\ /ok true def\ /LW false def\ /waittimeout 300 def\ /fc {} def 8,18 d -------cut here--------- Of course, once you have run this on a single command-k generated file, you can cut off the bottom little part (the stuff afte the lines %%EndProcSet %%EOF and save the result as "prepend". On subsequent goes, you need only prepend thi s "prepend" to the much shorter file that command-f generates on the mac. Who knows what wonders 1.0 will bring. nmkatz@pucc.bitnet >From: gore@eecs.nwu.edu (Jacob Gore)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.