Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I print fox report to .pcl file using print driver?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00911155
Message ID:
00912249
Vues:
11
Thanks Lisa!

>----
> Is there a way to programatically determine if any of the windows printers installed on the user's machine are using a PCL driver?
>----
>
>In VFP 9 you can do this easily with APRINTERS(aa,1) (new optional second parameter).
>
>Previous to VFP 9, you would probably use a WinAPI call --
>
>
>
>DECLARE INTEGER EnumPrinterDrivers IN   winspool.drv;
>    STRING    pName,;
>    STRING    pEnvironment,;
>    INTEGER   Level,;
>    STRING  @ pDriverInfo,;
>    INTEGER   cdBuf,;
>    INTEGER @ pcbNeeded,;
>    INTEGER @ pcReturned
>
>
>
>>L<
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform