TwoPagesOnOne

H

Howard Kaikow

The list of "Language-Specific Properties and Methods" for both Word 2000
and Word 2002 lists TwoPagesOnOne as a property that is available only in
Asian or right-left languages.

Using the English (US) version of Word 2000, Word 2002 and Word 2003, I was
able to make code that seemed to work with TwoPagesOnOne. and the property
is available via the GUI in the Page Setup dialog.

However. I'm having trouble porting a simple example into a real app.

I see at least the following issues:

1. The property setting sometimes won't change.
2. I have trouble using the setting and switching to/from
Portrait/Landscape. Indeed, I get invalid parameter messages when doing such
switching, in some cases.
3. Worst, it seems that the output gets squashed with consecutive uses.
4. An undocumented setting for the Gutter position."inside", is used. You
can see this just by toggling between Portrait and Landscape with "2 pages"
selected in the GUI.

I do not recall installing any Asian or right-left languages in Word.
Is TwoPagesOnOne supposed to work in English(US) Word? Inclusion in the GUI
would seem to indicate that it should work.
 
J

Jezebel

I'm using W2000, English. TwoPagesOnOne is the same as the "2 pages per
sheet" checkbox on the Page Setup > Margins dialog. This checkbox is
disabled if 'mirror margins' is checked (and vice versa) -- perhaps this
explains why it sometimes will not change.

It certainly works on my system (not that I've tested it extensively); but
clearly, switching between landscape and portrait is going to cause problems
given that using this switch flips between those modes anyway: that is, if
you start with a portrait A4 then set TwoPagesOnOne = true you get two
landscape A5s.

I think the language-specific bit is a red-herring: presumably in a
right-to-left language the order of the pages as they appear on your single
sheets is reversed.
 
H

Howard Kaikow

Jezebel said:
I'm using W2000, English. TwoPagesOnOne is the same as the "2 pages per
sheet" checkbox on the Page Setup > Margins dialog. This checkbox is
disabled if 'mirror margins' is checked (and vice versa) -- perhaps this
explains why it sometimes will not change.

Further investigation is needed to see what options change.
It certainly works on my system (not that I've tested it extensively); but
clearly, switching between landscape and portrait is going to cause problems
given that using this switch flips between those modes anyway: that is, if
you start with a portrait A4 then set TwoPagesOnOne = true you get two
landscape A5s.

I see the problems when I switch between Portrait and Landscape, and the
width is continually divided by 2, so there needs to be a way to reset the
properties before applying TwoPagesOnOne. I guess one approach would be to
always reset back to a set ok known values before applying TwoPagesOnOne.

I'll try to figure out the valid combinations of Pagesetup properties to
(ab)use with TwoPagesOnOne.
However, there is still the issue of the undocumented "Inside" Gutter
position value in Landscape mpde when TwoPagesOnOne is used.

Since this has been around since Word 2000, I had hoped to find a KB or MSDN
article.
No such luck.

An alternative, tho different than TwopagesOnOne, would be to find out how
to set N-up via the API.
I've not yet found any API that seems to address N-Up.
 
H

Howard Kaikow

Looks like TwopagesOnOne is not what I wanted anyway.

I want N-UP, i.e., shrinking the page image so more than one page fits on a
sheet.

TwoPagesOnOne seems to just cut the page height in half.
 

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