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?

Re: Problem using WriteFile by Don

Don
Wed Aug 29 08:24:13 CDT 2007

This is the wrong newsgroup for this. This group discusses writing device
drivers. Look at the adminiistrative and hardware groups under windows.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

"T Bumbarger" <TBumbarger@discussions.microsoft.com> wrote in message
news:62805022-EE46-47FD-85B2-CB6095D72878@microsoft.com...
>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?
>



Re: Problem using WriteFile by TBumbarger

TBumbarger
Wed Aug 29 14:18:02 CDT 2007

Hi, sorry about that! I'm still having trouble finding the right board for
this question - could you direct me to the Windows Hardware group? I don't
see anything like that listed in menus to the left.

"Don Burn" wrote:

> This is the wrong newsgroup for this. This group discusses writing device
> drivers. Look at the adminiistrative and hardware groups under windows.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
> "T Bumbarger" <TBumbarger@discussions.microsoft.com> wrote in message
> news:62805022-EE46-47FD-85B2-CB6095D72878@microsoft.com...
> >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?
> >
>
>
>