On Wed, 11 Jan 2023 13:34:40 -0500
Terry Polzin <foxec208(a)gmail.com> wrote:
Does anyone have a reference for enscript header variables? URL to
documentation would be3 appreciated.
Thanks in advance,
The man page for enscript has a section “FANCY HEADERS” which seems to
have what you’re looking for:
Currently enscript support the following special comments:
%Format: name format
Define a new string constant name according to the format
string format. Format string start from the first non-space
character and it ends to the end of the line. Format string
can contain general `%' escapes and input file related `$'
escapes. Currently following escapes are supported:
%% character `%'
$$ character `$'
$% current page number
$= number of pages in the current file
$p number of pages processed so far
[and so on]
Jim