-
-
Notifications
You must be signed in to change notification settings - Fork 215
Automatically adding a background pdf creates an error 26999 #81
Copy link
Copy link
Closed
Labels
Description
I added a second printer and created a profile to automatically add a background pdf.
But printing with this printer creates an error message:
"Es ist ein Fehler aufgetreten: 26999 - Fehler beim Bearbeiten des Dokumentes."
which basically means:
"An error has occurred: 26999 - Error while editing the document."
I use clawPDF 0.9.1 on Windows 11 Pro 22H2 x64
Also tested clawPDF 0.9.1 on Windows 10 Pro 22H2 x64 Build 19045.2846
Screenshot of the error message and a debug log capturing one failing printing attempt attached.
Thank you so much for any support
Maybe some useful information: ArgumentNullException Class
clawPDF.log
2023-04-26 00:18:28.3345 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue..ctor: Spool folder is 'C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool'
2023-04-26 00:18:28.3955 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Init: Temp folder is 'C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp'
2023-04-26 00:18:28.3955 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.MaybePipedStart.Run: Starting attempt 1:
2023-04-26 00:18:28.4075 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.MaybePipedStart.TryStartApplication: Starting pipe server
2023-04-26 00:18:28.4075 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.StartPipeServerThread: Starting pipe server thread
2023-04-26 00:18:28.4075 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.MaybePipedStart.TryStartApplication: Reloading settings
2023-04-26 00:18:28.5257 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.MaybePipedStart.TryStartApplication: Finding spooled jobs
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.FindSpooledJobs: Looking for spooled jobs in 'C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool'
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.FindSpooledJobs: Searching for spooled jobs
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.FindSpooledJobs: Found job info: C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool\{EECE13CC-11AC-4B5C-8091-4A16820D16BA}.inf
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: New JobInfo: C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool\{EECE13CC-11AC-4B5C-8091-4A16820D16BA}.inf
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: DocumentTitle: rep_LieferscheinBlanko.pdf
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: ClientComputer: HECKNERWIN11VM
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: SessionId: 1
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: PrinterName: Digitaler Lieferschein
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: JobCounter: 0
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: JobId: 8
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: Added JobInfo: C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool\{EECE13CC-11AC-4B5C-8091-4A16820D16BA}.inf
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.StartSynchronizedThread: Adding thread ProcessingThread
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.NewPrintJobStart.StartApplication: Adding new job
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: New JobInfo: C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool\{EECE13CC-11AC-4B5C-8091-4A16820D16BA}.inf
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: DocumentTitle: rep_LieferscheinBlanko.pdf
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: ClientComputer: HECKNERWIN11VM
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: SessionId: 1
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: PrinterName: Digitaler Lieferschein
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: JobCounter: 0
2023-04-26 00:18:28.5287 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.JobInfoQueue.Add: JobId: 8
2023-04-26 00:18:28.5437 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.MaybePipedStart.TryStartApplication: Starting Cleanup thread
2023-04-26 00:18:28.5437 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.StartCleanUpThread: Starting cleanup
2023-04-26 00:18:28.5437 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.StartSynchronizedThread: Adding thread CleanUpThread
2023-04-26 00:18:28.5437 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.JobRunner.ProcessJobs: New PrintJob C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool\{EECE13CC-11AC-4B5C-8091-4A16820D16BA}.inf from Printer Digitaler Lieferschein
2023-04-26 00:18:28.5437 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.JobRunner.ProcessJob: Creating job workflow
2023-04-26 00:18:28.5437 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.WorkflowFactory.CreateWorkflow: Creating Workflow
2023-04-26 00:18:28.5437 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Startup.MaybePipedStart.Run: TryStartApplication: True
2023-04-26 00:18:28.5437 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.WaitForThreads: Waiting for all synchronized threads to end
2023-04-26 00:18:28.5437 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.WaitForThreads: 1 Threads remaining
2023-04-26 00:18:28.5617 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.WorkflowFactory.CreateWorkflow: Profile: Digitaler Lieferschein (GUID 37ed383a-07a2-4c1e-ade5-d9d776e27ad9)
2023-04-26 00:18:28.5617 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.NumberOfPagesFromSourceFiles: Number of pages from source files: 1
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.get_NumberOfCopies: Number of copies from source files: 1
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.GhostscriptJob..ctor: Ghostscript Version: 10 loaded from C:\Program Files (x86)\clawpdf\gsdll64.dll
2023-04-26 00:18:28.5777 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.WorkflowFactory.CreateWorkflow: Creating InteractiveWorkflow
2023-04-26 00:18:28.5777 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.JobRunner.ProcessJob: Running workflow
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: Starting conversion...
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: clawPDF Version: v0.9.1 (Alpaca)
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: OSVersion: Windows 10 Pro (Microsoft Windows NT 6.2.9200.0)
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.NumberOfPagesFromSourceFiles: Number of pages from source files: 1
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.get_NumberOfCopies: Number of copies from source files: 1
2023-04-26 00:18:28.5777 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: Querying the place to save the file
2023-04-26 00:18:30.7671 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: Output filename template is: C:\Users\Heckner\Desktop\Lieferscheine einsortieren\rep_LieferscheinBlanko.pdf
2023-04-26 00:18:30.7671 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: Output format is: Pdf
2023-04-26 00:18:30.7671 [Info] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork: Converting C:\Users\Heckner\Desktop\Lieferscheine einsortieren\rep_LieferscheinBlanko.pdf
2023-04-26 00:18:30.7671 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Threading.ThreadManager.StartSynchronizedThread: Adding thread ProgressForm
2023-04-26 00:18:30.7671 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.RunJob: Starting job
2023-04-26 00:18:30.7821 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.GhostscriptJob.RunJobWork: Setting up actions
2023-04-26 00:18:30.7821 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.GhostscriptJob.SetUpActions: Viewer-Action added
2023-04-26 00:18:30.7821 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.GhostscriptJob.RunJobWork: Starting Ghostscript Job
2023-04-26 00:18:30.7821 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.GhostscriptJob.RunJobWork: Output format is: Pdf
2023-04-26 00:18:30.8031 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.NumberOfPagesFromSourceFiles: Number of pages from source files: 1
2023-04-26 00:18:30.8031 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Ghostscript.OutputDevices.OutputDevice.GetGhostScriptParameters: Created metadata file "C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp\Job_dxuesymo\metadata.mtd"
2023-04-26 00:18:30.8031 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Ghostscript.GhostScript.Run: Ghostscript Parameters:
gs
-sFONTPATH=C:\Windows\Fonts;C:\Program Files (x86)\clawpdf\fonts
-dNOPAUSE
-dBATCH
-sOutputFile=C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp\Job_dxuesymo\tempoutput\output.pdf
-sDEVICE=pdfwrite
-dCompatibilityLevel=1.4
-dPDFSETTINGS=/default
-dEmbedAllFonts=true
-dAutoRotatePages=/PageByPage
-dParseDSCComments=false
-sColorConversionStrategy=CMYK
-dProcessColorModel=/DeviceCMYK
-dAutoFilterColorImages=true
-dAutoFilterGrayImages=true
-dEncodeColorImages=true
-dEncodeGrayImages=true
-dColorImageFilter=/DCTEncode
-dGrayImageFilter=/DCTEncode
-dEncodeMonoImages=true
-dMonoImageFilter=/CCITTFaxEncode
-f
C:\Users\Heckner\AppData\Local\Temp\clawPDF\Spool\{EECE13CC-11AC-4B5C-8091-4A16820D16BA}.ps
C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp\Job_dxuesymo\metadata.mtd
2023-04-26 00:18:31.0411 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.GhostscriptJob.RunJobWork: Finished Ghostscript execution
2023-04-26 00:18:31.0411 [Debug] 656-6 (ProcessingThread) clawSoft.clawPDF.PDFProcessing.PDFProcessor.ProcessPDF: Start processing of C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp\Job_dxuesymo\tempoutput\output.pdf
2023-04-26 00:18:31.0550 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.PDFProcessing.PDFProcessor.OpenPdfDocument: Der Zeichenfolgenverweis ist nicht auf einen Zeichenfolgeninstanz festgelegt.
Parametername: s
2023-04-26 00:18:31.0550 [Error] 656-6 (ProcessingThread) clawSoft.clawPDF.PDFProcessing.PDFProcessor.ProcessPDF: System.ArgumentNullException while processing file:C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp\Job_dxuesymo\tempoutput\output.pdf
Der Zeichenfolgenverweis ist nicht auf einen Zeichenfolgeninstanz festgelegt.
Parametername: s
2023-04-26 00:18:31.0550 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.Core.Jobs.AbstractJob.RunJob: Calling job completed event
2023-04-26 00:18:31.0550 [Error] 656-6 (ProcessingThread) clawSoft.clawPDF.Workflow.ConversionWorkflow.RunWorkflow: Error 26999: System.ArgumentNullException while processing file:C:\Users\Heckner\AppData\Local\Temp\clawPDF\Temp\Job_dxuesymo\tempoutput\output.pdf
Der Zeichenfolgenverweis ist nicht auf einen Zeichenfolgeninstanz festgelegt.
Parametername: s
2023-04-26 00:18:43.5407 [Error] 656-6 (ProcessingThread) clawSoft.clawPDF.JobRunner.ProcessJob: The job 'rep_LieferscheinBlanko' terminated at step Convert and did not end successfully.
2023-04-26 00:18:43.5407 [Trace] 656-6 (ProcessingThread) clawSoft.clawPDF.JobRunner.ProcessJobs: Removing job from Queue
2023-04-26 00:18:43.5657 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.WaitForThreads: All synchronized threads have ended
2023-04-26 00:18:43.5957 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.Shutdown: Shutting down the application
2023-04-26 00:18:43.5957 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.Shutdown: Preparing PipeServer for ShutDown
2023-04-26 00:18:43.5957 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.Shutdown: Saving settings
2023-04-26 00:18:43.8167 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.Shutdown: Stopping pipe server
2023-04-26 00:18:43.8307 [Debug] 656-1 (ProgramThread) clawSoft.clawPDF.Threading.ThreadManager.Shutdown: Exiting...
Reactions are currently unavailable
