Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spooling Printing Problem
Message
From
19/07/2007 08:17:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/07/2007 05:34:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01241790
Message ID:
01241840
Views:
21
>First of all, it's very important that you tell us which version you use.
>
>Secondly, I suggest that you don't do it this way, I suggest that you use the report writer. But, if you use a dot matrix printer, the report writer is not easy to use. In thsi case I suggest that you print to a file, and then copy the file to the printer. Something like this
>set alternate to dummy.txt
>set console off
>set alternate on
>@  7,8 say "Date"
>@  8,8 say "Payee Name"
>@ 10,8 say "Amount In Words"
>set alternate off
>set alternate to
>set console on
>copy file dummy.txt tp lpt1:
Haven't played with this kind of printing for quite a while - nowadays I'd rather use textmerge - but IIRC Set Alternate would not catch @say output, only ? and ?? output.

Sonny's Set Print On and Set Device to print would be OK, he'd only have to

set print to dummy.txt

before Set Print On, and then copy file when he's done.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform