aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2005-06-04 18:55:50 +0000
committerEli Zaretskii2005-06-04 18:55:50 +0000
commit66bb4d9a02bbf4c6c32b437f2aae0e138ee4f99b (patch)
treeb32bff1b9cdda3c31b21374647c2449912fc907e
parentc1d847015ea047e825b9283472da33e11762553e (diff)
downloademacs-66bb4d9a02bbf4c6c32b437f2aae0e138ee4f99b.tar.gz
emacs-66bb4d9a02bbf4c6c32b437f2aae0e138ee4f99b.zip
(Printing): Rename node from Hardcopy. Mention menu bar options.
Move PostScript and PostScript Variables to a submenu. (Printing package): New node.
-rw-r--r--man/misc.texi55
1 files changed, 45 insertions, 10 deletions
diff --git a/man/misc.texi b/man/misc.texi
index 68dd7356479..cf2fa5ff28d 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1214,7 +1214,7 @@ off directory tracking.
1214 1214
1215@end ignore 1215@end ignore
1216 1216
1217@node Emacs Server, Hardcopy, Shell, Top 1217@node Emacs Server, Printing, Shell, Top
1218@section Using Emacs as a Server 1218@section Using Emacs as a Server
1219@pindex emacsclient 1219@pindex emacsclient
1220@cindex Emacs as a server 1220@cindex Emacs as a server
@@ -1374,14 +1374,17 @@ code, using the option @samp{--eval}. When this option is given, the
1374rest of the arguments is not taken as a list of files to visit but as 1374rest of the arguments is not taken as a list of files to visit but as
1375a list of expressions to evaluate. 1375a list of expressions to evaluate.
1376 1376
1377@node Hardcopy, PostScript, Emacs Server, Top 1377@node Printing, Sorting, Emacs Server, Top
1378@section Hardcopy Output 1378@section Printing Hard Copies
1379@cindex hardcopy 1379@cindex hardcopy
1380@cindex printing
1380 1381
1381 The Emacs commands for making hardcopy let you print either an entire 1382 Emacs provides commands for printing hard copies of either an entire
1382buffer or just part of one, either with or without page headers. 1383buffer or just part of one, with or without page headers. You can
1383See also the hardcopy commands of Dired (@pxref{Misc File Ops}) 1384invoke the printing commands directly, as detailed in the following
1384and the diary (@pxref{Displaying the Diary}). 1385section, or using the @samp{File} menu on the menu bar. See also the
1386hardcopy commands of Dired (@pxref{Misc File Ops}) and the diary
1387(@pxref{Displaying the Diary}).
1385 1388
1386@table @kbd 1389@table @kbd
1387@item M-x print-buffer 1390@item M-x print-buffer
@@ -1428,7 +1431,13 @@ whether to supply @samp{-T} and @samp{-J} options (suitable for
1428@code{lpr-add-switches} should be @code{nil} if your printer program is 1431@code{lpr-add-switches} should be @code{nil} if your printer program is
1429not compatible with @code{lpr}. 1432not compatible with @code{lpr}.
1430 1433
1431@node PostScript, PostScript Variables, Hardcopy, Top 1434@menu
1435* PostScript:: Printing buffers or regions as PostScript.
1436* PostScript Variables:: Customizing the PostScript printing commands.
1437* Printing Package:: An optional advanced printing interface.
1438@end menu
1439
1440@node PostScript, PostScript Variables,, Printing
1432@section PostScript Hardcopy 1441@section PostScript Hardcopy
1433 1442
1434 These commands convert buffer contents to PostScript, 1443 These commands convert buffer contents to PostScript,
@@ -1492,7 +1501,7 @@ supports ISO 8859-1 characters.
1492 The following section describes variables for customizing these commands. 1501 The following section describes variables for customizing these commands.
1493@end ifinfo 1502@end ifinfo
1494 1503
1495@node PostScript Variables, Sorting, PostScript, Top 1504@node PostScript Variables, Printing Package, PostScript, Printing
1496@section Variables for PostScript Hardcopy 1505@section Variables for PostScript Hardcopy
1497 1506
1498@vindex ps-lpr-command 1507@vindex ps-lpr-command
@@ -1584,7 +1593,33 @@ includes a single directory @file{/usr/local/share/emacs/fonts/bdf}.
1584 Many other customization variables for these commands are defined and 1593 Many other customization variables for these commands are defined and
1585described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}. 1594described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}.
1586 1595
1587@node Sorting, Narrowing, PostScript Variables, Top 1596@node Printing Package,, PostScript Variables, Printing
1597@section Printing Package
1598@cindex Printing package
1599
1600 The basic Emacs facilities for printing hardcopy can be extended
1601using the Printing package. This provides an easy-to-use interface
1602for choosing what to print, previewing PostScript files before
1603printing, and setting various printing options such as print headers,
1604landscape or portrait modes, duplex modes, and so forth. On GNU/Linux
1605or Unix systems, the Printing package relies on the @file{gs} and
1606@file{gv} utilities, which are distributed as part of the GhostScript
1607program. On MS-Windows, the @file{gstools} port of Ghostscript can be
1608used.
1609
1610@findex pr-interface
1611 To use the Printing package, add @code{(require 'printing)} to your
1612init file (@pxref{Init File}). The usual printing options in the menu
1613bar will be replaced with a @samp{Printing} submenu, containing
1614various printing options. You can also type @kbd{M-x pr-interface
1615RET}; this creates a @samp{*Printing Interface*} buffer, similar to a
1616customization buffer , where you can set the printing options. After
1617selecting what and how to print, start the print job using the
1618@samp{Print} button (click @kbd{mouse-2} on it, or move point over it
1619and type @kbd{RET}). For further information on the various options,
1620use the @samp{Interface Help} button.
1621
1622@node Sorting, Narrowing, Printing, Top
1588@section Sorting Text 1623@section Sorting Text
1589@cindex sorting 1624@cindex sorting
1590 1625