当我按
打印PDF文件时Public Sub PrintViaGS(PDFFile As String)
Using processor As New GhostscriptProcessor()
Dim switches As New List(Of String)()
switches.Add("-empty")
switches.Add("-dPrinted")
switches.Add("-dBATCH")
switches.Add("-dNOPAUSE")
switches.Add("-dNOSAFER")
switches.Add("-dPDFFitPage")
switches.Add("-dNumCopies=1")
switches.Add("-dQUIET")
switches.Add("-sDEVICE=mswinpr2")
switches.Add(Convert.ToString("-sOutputFile=%printer%") & PRINTERNAME)
switches.Add("-f")
switches.Add(PDFFile)
processor.StartProcessing(switches.ToArray(), Nothing)
End Using
End Sub
一切正常..但打印机后台处理程序中显示的名称是错误的!它显示为“Ghostscript输出” 我在哪里可以更改名称?
谢谢!
录播