Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing printer in browser control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Divers
Thread ID:
01378577
Message ID:
01378586
Vues:
15
>I try to print from the browser control on a form using ExecWb(6,2,0,0) but the printout doesn't respect the printer I set in the line before with SET PRINTER TO NAME.

>Is there any way to make the browser control pick up the new printer setting?

The browser control will not respect VFP printer settings. The article
How to change print settings for Internet Explorer and the WebBrowser control programmatically in Internet Explorer seems to suggest that printer can be changed by modifying the registry.
Another way is to change Windows default printer, as shown in Changing Windows default printer, before printing and restore after but it'll affect all applications on PC.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform