Error 1007: An error while running Ghostscript %%[Error: dictstackoverflow; OffendingCommand: begin ]%% Used Bullzip and CutePDF printers, both gave me the same results. However I am using Windows 7.7077 x32 I make it to the save as but when it tries to save I am not sure if it is the Interpreter or the writer crashing. CutePDF Writer will write the file with page 500 being junk but "Bullzip PDF Printer 6.0.0.766" wont actually write the file.
Please re-visit the bug report and attach your sample file.
Created attachment 4981 [details] Page500 This is page 500, I can not include the first 499 due to its an ebook I own. I was just converting it to a portable format by the print function.
The attached page shows an error message generated by some PS to PDF converter. The file lists "Bullzip PDF Printer / www.bullzip.com" as a Producer. Unless it uses Ghostscript internally, I don't see how this problem is related to Ghostscript. To analyze the problem further I need the PS file that was converted to PDF. You can mart the attachment private to restrict the access to the file to a small team of Artifex employees and contractors.
s/mart/mark/
"Bullzip PDF Printer" uses Ghostscript internally. By default Ghostscript limits the size of the dictionary stack to 500 elements. Apparently, your file leaves a dictionary on the dictionary stack for every page. On page 500 the stack gets used up, assuming that the job prologue also pushes 1 dictionary. This is a bug in your PS file. You can request a large dictionary stack size for your file by including the following line at the beginning of your PS file. <</MaxDictStack 50000>> setuserparams Please confirm that the proposed work-around solves the problem.
I'm closing this bug report because: - a sample ps file has not been provided - the match between 500 elements of the default dictionary size and the failure on the page 499 suggest that every page leaves a dictionary on the stack, i.e. a bug in the ps file - there was no follow-up comments from the user.