Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Printer Trays programmatically
Message
De
31/03/2003 10:44:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00771981
Message ID:
00772022
Vues:
10
>>>I believe that you could make changes in the report frx file programmatically while running the application: you need to Set DEFAULTSOURCE in EXPR field as needed.
>>
>>I'm printing from the WebBrowser control.
>>
>>Kev
>>
>Then probably you could use keyboard() command to invoke page setup dialog and set properties programmatically. For my current default printer HP LaserJet 2000 I can do it with:
>
>keyboard("{ALT-F}u{TAB}{TAB}{TAB}{DNARROW}{DNARROW}{ENTER}")

Hmmmm, the user will need to specify the tray that has the headed paper, I think I'll leave it, there's no easy work-around for this.

Thanks
Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform