lpt swap with wmi

  • Thread starter Thread starter sali
  • Start date Start date
S

sali

[sorry for repeating post, first was placed in wrong froup]

on xp i have two lpt ports [two adapters, lpt1 and lpt2], is there some wmi
script to swap lpt port numbers?
after swapping, printing on logical lpt1 should go to adapter lpt2, and
after next swapping back to original lpt1.
request is because [old] app targets only lpt1 [prn in fact], and it needs
in turn to make laser or impact dtmx printouts.
on old w98 systems this was easily achieved with modification of lpt i/o
address base in dos/bios area.
 
sali said:
[sorry for repeating post, first was placed in wrong froup]

on xp i have two lpt ports [two adapters, lpt1 and lpt2], is there some wmi
script to swap lpt port numbers?
after swapping, printing on logical lpt1 should go to adapter lpt2, and
after next swapping back to original lpt1.
request is because [old] app targets only lpt1 [prn in fact], and it needs
in turn to make laser or impact dtmx printouts.
on old w98 systems this was easily achieved with modification of lpt i/o
address base in dos/bios area.

Sali,

You can still change the resources in XP, have you tried that via the
Device Manager ?

TDM
 
TDM said:
sali said:
[sorry for repeating post, first was placed in wrong froup]

on xp i have two lpt ports [two adapters, lpt1 and lpt2], is there some wmi
script to swap lpt port numbers?
after swapping, printing on logical lpt1 should go to adapter lpt2, and
after next swapping back to original lpt1.
request is because [old] app targets only lpt1 [prn in fact], and it needs
in turn to make laser or impact dtmx printouts.
on old w98 systems this was easily achieved with modification of lpt i/o
address base in dos/bios area.

Sali,

You can still change the resources in XP, have you tried that via the
Device Manager ?

TDM

thnx, but i need something to do it using scripts or batch, on-the-fly
as/when requested, not through gui.
 
Back
Top