aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2008-12-14 12:14:30 +0000
committerVinicius Jose Latorre2008-12-14 12:14:30 +0000
commit2f298da2f235d8bfb8ba1ecfaf3bfbc878c93b2a (patch)
tree84b7d720f55ebeec795f89f1aaaa2d052237b225
parentc5725ced41d2a7610825c6c605ecdf1c6814e9ea (diff)
downloademacs-2f298da2f235d8bfb8ba1ecfaf3bfbc878c93b2a.tar.gz
emacs-2f298da2f235d8bfb8ba1ecfaf3bfbc878c93b2a.zip
PostScript Variables: fix doc.
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/misc.texi43
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 @@
12008-12-14 vinicius Jose Latorre <viniciusjl@ig.com.br>
2
3 * misc.texi (PostScript Variables): Fix doc.
4
12008-12-10 Chong Yidong <cyd@stupidchicken.com> 52008-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.
1760Print hardcopy of the current region in PostScript form, showing the 1760Print hardcopy of the current region in PostScript form, showing the
1761faces used in the text. 1761faces used in the text.
1762@item M-x ps-spool-buffer 1762@item M-x ps-spool-buffer
1763Generate PostScript for the current buffer text. 1763Generate and spool a PostScript image for the current buffer text.
1764@item M-x ps-spool-region 1764@item M-x ps-spool-region
1765Generate PostScript for the current region. 1765Generate 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
1767Generate PostScript for the current buffer, showing the faces used. 1767Generate 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
1769Generate PostScript for the current region, showing the faces used. 1769Generate and spool a PostScript image for the current region, showing the faces used.
1770@item M-x ps-despool
1771Send the spooled PostScript to the printer.
1770@item M-x handwrite 1772@item M-x handwrite
1771Generates/prints PostScript for the current buffer as if handwritten. 1773Generate/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
1781corresponding @samp{-with-faces} commands, 1783corresponding @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},
1783use PostScript features to show the faces (fonts and colors) in the text 1785use PostScript features to show the faces (fonts and colors) in the text
1784properties of the text being printed. 1786properties of the text being printed. The @samp{-with-faces} commands only
1787work if they are used in a window system, so it has a way to determine color
1788values.
1789
1790 Interactively, when you use a prefix argument (@kbd{C-u}), the command
1791prompts the user for a file name, and saves the PostScript image in that file
1792instead 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
1796the 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
1787code with color highlighting by turning on Font-Lock mode in that 1799code 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},
1795generate the PostScript output in an Emacs buffer instead of sending 1807generate the PostScript output in an Emacs buffer instead of sending
1796it to the printer. 1808it 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
1814commands above) to the printer.
1815
1816 Interactively, when you use a prefix argument (@kbd{C-u}), the command
1817prompts the user for a file name, and saves the spooled PostScript image in
1818that 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
1822the 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
1835with shades of gray. This might produce illegible output, even if your 1861with shades of gray. This might produce illegible output, even if your
1836screen colors only use shades of gray. 1862screen colors only use shades of gray.
1837 1863
1864 Alternatively, you can set @code{ps-print-color-p} to @code{black-white} to
1865print 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
1840faces, unless the variable @code{ps-use-face-background} is 1869faces, unless the variable @code{ps-use-face-background} is