Print Documents in PDF Format

In our management software we have added a button that allows users to send us suggestions, the largest of which is to create a procedure for printing to a file in PDF format, the famous almost become a standard text format, Adobe™.
In this article I will explain how to do this, without our intervention on the source code, through the emulation of the printer.
In almost all of our management software we have a classic method of printing with the print preview and then print, everything inside the program. In Calus Plus, our now famous free software for warehouse management, instead we decided to print to a file in HTML format.

Procedure for exporting data from Calus Plus
Procedure for exporting data from Calus Plus

In practice, the program creates a classic web file that is automatically opened in your default browser and it works a bit as the print preview, and then with your web browser you can print your document on paper or on another type of printer, also emulated behold in this passage we can divert all on a file in PDF format.
The program that allows us to emulate the printer PDF Creator is a free software that allows you to install a local printer or even on a shared server.

PDF Creator Window
PDF Creator Window

With this program you can choose the printer that allows you to create a PDF file instead of printing on paper, a very functional method which saves programming time and allows us to keep the press out of this format only, in fact, using the same method you can print to any printer that you want, type the new Microsoft XPS format that resides on all new Windows operating systems, even the fax.
I hope this article has been helpful to understand how to have your documents or invoices directly to PDF files through our management software.