|
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
|
|
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!
|
|
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.
|
|
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.aspxPlease 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!
|
|
Rank: Newbie Groups: Member
Joined: 3/9/2015 Posts: 7
|
Email Sent.
|
|
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!
|
|
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...
|
|
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.aspxWithout 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!
|
|
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.
|
|
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!
|
|