Sometimes, when you print to PDF using PDFCreator, you can get the following error on the last page of your PDF output: “ERROR: undefined […] OFFENDING COMMAND:_ […] STACK: [….]”
You can fix this problem following these instructions:
First, you must Rollback to PDFCreator 0.9.3 (unless a newer version then 0.9.5 is out).
Find the PDFCreator printer in the Printer and Faxes control panel. Right-click on it and select Properties:
Select the Advanced tab:
and select Print directly to the printer (this prevents spooling the PDF output to the disk twice). Now select the Device Settings tab:
and set Send CTRL-D After Each Job to No. Also change the Wait Timeout to 1 seconds:
Thanks to David Taft, Brent Powers and http://www.stat.tamu.edu/~henrik/GSWriter/GSWriter.html.
PS: If PDFCreator truncates, trims or cuts filenames, make sure the path is not too deep. Try copying your files to the root folder and see if it fixes the problem.
Note: I re-posted this solution with different keywords because I had a hard time finding it because it was specific to GhostScript/Redmon.