Go to the first, previous, next, last section, table of contents.

20. Printing

20.1. Font-lock looks nice. How can I print (WYSIWYG) the highlighted document?

The package ps-print.el, which is now included with XEmacs, provides the ability to do this. It contains complete instructions on its use:

<xemacs_src_root>/lisp/packages/ps-print.el

20.2. My printer is a Postscript printer and lpr only works for Postscript files, so how do I get M-x lpr-region and M-x lpr-buffer to work?

(setq lpr-command "Command to print text files")

Please don't forget to replace Command to print text files with the actual command (`enscript', `nenscript', etc.)!


Go to the first, previous, next, last section, table of contents.