print.topMargin parameter
Use the print.topMargin parameter to set or query the top margin that will be used by the print command. The top margin is calculated in pixels.
Availability
query command
set command
current parameter
default parameter
install parameter
Scope
print.topMargin is scoped to the current view.
current.print.topMargin is scoped to the current view.
default.print.topMargin is globally scoped.
install.print.topMargin is globally scoped.
Syntax
query print.topMargin set print.topMargin [ default | n ] query current.print.topMargin query default.print.topMargin set default.print.topMargin [ install | n ] query install.print.topMargin
Parameters
default If you specify the default parameter for the set print.topMargin command, the current view will use the value of default.print.topMargin for the print command. n If you specify the n parameter for the set print.topMargin command, the print command will use n as the top margin within the current view. If you specify the n parameter for the set default.print.topMargin command, the print command will use n as the top margin within all document views that have the print.topMargin set to default. install If you specify the install parameter for the set default.print.topMargin command, all views with print.topMargin set to default will use the value of install.print.topMargin to determine the top margin that should be used by the print command.
Description
If you do not specify any of the parameters for the set print.topMargin command, default is assumed.
If you do not specify any of the parameters for the set default.print.topMargin command, install is assumed.
The query current.print.topMargin command returns the top margin that will be used, within the current view, by the print command.
Examples
query print.topMargin set print.topMargin 20 query current.print.topMargin query default.print.topMargin set default.print.topMargin 15 query install.print.topMargin
print command
query command
set command
current parameter
default parameter
install parameter
print.bottomMargin parameter
print.font parameter
print.leftMargin parameter
print.lineNumbers parameter
print.rightMargin parameter
print.tokenized parameter
print action