From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34370 Path: news.gmane.org!not-for-mail From: "Horacio Suarez" Newsgroups: gmane.comp.tex.context Subject: Re: mirrored pages Date: Thu, 19 Apr 2007 19:28:44 +0000 Message-ID: References: <20070419204020.7cdd70b6.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0730494119==" X-Trace: sea.gmane.org 1177010945 23173 80.91.229.12 (19 Apr 2007 19:29:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2007 19:29:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 19 21:28:58 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HecJO-0008Ch-OX for gctc-ntg-context-518@m.gmane.org; Thu, 19 Apr 2007 21:28:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2359B2007C; Thu, 19 Apr 2007 21:28:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13190-05-3; Thu, 19 Apr 2007 21:28:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C9611FF59; Thu, 19 Apr 2007 21:28:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2AC441FF59 for ; Thu, 19 Apr 2007 21:28:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13190-05-2 for ; Thu, 19 Apr 2007 21:28:46 +0200 (CEST) Original-Received: from bay0-omc2-s19.bay0.hotmail.com (bay0-omc2-s19.bay0.hotmail.com [65.54.246.155]) by ronja.ntg.nl (Postfix) with ESMTP id D937F1FA7A for ; Thu, 19 Apr 2007 21:28:45 +0200 (CEST) Original-Received: from hotmail.com ([207.46.10.87]) by bay0-omc2-s19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, 19 Apr 2007 12:28:44 -0700 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 19 Apr 2007 12:28:44 -0700 Original-Received: from 207.46.10.123 by by121fd.bay121.hotmail.msn.com with HTTP; Thu, 19 Apr 2007 19:28:44 GMT X-Originating-IP: [200.127.84.209] X-Originating-Email: [horaciosuarez@hotmail.com] X-Sender: horaciosuarez@hotmail.com In-Reply-To: <20070419204020.7cdd70b6.schuster.wolfgang@googlemail.com> X-OriginalArrivalTime: 19 Apr 2007 19:28:44.0932 (UTC) FILETIME=[F2047440:01C782B8] X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34370 Archived-At: --===============0730494119== Content-Type: text/plain; format=flowed Thankyou very much!! >From: Wolfgang Schuster >Reply-To: mailing list for ConTeXt users >To: ntg-context@ntg.nl >Subject: Re: [NTG-context] mirrored pages >Date: Thu, 19 Apr 2007 20:40:20 +0200 > >On Thu, 19 Apr 2007 17:39:57 +0000 >"Horacio Suarez" wrote: > > > I´ve made a mistake and replyed to Mari Voipio. Sorry, Mari. > > > > I need to print in a laser printer mirrored. The page should as is >viewed in > > a mirror. All the pages. Fliped horizontally. > > > > Thankyou very much. > > > >Hi Horacio, > >the following code should work. > > >\unprotect > >\def\c!mirrored{mirrored} > >\def\docopypages[#1][#2]% > {\bgroup > \getfiguredimensions[#1]% > \getparameters[\??ip] > [\c!n=\noffigurepages, > \c!marking=\v!off, > \c!scale=\!!thousand, > \c!offset=\!!zeropoint, > \c!mirrored=\v!no, > #2]% > \dorecurse\@@ipn > {\doif\@@ipmirrored\v!yes\domirrorbox > \vbox to \textheight > {\hsize\textwidth > \scratchdimen\@@ipoffset > \centeredbox > {\doifelse\@@ipmarking\v!on\cuthbox\hbox > {\ifdim\scratchdimen>\zeropoint\relax > \advance\vsize -2\scratchdimen > \advance\hsize -2\scratchdimen > \externalfigure[#1][\c!page=\recurselevel,#2,\c!scale=, >\c!factor=\v!max,\c!offset=\v!overlay]% \else > \externalfigure[#1][\c!page=\recurselevel,#2,\c!offset= >\v!overlay]% \fi}}} > \page} > \egroup} > >\protect > >\setuppapersize[A4][A4] >\setuplayout[page] >\starttext >\copypages[file.pdf][mirrored=yes] >\stoptext > > >Gruß > >Wolfgang >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ --===============0730494119== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0730494119==--