>Thanks for replay!
>My actual source code is similar like the followings
>
>set console off
>set device to print && default printer is lpt1
>set print on
>
>???"I want to print this the printer in lpt1"
>
>do printjob1 && print subroutine
>
>set console on
>set device to screen
>set print off
>
>
>set console off
>set device to print
>set print on
>
>set printer to lpt2
>
>???"I want to print this the printer in lpt2"
>
>do printjob2 && print subroutine.
>
>set console on
>set device to screen
>set print off
>
>These command working fine in DOS mode.
>
>But VFP6.0 print the two content to lpt1 printer all the time.
>
>Would you help me this?
>
>Please!
>
>David
Try taking a look at SET PRINTER TO
NAME in the help.
Look for SET PRINTER, GETPRINTER(), APRINTERS() in help.