<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Texinfo (version 6.7, 23 September 2019),
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.
Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2001, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 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". -->
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Hardcopy (GNU Texinfo 6.7)</title>
<meta name="description" content="Hardcopy (GNU Texinfo 6.7)">
<meta name="keywords" content="Hardcopy (GNU Texinfo 6.7)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
<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="Use-TeX.html" rel="next" title="Use TeX">
<link href="Include-Files-Evolution.html" rel="prev" title="Include Files Evolution">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {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}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<span id="Hardcopy"></span><div class="header">
<p>
Next: <a href="Generic-Translator-texi2any.html" accesskey="n" rel="next">Generic Translator <code>texi2any</code></a>, Previous: <a href="Include-Files.html" accesskey="p" rel="prev">Include Files</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</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">19 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>Details are in the following sections.
</p>
<table class="menu" border="0" cellspacing="0">
<tr><td align="left" valign="top">• <a href="Use-TeX.html" accesskey="1">Use TeX</a></td><td> </td><td align="left" valign="top">Use TeX to format for hardcopy.
</td></tr>
<tr><td align="left" valign="top">• <a href="Format-with-texi2dvi.html" accesskey="2">Format with <code>texi2dvi</code></a></td><td> </td><td align="left" valign="top">The simplest way to format.
</td></tr>
<tr><td align="left" valign="top">• <a href="Format-with-tex_002ftexindex.html" accesskey="3">Format with <code>tex</code>/<code>texindex</code></a></td><td> </td><td align="left" valign="top">Formatting with explicit shell commands.
</td></tr>
<tr><td align="left" valign="top">• <a href="Print-with-lpr.html" accesskey="4">Print with <code>lpr</code></a></td><td> </td><td align="left" valign="top">How to print.
</td></tr>
<tr><td align="left" valign="top">• <a href="Within-Emacs.html" accesskey="5">Within Emacs</a></td><td> </td><td align="left" valign="top">How to format and print from an Emacs shell.
</td></tr>
<tr><td align="left" valign="top">• <a href="Texinfo-Mode-Printing.html" accesskey="6">Texinfo Mode Printing</a></td><td> </td><td align="left" valign="top">How to format and print in Texinfo mode.
</td></tr>
<tr><td align="left" valign="top">• <a href="Compile_002dCommand.html" accesskey="7">Compile-Command</a></td><td> </td><td align="left" valign="top">How to print using Emacs’s compile command.
</td></tr>
<tr><td align="left" valign="top">• <a href="Requirements-Summary.html" accesskey="8">Requirements Summary</a></td><td> </td><td align="left" valign="top">TeX formatting requirements summary.
</td></tr>
<tr><td align="left" valign="top">• <a href="Preparing-for-TeX.html" accesskey="9">Preparing for TeX</a></td><td> </td><td align="left" valign="top">What to do before you use TeX.
</td></tr>
<tr><td align="left" valign="top">• <a href="Overfull-hboxes.html">Overfull hboxes</a></td><td> </td><td align="left" valign="top">What are and what to do with overfull hboxes.
</td></tr>
<tr><td align="left" valign="top">• <a href="_0040smallbook.html"><code>@smallbook</code></a></td><td> </td><td align="left" valign="top">How to print small format books and manuals.
</td></tr>
<tr><td align="left" valign="top">• <a href="A4-Paper.html">A4 Paper</a></td><td> </td><td align="left" valign="top">How to print on A4 or A5 paper.
</td></tr>
<tr><td align="left" valign="top">• <a href="_0040pagesizes.html"><code>@pagesizes</code></a></td><td> </td><td align="left" valign="top">How to print with customized page sizes.
</td></tr>
<tr><td align="left" valign="top">• <a href="Magnification.html">Magnification</a></td><td> </td><td align="left" valign="top">How to print scaled up output.
</td></tr>
<tr><td align="left" valign="top">• <a href="PDF-Output.html">PDF Output</a></td><td> </td><td align="left" valign="top">Portable Document Format output.
</td></tr>
<tr><td align="left" valign="top">• <a href="Obtaining-TeX.html">Obtaining TeX</a></td><td> </td><td align="left" valign="top">How to obtain TeX.
</td></tr>
</table>
<hr>
<div class="header">
<p>
Next: <a href="Generic-Translator-texi2any.html" accesskey="n" rel="next">Generic Translator <code>texi2any</code></a>, Previous: <a href="Include-Files.html" accesskey="p" rel="prev">Include Files</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</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>