Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO test.txt ADDITIVE not working
Message
From
14/03/2002 16:02:03
 
 
To
14/03/2002 15:39:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632928
Message ID:
00633032
Views:
19
I seemed to remember that @...SAYs get lost/confused if you change/reset the SET PRINTER... in a way I'm surprised it worked in FPD. Why do you need to do this?

Also BTW it's good programming practice to reverse the order of SETs etc. when restoring settings:
*The below should be the first two lines of test.txt
set PRINTER TO test.txt
set DEVICE TO printer
set print on
? 'this is test1.'
? 'this is the 2nd line from the first printing.'
*set DEVICE TO screen
*set PRINTER to
*set print off
* Better:
set print off
set DEVICE TO screen
set PRINTER to
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform