>>Date: Tue, 22 Feb 2000 08:35:44 +0000
>>From: Jose Abilio Oliveira Matos <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: ps2epsi
>>Mail-Followup-To: [EMAIL PROTECTED]
>>
>>On Mon, Feb 21, 2000 at 09:08:20PM +0000, Herbert Voss wrote:
>>> Rodrigo Esteves de Lima-Lopes wrote:
>>> > 
>>> > Hi
>>> > 
>>> > Im trying to convert ordinary *ps files to eps (encapsulated postscript).
>>> > Im currently using ps2epsi but there are some problems, since it does
>>> > convert my file but, when I try to see it through Ghostview, I just
>>> > flashes on screen for a second. SO everything I have is a blank page.
>>> 
>>> convert MyFile.ps MyFile.eps
>>
>>  convert is from ImageMagick package...
>> 
>>> if you have more than one page in your ps-file, convert produces
>>> MyFile.eps0
>>> MyFile.eps1  and so on.

The � flashes on screen � may come from PS commands forbidden
in EPS (GStools implementation of Ghostview offers a mechanism
to detect these commands).
This may happen even if a box named
� Encapsulated Postscript � 
is selected in the output driver of the application.

For exmample, I was able to use in LaTeX an EPS file 
exported from Word following these steps (AFAIR):
 - print in a file, as Encapsulated Postscript,
 - wipe out the non-postscript lines at the beginning and end of the file,
 - delete the lines with the command � setpagedevice �.
There was another offending command, which seemed harmless.

I suppose that suppressing the offending lines in the PS, then
using ps2psi will do as well.

Unless my install of ImageMagick is buggy, I discourage using convert
to deal with PS files which are not bitmap ones from the start:
ImageMagick is picture-oriented and adequate for bitmap manipulations.


Regards

-- 
Jean-Pierre

 

Reply via email to