I think something link

 texexec --pdfarra --noduplex --paper=A5A4 --print=2SIDE yourdocument.pdf

should work. There is more information about in the the manual for texexec www.pragma-ade.com/general/manuals/mtexexec.pdf

Wolfgang



luigi.scarso schrieb:
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


_______________________________________________ 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

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

Reply via email to