Xref: utzoo comp.sys.mac:14729 comp.lang.postscript:405 Path: utzoo!ncc!lyndon From: lyndon@ncc.UUCP (Lyndon Nerenberg) Newsgroups: comp.sys.mac,comp.lang.postscript Subject: Re: Help with Mac-generated PS files... Message-ID: <10176@ncc.UUCP> Date: 4 Apr 88 20:50:31 GMT References: <993@nugipsy.UUCP> <459@osupyr.mast.ohio-state.edu> Organization: Nexus Computing Inc. Lines: 20 > In some cases, at least, the PS file must begin with the line > %! > Three characters, the third one being a SPACE. If your fiddling with > the file removed the space, you may get the file merely printed. Are you sure about this? What about %!PS-Adobe which is a documented part of the encapsulation standard? I have noticed that some software (Ventura 1.0 under MS-DOS for one) outputs the header as ^D%! ... The idea being to force an end-of-job before your file. This really screwed us for the better part of a day - everytime we sent a Ventura created file via the UNIX spooler (lpd and pscomm) we would get raw PS source. It turns out pscomm.c was checking for "%!" to determine if it was a PS file. The fix was to add a check for "\04%!" ... -- lyndon {alberta,uunet}!ncc!lyndon lyndon%ncc@uunet.uu.net