How to auto print document for LibreOffice or OpenOffice
Tutorial / Print / For version: All
You can force Automatic Email Manager to print specific file type with a specific application. For example, if you installed LibreOffice (https://www.libreoffice.org/) or OpenOffice (https://www.openoffice.org/), you can tell to Automatic Email Manager to use these programs to print your attachments.
1. Click on menu 'File', then 'Options', then section 'Email Attachment':
Now click on button 'File types management'.
2. Add or Edit the extension you want to use, here the .ODT file:
Search for the file extension ODT, if it is not present just click on 'Add', if present click on 'Settings' right of the extension.
3. Set the program to use to print ODT file
You can now define the program to execute when an ODT file is present in your email, in LibreOffice you also need to specify a command line, each program has it's own command line, here it is: -pt "%PRINTER%" "%FILE%".
That's mean it will send the command pt (for print) with the printer name (variable %PRINTER%) and the path to the file ODT (variable %FILE%) .
Conclusion on adding your own specific application
It is easy to use external program to print your specific file, just add new file extension without the dot (example: ghi), then select the program file and finally the command line if your program needs one.
Information: print libre office, print open office, print odt file - Updated the Thursday, July 16, 2020