The basic Emacs facilities for printing hardcopy can be extended using the Printing package. This provides an easy-to-use interface for choosing what to print, previewing PostScript files before printing, and setting various printing options such as print headers, landscape or portrait modes, duplex modes, and so forth. On GNU/Linux or Unix systems, the Printing package relies on the gs and gv utilities, which are distributed as part of the GhostScript program. On MS-Windows, the gstools port of Ghostscript can be used.
To use the Printing package, add
(require 'printing) to your
init file (see Init File), followed by
This function replaces the usual printing commands in the menu bar
with a ‘Printing’ submenu that contains various printing options.
You can also type M-x pr-interface RET; this creates a
*Printing Interface* buffer, similar to a customization buffer,
where you can set the printing options. After selecting what and how
to print, you start the print job using the ‘Print’ button (click
Mouse-2 on it, or move point over it and type RET). For
further information on the various options, use the ‘Interface