lpt swap with wmi

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.
 
T

TDM

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
 
S

sali

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top