Printers are mostly networked in today's world. And the OS usually isn't involved when an application wants to talk to another device on the network beyond TCP connections etc.
Just get the application to (using a library), connect directly to the printer, submit its job, show status, and disconnect when done.