COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### print large page

• Email
• Follow

I have a problem a long time ago.
Sporadically I converted it to PS, an used pssplit or something like that.

How can I print a large page (say A0), into many a4 pieces to join later.
Is it possible to do it directly from PDF with free tool?

Thanks

Miguel PS

 0
Reply Miguel 7/23/2004 11:43:38 PM

See related articles to this posting

Miguel PS wrote:
> I have a problem a long time ago.
> Sporadically I converted it to PS, an used pssplit or something like that.
>
> How can I print a large page (say A0), into many a4 pieces to join later.
> Is it possible to do it directly from PDF with free tool?

Depending on your definition of "tool", pdflatex and the pdfpages make a
nice solution. You simply calculate the "viewport" of each page in
Postscript points. Here is an example for a conversion

- from a PDF with  1 page , DIN A0, portrait
- to   a PDF with 16 pages, DIN A4, portrait.

==========================================================
\documentclass[a4paper]{article}
\usepackage{pdfpages}
\begin{document}

% A0= 2384 3368
% A4= 596 842

% you can also write loops to do the calculation
% of the viewport-parameters

% top row, left to right
\includepdf[viewport=   0 2526  596 3368]{file-a0.pdf}
\includepdf[viewport= 596 2526 1192 3368]{file-a0.pdf}
\includepdf[viewport=1192 2526 1788 3368]{file-a0.pdf}
\includepdf[viewport=1788 2526 2384 3368]{file-a0.pdf}

% 2nd row, left to right
\includepdf[viewport=   0 1684  596 2526]{file-a0.pdf}
\includepdf[viewport= 596 1684 1192 2526]{file-a0.pdf}
\includepdf[viewport=1192 1684 1788 2526]{file-a0.pdf}
\includepdf[viewport=1788 1684 2384 2526]{file-a0.pdf}

% 3rd row, left to right
\includepdf[viewport=   0  842  596 1684]{file-a0.pdf}
\includepdf[viewport= 596  842 1192 1684]{file-a0.pdf}
\includepdf[viewport=1192  842 1788 1684]{file-a0.pdf}
\includepdf[viewport=1788  842 2384 1684]{file-a0.pdf}

% bottom row, left to right
\includepdf[viewport=   0    0  596  842]{file-a0.pdf}
\includepdf[viewport= 596    0 1192  842]{file-a0.pdf}
\includepdf[viewport=1192    0 1788  842]{file-a0.pdf}
\includepdf[viewport=1788    0 2384  842]{file-a0.pdf}

\end{document}
==========================================================


 0
Reply Ralf 7/25/2004 10:55:28 PM

On Mon, 26 Jul 2004 00:55:28 +0200, Ralf Koenig <ralk@s1998.tu-chemnitz.de> wrote:

> Miguel PS wrote:
>> I have a problem a long time ago.
>> Sporadically I converted it to PS, an used pssplit or something like that.
>>
>> How can I print a large page (say A0), into many a4 pieces to join later.
>> Is it possible to do it directly from PDF with free tool?
>
> Depending on your definition of "tool", pdflatex and the pdfpages make a
> nice solution. You simply calculate the "viewport" of each page in
> Postscript points. Here is an example for a conversion
>
> - from a PDF with  1 page , DIN A0, portrait
> - to   a PDF with 16 pages, DIN A4, portrait.
>
> ==========================================================
> \documentclass[a4paper]{article}
> ...

It's for printing a ready document.  I only have the PDF file.

Really meaning schematics of electronics circuitry.

Miguel PS

 0
Reply Miguel 7/27/2004 5:17:04 PM

On Tue, 27 Jul 2004, Miguel PS wrote:

