ReadyScript
Page Setup Commands

These commands perform some of the document level operations you normally set manually in Sahafi
{UNITS=units of measurement}
where units can be in, pi, ci, cm, or pt. Sets measurement units to inches, picas, ciceros, centimeters, or points, respectively.
Example: {UNITS=in} sets units to inches.

{PAGETYPE=size}
where size can be USletter, USlegal, A3, A4, A5, B5, or tabloid.
Example: {PAGETYPE=USletter} sets the paper size to 8.5 inches by 11 inches.

{PAGESIZE=width, depth}
where width and depth are expressed in the current measurement units.
Example: {PAGESIZE=5,9} sets the page size to 5 by 9 in the current measurement units.

{ORIENTATION=orientation}
where orientation can be portrait or landscape.
Example: {ORIENTATION=portrait} sets the page orientation to portrait (vertical).

{NUMPAGES=number}
where number is the number of pages in the document.
Example: {NUMPAGES=4} sets the number of pages in your document to 4.

{FONTS=font1, font2,,fontn}
where font1 is the name of a font currently installed in your System File. You can specify as many fonts as you want. Here, it is important that you include the proper case and spacing for the font as it is listed when you choose the Font command in Sahafi's Format menu. This is the only place in ReadyScript where case and spaces are required.
Example: {FONTS=Helvetica,Times,Palatino} sets Helvetica as <FT1>, Times as <FT2>, and Palatino as <FT3>.

See the <FT> command in the Typographic Commands section,
later in this guide, for a full explanation.

{STYLE=name:<format1><format2>...<formatn>}
where name assigns a name for a style, and formats 1 through n are the typography arguments that comprise the style. Most of the typographic options that are supported in Sahafi are available for use with ReadyScript. See Typography Arguments, later in this guide, for information on all of the typographic settings you can specify in ReadyScript. You can specify one or several typography arguments in the STYLE command. When an argument is not included, that option is not a part of the style definition.
Example: {STYLE=headline:<FT2><BO><IT><PS36><AL>} creates a style named "headline," which formats the headline text as bold, italic, 36 point, font number 2, and left-aligned. The font represented by font number is defined in the FONTS statement. Using the FONTS statement shown in the description of the FONTS command, above, this style would be in Times.

Example: {STYLE=body text:<FT1><PL><PS11><AJ><PI.25>} creates a style named "body text," which formats the body text it is applied to as plain, 11 point, font number 1 (Helvetica, as defined in the FONTS statement, above), justified, and having a paragraph indent of .25 inches.

See the Typographic Arguments, later in this guide, for more information on the arguments you see inside the greater than and less than ( < > ) symbols.