I have developed a very annoying problem...
For background, I am using Access to load and run Word and then run mailmerges in Word using info from Access. For each merged document, I need to print one copy on headed paper, one copy on plain. I had originally recorded a macro to print both copies, by changing the paper source property (FirstPageTray, OthersPageTray) and this was working fine.
BUT, my Network administrator has changed the printer settings on the printer that I am using, so that now, instead of naming the tray, you name the paper type that you want (plain or LetterHead) and he has now gone on holiday for two weeks.
The problem is that I can't change the paper type setting in VBA code from Word. I have tried recording a macro, but any changes to the paper type are ignored by the macro (presumably because they are printer settings for all applications, not just Word).
Can anyone give me any pointers as to how you could change the printer properties from Word VBA, print out, and then change them back? Any help would be very much appreciated
For background, I am using Access to load and run Word and then run mailmerges in Word using info from Access. For each merged document, I need to print one copy on headed paper, one copy on plain. I had originally recorded a macro to print both copies, by changing the paper source property (FirstPageTray, OthersPageTray) and this was working fine.
BUT, my Network administrator has changed the printer settings on the printer that I am using, so that now, instead of naming the tray, you name the paper type that you want (plain or LetterHead) and he has now gone on holiday for two weeks.
The problem is that I can't change the paper type setting in VBA code from Word. I have tried recording a macro, but any changes to the paper type are ignored by the macro (presumably because they are printer settings for all applications, not just Word).
Can anyone give me any pointers as to how you could change the printer properties from Word VBA, print out, and then change them back? Any help would be very much appreciated