Variable: ps-selected-pages
ps-selected-pages is a customizable variable defined in
ps-print.el.gz.
Value
nil
Documentation
Specify which pages to print.
If nil, print all pages.
If a list, the lists element may be an integer or a cons cell (FROM . TO) designating FROM page to TO page; any invalid element is ignored, that is, an integer lesser than one or if FROM is greater than TO.
Otherwise, it's treated as nil.
After ps-print processing ps-selected-pages(var)/ps-selected-pages(fun) is set to nil. But the
latest ps-selected-pages(var)/ps-selected-pages(fun) is saved in ps-last-selected-pages (which
see). So you can restore the latest selected pages by using
ps-last-selected-pages or with the ps-restore-selected-pages
command (which see).
See also ps-even-or-odd-pages.
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-selected-pages nil
"Specify which pages to print.
If nil, print all pages.
If a list, the lists element may be an integer or a cons cell (FROM . TO)
designating FROM page to TO page; any invalid element is ignored, that is, an
integer lesser than one or if FROM is greater than TO.
Otherwise, it's treated as nil.
After ps-print processing `ps-selected-pages' is set to nil. But the
latest `ps-selected-pages' is saved in `ps-last-selected-pages' (which
see). So you can restore the latest selected pages by using
`ps-last-selected-pages' or with the `ps-restore-selected-pages'
command (which see).
See also `ps-even-or-odd-pages'."
:type '(repeat :tag "Selected Pages"
(radio :tag "Page"
(integer :tag "Number")
(cons :tag "Range"
(integer :tag "From")
(integer :tag "To"))))
:version "20"
:group 'ps-print-page)