DN command description
Description: This command creates a new document.
Syntax: [ DN =
"DocName"
;
Width
;
Height
;
Col
;
Gutter
;
LeftMargin
;
RightMargin
;
TopMargin
;
BottomMargin
;
NumPages
;
DoubleSided
;
AutoLead
;
LeadPercent
;
Language
;
AutoKern
;
PagesPerSpread
]
"DocName"
String
|
•
|
Document name (30 characters max). Characters '\' and ':' are prohibited. |
| |
|
|
Width
Picas/Points
|
•
|
Document width |
| |
|
|
Height
Picas/Points
|
|
Document Height |
| |
|
|
Col
Integer
|
|
Columns number |
| |
|
|
Gutter
Picas/Points
|
|
Width of gutters. |
| |
|
|
LeftMargin
Picas/Points
|
|
Left Margin |
| |
|
|
RightMargin
Picas/Points
|
|
Right Margin |
| |
|
|
TopMargin
Picas/Points
|
|
Top Margin |
| |
|
|
BottomMargin
Picas/Points
|
|
Bottom Margin |
| |
|
|
NumPages
Integer
|
|
Number of pages to create |
| |
|
|
DoubleSided
Boolean
|
|
TRUE->Double sided pages
FALSE->Single sided pages |
| |
|
|
AutoLead
Boolean
|
|
TRUE->Use auto leading
FALSE->Use fixed leading |
| |
|
|
LeadPercent
Percent
|
|
% of point size used for computing autoLeading. |
| |
|
|
Language
Integer
|
|
Language used in the document.
0=French, 1=English, 2=German
|
| |
|
|
AutoKern
Boolean
|
|
TRUE->Enable auto kern
FALSE->Disable auto kern. |
| |
|
|
PagesPerSpread
Integer
|
|
Number of pages per spread. Skipped if Recto is set to TRUE, because in this case, the number of pages per spread must be 2. If Recto is set to FALSE, default value is 1. |
| |
|
|
Note: This command is commonly used at the very beginning of the commande file.
Example: [dn="My Document"; m21,00 ; m29,00]
See also:
The • sign indicates a mandatory parameter
©1993-2008 Trias.
All rights reserved.

|