The print.topMargin parameter may be used to query or set the top margin that will be used by the print command. The top margin is calculated in pixels.
query command
set command
current parameter
default parameter
install parameter
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.
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
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. |
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 will return the top margin that will be used, within the current view, by the print command.
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