Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Default printer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00498854
Message ID:
00498857
Vues:
19
>Hi,
>
>Anyone knows if it is possible to read the printing codes (12 cpi, condensed, etc..) of the default printer with a Foxpro 2.x program running in DOS under Windows?
>

Can I assume that you want to read the Windows default printer settings, not reading from the printer directly - i.e. the hardware settings? You cannot do this directly from 2.x because there is no hook to the windows API BUT, you could write a small routine (or find one?) to read the windows registry in another language and execute it using the !/RUN command. The program could return the values you want from the Windows registry which you could then read from 2.x. You probably do not want to write this in VFP - although you could - because of the large runtime module overhead. C++ or Java would be preferable. Not much but hope it helps.

-Arne
arne@synercom-edi.com "There are no absolutes but this one."
President, synercom/edi - Event Ticketing Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform