PICK A PRINTER OUT OFF MANY AT RUNTIME
Posted on 2004-09-21
I'am rewriting dos programs to VB6
In Windows, but a DOS program in a DOS-box I did in one program
wich prints at same time:
Situation on one workstation:
We just had the Matrix as default printer in Windows on Lpt1,
end the Laser as other printer on Lpt2 poort,
Plus they are set as sharable
then in the program all matrix output was printed to LPT1
and laseroutput to LPT2,
How is syntax if I do the same in VB6
Then on other stations:
We put matrix to sharable on LPT1 same on sharable LPT2
Then on some stations:
Since we run on a Novell network 3.20
we have 2 printservers with 3 lpt ports
SELECT CASE PrinterChoice%
TEXT$ = "DOWNST01"
TEXT$ = "DOWNST02"
TEXT$ = "DOWNST03"
TEXT$ = "UPSTAIR01"
TEXT$ = "UPSTAIR02"
TEXT$ = "LOCAL"
SHELL "CAPTURE /NB /TI=3 /NFF /Q=" + TEXT$
How would I do all this if I start same programs in VB6