PDF wird nicht erzeugt

Bei uns haben alle User das Problem, dass eine große Anzahl von Druckaufträgen mit dem PDF-Creator nicht erzeugt werden. Die Fortschrittsanzeige wird nicht angezeigt und die angeforderte Datei wird nicht erstellt.
Dieses Problem tritt sporadisch auf, meist funktioniert der zweite Versuch mit der selben Quelle auf Anhieb.

Version 2.3 kommt bei allen Usern zum Einsatz.

Hier ein Auszug aus der Log-Datei:

2016-04-22 13:09:36.7311 [Error] pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork: There was an error while converting the Job C:\Users\he\AppData\Local\Temp\PDFCreator\Spool\4DFF7F851BBF437E96AC14C68DA3BBDF.inf: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\he\AppData\Local\Temp\PDFCreator\Temp\JOB_NM~1\metadata.mtd" konnte nicht gefunden werden. bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) bei System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) bei pdfforge.PDFCreator.Core.Ghostscript.OutputDevices.OutputDevice.CreatePdfMarksFile(String filename) bei pdfforge.PDFCreator.Core.Ghostscript.OutputDevices.OutputDevice.GetGhostScriptParameters(GhostscriptVersion ghostscriptVersion) bei pdfforge.PDFCreator.Core.Ghostscript.GhostScript.Run(OutputDevice output, String tempOutputFolder) bei pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork() 2016-04-22 13:09:36.7623 [Error] pdfforge.PDFCreator.Workflow.ConversionWorkflow.RunWorkflow: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\he\AppData\Local\Temp\PDFCreator\Temp\JOB_NM~1\metadata.mtd" konnte nicht gefunden werden. bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) bei System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) bei pdfforge.PDFCreator.Core.Ghostscript.OutputDevices.OutputDevice.CreatePdfMarksFile(String filename) bei pdfforge.PDFCreator.Core.Ghostscript.OutputDevices.OutputDevice.GetGhostScriptParameters(GhostscriptVersion ghostscriptVersion) bei pdfforge.PDFCreator.Core.Ghostscript.GhostScript.Run(OutputDevice output, String tempOutputFolder) bei pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork() bei pdfforge.PDFCreator.Core.Jobs.AbstractJob.RunJob() bei pdfforge.PDFCreator.Workflow.ConversionWorkflow.DoWorkflowWork() bei pdfforge.PDFCreator.Workflow.ConversionWorkflow.RunWorkflow() System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\he\AppData\Local\Temp\PDFCreator\Temp\JOB_NM~1\metadata.mtd" konnte nicht gefunden werden. bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) bei System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) bei pdfforge.PDFCreator.Core.Ghostscript.OutputDevices.OutputDevice.CreatePdfMarksFile(String filename) bei pdfforge.PDFCreator.Core.Ghostscript.OutputDevices.OutputDevice.GetGhostScriptParameters(GhostscriptVersion ghostscriptVersion) bei pdfforge.PDFCreator.Core.Ghostscript.GhostScript.Run(OutputDevice output, String tempOutputFolder) bei pdfforge.PDFCreator.Core.Jobs.GhostscriptJob.RunJobWork() bei pdfforge.PDFCreator.Core.Jobs.AbstractJob.RunJob() bei pdfforge.PDFCreator.Workflow.ConversionWorkflow.DoWorkflowWork() bei pdfforge.PDFCreator.Workflow.ConversionWorkflow.RunWorkflow() 2016-04-22 13:09:36.7779 [Error] pdfforge.PDFCreator.JobRunner.ProcessJob: The job 'BS0095-8' terminated at step Convert and did not end successfully.

1 Like

Ich habe das gleiche Problem. Bei uns werden die Aufträge jedoch nach einer längeren Zeit doch noch ausgeführt. Beispielsweise wenn ich das Einstellungsmenü von pdf Creator öffne.
Mit dem Logfile habe ich das auf "alte" Dateien im spool Verzeichnis zurückführen können. Darin heißt es

2016-06-18 08:27:48.6849 [Debug] pdfforge.PDFCreator.JobInfoQueue.FindSpooledJobs: Found job info: C:\Users******\AppData\Local\Temp\PDFCreator\Spool\9A49A3D5B2DD44C1A42BB735C7C51CF5.inf

Offensichtlich besteht ein Problem mit dem Temp-Verzeichnis zum Zeitpunkt des Druckauftrags. Die spool-Info wird jedoch im Verzeichnis abgelegt. Der eigentliche Druckvorgang aber abgebrochen. Bei der nächsten Aktion des pdf Creator wird das spool-Verzeichnis nach nicht erledigten Aufgaben abgesucht, der alte Auftrag gefunden und abgearbeitet.
Ein Lösungsvorschlag wäre meinerseits die Verlegung des Temp-Verzeichnis. Ich habe allerdings die betreffende Einstellung in pdf Creator und Registrierung nicht gefunden.

Vielen Dank für das Protokoll und die Hinweise,
unsere Entwickler sehen sich das Problem bereits an. Das Temp-Verzeichnis zu verlegen wird leider nicht helfen, da das Problem auch bei einem “frischen” Temp Verzeichnis auftreten kann. Es gibt hierfür allerdings auch keine Einstellung, PDFCreator verwendet immer %temp%\pdfcreator\spool.

Beste Grüße

Robin

Danke für die Reaktion.
Wann können wir mit einer Lösung rechnen?
Wir plagen uns schon seit fast zwei Monaten mit diesem Problem herum und sind kurz davor die Software zu ersetzen.