Copyright 1999-2009 GrasshopperLLC    

 
<< NewIndexXRefNewStyleTag >>
Top: Documentation LibraryUp: N Commands

NewMasterPage Document Command

NEWMASTERPAGE Document Commands

Creates a new master page in a document or chapter.

newmasterpage [orientation] [sides] [spread] [CHAPTER name | WINDOW name]

name/s The new master page name.

width/d The master page width.

height/d The master page height.

orientation/k The orientation: PORTRAIT (default) | LANDSCAPE.

sides/k The number of sides: SINGLE (default) | DOUBLE.

spread/k The facing pages setting: FACING | INDIVIDUAL.

CHAPTER/s The document/chapter name.

Default=current.

WINDOW/s The window name. Default=current.

Notes:

This command is not equivalent to the menu's Master Page Setup command. To set all the options in that dialog box you must also use the setmarginguides and setcolumnguides commands. The parameters set in this command can be changed later with the setdimensions command.

Examples:

newmasterpage 'Columnar' 8.5 11 landscape double

 

NewMasterPage  Command Definition  url:PGScmd/newmasterpage
  created:2006-03-30 17:19:29   last updated:2006-03-30 17:19:29
  Copyright 2001-2009 GrasshopperLLC

User Contributed Comments For NewMasterPagesign in to add a comment
Dan Kilroy wrote...2006-05-03 18:35:07

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Create the {...} .

newmasterpagename = NewMasterPage (masterpagename pagew pageh [PORTRAIT | LANDSCAPE] [SINGLE | DOUBLE] [FACING | INDIVIDUAL] [DOCUMENT document | CHAPTER document:... | WINDOW document-window])


Parameters:


Results:
As of 5.0.3.4, returns the master page name. The only time this would be different than the requested name is if a master page by that name already exists.


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

Tim Doty wrote...2006-08-09 19:00:27

Note, the return value is meaningless for this command (unlike say NewDocument which returns the actual document name). Check for .error to see if there was a problem.

User Contributed Comments For NewMasterPagesign in to add a comment

<< NewIndexXRefNewStyleTag >>
Top: Documentation LibraryUp: N Commands

 

ACCOUNT

Username:
Password:
    Lost your password?
    Register

NAVIGATION

    Front Page
    Purchase
    In My Country
    Downloads & Demos
  About PageStream
    Overview
    History
    Features
    Comparison
    Reviews
    New in 5.0
    New in 5.0 Pro
  Documentation & Help
    Table of Contents
    Search
    Recent Changes
    Mailing Lists
    Contact Us
    Bug Tracking

Recent Files Uploaded
Recent Downloads Most Popular
Amiga-OS3-68k
 PageStream 5.0.5.7 
 PageStream 5.0.5.6 
 PageStream 5.0.5.5 
 PageStream 5.0.5.4 
Linux-i64
 PageStream 5.0.5.7 
Linux-x86
 PageStream 5.0.5.7 
Macintosh-OSX
 PageStream 5.0.5.7 
Windows
 PageStream 5.0.5.7 
Grasshopper Publishing PageStream SoftLogik DTP DeskTop PublishingIn the high plains of South Dakota, USA
Copyright 1999-2009 Grasshopper LLC
sales@pagestream.org

Sign In | Register | FrontPage | Purchase | Downloads | Search