+ 1
If there's no developer community for the printer, ask on StackOverflow? You're probably going to need developer's documentation (ask for at least the printer language, hopefully PS-postscript or PCL-printer control langauge). If it listens on TCP/IP you might be able to use Javascript websockets (available in JS workers at least) ...
I'm redirecting you because... how many people also have your printer model here?