Arbortext Command Language > Commands > print > editor Argument Options
  
editor Argument Options
Use the editor argument to print the document as it displays in the Edit view, Document Map, or Column view (whichever has focus). The output will reflect the current display font size and tag display settings.
The following options are valid when the editor argument is valid.
panel — Opens the Print Editor View dialog box for printing.
You can make the selections for printing using the dialog’s controls instead of argument options, if required.
all, screen, and selection — Control what portion of the document instance to print:
all (the default) — Prints the entire document.
screen — Prints the portion of the document that is currently in the Edit pane.
selection — Prints only the highlighted portion of the document.
portrait and landscape — Control the orientation of the output on the paper. If neither is specified, portrait is assumed.
header and footer — Specify what will print on the top and bottom of the page. The following options are associated with the header and footer arguments:
pageno (the default footer) — Prints the ordinal page number.
datemark (the default header) — Prints a datemark that identifies the document name, date, time, and user ID for the job.
none — Suppresses the printing of headers or footers.
'string' — Allows you to specify a string delimited by a pair of single quotes (') or double quotes (") to include in the header or footer.
leftmargin and topmargin — Allow you to specify in decimal numbers the indentation from the left or top edge of the paper, respectively, to the point at which the text area is to begin. If you do not specify the unit on the indentation, inches are assumed.
printer — Sends the document to a specific printer. If the name includes spaces or special characters, the name must be enclosed with quotes.
file — Writes a PostScript version of your document to the specified file.
color — Generates color PostScript (requires PostScript level II compatible printer) or monochrome for black and white. Color is the default.
copies — Specifies the number of copies to be printed.
Following are examples of the print editor command:
print editor all
print editor screen
print editor selection
print editor selection \
header='FORMAT ERROR' footer=datemark \
leftmargin=2
print editor screen header=none \
footer=pageno topmargin=2.5cm
print editor selection printer=lw \