Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spooling Printing Problem
Message
De
19/07/2007 08:17:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/07/2007 05:34:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01241790
Message ID:
01241840
Vues:
23
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform