Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Printer Trays programmatically
Message
From
31/03/2003 10:44:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00771981
Message ID:
00772022
Views:
11
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform