Variable: ps-lpr-switches
ps-lpr-switches is a customizable variable defined in ps-print.el.gz.
Value
nil
Documentation
List of extra switches to pass to ps-lpr-command.
The list element can be:
string it should be an option for ps-lpr-command (which see).
For example: "-o Duplex=DuplexNoTumble"
symbol it can be a function or variable symbol. If it's a function
symbol, it should be a function with no argument. The result
of the function or the variable value should be a string or a
list of strings.
list the header should be a symbol function and the tail is the
arguments for this function. This function should return a
string or a list of strings.
Any other value is silently ignored.
It is recommended to set ps-printer-name (which see) instead of including an
explicit switch on this list.
See ps-lpr-command.
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-lpr-switches lpr-switches
"List of extra switches to pass to `ps-lpr-command'.
The list element can be:
string it should be an option for `ps-lpr-command' (which see).
For example: \"-o Duplex=DuplexNoTumble\"
symbol it can be a function or variable symbol. If it's a function
symbol, it should be a function with no argument. The result
of the function or the variable value should be a string or a
list of strings.
list the header should be a symbol function and the tail is the
arguments for this function. This function should return a
string or a list of strings.
Any other value is silently ignored.
It is recommended to set `ps-printer-name' (which see) instead of including an
explicit switch on this list.
See `ps-lpr-command'."
:type '(repeat :tag "PostScript lpr Switches"
(choice :menu-tag "PostScript lpr Switch"
:tag "PostScript lpr Switch"
string symbol (repeat sexp)))
:version "20"
:group 'ps-print-printer)