Michael
April 8th 04, 05:23 PM
I have a program that is suppose to print to an lpt port; in particular,
lpt1. When it prints, the job is directed to a particular driver on my
machine. The program has no control on selecting which printer to print to.
The program just requests printing to the LPT1 port. I assumed that XP would
select the default printer. But for some reason XP always directs the job to
a particular printer driver even though that printer is not the default. It
sends the job to this printer even if I change the port for that driver to a
Serial port. As a result, the job does not print on my lpt port. The printer
works, the port works using a different method of printing.For those who are
experienced, I'm using CreateFile to open a parallel port. Does anyone know
if there is some XP setting that affects where the job is sent?
lpt1. When it prints, the job is directed to a particular driver on my
machine. The program has no control on selecting which printer to print to.
The program just requests printing to the LPT1 port. I assumed that XP would
select the default printer. But for some reason XP always directs the job to
a particular printer driver even though that printer is not the default. It
sends the job to this printer even if I change the port for that driver to a
Serial port. As a result, the job does not print on my lpt port. The printer
works, the port works using a different method of printing.For those who are
experienced, I'm using CreateFile to open a parallel port. Does anyone know
if there is some XP setting that affects where the job is sent?