I've read some of the previous posts on this type of subject, but couldn't see anything that matches our circumstances...
We've had a load of macros for years that work okay with older HP LaserJets. One macro in particular prints the document on headed paper (from Tray 1) then prints a file copy on plain paper from (From Tray 3) before resetting the default tray to the printer default.
We bought a new LaserJet 4200 a year or so ago. The tray numbers were different, so we had to copy the existing templates into a new directory and edit them. For users who used the new printer we set their default Workgroup Template to point to the new directory.
This works, but is slightly inconvenient in that there are two copies of each macro to maintain. Also, if users swap between printesr we'd have to change their default Template setting in Word.
We've just bought a new colour laser, and the Tray numbers are different again!
I looked at them by recording new macros to print to different trays then looking at the VB code.
On the 4200 Tray 1 (manual feed) is 264 (260 on Colour LJ)
On the 4200 Tray 2 is 263 (259 on Colour LJ)
On the 4200 Tray 3 is 264 (258 on Colour LJ)
Where are these codes defined? Is it in the printer/printer driver/word? Is it possible to use paramater names such as 'wdPrinterLowerBin' that would work on either printer, and if so, what names are available? Or is it possible, through the printer front panel, to change the printer handling options so that both printers have the same codes for the equivalent trays?
Thanks
David
We've had a load of macros for years that work okay with older HP LaserJets. One macro in particular prints the document on headed paper (from Tray 1) then prints a file copy on plain paper from (From Tray 3) before resetting the default tray to the printer default.
We bought a new LaserJet 4200 a year or so ago. The tray numbers were different, so we had to copy the existing templates into a new directory and edit them. For users who used the new printer we set their default Workgroup Template to point to the new directory.
This works, but is slightly inconvenient in that there are two copies of each macro to maintain. Also, if users swap between printesr we'd have to change their default Template setting in Word.
We've just bought a new colour laser, and the Tray numbers are different again!
I looked at them by recording new macros to print to different trays then looking at the VB code.
On the 4200 Tray 1 (manual feed) is 264 (260 on Colour LJ)
On the 4200 Tray 2 is 263 (259 on Colour LJ)
On the 4200 Tray 3 is 264 (258 on Colour LJ)
Where are these codes defined? Is it in the printer/printer driver/word? Is it possible to use paramater names such as 'wdPrinterLowerBin' that would work on either printer, and if so, what names are available? Or is it possible, through the printer front panel, to change the printer handling options so that both printers have the same codes for the equivalent trays?
Thanks
David