pr-txt-printer-alist

pr-txt-printer-alist is a variable defined in `printing.el'.
Its value is
((default "lpr" nil nil))


Documentation:
Specify an alist of all text printers (text printer database).

The alist element has the form:

(SYMBOL COMMAND SWITCHES NAME)

Where:

SYMBOL It's a symbol to identify a text printer. It's for
setting option `pr-txt-name' and for menu selection.
Examples:
'prt_06a
'my_printer

COMMAND Name of the program for printing a text file. On MS-DOS and
MS-Windows systems, if the value is an empty string, then Emacs
will write directly to the printer port given by NAME (see text
below), that is, the NAME should be something like "PRN" or
"LPT1:".
If NAME is something like "\\\\host\\share-name" then
COMMAND shouldn't be an empty string.
The programs `print' and `nprint' (the standard print programs
on Windows NT and Novell Netware respectively) are handled
specially, using NAME as the destination for output; any other
program is treated like `lpr' except that an explicit filename
is given as the last argument.
If COMMAND is nil, it's used the default printing program:
`print' for Windows system, `lp' for lp system and `lpr' for
all other systems. See also `pr-path-alist'.
Examples:
"print"
"lpr"
"lp"

SWITCHES List of sexp's to pass as extra options for text printer
program. It is recommended to set NAME (see text below)
instead of including an explicit switch on this list.
Example:
. for lpr
'("-#3" "-l")
nil

NAME A string that specifies a text printer name.
On Unix-like systems, a string value should be a name
understood by lpr's -P option (or lp's -d option).
On MS-DOS and MS-Windows systems, it is the name of a printer
device or port. Typical non-default settings would be "LPT1:"
to "LPT3:" for parallel printers, or "COM1" to "COM4" or
"AUX" for serial printers, or "\\\\hostname\\printer"
(or "/D:\\\\hostname\\printer") for a shared network
printer. You can also set it to a name of a file, in which
case the output gets appended to that file. If you want to
discard the printed output, set this to "NUL".
Examples:
. for print.exe
"/D:\\\\host\\share-name"
"LPT1:"
"PRN"

. for lpr or lp
"share-name"

This variable should be modified by customization engine. If this variable is
modified by other means (for example, a lisp function), use `pr-update-menus'
function (see it for documentation) to update text printer menu.

Examples:

* On GNU or Unix system:

'((prt_06a "lpr" nil "prt_06a")
(prt_07c nil nil "prt_07c")
)

* On Windows system:

'((prt_06a "print" nil "/D:\\\\printers\\prt_06a")
(prt_07c nil nil "/D:\\\\printers\\prt_07c")
(PRN "" nil "PRN")
(standard "redpr.exe" nil "")
)

Useful links:

* Information about the print command (print.exe)
`http://www.computerhope.com/printhlp.htm'

* RedMon - Redirection Port Monitor (redpr.exe)
`http://www.cs.wisc.edu/~ghost/redmon/index.htm'

* Redirection Port Monitor (redpr.exe on-line help)
`http://www.cs.wisc.edu/~ghost/redmon/en/redmon.htm'

* UNIX man pages: lpr (or type `man lpr')
`http://bama.ua.edu/cgi-bin/man-cgi?lpr'
`http://www.mediacollege.com/cgi-bin/man/page.cgi?section=all&topic=lpr'

* UNIX man pages: lp (or type `man lp')
`http://bama.ua.edu/cgi-bin/man-cgi?lp'
`http://www.mediacollege.com/cgi-bin/man/page.cgi?section=all&topic=lp'


You can customize this variable.