Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO test.txt ADDITIVE not working
Message
From
15/03/2002 07:56:19
 
 
To
14/03/2002 16:39:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632928
Message ID:
00633325
Views:
19
Got it working. I have to use SET PRINT ON (funny it does not eject a page like it typically does if I issue any ??? in the code or a set printer to ...) Anyway, the below code works:
*The below should be the first two lines of test.txt
set PRINTER TO test.txt
set DEVICE TO printer
set print on
@1,0 say 'this is test1.'
@2,0 say 'this is the 2nd line from the first printing.'
set print off
set DEVICE TO screen
set PRINTER to

*The following should be appended to the file test.txt
set PRINTER TO test.txt additive
set DEVICE TO printer
set print on
@3,0 say 'this is test2.'
@4,0 say 'this is the 4th line from the 2nd printing.'
set print off
set DEVICE TO screen
set PRINTER to

MODIFY COMMAND test.txt
Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform