Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer Tray Numbers in Word

Status
Not open for further replies.

nashcom

MIS
Apr 12, 2002
91
GB
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
 
Have a look at the FirstPageTray and OtherPagesTray properties of the PageSetup object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top