🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5325

Re: Converting PS to EPS

#5325
From: John Barker
Date: Thu, 11 Apr 1991 21:59
59 lines
3167 bytes
In article <1991Apr5.205947.607@Arco.COM>, diana@diana (Diana Sparks)
writes:

>In article <6119@crystal8.UUCP>, dalessio@motcid.UUCP (Mario D'Alessio)
>writes:
>> I have a postscript file (extracted from a previoulsly posted
>> file containing different logos. Apologies to the creator) which
>> prints the "Star Trek: The Next Generation" logo. I converted it
>> to an EPS file to pull into a desktop publishing program (Interleaf
>> on a Sun). When I try to print it, I get the following error message
>> from the printer log file:
>> 
>>    %%[ Error: invalidrestore; OffendingCommand: restore ]%%
>>    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%% 
>
[stuff deleted]

>And, FYI, this file prints just fine from Adobe Illustrator to 
>the LaserWriter via the Mac, so I am wondering if 
>the sticking-point is with the Interleaf software? 
>
>I have compared the file that won't print to the ones that 
>will and really can't see any difference, but I am by no 
>means a postscript guru at all.  
>
>Anybody have any other ideas?

Interleaf (TPS 4.0) does not handle EPS well. There have been several 
problems in our environment related to EPS files originating from
Corel Draw imported into Interleaf. In this case, Interleaf recommended
the following work-around:

- paste the EPS file into your Interleaf graphic frame and position it
  and size as required.
- draw a box (Interleaf graphic) around the EPS file, sized exactly to it.
- cut the EPS file, then re-paste it into the document, placing it in the
  box previously drawn.
- the box must have properties set visible->yes, but can have color->white.

In most cases, the EPS file then prints correctly (odd, but true). What I think
happens is that the EPS file gets nested inside the graphic frame incorrectly
unless some previous graphic object was there to contain it.

As for the "OffendingCommand" error, I have seen it even generated because
the PostScript interpreter was being fed text from the Interleaf document,
not the PostScript code -- that is, text strings from the document were
getting incorrectly embedded in the PostScript master, because of the EPS file.
Removing the EPS file solves the problem, so I suspect the EPS file is 
not terminating correctly in the Interleaf PostScript master. Somehow the
above work-around fixes it (in most cases). I haven't looked closely at
the EPS files in Interleaf's PostScript master yet, though, to determine why.

We are running TPS version 4.0.95, on Sun 3/60s and 3/80s, SunOS 4.0.3.,
printing to QMS, Sun, NEC and Kodak printers, and to Linotron typsetters.

I haven't heard of any TPS 4.0 patch to fix this. 

--john
Technical Details
Message-ID: <7394@barker>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!software.mitel.com!barker
References: <6119@crystal8.UUCP> <1991Apr5.205947.607@Arco.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!software.mitel.com!barker
From: barker@Software.Mitel.COM (John Barker)
Newsgroups: comp.lang.postscript
Subject: Re: Converting PS to EPS
Keywords: convert postscript encapsulated postscript error
Message-ID: <7394@barker>
Date: 11 Apr 91 21:59:01 GMT
References: <6119@crystal8.UUCP> <1991Apr5.205947.607@Arco.COM>
Distribution: comp.lang.postscript
Organization: Mitel. Kanata (Ontario). Canada.
Lines: 60