I'm assuming you want to call this from a shell script. Providing the serial printer is correctly set up with the OS, simply cat the file via redirection to the printer device:
Thank you, the cat syntax worked! I had tried the lp and lpr command and it didn't work and I thought it was because it was a serial printer. Either way it's printing now so I am happy.....thanks again, this site is a gold mind!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.