Trouble using WriteFile

  • Thread starter Thread starter T Bumbarger
  • Start date Start date
T

T Bumbarger

I am using WriteFile to write directly to LPT1, where I have an Epson POS
printer.
This works fine unless I have a printer (anything, 'Generic / Text only',
the printer itself) setup to use LPT1 in windows.

Somehow having LPT1 in use in windows is preventing my data from sending
correctly.

I have enabled the option 'Use any interrupt' on my LPT1, and that works
only until I reboot the machine.

Has anyone ever encountered this before?
 
Back
Top