Set up silent and automatic printing for your documents on Monstock.
The print service allows you to automatically print PDF files in the background. To use it, you will have to use a printing software, it will allow you to automatically print the documents located in a directory which will be informed in the file of parameters (which is provided to you) which will have to be filled beforehand.
You can router your printings with different settings on multiple printers. You will be able to to send multiple types of documents of different formats on multiple printers. For example, you will be able to send an invoice at A4 format to the printer A, and your labels on your mobile printer B.
To start, you will need to install 3 software:
- Adobe Reader DC : https://get.adobe.com/fr/reader/?promoid=KSWLH,
- .NET Core Runtime : https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-3.0.0-windows-x64-installer,
- .NET Core Desktop Runtime : https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.0.0-windows-x64-installer.
Step 1 : configure the settings file
To use the automatic printing software, you must first configure it. For that, you will have to edit the file "Monstock_printersettings.cfg" located in the directory:
To edit it, you can use Windows Notepad, Notepad ++, or another text editor:
In this file, each line corresponds to a parameter:
|General_settings_frequency||Frequency at which the directory will be monitored.|
|PrinterX_delete_file_after_print||Determines whether or not the file should be deleted after printing (true = yes / false = no).|
|PrinterX_folder_name_if_not_deleted||Name of the folder where you want the file to be moved if it is not deleted.|
|PrinterX_strict_name||Defines whether the printer should print a single file with a unique name (eg "Product 512") or a set of files with a similar name. For example, to print all files with the name "Product", you will have to enter "true" on this line as well as the file name "Product".|
|PrinterX_printer_name||Enter the name of the printer.|
|PrinterX_file_name||Enter the name of the file to print, without its extension. For example, if you want to print the “Product512.pdf” file, simply enter “Product512”.|
|PrinterX_folder_to_scan||Here you will need to enter the absolute path of the folder that the program will scan.|
|PrinterX_temp_folder_name||Enter the name of the temporary file that will be created in the folder where your PDF documents are located.|
|PrinterX_withdt_percentage||This parameter changes the width scale when printing. To keep the original dimensions of your documents, leave the field blank or indicate "0".|
|PrinterX_height_percentage||This parameter changes the length scale when printing. To keep the original dimensions of your documents, leave the field blank or indicate "0".|
- To enter your parameters, do not put a space between the ":" and your parameter,
- To find the name of your printer, go to the control panel of your computer, in "Hardware and Sound", then click on "Display printers and peripherals". Once the list of printers is displayed, right click on the printer whose exact name you want, and display its properties. His name will be indicated at the top of the new window that will open,
- To find the absolute path of your file, go to the file, then click on the top bar. The path is then displayed, all you have to do is copy/paste,
- If you want to configure several printers, you just have to go back to the list of all parameters with "Printer2 _...", "Printer3 _...", etc. :
- To delete the configuration of a printer, simply select the group of lines corresponding to it.
Step 2 : Launch of the application
Once your settings file is correctly configured, launch "MonstockPDF" as administrator to start automatic printing:
Note : If you have a problem or if you want to stop automatic printing, you will need to open the task manager. To do this, press CTRL + SHIFT + ESC simultaneously or right click on the task bar and then on "Task manager". Look for the "MonstockPDF" process and then right click on it. Select "End Job" to stop automatic printing.