The print.font parameter may be used to query or set the font that will be used by the print command.
query command
set command
current parameter
default parameter
install parameter
print.font is scoped to the current view.
current.print.font is scoped to the current view.
default.print.font is globally scoped.
install.print.font is globally scoped.
query print.font set print.font [ screen | default | "fontName" ] query current.print.font query default.print.font set default.print.font [ screen | install | "fontName" ] query install.print.font
screen | If you specify the screen parameter for the set print.font command, the current view will use the value of current.font as the font for the print command. If you specify the screen parameter for the set default.print.font command, within all document views that have print.font set to default, the print command will use the value of current.font as the font for the print command. |
default | If you specify the default parameter for the set print.font command, the current view will use the value of default.print.font as the font for the print command. |
fontName | If you specify the fontName parameter for the set
print.font command, within the current view, the print command
will use the font indicated by fontName. If you specify the fontName
parameter for the set default.print.font command, within all
document views that have the print.font set to default, the print
command will use the font indicated by fontName. The fontName
parameter should be in one of the following forms:
where style is one of bold, bolditalic, or italic and height is a decimal representation of the font height. |
install | If you specify the install parameter for the set default.print.font command, all of the views that have print.font set to default will use the value of install.print.font to determine if the font that should be used by the print command. |
If you do not specify any of the parameters for the set print.font command, default is assumed.
If you do not specify any of the parameters for the set default.print.font command, install is assumed.
The query current.print.font command will return the font that will be used, within the current view, by the print command.
query print.font set print.font screen query current.print.font query default.print.font set default.print.font "Courier New-8" query install.print.font
print command
query command
set command
current parameter
default parameter
font parameter
install parameter
print.bottomMargin parameter
print.leftMargin parameter
print.lineNumbers parameter
print.rightMargin parameter
print.tokenized parameter
print.topMargin parameter
print action