use paper-type-names instead of paper-tray-names for printing 
Author Message
 use paper-type-names instead of paper-tray-names for printing


I am trying to figure out in WordXP the best way to assign
paper trays.

The problem is, while opening a template on a different
workstation, with a different printer(-driver) installed,
the paper-tray settings (in page-setup) are changed
automatically. For example, "tray 1" is changed
to "envelope feeder".

In the printer-driver settings, the type of paper can be
assigned to a particular paper tray. for
example: "letterhead" is assigned to tray 1, "preprinted"
is assigned to tray 2 and "plain" is assigned to tray 3.
On the HP LaserJet 5si/5si MX PS, these settings can be
fount in "Tray Administration", "Paper Tray Assignments".
Here you can specifie per Tray, the paper-size and paper
type (letterhead, plain etc).

I would like to use these paper-type-names in Word,
instead of the paper-tray-names. This should eliminate the
problem as described above with different printer drivers,
of cource, assuming that all used printer-drivers use the
same paper-type-names.  

I already have read the article "Controlling the Printer
from Word VBA", by Jonathan West. I also use the
procedures described in this article in my templates. But
I cannot find where I can call paper-tray-names from the
DeviceCapabilities, using Lib "winspool.drv". (I also read
the threads from "Default Tray for printers")

Thanx in advance!

Susan Zijlstra

Tue, 16 Aug 2005 16:21:18 GMT  
 use paper-type-names instead of paper-tray-names for printing

>I am trying to figure out in WordXP the best way to assign
>paper trays.

the best way I've found is to create separate printers, each with its
own special settings, and just change the active printer.

So Lex1 for Paper Tray 1, Lex2 for PaperTray 2 and so on for all
required special settings.

Steve Hudson - Word Heretic, Sydney, Australia
I can do tricky stuff with Word or words for you.

Spellbooks: 1558 pages of dump left and dropping...

The VBA Beginner's Spellbook is now available!
The first graphical representation of the Word object model
and an extensive checklist for functional template development.
Perfect for everyone at every level of VBA usage.

Sun, 18 Sep 2005 09:38:18 GMT  
 [ 2 post ] 

 Relevant Pages 

1. Problem with printing to different paper trays...

2. Setting a paper tray when printing

3. Printing to multiple paper trays, with the Webbrowser control

4. Printing to different paper trays in VB, HOW?

5. Printing reports on different paper trays

6. Printing to different paper trays in VB, HOW?

7. Using VBA to choose paper tray

8. using different paper trays.

9. Specifying paper type when printing with VBS

10. Setting up the paper orientation and paper size

11. Crystal Reports ANd VB 6.0 Printing reports using CRPEAUTO Object, specifying paper orientation problem

12. Printing on continuous paper (using Printer object)


Powered by phpBB® Forum Software