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