Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print ascii file ???
Message
 
À
25/09/1997 09:27:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00041223
Message ID:
00051941
Vues:
36
>>where PRINTFIL.BAT contains: >> >>@echo off >>copy /b %1 lpt1 >>erase %1 >>exit >> >>This copies the file, in binary mode (bypassing any Chr(26)s that it >>sees) to the LPT1 port. You can substitute any valid port for this. > >Does this work with com ports also? I need to send control code out >the >com ports. I haven't tried it with serial ports, but I can't see why it wouldn't work. I've copied other things to plotters (which always seem to be attached serially), and they've worked without a hitch. >Also, is there a way to run the dos in the background >without >the big black ugly screen showing up? I tried setting the props in >the >foxrun.pif to a minimized window, but no luck! I've also found no way to completely remove this from the screen. However, by using WinExec() instead of !, the time is minimized as much as possible. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform