04-30-2024, 11:10 AM
(This post was last modified: 04-30-2024, 11:32 AM by SpriggsySpriggs.)
So a computer novice is sending raw escape sequences to printers? I'm only changing the method by which they arrive at the printer.
Also, straight from the Wiki page for LPRINT:
"Note: Printer escape codes starting with CHR$(27) will not work with LPRINT and may produce text printing errors."
It looks like the page that Kevin and I worked on is no longer on the Wiki (PE and "official") about how to communicate with a printer via TCP/IP and send pages for print. Oh well.
But I did find the post on the old forum. Code I helped Kevin make: https://qb64forum.alephc.xyz/index.php?t...#msg129378
Tweak it as you see fit. Printing via TCP/IP has worked for me quite often. I may not have been the one who discovered doing it this way (because I have no idea if I was) but I was the one making good use of it for a long, long time. Used it extensively at a previous programming job.
Also, straight from the Wiki page for LPRINT:
"Note: Printer escape codes starting with CHR$(27) will not work with LPRINT and may produce text printing errors."
It looks like the page that Kevin and I worked on is no longer on the Wiki (PE and "official") about how to communicate with a printer via TCP/IP and send pages for print. Oh well.
But I did find the post on the old forum. Code I helped Kevin make: https://qb64forum.alephc.xyz/index.php?t...#msg129378
Tweak it as you see fit. Printing via TCP/IP has worked for me quite often. I may not have been the one who discovered doing it this way (because I have no idea if I was) but I was the one making good use of it for a long, long time. Used it extensively at a previous programming job.
Tread on those who tread on you