[gs-devel] error opening pdf in gs

j_chang at fastmail.fm j_chang at fastmail.fm
Tue Apr 13 02:00:16 UTC 2010


Hi,
My apologies if I'm not addressing the right forum.

Would anyone be able to help me with using ghostscript to open a pdf
document; I get the error shown below.  The document is a version 1.6
pdf (Acrobat 7) that has owner and user password protection.  On windows
7, I use the following command to try to open the pdf:

D:\>"C:\Program Files\ghost\gs8.64\bin\gswin32.exe" "-IC:\Program
Files\ghost\gs8.64\lib;C:\Program Files\ghost\fonts" 
-sPDFPassword=myPasswordHere d:\myFilename.pdf

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 443.
Page 1
Error: /undefined in --get--
Operand stack:
   --nostringval--   --dict:7/7(L)--   --dict:41/41(ro)(L)--  
   PageSpotColors
--dict:7/7(L)--   --dict:0/0(L)--   --dict:1/4(L)--   683  
(I\257f\236\215j7\245\314\032\261\265x\021\231\302)   2388   0  
--nostringval--   Subtype   FormLength   176   OC   --nostringval--  
Filter   FlateDecode   PieceInfo   --nostringval--   ADBE_CompoundType  
--nostringval--   Private   Watermark   LastModified  
(I\257f\236\215j7\245\314\032\261\265x\021\231\302)  
(\222XfYC\263\256Ld\201\002\350\206^\223e"\331H\273U\320-u\n\212\000\311,\342\363\344Nd\200\372fN\2107'\237\373\305#\254`\376)
  --dict:6/6(L)--   EncryptionExecution 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   1443   --nostringval--   %for_pos_int_continue  
--nostringval--   --nostringval--   --nostringval--   --nostringval--  
--nostringval--   %loop_continue   --nostringval--   --dict:2/2(L)--  
--nostringval--   1   %dict_continue   --nostringval--   --nostringval--
  --nostringval--   --nostringval--   false   1   %stopped_push  
--nostringval--   %loop_continue   --nostringval--   --nostringval--
--nostringval--   --nostringval--Dictionary stack:  
--dict:1150/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:3/6(L)--Current allocation mode is localGPL
Ghostscript 8.64: Unrecoverable error, exit code 1

(I am able to open other pdf documents succesfully in the same way,
though these are not password protected)

Thanks,
jc

-- 
http://www.fastmail.fm - IMAP accessible web-mail



More information about the gs-devel mailing list