Problem imposing page size

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Post Reply
cmarsura
User
Posts: 91
Joined: Fri Jun 15, 2007 9:57 am
Location: Italy

Problem imposing page size

Post by cmarsura » Fri Jul 06, 2012 3:41 pm

Hi, I am trying to impose a specific page size on pdfs generated by a scanner. In the included sample, starting from a file I create another pdf where each page is copied and forced to a page size of an A3.
The included VariousSizesAndOrientations.pdf, after conversion, have all pages converted without problems.
The pdf generated from the scanner (fascicolo_20081211111146015.pdf) instead have the second and last pages that, after conversion, are shifted toward the opposite upper left corner. Moreover, if I apply a page translation, these two pages seems to move in the opposite direction of the translation.
May be that I have overlooked a setting or is the pdf malformed ?

PS: the VariousSizesAndOrientations.pdf is not included in the zip because is not for public domain, please post an email address where I can send you privately this file for an analysis.

Best regards

Carlo
Attachments
RoundPdfPages.zip
(115.63 KiB) Downloaded 149 times

Nico - Tracker Supp
User
Posts: 220
Joined: Fri May 18, 2012 8:41 pm

Re: Problem imposing page size

Post by Nico - Tracker Supp » Fri Jul 06, 2012 11:25 pm

Hi Carlo,

Thank you for your post.
Please, could you send us test files (fascicolo_20081211111146015.pdf, 4194Fascicolo.pdf ) at support@tracker-software.com?
Thanks.

Sincerely,

cmarsura
User
Posts: 91
Joined: Fri Jun 15, 2007 9:57 am
Location: Italy

Re: Problem imposing page size

Post by cmarsura » Mon Jul 09, 2012 6:58 am

This morning I have sent you the pdf.

Carlo

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13626
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Problem imposing page size

Post by Tracker Supp-Stefan » Mon Jul 09, 2012 10:25 am

Thanks Carlo,

We received the files, and are investigating this case further. We will post back here as soon as we have any further info!

Best,
Stefan

Ivan - Tracker Software
Site Admin
Posts: 3611
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Problem imposing page size

Post by Ivan - Tracker Software » Tue Jul 10, 2012 3:37 pm

You are modifying the media box of the page but don't take into account page rotation. The second and last page in the mentioned document are rotated by 180 degrees...

HTH
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

cmarsura
User
Posts: 91
Joined: Fri Jun 15, 2007 9:57 am
Location: Italy

Re: Problem imposing page size

Post by cmarsura » Tue Jul 10, 2012 3:59 pm

Ivan, thank you for the fast response and excuse me for my miss. :roll:

Carlo.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13626
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Problem imposing page size

Post by Tracker Supp-Stefan » Tue Jul 10, 2012 4:00 pm

:)

Post Reply