From owner-freebsd-questions@FreeBSD.ORG Fri Apr 2 00:38:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A494D106566B for ; Fri, 2 Apr 2010 00:38:50 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from smtprelay-b12.telenor.se (smtprelay-b12.telenor.se [62.127.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8168FC13 for ; Fri, 2 Apr 2010 00:38:49 +0000 (UTC) Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 9EC5CC1DC for ; Fri, 2 Apr 2010 02:38:48 +0200 (CEST) X-SENDER-IP: [85.227.131.207] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aow2APvZtEtV44PPPGdsb2JhbACbSQwBAQEBNS21W4UBBA X-IronPort-AV: E=Sophos;i="4.51,351,1267398000"; d="scan'208";a="58398845" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 02 Apr 2010 02:38:48 +0200 Message-ID: <4BB53C97.7060000@lazlarlyricon.com> Date: Fri, 02 Apr 2010 02:38:47 +0200 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100321 Thunderbird/3.0.3 MIME-Version: 1.0 To: Polytropon References: <20100402022757.ec5f6598.freebsd@edvax.de> In-Reply-To: <20100402022757.ec5f6598.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Tool to produce A5 booklet from A4 pages PS / PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 00:38:50 -0000 On 2010-04-02 02:27, Polytropon wrote: > In order NOT to try to reinvent the wheel, I'd like to ask > if anyone knows a tool that does helps to produce a printable > and foldable booklet from A4 pages. > > I'm searching for a tool that scales down and reorders A4 > pages (from a document, usually PS or PDF) in a way that > the result can be printed with a duplex printer (content > on both sides of the paper sheet) and then be folded in > the middle in order to get a "book" (or let's better call > it a booklet) in A5 format. Additionally, the booklet > can be stapled where it has been folded (using the proper > mechanical tool). > > Of course, this just seems useful for standard A paper > formats (A4 / A5) which keep the aspect ratio sqrt(2) > (or nearly 1.414:1) even after folding or combining: > > A4 > +------++------+ > | || | > | A5 || A5 | > | || | > +------++------+ > > Illustration here: > http://upload.wikimedia.org/wikipedia/commons/8/8a/A_size_illustration.svg > > Depending on the "real" page number, it would require to > completely re-order and rotate (90 or 270 degree) the > contained pages, depending where they will appear on the > result paper. > > For example, page 1 needs to be placed on page 1, top, > rotated 270 degrees, while the lase page also has to be > placed on page 1, bottom, rotated 270 degrees. Page 2 > will be on page 2 (which is the rear side of page 1), > top, rotated 90 degrees... and now my imaginary force > is failing. :-) All pages have to be scaled down to > 50% of their original size, of course. > > In ideal case, the number of pages to be processed this > way is modulo 4, because 4 pages go to one sheet (two > per side). > > So basically, I'm searching for a program that does the > renumbering and rotation magic, provided PS or PDF files > as input, and also as output. > > What tool can you suggest to do so? print/psutils-a4 has tools to do the job for you.