Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute print dialog suppression
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00844974
Message ID:
00844986
Vues:
36
Try this:
*PrinterName = getprinter()
?ShellExecute(0, 'printto', FileName, '"'+PrinterName+'"', 0, 1)

>Hello All,
>
>I use ShellExecute to print a HTML file using the following syntax
>
>=Shellexecute(0,"Print",cFileName,"","",1)
>
>Can anyone tell me how to suppress the printer dialog box and just send it to the default printer??
>
>Thanks in advance
>
>Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform