29100 - Internal GhostScript Error PDFCreator 3.2.0


#1

I’m trying to deploy PDFCreator to use for a specific application. It works for all test files that I send to it from Windows, except for print jobs from the application that I need it to work for. My application works correctly for real physical printers, even using the same print processor. This is a Windows 7 environment and here is my error trace:

2018-05-10 11:34:11.6418 [Error] pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion: Ghostscript execution failed: Error: /undefined in e&l1Te&l0Oe&l0Se&l1Het600Re&u600De&l1Xe&f1Ye&f0Xep0x0Ye*c7200x10800y0Te
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1932 1 3 %oparray_pop 1931 1 3 %oparray_pop 1915 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval–
Dictionary stack:
–dict:1204/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)–
Current allocation mode is local
Current file position is 139

2018-05-10 11:34:11.6568 [Error] pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion: There was a Ghostscript error while converting the Job C:\Users\KMORAL~1\AppData\Local\Temp\PDFCreator\Spool\25-10946FB33D6E411DAE572FE0826B2E43.inf: pdfforge.PDFCreator.Conversion.Jobs.ProcessingException: Ghostscript execution failed: Error: /undefined in e&l1Te&l0Oe&l0Se&l1Het600Re&u600De&l1Xe&f1Ye&f0Xep0x0Ye*c7200x10800y0Te
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1932 1 3 %oparray_pop 1931 1 3 %oparray_pop 1915 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval–
Dictionary stack:
–dict:1204/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)–
Current allocation mode is local
Current file position is 139

at pdfforge.PDFCreator.Conversion.Ghostscript.Conversion.GhostscriptConverter.DoConversion(Job job)
2018-05-10 11:34:11.6568 [Error] pdfforge.PDFCreator.Core.Workflow.JobRunner.RunJob: The job failed: Ghostscript execution failed: Error: /undefined in e&l1Te&l0Oe&l0Se&l1Het600Re&u600De&l1Xe&f1Ye&f0Xep0x0Ye*c7200x10800y0Te
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1932 1 3 %oparray_pop 1931 1 3 %oparray_pop 1915 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval–
Dictionary stack:
–dict:1204/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)–
Current allocation mode is local
Current file position is 139

(Conversion_GhostscriptError)
2018-05-10 11:34:11.6738 [Error] pdfforge.PDFCreator.Core.Workflow.ConversionWorkflow.RunWorkflow: Error Conversion_GhostscriptError: Ghostscript execution failed: Error: /undefined in e&l1Te&l0Oe&l0Se&l1Het600Re&u600De&l1Xe&f1Ye&f0Xep0x0Ye*c7200x10800y0Te
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1932 1 3 %oparray_pop 1931 1 3 %oparray_pop 1915 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval–
Dictionary stack:
–dict:1204/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)–
Current allocation mode is local
Current file position is 139

2018-05-10 11:34:14.6278 [Error] pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: The job ‘Fiserv - Teller Balancing Form 10/98’ terminated at step Error and did not end successfully.


#2

Hi @BrooklynPDFGuy ,

As we are already in contact via e-mail I am going to leave your post here in our forum unanswered.

Kind regards
Sascha


#3

Just wondering how you were able to fix this issue as I am now having the same one.


#4

Hi,

I am not aware of the previous solution, but on first sight it seems the print job didn’t contain valid Postscript code and perhaps is intended for PCL printers. Or have you previously been printing from the same application (to PDFCreator) successfully?

Best regards

Robin


#5

Hi,

Although my application was printing to an HP Posctscript printer on a Postscript driver, the actual PS output file contained a line that read something along the lines of “Language = PCL” (not exactly, this is from my memory). This was definitely a problem with my application not generating authentic Postscript. What I did to resolve the issue was I created a PCL printer and applied a RedMon redirected port which I configured to run by script. From there I used GhostPCL to convert the output to Postscript and forwarded that result file to PDFCreator using Rawprint (I think I had some issue with RedMon’s equivalent of RawPrint, but you can try RedPrint instead).

Redmon: http://pages.cs.wisc.edu/~ghost/redmon/index.htm
Rawprint: http://www.columbia.edu/~em36/windowsrawprint.html
GhostPCL: https://www.ghostscript.com/GhostPCL.html

I set the port properties to redirect this port to the program “redrun.exe” and I created a batch file to take the tempfile as a parameter, generate a random number, call GhostPCL to convert it to Postscript, call Rawprint to send the job to PDFCreator, and then delete my temporary PS file.

Of course, if you are just looking for PDF output you don’t need to convert to Postscript then send it to PDFCreator, you can create a PDF output directly from GhostPCL by changing your sDEVICE argument.

My GhostPCL command line was something like:
gpcl6win64.exe -dNOPAUSE -dBATCH -sDEVICE=ps2write -sOutputFile=%OutputPath%%random%.ps %InputTempFile%

My rawprint command was something like:
rawprint.exe PDFCreatorPrinterName %OutputPath%%random%.ps