79260466

Date: 2024-12-07 11:04:43
Score: 1
Natty:
Report link
  1. I would try to not use any serial component here, as this will only work with serially connected printers
  2. If still going down the serial route I'd add \.\ before the COM3 in the code shown above as that would work with COM port numbers > 10 then.
  3. There is an API in Windows which can be used to send raw commands to a printer. Using that would mean that it won't matter how the printer is connected to the computer.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Markus