ps-even-or-odd-pages

ps-even-or-odd-pages is a variable defined in `ps-print.el'.
Its value is
nil


Documentation:
Specify if it prints even/odd pages.

Valid values are:

nil print all pages.

`even-page' print only even pages.

`odd-page' print only odd pages.

`even-sheet' print only even sheets.
That is, if `ps-n-up-printing' is 1, it behaves as `even-page';
but for values greater than 1, it'll print only the even sheet
of paper.

`odd-sheet' print only odd sheets.
That is, if `ps-n-up-printing' is 1, it behaves as `odd-page';
but for values greater than 1, it'll print only the odd sheet
of paper.

Any other value is treated as nil.

If you set option `ps-selected-pages', first the pages are
filtered by option `ps-selected-pages' and then by `ps-even-or-odd-pages'.
For example, if we have:

(setq ps-selected-pages '(1 4 (6 . 10) (12 . 16) 20))

Combining with `ps-even-or-odd-pages' and option `ps-n-up-printing', we have:

`ps-n-up-printing' = 1:
`ps-even-or-odd-pages' PAGES PRINTED
nil 1, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 20
even-page 4, 6, 8, 10, 12, 14, 16, 20
odd-page 1, 7, 9, 13, 15
even-sheet 4, 6, 8, 10, 12, 14, 16, 20
odd-sheet 1, 7, 9, 13, 15

`ps-n-up-printing' = 2:
`ps-even-or-odd-pages' PAGES PRINTED
nil 1/4, 6/7, 8/9, 10/12, 13/14, 15/16, 20
even-page 4/6, 8/10, 12/14, 16/20
odd-page 1/7, 9/13, 15
even-sheet 6/7, 10/12, 15/16
odd-sheet 1/4, 8/9, 13/14, 20

So even-page/odd-page are about page parity and even-sheet/odd-sheet are about
sheet parity.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 20 of Emacs.