How to auto print documents for LibreOffice or OpenOffice?
Modified on Mon, 16 Nov, 2020 at 11:46 AM
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 or ODS 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.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article