From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19008 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: imposition for a pdf file Date: Wed, 16 Mar 2005 10:02:30 +0100 Message-ID: <4237F626.7050701@wxs.nl> References: <20050316023354.69267.qmail@web80401.mail.yahoo.com> <4237E9A0.4020604@logosrl.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110963808 12600 80.91.229.2 (16 Mar 2005 09:03:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 09:03:28 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 16 10:03:28 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBUQg-00023l-Cb for gctc-ntg-context-518@m.gmane.org; Wed, 16 Mar 2005 10:03:02 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 27FC51281E; Wed, 16 Mar 2005 10:04:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06640-02; Wed, 16 Mar 2005 10:04:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 684EB12858; Wed, 16 Mar 2005 10:02:43 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 89F6912858 for ; Wed, 16 Mar 2005 10:02:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06516-02-2 for ; Wed, 16 Mar 2005 10:02:39 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 434ED1282D for ; Wed, 16 Mar 2005 10:02:39 +0100 (CET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j2G92b9W001407 for ; Wed, 16 Mar 2005 10:02:37 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 697F617DA7; Wed, 16 Mar 2005 09:46:39 +0100 (CET) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 79B8217B39 for ; Wed, 16 Mar 2005 08:46:32 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4237E9A0.4020604@logosrl.it> X-Virus-Scanned: ClamAV 0.80/705/Fri Feb 11 17:51:32 2005 clamav-milter version 0.80j on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19008 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19008 luigi.scarso wrote: > Ciro A. Soto wrote: > >>I have a pdf file with 660 letter-size pages. >>I would like to save toner in my printer by >>printing 2 or 4 pages in one single sheet of paper. >> >>Is it possible to do this with context? >>or any other alternative? >> >>Remember, I don't have the source file, only the pdf >>file. >> >>thank you >> >>Ciro texexec --pdf --pdfcomb --comb=2*2 manypages.pdf >>_______________________________________________ >>ntg-context mailing list >>ntg-context@ntg.nl >>http://www.ntg.nl/mailman/listinfo/ntg-context >> >> >> > As usually, not a direct answer... > > Play with these script > %% > %% save it as test.tex > %% > \setupcolors[state=start] > \starttext > \dorecurse{660}% > {\startTEXpage[width=3cm,height=2cm] > \vbox to \vsize{\vss > \hbox to > \hsize{\hss\framed[width=2cm,align={middle,lohi},background=color,backgroundcolor=green]{p.\tfd\recurselevel}\hss} > \vss} > \stopTEXpage} > \stoptext > > %% > %% save as my-imp.tex > %% > %% \setuplayout here > \starttext > \centerline{% > \externalfigure[test][page=1] > \externalfigure[test][page=3] > \externalfigure[test][page=5] > \externalfigure[test][page=7] > \externalfigure[test][page=9] > \externalfigure[test][page=11] > } > \blank[1cm] > \centerline{% > \externalfigure[test][page=2] > \externalfigure[test][page=4] > \externalfigure[test][page=6] > \externalfigure[test][page=8] > \externalfigure[test][page=10] > \externalfigure[test][page=12] > } > \stoptext > > (you can create my-imp.tex by a script and choosing the appropriate number > for page=...., also use \setuplayout etc..) > > Also look for \setuparranging. > > luigi > > > > ------------------------------------------------------------------------ > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------