Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF Different PDF output on different servers Options
Nicholas Cardi
Posted: Thursday, July 14, 2016 1:30:28 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2015
Posts: 7
We are using EO.PDF to create PDF documents from HTML. The HTML is identical but the output from EO.PDF is different.

System 1: Windows Server 2012 Standard 64 bit
System 2: Windows Server R2 Datacenter 64 bit

eo_support
Posted: Thursday, July 14, 2016 3:36:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Can you tell us how they are different? Is it different contents, or different layout, or different sizes?

Thanks!
Nicholas Cardi
Posted: Thursday, July 14, 2016 3:38:54 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2015
Posts: 7
I can forward you both documents so you can see for yourself. Can you PM me your email address? The pages are broken funny on the Data center edition.
eo_support
Posted: Thursday, July 14, 2016 3:43:20 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

You can see here for our email address:

http://www.essentialobjects.com/forum/test_project.aspx

Please try to isolate the problem into exactly what is different. The problem you described most likely is caused by some dependency files (such as CSS files) are not correctly loaded due to unreachable path/Url from a specific server. So you might want to check that first. If this is the case, there is no way for us to exactly pin point the problem without actually running it in your environments. However if you try to remove unrelated contents block by block usually it will become obvious to you what is causing the problems.

Thanks!
Nicholas Cardi
Posted: Thursday, July 14, 2016 4:00:24 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2015
Posts: 7
Email Sent.
eo_support
Posted: Thursday, July 14, 2016 5:32:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We have received the test files. Both files look exactly the same except for values that supposes to be replaced in your template. Is there anything else that are different between the two files?

Thanks!
Nicholas Cardi
Posted: Thursday, July 14, 2016 5:38:25 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2015
Posts: 7
Look at the bottom of the first page in the doc_132952 document. Notice the logo is written into the footer section. The bottom of page 2 the text from page 3 is at the bottom of 2...
eo_support
Posted: Thursday, July 14, 2016 5:49:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This has to do with your page contents and page break instructions. The page break instructions you used in your HTML template files are not recognized by us. See here for what's recognized:

http://www.essentialobjects.com/doc/pdf/htmltopdf/paging.aspx

Without explicit page break instructions, the output simply flows from one page to another page. So if the first page has less text than desired, then all the output of the subsequent pages will shift up, which will results in the logo image that supposes to be at the top of the second page shifting up to the first page. The problem should go away once you put explicit page break instructions in.

Thanks!
Nicholas Cardi
Posted: Thursday, July 14, 2016 6:08:16 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2015
Posts: 7
OK. I see that now but that doesn't explain why it works correctly on one system vs the other... The other document has the breaks correct.
eo_support
Posted: Thursday, July 14, 2016 6:13:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

This is probably the other document has the "perfect" fill in data that has every page correctly aligned (could it be that you happen to use that other machine to debug your paging alignment?). When the fill in data changes, the output paging changes unless you have explicit page breaking instructions. So you definitely want to fix that first.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.