Mercurial > emacs
comparison lisp/ps-print.el @ 13828:612d7bd4b5d1
(ps-spool-buffer-with-faces): Fix typo in previous chg.
(ps-spool-region-with-faces): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 23 Dec 1995 15:55:49 +0000 |
parents | 2042acfaf58b |
children | d7591ab6c259 |
comparison
equal
deleted
inserted
replaced
13827:3b50e2642bfd | 13828:612d7bd4b5d1 |
---|---|
633 ;;;###autoload | 633 ;;;###autoload |
634 (defun ps-spool-buffer-with-faces () | 634 (defun ps-spool-buffer-with-faces () |
635 "Generate and spool a PostScript image of the buffer. | 635 "Generate and spool a PostScript image of the buffer. |
636 Like `ps-spool-buffer', but includes font, color, and underline | 636 Like `ps-spool-buffer', but includes font, color, and underline |
637 information in the generated image. This command works only if you | 637 information in the generated image. This command works only if you |
638 are using a window system, so it has a way to determine color values." | 638 are using a window system, so it has a way to determine color values. |
639 | 639 |
640 Use the command `ps-despool' to send the spooled images to the printer." | 640 Use the command `ps-despool' to send the spooled images to the printer." |
641 | 641 |
642 (interactive) | 642 (interactive) |
643 (ps-generate (current-buffer) (point-min) (point-max) | 643 (ps-generate (current-buffer) (point-min) (point-max) |
658 ;;;###autoload | 658 ;;;###autoload |
659 (defun ps-spool-region-with-faces (from to) | 659 (defun ps-spool-region-with-faces (from to) |
660 "Generate a PostScript image of the region and spool locally. | 660 "Generate a PostScript image of the region and spool locally. |
661 Like `ps-spool-region', but includes font, color, and underline | 661 Like `ps-spool-region', but includes font, color, and underline |
662 information in the generated image. This command works only if you | 662 information in the generated image. This command works only if you |
663 are using a window system, so it has a way to determine color values." | 663 are using a window system, so it has a way to determine color values. |
664 | 664 |
665 Use the command `ps-despool' to send the spooled images to the printer." | 665 Use the command `ps-despool' to send the spooled images to the printer." |
666 (interactive "r") | 666 (interactive "r") |
667 (ps-generate (current-buffer) from to | 667 (ps-generate (current-buffer) from to |
668 'ps-generate-postscript-with-faces)) | 668 'ps-generate-postscript-with-faces)) |