X-Envelope-to: WPCORP-L@UBVM.BITNET
X-VMS-To: IN%"WPCORP-L@UBVM.BITNET"
Newsgroups: bit.listserv.wpcorp-l
Date:         Thu, 8 Oct 1992 13:41:00 EDT
              <WPCORP-L@UBVM.BITNET>
From:         Charlie Reitsma <REITSMAC@DENISON.BITNET>
Subject:      Re: printing a booklete

>Wanted: booklet macros. >Anyone want to take a crack at it?

Glad to see someone else understands the problem.  Here's my solution.


                     BOOKLETS
I have set up some page definitions and macros that make it a little
easier to print booklets using WordPerfect 5.1.

A booklet is formed by
     1.   printing a set of small pages on larger sheets
     2.   arranging the larger sheets appropriately
     3.   folding once

The Page Definitions

The page definitions assist with step 1.  When creating the booklet it is
much easier to work with the document with its pages arranged in order
from 1 through the end.  But when printed the pages must be
rearranged on the larger sheets so that with a single fold the pages are
brought back into correct order.

Word Perfect 5.1 lets you work with smaller pages on a larger sheet by
defining a label form.  Each label on the sheet is considered one page.
The most useful format for creating a booklet is one row of 2 columns
on either 11 x 8 or 14 x 8 paper.  I call these page definitions
Program1 and Program2 respectively.  Each gives you 2 smaller pages
on each side of 1 sheet for a total of 4 pages.

The definitions are created once for each printer you use. (Note: I am
assuming a laser printer.)  The items in quotes below are text that you
type in; everything else is an item selected from a menu.

The Program1 definition is created by pressing Format, Page, Page
Size, Add, Other, "Program1", Paper Size, Standard Landscape, Font
Type, Landscape, Label, Yes, Label Size, "5.5", "8.5", Number of
Labels, "2", "1", Top Left Corner, "0", "0", Distance Between Labels,
"0", "0", Label Margins, ".25", ".25", "..29", ".25"

The Program2 definition is created by pressing Format, Page, Page
Size, Add, Other, "Program2", Paper Size, Legal Landscape, Font
Type, Landscape, Label, Yes, Label Size, "7", "8.5", Number of
Labels, "2", "1", Top Left Corner, "0", "0", Distance Between Labels,
"0", "0", Label Margins, ".25", ".25", ".29", ".25"

Label margins are completely up to you given the limitations of your
printer.  I prefer leaving the Top Left Corner and Distance Between
Labels set to 0 and adjust only the Label Margins.

To start using your page definition you must put the page definition in
Initial Codes.  Press Format, Document, Initial Codes, Format, Page,
Page Size, highlight the page definition you want to use, Select, Exit,
Exit, Exit.  Then start typing your text.  Each small page is treated by
WordPerfect exactly as if it were one sheet of paper.  You can enter a
column definition to make your booklet in multiple column format,
change margins, justify text, and center text on each small page.

Rearranging the Pages

Step 2 is accomplished with the help of two macros I created:
book.wpm and book2.wpm.

Eventually, the text of the booklet will be entered and ready to print.
Always save a copy of the document at this point before rearranging
the pages.  Make sure that each small page ends with a Hard Page
break (press Ctrl-Enter at the end of pages).  If columns were used
make each page start with a Column On code and end with a Column
Off code.  If tab settings were changed on one page make sure tabs get
set back to the standard setting before the end of that page.

Make sure the document has some multiple of four pages plus one (5,
9, 13, 17, ...).  The final page is never printed and must be blank; it is
only there to guarantee the last printed page ends with a Hard Page
code.  The macros place the rearranged document on the second
document screen so make sure the second document screen is empty.

To make a booklet the pages are rearranged so that the first page and
last page are side by side, the second page and next to last page are
side by side, etc.  To accomplish this the first macro, book.wpm,
moves the first page to the second document screen.  Then it moves the
last page to the second document screen.  This needs to be repeated for
as many multiples of two pages there are in the document.

Press Escape, enter the number of pages divided by 2, Macro, "book".

If, when the macro is completed, the first document screen is empty
(use reveal codes to check for invisible codes) then all the pages were
moved properly (usually).

Correcting Problems

If the first document is not empty it is because a page did not end with
a Hard Page or Column Off code or have the correct multiple of pages
or reset a code at a page break.  Discard the first (empty) document
and exit to the second document screen (Exit, No, Yes).  Use Print,
View Document to examine the layout.

If tabs don't appear to be lining up then a tab setting was changed but
did not get reset at the end of that page.  Other problems may show up.
If text that is not supposed to be underlined is now underlined then
there is underline code that crossed page boundaries. Discard this
scrambled version of the document (Exit, No, No, Shift-F3) and
retrieve the original document since it is easier to work with the pages
in order.

The goal is to have all the pages independent of codes on another page.
Bolded text or Underlined text cannot be split across a page break.  If
you turn Bold on make sure you turn it off before the page break.  If it
needs to continue across the page break, turn it back on on the next
page.  The concept is encapsulation; each page must contain all the
codes it needs to be independent of the other pages in the document.

Final Rearrangement

Once the first rearrangement completed correctly proceed to the second
rearrangement.  For the booklet the odd numbered pairs have to have
their pages swapped.  For an eight page booklet the pages are currently
in the order 1,8, 2,7, 3,6 and 4,5.  They need to be rearranged so that
the booklet pages are in the order 8,1, 2,7, 6,3 and 4,5.  To
accomplish this run the macro book2.wpm which swaps the odd
numbered pairs of pages.  Press Escape, the number of pages divided
by 4, Macro, "book2".

       BOOK.WPM

{DISPLAY OFF}
{Home}{Home}{Home}{Up}
{Block}{Page Down}
{Move}11{Switch}{Enter}
{Page Down}{Switch}
{Home}{Home}{Down}
{Block}{Page Up}
{Move}11{Switch}{Enter}
{Page Down}{Switch}

                                   BOOK2.WPM

{DISPLAY OFF}
{Block}{Page Down}
{Move}11{Page Down}
{Enter}{Page Down}
{Page Down}{Page Down}
Newsgroups: bit.listserv.wpcorp-l