old-www/HOWTO/Ecology-HOWTO/ecology-howto-printing-doub...

242 lines
6.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Double Sided Printing</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Linux Ecology-HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Saving Consumables (Paper, Ink, etc.)"
HREF="ecology-howto-consumables.html"><LINK
REL="PREVIOUS"
TITLE="Printing of Drafts / Multiple Pages on One Sheet of Paper"
HREF="ecology-howto-printing-drafts.html"><LINK
REL="NEXT"
TITLE="Reading From the Monitor Instead From Paper"
HREF="ecology-howto-printing-monitor.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Ecology-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="ecology-howto-printing-drafts.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Saving Consumables (Paper, Ink, etc.)</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="ecology-howto-printing-monitor.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="ecology-howto-printing-doublesided"
></A
>4.2. Double Sided Printing</H1
><P
>&#13;One important way to save paper is to print on both sides of the paper. Depending on the printer capabilities, this can either be done manually (printing odd and even pages in 2 passes), or by instructing the printer to use both sides.
</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="ecology-howto-printing-doublesided-printercontrol"
></A
>4.2.1. Printer control</H2
><P
>&#13;If your GNU/Linux distribution is using the CUPS printing system (as most do nowadays), you can configure double sided printing through the CUPS administration interface. Open the <A
HREF="http://localhost:631"
TARGET="_top"
>http://localhost:631</A
> URL with a browser, type your root password if required, and configure any local printier supporting double sided printing. This applies by default to all future print jobs.
</P
><P
>&#13;Print settings can also be changed on a job by job basis too. In particular, KDE and Gnome let applications select and configure printers for each print job.
</P
><P
>&#13;If you are printing from the command line, you can use the <A
HREF="http://www.mscs.dal.ca/~selinger/lpr-wrapper/"
TARGET="_top"
>lpr-wrapper</A
> to insert printer control instructions to PostScript files at print time. Example:
</P
><P
>&#13;<B
CLASS="command"
>lpr-wrapper -od doc.ps</B
>
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="ecology-howto-printing-doublesided-manual"
></A
>4.2.2. Manual printing</H2
><P
>&#13;If double sided printing is not supported by your printer, you can also achieve this by printing odd/even (or right/left) pages separately. Many graphical applications like OpenOffice.org let you do that.
</P
><P
>&#13;If you print from the command line, you can also do this with <A
HREF="http://www.mesa.nl/pub/mpage"
TARGET="_top"
>mpage</A
>. From the manual page:
</P
><P
>&#13;<B
CLASS="command"
>-jfirst[-last][%interval]</B
>
</P
><P
>&#13;Print just the selected sheets, specified by number, starting at 1. Here last defaults to the end of data, interval to 1. Thus -j1-10 selects the first 10 sheets, while -j 1%2 prints just the odd- numbered sheets and -j 2%2 prints just the even ones.
</P
><P
>&#13;You can do double-sided printing, in two passes, as follows. If you use 3-hole punched paper, put it in the printer such that the holes will appear at the top of the page -- on the right as you pull out the printer tray, in our Laser writer II NTX. Print the odd-numbered sheets with
</P
><P
>&#13;<B
CLASS="command"
>-j 1%2 ...</B
>
</P
><P
>&#13;Note the number of pages it reports. (Only half this many will really be printed). When printing finishes, if mpage reported an odd number of pages, remove the last one from the stack, since there will be no even-numbered sheet to match it. Then arrange the stack of paper for printing on the other side. (If it's punched, the holes will now be on the left.) On our II NTX, the paper comes out blank-side up; replace it in the tray still blank-side up but rotated 180 degrees. For other printers, you figure it out. Now print the even- numbered sheets in reverse order with
</P
><P
>&#13;<B
CLASS="command"
>-r -j 2%2 ...</B
>
</P
><P
>&#13;Hoping no one else reaches the printer before you do.
</P
><P
>&#13; <A
HREF="https://sourceforge.net/projects/duplexpr/"
TARGET="_top"
>Duplex</A
>
is a set of sh scripts that emulates duplex printing (on
both sides of the paper) for sheet-fed printers that do not support
duplex printing in hardware. It is intended for use on printers connected
to workstations. It can operate as a pipe so that applications can use it
as a duplex printing driver. Its unique feature is its ability to print
to print many duplex print jobs in one batch, printing the odd sides of
all jobs and then the even sides in just two passes.
</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="ecology-howto-printing-drafts.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="ecology-howto-printing-monitor.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Printing of Drafts / Multiple Pages on One Sheet of Paper</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ecology-howto-consumables.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Reading From the Monitor Instead From Paper</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>