Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00046370
Message ID:
00046393
Vues:
25
>i saw a post earlier about using the type command to send text files to the printer.
>it works great, except it's sending output to my main window as well as the printer.
>it won't take a noconsole and it does the same thing with talk set on or off.
>any ideas?

Gary,

If the file is small enough, try this -

lcfile = GETFILE('TXT')
lcmac = 'NOTEPAD /P ' + lcfile
RUN /N7 &lcmac

This will cause the notepad to print the text file. It does have some shortcomings, however. Note that this same technique can be used with the wordpad program as well.

HTH,

George
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform