Open Source Virtual (Network) Printer for Windows that allows you to create PDFs, OCR text, and print images, with advanced features usually available only in enterprise solutions.
my idea is to create a vb.net tool (Forms application) that waits for clawPDF-Jobs and pick them up & do several things as soon as they arrive.
Here is what I did so far:
`Public Sub Save_Using_ClawPDF()
Dim fullPath As String = "c:\temp\Active Sheet.pdf"
'Create clawPDF object
Dim clawPDFQueue As New clawSoft.clawPDF.COM.Queue
'Initialize clawPDF job queue
clawPDFQueue.Initialize
If clawPDFQueue.WaitForJob(10000) Then
'Get print job
Dim printJob = clawPDFQueue.NextJob()
'Set job profile
printJob.SetProfileByGuid("TEST")
'Set print job metadata and profile settings
printJob.PrintJobInfo.PrintJobAuthor = ""
printJob.PrintJobInfo.Subject = ""
printJob.PrintJobInfo.PrintJobName = ""
'Convert job to PDF
printJob.ConvertTo(fullPath)
End If
'Release clawPDF object
clawPDFQueue.ReleaseCom()
End Sub`
Unfortunately the code is not working - it stopps when the line "Dim printJob = clawPDFQueue.NextJob()" is reached.
The error shown in clawPDF.log is as follows:
"2024-06-24 07:14:57.2392 [Error] clawSoft.clawPDF.Core.Jobs.GhostscriptJob..ctor: No valid Ghostscript version found."
Hi there,
my idea is to create a vb.net tool (Forms application) that waits for clawPDF-Jobs and pick them up & do several things as soon as they arrive.
Here is what I did so far:
`Public Sub Save_Using_ClawPDF()
End Sub`
Unfortunately the code is not working - it stopps when the line "Dim printJob = clawPDFQueue.NextJob()" is reached.
The error shown in clawPDF.log is as follows: "2024-06-24 07:14:57.2392 [Error] clawSoft.clawPDF.Core.Jobs.GhostscriptJob..ctor: No valid Ghostscript version found."
Does anyone have an idea for me?