Welcome Guest Search | Active Topics | Sign In | Register

Html to Pdf - Headers appearing sideways on some Landscape Pdfs Options
MJH
Posted: Tuesday, March 29, 2016 5:34:57 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2012
Posts: 6
Hi there,

We've been using the Html to Pdf converter to add headings onto existing Pdf files. This has always been fine for Portrait pages and, until recently, all Landscape ones as well. One of our clients has tried the same with a Landscape Pdf created in Word 2010 and the headers have appeared rotated and positioned oddly.

I will be happy to send you the sample.

Kind regards,

Matthew Hinks
eo_support
Posted: Tuesday, March 29, 2016 9:03:42 AM
Rank: Administration
Groups: Administration

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

Please try to isolate the problem into a test app and send us the test app. Please see here for more details:

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

Once we receive that, we will run it here and see if we can reproduce the problem. Usually as soon as we can reproduce the problem here, we will be able to find out the root cause.

Thanks!
MJH
Posted: Thursday, March 31, 2016 6:32:21 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2012
Posts: 6
Hi there,

I can't access that link - it says I don't have access to that area.
eo_support
Posted: Thursday, March 31, 2016 4:20:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
MJH wrote:
Hi there,

I can't access that link - it says I don't have access to that area.


I apologize -- that was the wrong link. It has been corrected and now the previous post should contain the correct link.
eo_support
Posted: Friday, April 1, 2016 5:23:12 PM
Rank: Administration
Groups: Administration

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

We have posted a new build (2016.0.42.0) that should no longer have this issue. You can download the new build from our download page. Please take a look and let us know how it goes.

Thanks!
MJH
Posted: Monday, April 4, 2016 6:51:39 AM
Rank: Newbie
Groups: Member

Joined: 12/7/2012
Posts: 6
Hi again,

Yep, that's fixed the issue with the rotated headers.

However, we seem to have ran into a second issue with this build. The headers are appearing very small relative to the text. You can see from the sample we sent that the header is taking up about half of the height available (normally it would be filling almost the whole space). This also seems to be affecting other pdfs where we're converting HTML directly to PDF and putting headers on, of which I can send a sample if you'd like.

So, is this a behaviour that's been introduced intentionally, fixing a different issue, and something that we'll need to fix on our end or a bug in this release?



eo_support
Posted: Monday, April 4, 2016 9:08:25 AM
Rank: Administration
Groups: Administration

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

We did not introduce anything intentionally in this build. We did see you have relative size in your HTML. So you may want to adjust that. Also since now it is in the "rotated" coordination, you must write code as if there was no rotation at all. This means the page size in your HtmlToPdf.Options.PageSize must have a bigger width value than height value. Also make sure you set your HtmlToPdf.Options inside your loop since many values of the options are reset to default value after every conversion.

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.