Morning everyone,
This is my first visit to the forum after searching hard for a "MS Word" forum online.
Here is my query, see if anyone could help please.
I have been trying to create a macro within word in such a manner that when a user hits Print onto the tool bar, it opens up a Printer Dialog box with certain printer and page scaling settings. For example, if a user hits "Legal" onto the toolbar, it opens up a dialog box with the printer A, which has Page Scaling set to "Legal" and Printer Tray set to "Tray2".
I have tried and managed to select a certain printer and the dialog box does open but I am not sure how to setup a Page Scaling and Tray to Tray 2 within VB.
I'd be really greatful if someone could kindly shed some light on this please?
Here is what I did so far
Code:
ActivePrinter = "HP LaserJet 4050 Series PCL 6"
Application.Dialogs(wdDialogFilePrint).Show
Many thanks in advance
Regards
Jehanzeb