Keep page size of imported PDF when 11 x 17

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Keep page size of imported PDF when 11 x 17

Mario Madunic

Hi,

 

In my XSLT there is an option to insert an entire PDF page by page and sometimes they do contain an 11 x 17 schematic and the current page size is 8.5 x 11 for the finished PDF. The info I have of the PDF to insert dynamically is: filename, number of pages, and pages that might be 11 x 17. So I have the info required to do the insert (via fo:external-graphic) but the 11 x 17 is scaled down to 8.5 x 11. What can I do to prevent the scale down of the image. I’m guessing that because the page that the 11 x 17 belongs to contains also an 8.5 x 11 (on the backside), is probably a problem. Is it as simple as inserting an 11 x 17 as the backside?

 

Any insight will be appreciated.

 

Thanks

 

Marijan (Mario) Madunic

Publishing Specialist

New Flyer Industries



Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Reply | Threaded
Open this post in threaded view
|

RE: Keep page size of imported PDF when 11 x 17

Mario Madunic

I’m guessing that because the page that the 11 x 17 belongs to contains also an 8.5 x 11 (on the backside)

 

What I meant to say is that the following page to the 11 x 17 is an 8.5 x 11. The 11 x 17 usually only contains the schematic on one side.

 

Sorry for any confusion that might have caused.

 

Marijan (Mario) Madunic

Publishing Specialist

New Flyer Industries

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Mario Madunic
Sent: Friday, March 11, 2011 12:55 PM
To: [hidden email]
Subject: Keep page size of imported PDF when 11 x 17

 

Hi,

 

In my XSLT there is an option to insert an entire PDF page by page and sometimes they do contain an 11 x 17 schematic and the current page size is 8.5 x 11 for the finished PDF. The info I have of the PDF to insert dynamically is: filename, number of pages, and pages that might be 11 x 17. So I have the info required to do the insert (via fo:external-graphic) but the 11 x 17 is scaled down to 8.5 x 11. What can I do to prevent the scale down of the image. I’m guessing that because the page that the 11 x 17 belongs to contains also an 8.5 x 11 (on the backside), is probably a problem. Is it as simple as inserting an 11 x 17 as the backside?

 

Any insight will be appreciated.

 

Thanks

 

Marijan (Mario) Madunic

Publishing Specialist

New Flyer Industries

 


Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.



Please consider the environment before printing this e-mail.


CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Keep page size of imported PDF when 11 x 17

G. Ken Holman
In reply to this post by Mario Madunic
At 2011-03-10 21:55 -0600, Mario Madunic wrote:

>In my XSLT there is an option to insert an
>entire PDF page by page and sometimes they do
>contain an 11 x 17 schematic and the current
>page size is 8.5 x 11 for the finished PDF. The
>info I have of the PDF to insert dynamically is:
>filename, number of pages, and pages that might
>be 11 x 17. So I have the info required to do
>the insert (via fo:external-graphic) but the 11
>x 17 is scaled down to 8.5 x 11. What can I do
>to prevent the scale down of the image.

Remove all margins and make the body size the size of the page.

But there is still a problem:  in XSL-FO you
cannot dynamically change page geometry in the
middle of a page sequence.  As you are flowing
onto 8.5x11 you can't on a whim say "the next page is to be 11x17".

However, you can say just that with Crane's free PSMI:

   http://www.CraneSoftwrights.com/resources/#psmi

... but that requires a post-process.  But it is
still accomplishes what you need without human intervention.

>I’m guessing that because the page that the 11
>x 17 belongs to contains also an 8.5 x 11 (on
>the backside), is probably a problem. Is it as
>simple as inserting an 11 x 17 as the backside?
>
>Any insight will be appreciated.

If the inserted pages do not impact on page
numbering, you might consider a post-process of
the PDF where using a tool like iText you can
inject PDF pages from another source into a
stream you create from your composed PDF pages.

Actually, this would also work if they did impact
on page numbering by formatting placebo pages
that are replaced with the external PDF pages as
you stream through your content.

I hope this helps.  Please pardon my tardy response but I've been on leave.

. . . . . . . . . Ken

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:[hidden email]
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal