ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: imposition for a pdf file
@ 2005-03-16 12:48 Ciro A. Soto
  2005-03-16 13:22 ` luigi.scarso
  0 siblings, 1 reply; 14+ messages in thread
From: Ciro A. Soto @ 2005-03-16 12:48 UTC (permalink / raw)


Thank you Luigi,
but where is the pdf file input in your instructions?
remember, i don't have the tex file, only the pdf
file.
ciro


--- "luigi.scarso" <luigi.scarso@logosrl.it> wrote:

---------------------------------
    Ciro A. Soto wrote:  
I have a pdf file with 660 letter-size pages.I would
like to save toner in my printer byprinting 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 pdffile.thank
youCiro_______________________________________________ntg-context
mailing
listntg-context@ntg.nlhttp://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
theappropriate number
for page=...., also use \setuplayoutetc..)

Also look for  \setuparranging.

luigi


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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: imposition for a pdf file
@ 2005-03-16 23:47 Ciro A. Soto
  2005-03-17  7:21 ` luigi.scarso
  0 siblings, 1 reply; 14+ messages in thread
From: Ciro A. Soto @ 2005-03-16 23:47 UTC (permalink / raw)


I tried Hans' approach. It works fine, but
somehow the pdf file with the 2*2 pages
is corrupted since it does not print well, mostly
garbage.
It looks good on screen though.
I printed one page of the original pdf
and it is fine. So the problem happens in
the imposition step.
any suggestion?
thank you
ciro


--- Hans Hagen <pragma@wxs.nl> wrote:
> luigi.scarso wrote:
> > Sorry ciro, but i like write tex code.
> > 
> >    1. save following code as test.tex
> 
> in page-imp are some additional inclusion macros -)
> 
> > \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]
> > }
> 
> shorter
> 
> \centerline
>    {\dostepwiserecurse{1}{11}{2}
>      
>
{\expanded{\externalfigure[test][page=\recurselevel]}}}
> 
> Hans
> 
>
-----------------------------------------------------------------
>                                            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
>
-----------------------------------------------------------------
> 
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: imposition for a pdf file
@ 2005-03-16 12:52 Ciro A. Soto
  0 siblings, 0 replies; 14+ messages in thread
From: Ciro A. Soto @ 2005-03-16 12:52 UTC (permalink / raw)


Thank you. This should work.
Ciro
--- Hans Hagen <pragma@wxs.nl> wrote:
> 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
>
-----------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread
* imposition for a pdf file
@ 2005-03-16  2:33 Ciro A. Soto
  2005-03-16  8:09 ` luigi.scarso
  0 siblings, 1 reply; 14+ messages in thread
From: Ciro A. Soto @ 2005-03-16  2:33 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-03-17 14:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 12:48 imposition for a pdf file Ciro A. Soto
2005-03-16 13:22 ` luigi.scarso
2005-03-16 13:45   ` Hans Hagen
2005-03-17 10:44     ` luigi.scarso
2005-03-17 13:15       ` Hans Hagen
2005-03-17 14:28         ` stickers luigi.scarso
  -- strict thread matches above, loose matches on Subject: below --
2005-03-16 23:47 imposition for a pdf file Ciro A. Soto
2005-03-17  7:21 ` luigi.scarso
2005-03-16 12:52 Ciro A. Soto
2005-03-16  2:33 Ciro A. Soto
2005-03-16  8:09 ` luigi.scarso
2005-03-16  8:58   ` Wolfgang Zillig
2005-03-16  9:02   ` Hans Hagen
2005-03-17  8:44   ` Albrecht Kauffmann

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).