Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Switching printer to lpt2 or lpt1
Message
From
04/08/2001 13:49:21
 
 
To
04/08/2001 01:25:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00537977
Message ID:
00539797
Views:
10
>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform