Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can't print directly to LPT1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037511
Message ID:
00037805
Vues:
48
I am not familiar with WinExec()...it is a function, located where?

I am very interested...I have the DOS box popping-up in several spots in the system I am developing.

I have changed the foxrun.pif to run DOS boxes minimized...but when you run something, it won't run minimized or in the backgroup...as far as I know.

Oh, regarding the faster machine...we all have Pentium Pro 200's with 64 Mb RAM...and we can't afford to upgrade right away...but, maybe someday...

Interested in WinExec()...

Take care.

Joe


>>
>> Use the command ! copy lpt1.
>>
>> It will show an ugly DOS box for a second...but it will work. It will also
>> avoid default printer settings to remote printers, etc..
>>
>> I have a question: Does anyone know how to get rid of this ugly DOS box
>> when using this technique?
>
>Get a faster machine <g>
>
>Actually, I've found that by using WinExec() with SW_MINIMIZE (I think)
>as the second parameter, that the DOS box pretty much stays out of the
>way. It's certainly faster than using RUN, and it returns the results
>of it's success.
>
>/Paul
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform