Re: pstoedit ps->dxf conversion problem (May have wrong list)

"Russell Lang" <[email protected]> Tue, 18 May 2004 08:25:21 +1000
Newsgroups gmane.comp.printing.ghostscript.gsview
Message-ID <40A9C871.2010.80EF34D9@localhost>
Ed,

> I have an issue converting a ProE-created .ps file into dxf. I am sure I have done this successfully before, but now I
> cant.
> 		Warning: EPS file must not use /setpagedevice
> 		Loading pstoedit
> 		Warning: EPS file must not use /serverdict

Those messages are pretty self explanatory.  That file claims to be 
an EPS file, but does not comply with the EPS requirements.

> The ps errors seem to be associated with the following section in the ps file, although I cannot find the /serverdict in
> my ps file. I am also not sure why it is mentioning EPS, as the document should be straight ps. 

The first line of the file must be identifying it as EPS, not plain 
PS.

> 		[SNIP]
> 		%%BeginPageSetup
> 		systemdict /setpagedevice known
> 		{
> 		  <</PageSize[2448 1584]>> setpagedevice
> 		} if
> 		%%EndPageSetup
> 		[SNIP]

Remove the above section of code.  It is safe to do so if you want it 
to be treated as EPS.  GSview will ignore that set code when 
displaying anyway.


Russell Lang                   [email protected]
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/