JezK
Edit File: Hardcopy.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by GNU Texinfo 6.8, https://www.gnu.org/software/texinfo/ --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- This manual is for GNU Texinfo (version 6.8, 8 June 2021), a documentation system that can produce both online information and a printed manual from a single source using semantic markup. Copyright (C) 1988, 1990-1993, 1995-1999, 2001-2021 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". --> <title>Hardcopy (GNU Texinfo 6.8)</title> <meta name="description" content="Hardcopy (GNU Texinfo 6.8)"> <meta name="keywords" content="Hardcopy (GNU Texinfo 6.8)"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2any"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link href="index.html" rel="start" title="Top"> <link href="Command-and-Variable-Index.html" rel="index" title="Command and Variable Index"> <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <link href="index.html" rel="up" title="Top"> <link href="Generic-Translator-texi2any.html" rel="next" title="Generic Translator texi2any"> <link href="Include-Files.html" rel="prev" title="Include Files"> <style type="text/css"> <!-- a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em} a.summary-letter {text-decoration: none} blockquote.indentedblock {margin-right: 0em} div.display {margin-left: 3.2em} div.example {margin-left: 3.2em} kbd {font-style: oblique} pre.display {font-family: inherit} pre.format {font-family: inherit} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} span.nolinebreak {white-space: nowrap} span.roman {font-family: initial; font-weight: normal} span.sansserif {font-family: sans-serif; font-weight: normal} span:hover a.copiable-anchor {visibility: visible} ul.no-bullet {list-style: none} --> </style> </head> <body lang="en"> <div class="chapter" id="Hardcopy"> <div class="header"> <p> Next: <a href="Generic-Translator-texi2any.html" accesskey="n" rel="next"><code>texi2any</code>: The Generic Translator for Texinfo</a>, Previous: <a href="Include-Files.html" accesskey="p" rel="prev">Include Files</a>, Up: <a href="index.html" accesskey="u" rel="up">Texinfo</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p> </div> <hr> <span id="Formatting-and-Printing-Hardcopy"></span><h2 class="chapter">18 Formatting and Printing Hardcopy</h2> <span id="index-Format-and-print-hardcopy"></span> <span id="index-Printing-hardcopy"></span> <span id="index-Hardcopy_002c-printing-it"></span> <span id="index-Making-a-printed-manual"></span> <span id="index-Sorting-indices"></span> <span id="index-Indices_002c-sorting"></span> <span id="index-TeX-index-sorting"></span> <p>Running the <code>texi2dvi</code> or <code>texi2pdf</code> command is the simplest way to create printable output. These commands are installed as part of the Texinfo package. </p> <p>In more detail, three major shell commands are used to print formatted output from a Texinfo manual: one converts the Texinfo source into something printable, a second sorts indices, and a third actually prints the formatted document. When you use the shell commands, you can either work directly in the operating system shell or work within a shell inside GNU Emacs (or some other computing environment). </p> <p>If you are using GNU Emacs, you can use commands provided by Texinfo mode instead of shell commands. In addition to the three commands to format a file, sort the indices, and print the result, Texinfo mode offers key bindings for commands to recenter the output buffer, show the print queue, and delete a job from the print queue. </p> <p>In the United States, documents are most often printed on 8.5 inch by 11 inch pages (216mm by 280mm); this is the default size. But you can also print for 7 inch by 9.25 inch pages (178mm by 235mm, the <code>@smallbook</code> size; or on A4 or A5 size paper (<code>@afourpaper</code>, <code>@afivepaper</code>). See <a href="_0040smallbook.html"><code>@smallbook</code>: Printing “Small” Books</a>, and <a href="A4-Paper.html">Printing on A4 Paper</a>. </p> <p>Details are in the following sections. </p> <ul class="section-toc"> <li><a href="Use-TeX.html" accesskey="1">Use TeX</a></li> <li><a href="Format-with-texi2dvi.html" accesskey="2">Format with <code>texi2dvi</code></a></li> <li><a href="Format-with-tex_002ftexindex.html" accesskey="3">Format with <code>tex</code>/<code>texindex</code></a></li> <li><a href="Print-with-lpr.html" accesskey="4">Print with <code>lpr</code> from Shell</a></li> <li><a href="Within-Emacs.html" accesskey="5">Printing From an Emacs Shell</a></li> <li><a href="Texinfo-Mode-Printing.html" accesskey="6">Formatting and Printing in Texinfo Mode</a></li> <li><a href="Compile_002dCommand.html" accesskey="7">Using the Local Variables List</a></li> <li><a href="Requirements-Summary.html" accesskey="8">TeX Formatting Requirements Summary</a></li> <li><a href="Preparing-for-TeX.html" accesskey="9">Preparing for TeX</a></li> <li><a href="Overfull-hboxes.html">Overfull “hboxes”</a></li> <li><a href="PDF-Output.html">PDF Output</a></li> </ul> </div> <hr> <div class="header"> <p> Next: <a href="Generic-Translator-texi2any.html"><code>texi2any</code>: The Generic Translator for Texinfo</a>, Previous: <a href="Include-Files.html">Include Files</a>, Up: <a href="index.html">Texinfo</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p> </div> </body> </html>