Tonatiuh
Jan 2nd, 2000, 04:35 AM
I have two identical printers installed in the same PC/Win98. I use this code to select the printer.
Dim prnObj as Printer
For each prnObj In Printers
if prnObj.DeviceName = "X Printer" then
Set Printer=prnObj
end if
next
This printer is attahced in a LPT2: port.
I use several printer methods but the priting job always go to printer in LPT1: (default printer).
Any idea will be deeply appreciated.
Thanks!
Dim prnObj as Printer
For each prnObj In Printers
if prnObj.DeviceName = "X Printer" then
Set Printer=prnObj
end if
next
This printer is attahced in a LPT2: port.
I use several printer methods but the priting job always go to printer in LPT1: (default printer).
Any idea will be deeply appreciated.
Thanks!