EPS output not convertable with gswin32c.exe in eps2pdf

Discuss the drawing application
Post Reply
fvasenius
Posts: 4
Joined: Tue Apr 27, 2010 5:17 pm

EPS output not convertable with gswin32c.exe in eps2pdf

Post by fvasenius »

I export eps files(for use in LaTeX) of my drawings and it has been quite convenient to convert them to PDF all at once using the eps2pdf (see http://www.ctan.org/tex-archive/support/eps2pdf/). All I get is a blank image. The eps2pdf utility uses Ghostscript (gswin32c.exe) and I have installed the latest version and pointed eps2pdf to it. I don't encounter this problem with other eps files. I am currently using oo 3.2.0. I don't recall having this problem before oo 3.x.x.

Does anyone else have this problem? Should it be reported? Where?
OpenOffice 3.1 on Windows XP
www.Fredspage.com
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: eps oupt not convertable with gswin32c.exe in eps2pdf

Post by acknak »

Can you attach a sample that's giving you problems?

Maybe the original Draw document would be best, or if you want to attach the PostScript output, just put it in a zip archive and attach that.

We can at least see if it's a general problem.
AOO4/LO5 • Linux • Fedora 23
fvasenius
Posts: 4
Joined: Tue Apr 27, 2010 5:17 pm

Re: eps oupt not convertable with gswin32c.exe in eps2pdf

Post by fvasenius »

I have attached an odg file and would have attached the corresponding eps file but I got the following message "The extension eps is not allowed.". The problem should be reproducible with OO 3.2.0. Just export it as a postscript, convert it with eps2pdf and you should get the same blank 1k file I got.
Attachments
mae672_pv_1.odg
(11.93 KiB) Downloaded 252 times
OpenOffice 3.1 on Windows XP
www.Fredspage.com
fvasenius
Posts: 4
Joined: Tue Apr 27, 2010 5:17 pm

Re: eps oupt not convertable with gswin32c.exe in eps2pdf

Post by fvasenius »

Here is the eps zipped up.
Attachments
mae672_pv_1.zip
(8.67 KiB) Downloaded 188 times
OpenOffice 3.1 on Windows XP
www.Fredspage.com
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: eps oupt not convertable with gswin32c.exe in eps2pdf

Post by acknak »

Hmm... well, after all that, I'm not sure what to tell you.

I can run ps2epsi or ps2pdf on the PostScript output from your .odg, and both of those seem to work fine--at least I can view the eps and pdf output. But I can's say if they will work any better for you or not.

Here's what I get if I test your eps file:
  • $ epstool --test-eps mae672_pv_1.eps
    "gs" -dNOEPS -dNOPAUSE -dBATCH -dNODISPLAY "/tmp/gsviewOYZCbZ"
    GPL Ghostscript 8.71 (2010-02-10)
    Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
    This software comes with NO WARRANTY: see the file PUBLIC for details.
    EPSWARN WARNING: EPS file should be careful using /setmatrix
    EPSWARN WARNING: EPS file should be careful using /setmatrix
    EPSWARN WARNING: EPS file should be careful using /setmatrix
    EPSWARN WARNING: EPS file should be careful using /setmatrix
    EPSWARN WARNING: EPS file should be careful using /setmatrix
    EPSWARN WARNING: EPS file should be careful using /setmatrix

    EPSWARN PASS

    "gs" -dNOPAUSE -dBATCH -sDEVICE=bbox -c "<</PageSize [9400 9400] /PageOffset [3000 3000]>> setpagedevice" -f "/tmp/gsviewLmvz6M"
    GPL Ghostscript 8.71 (2010-02-10)
    Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
    This software comes with NO WARRANTY: see the file PUBLIC for details.
    %%BoundingBox: 3046 3045 3263 3169
    %%HiResBoundingBox: 3046.087173 3045.262970 3262.862221 3168.508755

    File has %%BoundingBox: 0 0 296 224
    Correct is %%BoundingBox: 46 45 263 169
    File used operators that sometimes cause problems in an EPS file.
    PostScript appears well behaved.
    File claims to be EPS.
    PASS: File appears to be well behaved EPS.
    OK
So maybe there are some hints in there, but the end result is "PASS".

OTOH, the eps file I get from ps2epsi fails the same test.

Here are the two output files I got, in case you want to give them a try.
Attachments
mae672_pv_1_acknak.zip
(17.89 KiB) Downloaded 201 times
AOO4/LO5 • Linux • Fedora 23
Post Reply