ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Horacio Suarez" <horaciosuarez@hotmail.com>
To: ntg-context@ntg.nl
Subject: Re: mirrored pages
Date: Thu, 19 Apr 2007 19:28:44 +0000	[thread overview]
Message-ID: <BAY121-F703A39BC92A4E9A0B1A25B4570@phx.gbl> (raw)
In-Reply-To: <20070419204020.7cdd70b6.schuster.wolfgang@googlemail.com>

[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]

Thankyou very much!!


>From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
>Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>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" <horaciosuarez@hotmail.com> 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/


[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2007-04-19 19:28 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12  5:37 Interesting interview Thomas A. Schmitz
2007-04-13  6:29 ` Maurice Diamantini
2007-04-13  7:20   ` Aditya Mahajan
2007-04-13  8:00     ` Jelle Huisman
2007-04-13 10:40       ` The ConTeXt Companion (was: Interesting interview) Ulf Martin
2007-04-14  8:58         ` The ConTeXt Companion Patrick Gundlach
2007-04-14 15:25           ` Ulf Martin
2007-04-14 15:40             ` Andrea Valle
2007-04-14 20:40             ` Hans Hagen
2007-04-18 20:41               ` mirrored pages Horacio Suarez
2007-04-19  8:11                 ` Mari Voipio
2007-04-19  9:51                   ` luigi scarso
2007-04-19  9:24                 ` Hans Hagen
2007-04-19 17:39                   ` Horacio Suarez
2007-04-19 18:40                     ` Wolfgang Schuster
2007-04-19 19:28                       ` Horacio Suarez [this message]
2007-04-19 20:27                     ` Hans Hagen
2007-04-19 20:47                       ` Horacio Suarez
2007-04-14 17:01           ` The ConTeXt Companion Idris Samawi Hamid
2007-04-14 20:36             ` Hans Hagen
2007-04-14 20:58               ` luigi scarso
2007-04-25 23:34             ` Martin Schröder
2007-04-26 10:40               ` Johannes Graumann
2007-04-13  8:16   ` Interesting interview luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY121-F703A39BC92A4E9A0B1A25B4570@phx.gbl \
    --to=horaciosuarez@hotmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).