Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DJ.Khaos

macrumors newbie
Original poster
Aug 23, 2010
2
0
Hey all,

I tried to use GhostScript to convert a particular eps file into pdf file on my Macbook pro 13 (Intel Core 2 Duo, NVIDIA GeForce 320M, brought in this summer). But I failed to the following error

Code:
Error: /undefinedfilename in --file--
Operand stack:
   --nostringval--   --nostringval--   (epix+0.js)   (r)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1878   1   3   %oparray_pop   1877   1   3   %oparray_pop   --nostringval--   1861   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:76/200(L)--   --dict:169/300(L)--   --dict:36/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 13047
GPL Ghostscript 8.71: Unrecoverable error, exit code 1

Can anyone please help me test the following command on your mac? I need to figure out whether it is a ghostscript bug or a hardware problem.

Code:
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEPSCrop -dSubsetFonts=true -dEmbedAllFonts=true -dMaxSubsetPct=100 -dPDFSETTINGS=/prepress -dCompatibilityLevel=1.4 -dAutoRotatePages=/None -g612x792 -dDEVICEWIDTHPOINTS=200.991 -dDEVICEHEIGHTPOINTS=200.991 -sOutputFile=epix.pdf epix_.eps

BTW, the EPS file, epix_.eps, has been attached and you have to get ghostscript installed for the testing. It would be perfect if you got a Macbook Pro with the same specifications as mine (the low end one released in April, 2010).

Many thanks in advance.
 

Attachments

  • epix_.eps.zip
    5.5 KB · Views: 79
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.