Ctrl-P: Print History
Prints the last 100 lines of the command history to the default printer.
History lines will be saved as a .TXT file, and then printed using the default handler. Two environment variables are available to customize this action:
Variable Name | Default | Description |
---|---|---|
PrintHistoryMaxLines | 100 | The maximum number of lines to print. |
PrintHistoryFlags | 0 | Set to 1 to print line numbers. |
History lines are numbered starting with the oldest as #1. If there are more
than 100 history lines (or PrintHistoryMaxLines
) in memory, then the first
line printed will be greater than 1.
• Note: Exactly how your system prints a .TXT file depends on your file associations. To troubleshoot, you can create a text file on your desktop; then right-click on it and choose Print to see what the system does.
Ctrl-P is the default hotkey for this action, but you can change it with
EDITKEYS /K22:
key.