print.footer parameter
Use the print.footer parameter to set or query the text to be printed as a footer line on each page.
Availability
query command
set command
current parameter
default parameter
install parameter
Scope
print.footer is scoped to the current view.
current.print.footer is scoped to the current view.
default.print.footer is globally scoped.
install.print.footer is globally scoped.
Syntax
query print.footer set print.footer [ default | none | text ] query current.print.footer query default.print.footer set default.print.footer [ install | none | text ] query install.print.footer
Parameters
default If you specify the default parameter for the set print.footer command, the current view will use the value of default.print.footer for the print command. none If you specify the none parameter for the set print.footer command, the current view will use no footer for the print command. If you specify the none parameter for the set default.print.footer command, all views that have the print.footer parameter set to default will use no footer for the print command. text If you specify the text parameter for the set print.footer command, the current view will use text as the footer for the print command. If you specify the text parameter for the set default.print.footer command, all views that have the print.footer parameter set to default will use text as the footer for the print command. The text parameter can contain substitution variables as follows:
%p page number %n source name, base file name, or document name %f full-path file name or document name %d date %t time. install If you specify the install parameter for the set default.print.footer command, all the documents that have print.footer set to default will use the value of install.print.footer as the footer for the print command.
Description
If you do not specify any of the parameters for the set print.footer command, default is assumed. If you do not specify any of the parameters for the set default.print.footer command, install is assumed.
The query current.print.footer command returns the text that will be used as a footer by the print command within the current view.
Examples
query print.footer set print.footer none query current.print.footer query default.print.footer set default.print.footer "p.%p file %n (printed on %d %t)" query install.print.footer
query command
set command
current parameter
default parameter
install parameter
print.header parameter
sourceName parameter
print command