Somebody did already do a large part of the job. See the github page here: https://github.com/jittagornp/GoogleCloudPrint You will need Java skills though to create the custom Java actions. You could try to make an Mendix app from it so that others could also use this.
Wouldn't you be able to use the Google Cloud Print API? Looks to me as if it has everything you need to handle the actual printing part, and can be integrated using REST. Stuff like duplexing (double sided printing) also seems possible.
Thanks for pointing this out, but it seems that this is going to be a complex solution. I think we will try a different approach and generate a pdf document and try to send that to the printer thru printer api or email. the only challenge in this is setting the printer settings (single/double sided, color/b&w, etc..)
Hi Dennis, I'm new to google cloud print, and did not find the REST api documentation yet, so thanks for pointing that out.
This seems like a perfect solution in combination with Mendix. If i understand correctly, we could just generate a PDF document and send it to the printer using the GCP REST API.
I'm going to try this.
We have been using PrintNode from several of our Mendix applications with great success https://www.printnode.com/. You have to install the software on a computer that can print to the printer directly (over the network or USB, etc) but you can send printjobs to the printer from the cloud via that piece of software.