Beja Expert Licensed User Longtime User Oct 17, 2022 #1 Hello all, The project I am using now can create a pdf file then invoke Acrobat reader, but I must print the document from PDF and after acrobat is loaded.. Is it possible that the creation of the pdf file, invoking Acrobat reader and printing the document, all be in one step.. I mean the document is printed right away with all oter steps automated and run in the background? Best regards.
Hello all, The project I am using now can create a pdf file then invoke Acrobat reader, but I must print the document from PDF and after acrobat is loaded.. Is it possible that the creation of the pdf file, invoking Acrobat reader and printing the document, all be in one step.. I mean the document is printed right away with all oter steps automated and run in the background? Best regards.
DonManfred Expert Licensed User Longtime User Oct 17, 2022 #2 Why it is important that Adobe Acrobat is printing something? You can use a tool to print to the default printer installed on the system (and even to a predefined printer). No need for acrobat reader at all. Sumatra PDF reader download page Command line arguments Sumatra PDF reader and viewer for Windows www.sumatrapdfreader.org Last edited: Oct 18, 2022 Upvote 0
Why it is important that Adobe Acrobat is printing something? You can use a tool to print to the default printer installed on the system (and even to a predefined printer). No need for acrobat reader at all. Sumatra PDF reader download page Command line arguments Sumatra PDF reader and viewer for Windows www.sumatrapdfreader.org
Beja Expert Licensed User Longtime User Oct 18, 2022 #3 DonManfred said: Why it is important that Adobe Acrobat is printing something? You can use a tool to print to the default printer installed on the system (and even to a predefined printer). No need for acrobat reader at all. Sumatra PDF reader download page Command line arguments Sumatra PDF reader and viewer for Windows www.sumatrapdfreader.org Click to expand... in fact I was looking for something like Printer. Print.. Printer. EndDoc... etc like ik vb6. but I didn't know there's equivalent in b4j Upvote 0
DonManfred said: Why it is important that Adobe Acrobat is printing something? You can use a tool to print to the default printer installed on the system (and even to a predefined printer). No need for acrobat reader at all. Sumatra PDF reader download page Command line arguments Sumatra PDF reader and viewer for Windows www.sumatrapdfreader.org Click to expand... in fact I was looking for something like Printer. Print.. Printer. EndDoc... etc like ik vb6. but I didn't know there's equivalent in b4j
DonManfred Expert Licensed User Longtime User Oct 18, 2022 #4 Beja said: etc like ik vb6 Click to expand... i don´t know vb6. I am developing a App with delphi. And if i have to print a pdf i just use sumatryPDF and print it to the printer i want with the copies i want. I just call SumatraPDF.exe with the correct parameters to do the Job. 1, 10, 100 Copies without problems and with no userinteraction. Upvote 0
Beja said: etc like ik vb6 Click to expand... i don´t know vb6. I am developing a App with delphi. And if i have to print a pdf i just use sumatryPDF and print it to the printer i want with the copies i want. I just call SumatraPDF.exe with the correct parameters to do the Job. 1, 10, 100 Copies without problems and with no userinteraction.
Magma Expert Licensed User Longtime User Oct 18, 2022 #5 PDFtoPrinter for Windows ps: a command line utility that may be useful for all members in b4x forums ..but... reading forums found this too.. not tried... Print all files in a folder (*.pdf, etc.) on the standard printer via VBS (Windows) I use this small vbs script to print all documents (in my case pdf files) on the standard printer (works fine in a WIN 10 production system). Call it via jShell with the folder as a parameter where the docs are. Printing PDF's is very easy as you don't need to know the installed PDF viever and... www.b4x.com Upvote 0
PDFtoPrinter for Windows ps: a command line utility that may be useful for all members in b4x forums ..but... reading forums found this too.. not tried... Print all files in a folder (*.pdf, etc.) on the standard printer via VBS (Windows) I use this small vbs script to print all documents (in my case pdf files) on the standard printer (works fine in a WIN 10 production system). Call it via jShell with the folder as a parameter where the docs are. Printing PDF's is very easy as you don't need to know the installed PDF viever and... www.b4x.com
Magma Expert Licensed User Longtime User Oct 20, 2022 #6 Printing pdf documents For all those that need to print complete pdf documents, specifically from a pdf viewer (PDFBoxWrapper) ' For testing Dim mp As Map=GetPrinters For n=0 To mp.Size-1 Dim s As String = mp.GetKeyAt(n) Dim m As Map=mp.GetValueAt(n) If s =... www.b4x.com Upvote 0
Printing pdf documents For all those that need to print complete pdf documents, specifically from a pdf viewer (PDFBoxWrapper) ' For testing Dim mp As Map=GetPrinters For n=0 To mp.Size-1 Dim s As String = mp.GetKeyAt(n) Dim m As Map=mp.GetValueAt(n) If s =... www.b4x.com