Variable: TeX-printer-list

TeX-printer-list is a customizable variable defined in tex.el.

Value

(("Default" "{ test -e %d && %(o?)dvips -f %r %s | lpr; } || lpr %o"
  "lpq"))

Documentation

List of available printers.

The first element of each entry is the printer name.

The second element is the command used to print to this printer. It defaults to the value of TeX-print-command when nil.

The third element is the command used to examine the print queue for this printer. It defaults to the value of TeX-queue-command similarly.

Any occurrence of %p in the second or third element is expanded to the printer name given in the first element, then ordinary expansion is performed as specified in TeX-expand-list(var)/TeX-expand-list(fun).

If this list is empty, only TeX-print-command and TeX-queue-command get consulted.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
;; Enter the names of the printers available at your site, or nil if
;; you only have one printer.

(defcustom TeX-printer-list
  '(("Default"
     ;; Print to the (unnamed) default printer.  If there is a DVI
     ;; file print via Dvips.  If not, pass the output file (which
     ;; should then be a Postscript or PDF file) directly to lpr.
     "{ test -e %d && %(o?)dvips -f %r %s | lpr; } || lpr %o"
     ;; Show the queue for the (unnamed) default printer.
     "lpq"))
  "List of available printers.

The first element of each entry is the printer name.

The second element is the command used to print to this
printer.  It defaults to the value of `TeX-print-command' when nil.

The third element is the command used to examine the print queue for
this printer.  It defaults to the value of `TeX-queue-command' similarly.

Any occurrence of `%p' in the second or third element is expanded to
the printer name given in the first element, then ordinary expansion
is performed as specified in `TeX-expand-list'.

If this list is empty, only `TeX-print-command' and `TeX-queue-command'
get consulted."
  :group 'TeX-command
  :type '(repeat (group (string :tag "Name")
                        (option (group :inline t
                                       :extra-offset -4
                                       (choice :tag "Print"
                                               (const :tag "default")
                                               (string :format "%v"))
                                       (option (choice :tag "Queue"
                                                       (const :tag "default")
                                                       (string
                                                        :format "%v"))))))))