Variable: ps-line-number-step
ps-line-number-step is a customizable variable defined in
ps-print.el.gz.
Value
1
Documentation
Specify the interval that line number is printed.
For example, ps-line-number-step is set to 2, the printing will look like:
1 one line
one line
3 one line
one line
5 one line
one line
...
Valid values are:
integer an integer that specifies the interval that line number is
printed. If it's lesser than or equal to zero, it's used the
value 1.
zebra specifies that only the line number of the first line in a
zebra stripe is to be printed.
Any other value is treated as zebra.
This variable was added, or its default value changed, in Emacs 20.
Probably introduced at or before Emacs version 20.1.
Source Code
;; Defined in /usr/src/emacs/lisp/ps-print.el.gz
(defcustom ps-line-number-step 1
"Specify the interval that line number is printed.
For example, `ps-line-number-step' is set to 2, the printing will look like:
1 one line
one line
3 one line
one line
5 one line
one line
...
Valid values are:
integer an integer that specifies the interval that line number is
printed. If it's lesser than or equal to zero, it's used the
value 1.
`zebra' specifies that only the line number of the first line in a
zebra stripe is to be printed.
Any other value is treated as `zebra'."
:type '(choice :menu-tag "Line Number Step"
:tag "Line Number Step"
(integer :tag "Step Interval")
(const :tag "Synchronize Zebra" zebra))
:version "20"
:group 'ps-print-miscellany)