print.leftMargin parameter

Use the print.leftMargin parameter to set or query the left margin that is used by the print command.  The left margin is calculated in pixels.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

print.leftMargin is scoped to the current view.
current.print.leftMargin is scoped to the current view.
default.print.leftMargin is globally scoped.
install.print.leftMargin is globally scoped.

 

Syntax

query print.leftMargin
set print.leftMargin [ default | n ]
query current.print.leftMargin
query default.print.leftMargin
set default.print.leftMargin [ install | n ]
query install.print.leftMargin 

 

Parameters

default If you specify the default parameter for the set print.leftMargin command, the current view will use the value of default.print.leftMargin for the print command.
n If you specify the n parameter for the set print.leftMargin command, the print command will use n as the left margin within the current view.  If you specify the n parameter for the set default.print.leftMargin command, the print command will use n as the left margin for all document views that have the print.leftMargin set to default.
install If you specify the install parameter for the set default.print.leftMargin command, all views with print.leftMargin set to default will use the value of install.print.leftMargin to determine the size of left margin to be used by the print command.

 

Description

If you do not specify any of the parameters for the set print.leftMargin command, default is assumed.

If you do not specify any of the parameters for the set default.print.leftMargin command, install is assumed.

The query current.print.leftMargin command returns the left margin that will be used, within the current view, by the print command.

 

Examples

query print.leftMargin
set print.leftMargin 20
query current.print.leftMargin
query default.print.leftMargin
set default.print.leftMargin 15
query install.print.leftMargin 

Related reference
print command
query command
set command
current parameter
default parameter
install parameter
print.bottomMargin parameter
print.font parameter
print.lineNumbers parameter
print.rightMargin parameter
print.tokenized parameter
print.topMargin parameter
print action