I have two identical printers installed in the same PC/Win98. I use this code to select the printer.

Code:
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!