>>>>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
No, user will not need to do anything. Command above do it programmatucally whithout user intervention. But if user need to do it himself, then issue the command above without ENTER to open the dialog and make preliminary settings.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement