Free knowledge blog: linux, programming, open source, databases, android, frameworks, web and computing in general
Today I am going to present you a plugin that I have just created. It is a plugin to print a PDF file silently, that is, without asking the user for confirmation.
This plugin exposes a REST API so that a PDF can be printed without confirmation using JavaScript. Just make an HTTP GET request to the plugin path sending the name of the PDF and the name of the printer.
The best thing about this is that you can use the virtual printers that Windows offers, in this way you can do your tests in an ecological way.
Throughout this post I will show you the documentation of the plugin and all the details of it, including how you can get it.
In this post I will show you how to print a PDF document from the Windows command line, terminal or CMD using the executable PDFtoPrinter.exe
.
As you know, printing a PDF from the Windows terminal is not possible using the print
command (since it only prints text files), since a translator is required to read the content of the PDF and send it to the printer.
It is precisely what this utility called PDFtoPrinter.exe
does, and in this post I’ll show you how to use it.