Expected result achieved :) The script is ready to be delivered. It is one single small PHP script encapsulating all required algorithm.
WHAT YOU NEED TO DO (one time procedure)
=====================================
1. Add your printer to Google Cloud Printer library;
2. Create a Google API client access;
3. Configure my script with your email account access;
4. Upload the PHP script I send you to your web server (hosting) & make a cronJOB every 5 minutes;
5. Keep a Google Chrome window open/hide running on a PC attached to your printer (direct/LAN) with your Google account signed in;
I can direct you how to do the above.
WHAT IT WILL DO
=====================================
1. The script will check for new emails every 5 minutes in your email account;
2. For each new email, it will fetch the mail body and will send to your printer;
3. As long as your printer is online and not out of paper, the email will be printed automatically;
ADVANTAGES
=====================================
1. Operating system independent (Windows, Linux, MacOS, etc);
2. No software to install;
3. No application to configure;
Regards,
- Broken Arrow