DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(texinfo) Print with lpr

Info Catalog (texinfo) Format with texi2dvi (texinfo) Hardcopy (texinfo) Within Emacs
 
 Shell Print Using `lpr -d'
 ==========================
 
   The precise command to print a DVI file depends on your system
 installation, but `lpr -d' is common.  The command may require the DVI
 file name without any extension or with a `.dvi' extension.  (If it is
 `lpr', you must include the `.dvi'.)
 
   For example, the following commands, will (perhaps) suffice to sort
 the indices, format, and print the `Bison Manual':
 
      tex bison.texinfo
      texindex bison.??
      tex bison.texinfo
      lpr -d bison.dvi
 
 (Remember that the shell commands may be different at your site; but
 these are commonly used versions.)
 
   Using the `texi2dvi' shell script, you simply need type:
 
      texi2dvi bison.texinfo
      lpr -d bison.dvi
 
   `lpr' is a standard program on Unix systems, but it is usually absent
 on MS-DOS/MS-Windows.  Some network packages come with a program named
 `lpr', but these are usually limited to sending files to a print server
 over the network, and generally don't support the `-d' option.  If you
 are unfortunate enough to work on one of these systems, you have
 several alternative ways of printing DVI files:
 
    * Find and install a Unix-like `lpr' program, or its clone.  If you
      can do that, you will be able to print DVI files just like
      described above.
 
    * Send the DVI files to a network printer queue for DVI files.  Some
      network printers have special queues for printing DVI files.  You
      should be able to set up your network software to send files to
      that queue.  In some cases, the version of `lpr' which comes with
      your network software will have a special option to send a file to
      specific queues, like this:
 
           lpr -Qdvi -hprint.server.domain bison.dvi
 
    * Convert the DVI file to a Postscript or PCL file and send it to
      your local printer.   dvips invocation (dvips)dvips
      invocation, and the man pages for `dvilj', for detailed
      description of these tools.  Once the DVI file is converted to the
      format your local printer understands directly, just send it to
      the appropriate port, usually `PRN'.
 
Info Catalog (texinfo) Format with texi2dvi (texinfo) Hardcopy (texinfo) Within Emacs
automatically generated byinfo2html