![]() Using reader As StreamReader = lvbProcess.StandardOutputĭim result As String = reader.ReadToEnd() ![]() ' Read in all the text from the process with the StreamReader. LvbProcess = Process.Start(lvbProcessInfo) LvbProcessInfo.RedirectStandardError = True LvbProcessInfo.RedirectStandardOutput = True LvbProcessInfo.WindowStyle = ProcessWindowStyle.Hidden ![]() LvbArguments = String.Format(" -P """" ", sPrinterName, fileName, sTray) Private Function UseLvbPrint(ByVal oPrinter As tb_Printer, fileName As String, portrait As Boolean, sTray As String) As String I use the following function in my application: ' print a pdf with lvbrint To print massive PDF documents with VB.Net you can use LVBPrint and run it via command line:Ĭ:\temp\gsbatchprint64\gsbatchprintc.exe -P \\server\printer -N A3 -O Port -F C:\temp\gsbatchprint64\Test*.pdf -I Tra圓
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |