print.lineNumbers parameter
Use the print.lineNumbers parameter to set or query whether line numbers should be printed at the start of each line by the print command.
Availability
query command
set command
current parameter
default parameter
install parameter
Scope
print.lineNumbers is scoped to the current view.
current.print.lineNumbers is scoped to the current view.
default.print.lineNumbers is globally scoped.
install.print.lineNumbers is globally scoped.
Syntax
query print.lineNumbers set print.lineNumbers [ default | on | off ] query current.print.lineNumbers query default.print.lineNumbers set default.print.lineNumbers [ install | on | off ] query install.print.lineNumbers
Parameters
default If you specify the default parameter for the set print.lineNumbers command, the current view will use the value of default.print.lineNumbers to determine if line numbers should be printed by the print command. on If you specify the on parameter for the set print.lineNumbers command, the print command will print line numbers for the current view. If you specify the on parameter for the set default.print.lineNumbers command, the print command will print line numbers for all of document views that have print.lineNumbers set to default. off If you specify the off parameter for the set print.lineNumbers command, the print command not print line numbers for the current view. If you specify the off parameter for the set default.print.lineNumbers command, the print command will not print line numbers for all of document views that have print.lineNumbers set to default. install If you specify the install parameter for the set default.print.lineNumbers command, all of the views that have print.lineNumbers set to default will use the value of install.print.lineNumbers to determine if the print command should print line numbers or not.
Description
If you do not specify any of the parameters for the set print.lineNumbers command, default is assumed.
If you do not specify any of the parameters for the set default.print.lineNumbers command, install is assumed.
The query current.print.lineNumbers command returns on if, for the current view, the print command will print line numbers and off if, for the current view, the print command will not print line numbers.
Examples
query print.lineNumbers set print.lineNumbers off query current.print.lineNumbers query default.print.lineNumbers set default.print.lineNumbers on query install.print.lineNumbers
print command
query command
set command
current parameter
default parameter
install parameter
print.bottomMargin parameter
print.font parameter
print.leftMargin parameter
print.rightMargin parameter
print.tokenized parameter
print.topMargin parameter
print action