> On Mon, 26 Jul 2004 00:55:28 +0200, Ralf Koenig <ralk@s1998.tu-chemnitz.de>
> wrote:
>
>> Miguel PS wrote:
>>> I have a problem a long time ago.
>>> Sporadically I converted it to PS, an used pssplit or something like
>>> that.
>>>
>>> How can I print a large page (say A0), into many a4 pieces to join
>>> later.
>>> Is it possible to do it directly from PDF with free tool?
>>
>> Depending on your definition of "tool", pdflatex and the pdfpages make a
>> nice solution. You simply calculate the "viewport" of each page in
>> Postscript points. Here is an example for a conversion
>>
>> - from a PDF with  1 page , DIN A0, portrait
>> - to   a PDF with 16 pages, DIN A4, portrait.
>>
>> ==========================================================
>> \documentclass[a4paper]{article}
>> ...
>
> It's for printing a ready document.  I only have the PDF file.
>
> Really meaning schematics of electronics circuitry.

What we have here is a failure to communicate.

Ralf's example should do what you want, assuming you are willing to
install one of the many good free TeX distributions available for any
reasonable platform.

Ralf example "places" a copy of the PDF file onto a series of smaller
pages, adjusting the placement so the portion that is visible (the
"viewport") will result in a different portion of the original file being
shown on each of the smaller pages.

--
George N. White III  <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada

 0
Reply George 7/27/2004 6:00:50 PM

George N. White III schrieb:
> On Tue, 27 Jul 2004, Miguel PS wrote:
>
>> On Mon, 26 Jul 2004 00:55:28 +0200, Ralf Koenig
>> <ralk@s1998.tu-chemnitz.de> wrote:
>>
>>> Miguel PS wrote:
>>>
>>>> I have a problem a long time ago.
>>>> Sporadically I converted it to PS, an used pssplit or something like
>>>> that.
>>>>
>>>> How can I print a large page (say A0), into many a4 pieces to join
>>>> later.
>>>> Is it possible to do it directly from PDF with free tool?
>>>
>>>
>>> Depending on your definition of "tool", pdflatex and the pdfpages make a
>>> nice solution. You simply calculate the "viewport" of each page in
>>> Postscript points. Here is an example for a conversion
>>>
>>> - from a PDF with  1 page , DIN A0, portrait
>>> - to   a PDF with 16 pages, DIN A4, portrait.
>>>
>>> ==========================================================
>>> \documentclass[a4paper]{article}

This documentclass "article" is just there to make latex know some
documentclass to use. No, we are not going to write an article, actually
not a single definition from the article class will be used.

>> It's for printing a ready document.  I only have the PDF file.

Hello Miguel,

That's what you wrote the first time and what I had paid attention to.
In my example I refer to a file called "file-a0.pdf". This is supposed
to be your file in A0 format. See below for more explanation on the process.

>> Really meaning schematics of electronics circuitry.

The content of the PDF does not matter in this case. *Any* PDF is fine
as input.

> What we have here is a failure to communicate.
>
> Ralf's example should do what you want, assuming you are willing to
> install one of the many good free TeX distributions available for any
> reasonable platform.

Such as Miktex or fptex on Windows, tetex on MacOS X or UNIX.

> Ralf example "places" a copy of the PDF file onto a series of smaller
> pages, adjusting the placement so the portion that is visible (the
> "viewport") will result in a different portion of the original file
> being shown on each of the smaller pages.

Thanks for this description. Let me add a few words on the LaTeX process.

0) Install a decent TeX distribution.
1) save my code as make-a4-from-a0.tex
2) copy your A0 pdf file into the directory where the tex file resides
3) rename your A0 pdf file to file-a0.pdf
4) run: pdflatex make-a4-from-a0.tex
5) the resulting 16 page document will be in make-a4-from-a0.pdf
6) rename make-a4-from-a0.pdf to file-a4.pdf

file-a4.pdf is the output!

That's it! The resulting file will only show a very slight increase in
size, as your A0 document is embedded just once. As George described,
the pages in the PDF refer to the internal representation of your A0
content and each page will show exactly the piece of the big one,
they're supposed to show.

Ralf

--
Ralf Koenig, Professur Rechnernetze und verteilte Systeme
TU Chemnitz, Zi. 1/B320, Tel. 0371-531-1532


 0
Reply Ralf 7/28/2004 10:16:44 AM

4 Replies
481 Views

Similar Articles

12/7/2013 6:34:31 PM
page loaded in 53170 ms. (0)