OpenXML - w:paperSrc - what do the numbers mean?

J

Jialiang Ge [MSFT]

Hello Dave,

According to the spec Office Open XML Part 4, Page 621, w:first specifies a
Specifies a printer-specific code that uniquely identifies a specific
printer tray to be used to print the first page of this section in the
document; w:eek:ther specifies a printer tray to be used for non-first page.
Therefore, <w:paperSrc w:first="2" w:eek:ther="3"/> means that Word will use
the second printer tray to print the first page of the document, and use
the third printer tray to print other pages. These tags corresponds to the
following setting in Word application:
(quoted from
http://wordtips.vitalnews.com/Pages/T1370_Specifying_a_Paper_Tray_in_a_Macro
.html)

a. If you choose Tools | Options | Print, you can specify a Default Tray.
(You can specify the setting in Word 2007 by clicking the Office button |
Word Options | Advanced | Print group.)
b. If you choose File | Page Setup | Paper Source, you can specify which
paper tray to use for the first page and which to use for subsequent pages.
(You can specify the setting in Word 2007 by displaying the Page Layout tab
of the ribbon and then clicking the icon at the bottom-right of the Page
Setup group.)
c. If you click Properties from within the Print dialog box (Ctrl+P), you
can often (depending on your printer) rummage around and select a paper
tray.

If I misunderstood your question or if you have any other concerns, please
feel free to let me know.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Jialiang Ge [MSFT]

Hello Dave,

Here is the list of values:

Default tray (Automatically Select) 0 or not specified
Automatically Select >=1 <=15
Printer auto select 257
Manual Feed (Tray 1) 258
Tray 1 259
Tray 2 260
Tray 3 261
Unspecifed 1267
Plain 1266
Preprinted 1265
Letterhead 1264
Transparency 1002
Prepunched 1263
Labels 1262
Bond 1261
Recycled 1260
Color 1259
Cardstock 1258
Rough 1257

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top