0

I am a newbie to ghostscript, jst having installed it today. I am looking to use it to create separated and screened 1 bit TIFFs from a PDF file to be used on our flexo platemaker.

I am trying to get the command line working before I write a GUI front end for it. I have installed GhostscriptPDF into C:\Program Files (x86)\gs\gs8.64.

I have a sample PDF in C:\617084 called 617084.pdf.

I run the following command in a cmd window:

"C:/Program Files (x86)\gs\gs8.64\bin\gswin32c" -dSAFER -dBATCH -dNOPAUSE -r2540 -dDITHER#133 -sethalftone -dTextAlphaBits#4 -dGraphicsAlphaBits#4 -sDEVICE#tiffsep -dMaxStripSize#16384 -dTrapX#2 -dTrapY#2 -sCompression#lzw -sOutputFile#"C:\617084\617084_%d.tif" -f "C:\617084\617084.pdf" >result.txt

I get the following error:

GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 1. Page 1 Error: /rangecheck in --showpage-- Operand stack: --nostringval-- 1 true Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1745 1 9 %oparray_pop --nostringval-- --nostringval-- Dictionary stack: --dict:1161/1684(ro)(G)-- --dict:1/20(G)-- --dict:74/200(L)-- --dict:74/200(L)-- --dict:106/127(ro)(G)-- --dict:278/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:22/40(L)-- Current allocation mode is local Last OS error: No such file or directory GPL Ghostscript 8.64: Unrecoverable error, exit code 1

What am I doing wrong?

Also, do I have to do something to get ghostscript to use the files in hte C:\Windows\Fonts directory?

I would really appreciate the help. When I get the GUI front end to this I will post it for free.

Thanks Again Mark

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.