Word Template - Tray ID issue
Posted on 2006-06-21
I have two type of printers in my company. HP4300TN and HP4350TN.
We have a number of word 2000 templates which work fine with the 4300TN, whereby when a user prints it automatically defaults to letterhead paper as specified in the paper source tab in the page setup.
My problem occurs when my default printer is set to the 4350TN printer. The word template changes the paper source to Light 60-75 g/m2. So when the user prints, the printer freaks out as it cannot find the Light Tray as the tray is configured to letterhead.
After doing some research I found out that the problem lies in the tray ID. On the HP 4300 the letterhead paper type is set to id: 1265 and on the 4350 the light paper has the same id of: 1265. So when you change printers from 4300 to 4350 the word template changes the paper source from letterhead to light and vice versa.
How can I resolve this issue? Is it possible to add a VBA script to the template saying:
If your printer is a 4300 change the paper source to letterhead or tray id:1265
If you printer is a 4350 change the paper source to letterhead or tray id:1271 (NOT 1265, which is what it is doing now)
Anyone can help.