diff options
| author | Vinicius Jose Latorre | 2008-12-14 12:14:30 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2008-12-14 12:14:30 +0000 |
| commit | 2f298da2f235d8bfb8ba1ecfaf3bfbc878c93b2a (patch) | |
| tree | 84b7d720f55ebeec795f89f1aaaa2d052237b225 | |
| parent | c5725ced41d2a7610825c6c605ecdf1c6814e9ea (diff) | |
| download | emacs-2f298da2f235d8bfb8ba1ecfaf3bfbc878c93b2a.tar.gz emacs-2f298da2f235d8bfb8ba1ecfaf3bfbc878c93b2a.zip | |
PostScript Variables: fix doc.
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 43 |
2 files changed, 40 insertions, 7 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 1ab00228952..57ea99cef21 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-12-14 vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 2 | |||
| 3 | * misc.texi (PostScript Variables): Fix doc. | ||
| 4 | |||
| 1 | 2008-12-10 Chong Yidong <cyd@stupidchicken.com> | 5 | 2008-12-10 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * programs.texi (Program Modes): Mention Ruby mode. | 7 | * programs.texi (Program Modes): Mention Ruby mode. |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 4b2ee402073..18c7ecfb6f3 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -1760,15 +1760,17 @@ faces used in the text by means of PostScript features. | |||
| 1760 | Print hardcopy of the current region in PostScript form, showing the | 1760 | Print hardcopy of the current region in PostScript form, showing the |
| 1761 | faces used in the text. | 1761 | faces used in the text. |
| 1762 | @item M-x ps-spool-buffer | 1762 | @item M-x ps-spool-buffer |
| 1763 | Generate PostScript for the current buffer text. | 1763 | Generate and spool a PostScript image for the current buffer text. |
| 1764 | @item M-x ps-spool-region | 1764 | @item M-x ps-spool-region |
| 1765 | Generate PostScript for the current region. | 1765 | Generate and spool a PostScript image for the current region. |
| 1766 | @item M-x ps-spool-buffer-with-faces | 1766 | @item M-x ps-spool-buffer-with-faces |
| 1767 | Generate PostScript for the current buffer, showing the faces used. | 1767 | Generate and spool a PostScript image for the current buffer, showing the faces used. |
| 1768 | @item M-x ps-spool-region-with-faces | 1768 | @item M-x ps-spool-region-with-faces |
| 1769 | Generate PostScript for the current region, showing the faces used. | 1769 | Generate and spool a PostScript image for the current region, showing the faces used. |
| 1770 | @item M-x ps-despool | ||
| 1771 | Send the spooled PostScript to the printer. | ||
| 1770 | @item M-x handwrite | 1772 | @item M-x handwrite |
| 1771 | Generates/prints PostScript for the current buffer as if handwritten. | 1773 | Generate/print PostScript for the current buffer as if handwritten. |
| 1772 | @end table | 1774 | @end table |
| 1773 | 1775 | ||
| 1774 | @findex ps-print-region | 1776 | @findex ps-print-region |
| @@ -1781,7 +1783,17 @@ command prints the entire buffer; the other, just the region. The | |||
| 1781 | corresponding @samp{-with-faces} commands, | 1783 | corresponding @samp{-with-faces} commands, |
| 1782 | @code{ps-print-buffer-with-faces} and @code{ps-print-region-with-faces}, | 1784 | @code{ps-print-buffer-with-faces} and @code{ps-print-region-with-faces}, |
| 1783 | use PostScript features to show the faces (fonts and colors) in the text | 1785 | use PostScript features to show the faces (fonts and colors) in the text |
| 1784 | properties of the text being printed. | 1786 | properties of the text being printed. The @samp{-with-faces} commands only |
| 1787 | work if they are used in a window system, so it has a way to determine color | ||
| 1788 | values. | ||
| 1789 | |||
| 1790 | Interactively, when you use a prefix argument (@kbd{C-u}), the command | ||
| 1791 | prompts the user for a file name, and saves the PostScript image in that file | ||
| 1792 | instead of sending it to the printer. | ||
| 1793 | |||
| 1794 | Noninteractively, the argument @var{filename} is treated as follows: if it is | ||
| 1795 | @code{nil}, send the image to the printer. If @var{filename} is a string, save | ||
| 1796 | the PostScript image in a file with that name. | ||
| 1785 | 1797 | ||
| 1786 | If you are using a color display, you can print a buffer of program | 1798 | If you are using a color display, you can print a buffer of program |
| 1787 | code with color highlighting by turning on Font-Lock mode in that | 1799 | code with color highlighting by turning on Font-Lock mode in that |
| @@ -1791,10 +1803,24 @@ buffer, and using @code{ps-print-buffer-with-faces}. | |||
| 1791 | @findex ps-spool-buffer | 1803 | @findex ps-spool-buffer |
| 1792 | @findex ps-spool-region-with-faces | 1804 | @findex ps-spool-region-with-faces |
| 1793 | @findex ps-spool-buffer-with-faces | 1805 | @findex ps-spool-buffer-with-faces |
| 1794 | The commands whose names have @samp{spool} instead of @samp{print} | 1806 | The commands whose names have @samp{spool} instead of @samp{print}, |
| 1795 | generate the PostScript output in an Emacs buffer instead of sending | 1807 | generate the PostScript output in an Emacs buffer instead of sending |
| 1796 | it to the printer. | 1808 | it to the printer. |
| 1797 | 1809 | ||
| 1810 | Use the command @code{ps-despool} to send the spooled images to the printer. | ||
| 1811 | |||
| 1812 | @findex ps-despool | ||
| 1813 | This command sends the PostScript generated by @samp{-spool-} commands (see | ||
| 1814 | commands above) to the printer. | ||
| 1815 | |||
| 1816 | Interactively, when you use a prefix argument (@kbd{C-u}), the command | ||
| 1817 | prompts the user for a file name, and saves the spooled PostScript image in | ||
| 1818 | that file instead of sending it to the printer. | ||
| 1819 | |||
| 1820 | Noninteractively, the argument @var{filename} is treated as follows: if it is | ||
| 1821 | @code{nil}, send the image to the printer. If @var{filename} is a string, save | ||
| 1822 | the PostScript image in a file with that name. | ||
| 1823 | |||
| 1798 | @findex handwrite | 1824 | @findex handwrite |
| 1799 | @cindex handwriting | 1825 | @cindex handwriting |
| 1800 | @kbd{M-x handwrite} is more frivolous. It generates a PostScript | 1826 | @kbd{M-x handwrite} is more frivolous. It generates a PostScript |
| @@ -1835,6 +1861,9 @@ with color information; on black-and-white printers, colors are emulated | |||
| 1835 | with shades of gray. This might produce illegible output, even if your | 1861 | with shades of gray. This might produce illegible output, even if your |
| 1836 | screen colors only use shades of gray. | 1862 | screen colors only use shades of gray. |
| 1837 | 1863 | ||
| 1864 | Alternatively, you can set @code{ps-print-color-p} to @code{black-white} to | ||
| 1865 | print colors on black/white printers. | ||
| 1866 | |||
| 1838 | @vindex ps-use-face-background | 1867 | @vindex ps-use-face-background |
| 1839 | By default, PostScript printing ignores the background colors of the | 1868 | By default, PostScript printing ignores the background colors of the |
| 1840 | faces, unless the variable @code{ps-use-face-background} is | 1869 | faces, unless the variable @code{ps-use-face-background} is |