Download GNU Emacs Manual
Transcript
Chapter 31: Miscellaneous Commands 670 The variable lpr-headers-switches similarly specifies the extra switches to use to make page headers. The variable lpr-add-switches controls whether to supply ‘-T’ and ‘-J’ options (suitable for lpr) to the printer program: nil means don’t add them (this should be the value if your printer program is not compatible with lpr). 31.5.1 PostScript Hardcopy These commands convert buffer contents to PostScript, either printing it or leaving it in another Emacs buffer. M-x ps-print-buffer Print hardcopy of the current buffer in PostScript form. M-x ps-print-region Print hardcopy of the current region in PostScript form. M-x ps-print-buffer-with-faces Print hardcopy of the current buffer in PostScript form, showing the faces used in the text by means of PostScript features. M-x ps-print-region-with-faces Print hardcopy of the current region in PostScript form, showing the faces used in the text. M-x ps-spool-buffer Generate and spool a PostScript image for the current buffer text. M-x ps-spool-region Generate and spool a PostScript image for the current region. M-x ps-spool-buffer-with-faces Generate and spool a PostScript image for the current buffer, showing the faces used. M-x ps-spool-region-with-faces Generate and spool a PostScript image for the current region, showing the faces used. M-x ps-despool Send the spooled PostScript to the printer. M-x handwrite Generate/print PostScript for the current buffer as if handwritten. The ps-print-buffer and ps-print-region commands print buffer contents in PostScript form. One command prints the entire buffer; the other, just the region. The commands ps-print-buffer-with-faces and ps-print-region-with-faces behave similarly, but use PostScript features to show the faces (fonts and colors) of the buffer text. Interactively, when you use a prefix argument (C-u), the command prompts the user for a file name, and saves the PostScript image in that file instead of sending it to the printer. The commands whose names have ‘spool’ instead of ‘print’, generate the PostScript output in an Emacs buffer instead of sending it to the printer. Use the command ps-despool to send the spooled images to the printer. This command sends the PostScript generated by ‘-spool-’ commands (see commands above) to
Related documents
GLADE User's Guide
HP OpenVMS Command Definition, Librarian, and Message Utilities
GNU Emacs Manual - Mr. Gober`s Website
GNU Emacs Manual - Programming Systems Lab
Emacs Predictive Completion Manual
GNU Emacs Manual
Magit User Manual
GNU Emacs Manual - Journal of the Australian Mathematical
GNU Emacs Manual
Installing and Starting Emacs
Geiser User Manual - download.savannah.gnu.org
Section - Eli - University of Colorado Boulder