Welcome Guest Search | Active Topics | Sign In | Register

pdf document of more than one page Options
henkjelt
Posted: Wednesday, April 25, 2012 5:47:24 AM
Rank: Member
Groups: Member

Joined: 8/8/2011
Posts: 16
Hi

I have two questions regarding the generation of pdfs.
I run an invoicing business, generating telco-invoices.

I run into two issues while generating them with eo.pdf.

1. lines not propagated correctly to the next page
Most of the invoices run ok, but with some I have the problem that, while splitting the information in two pages, one line is printed on both pages: it starts at the bottom of the first page, and continues at the top of the second page. The rendering process however then prints the next line also at the top of the second page, with the result that both lines are rendered at the same place (ie the lines are printed over each other.

2. an unwanted empty second page
The second issue is that sometimes the rendering process produces a second page, which is empty.

My code generates a header / footer combination which is present on all pages.
The content consist of several tables of minimum height, which are generated before rendering.
One table contains cells with a nested table.

Issue 1 appears in one of the nested tables, so eo.pdf renders a cell of the main table, which contains a nested table.
If the main cell / nested table is too long, the rendering process creates an overflow to the next page, but sometimes (not always) makes a mistake in this step.
Question: how can I solve this? Is it possible to include some sort of page-break before the row which is to be rendered, keeping the information together on the new page?

Issue 2 might be a result of table-structure. The tables are always present, but not always filled with content.
It could be that the rendering process "sees" a table without content, and renders this, and sometimes thus creates an empty page.
Question: how can I prevent this?

Help of you readers is much appreciated!

KR

Henk Jelt






eo_support
Posted: Wednesday, April 25, 2012 9:59:09 AM
Rank: Administration
Groups: Administration

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

I am not exactly sure whether I understood issue1 because we do not have an image. Issue2 appears to be a bug and we might have already fixed it. We have recently fixed some issues with table paging. So you can try that and see if it fixes the problem for you. We have just updated our download page to have 2011.2.124 (dll version number 3.0.124). So you can download that from our download page.

Thanks!
henkjelt
Posted: Wednesday, April 25, 2012 11:32:47 AM
Rank: Member
Groups: Member

Joined: 8/8/2011
Posts: 16
How do I upload an image?
eo_support
Posted: Wednesday, April 25, 2012 11:58:54 AM
Rank: Administration
Groups: Administration

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

You cannot. You will have to upload it to somewhere else and then link to it from the forum.

Once you upload an image, we may be able to tell you right away what it is, or may still need you to produce an additional sample project to demonstrate the problem and send it to us.

Thanks!
henkjelt
Posted: Wednesday, April 25, 2012 12:11:12 PM
Rank: Member
Groups: Member

Joined: 8/8/2011
Posts: 16
Ok, the image is located at image issue.

The word "Telecom" is part of a logo, which is placed in the header of the pdf.

"Endsumme (Ohne Mwst) € 132,95"
is one line,
"Mwst. € 25.40"
is the next line.

eo_support
Posted: Wednesday, April 25, 2012 1:25:04 PM
Rank: Administration
Groups: Administration

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

Please try to use Google Chrome to verify your HTML file to see if the same file displays correctly with that browser. If it does display correct in Google Chrome, please post your test file here and we will see what we can find.

Thanks!
henkjelt
Posted: Wednesday, April 25, 2012 1:35:04 PM
Rank: Member
Groups: Member

Joined: 8/8/2011
Posts: 16
it's not an HTML file.
I generate the pdf in codebehind using VB.Net
eo_support
Posted: Wednesday, April 25, 2012 1:38:56 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Then most likely the problem is somwhere in your code. ; ) We don't troubleshoot/debug code for our users, so you will need to resolve such issues yourself. However if you believe your code is correct and the problem is on our side, you can try to create a small test code to demonstrate the problem. You can then post the code and also clearly explain the reason why you believe your code is correct but the output is wrong. We will then take a look.

Thanks
henkjelt
Posted: Wednesday, April 25, 2012 1:44:05 PM
Rank: Member
Groups: Member

Joined: 8/8/2011
Posts: 16
I have implemented the latest version from the site, but neither issue 1 nor issue 2 has been solved.

KR

HJ
eo_support
Posted: Wednesday, April 25, 2012 1:51:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Quote:
I have implemented the latest version from the site, but neither issue 1 nor issue 2 has been solved.

KR


We deleted your previous post because our previous post has already explained to you what you need to do. Please follow our instructions.

Thanks
henkjelt
Posted: Wednesday, April 25, 2012 2:08:26 PM
Rank: Member
Groups: Member

Joined: 8/8/2011
Posts: 16
Thank you for not helping me out.

"We deleted your previous post because our previous post has already explained to you what you need to do. Please follow our instructions."

This is a typical technical approach. You have not explained me what I should do. You only give me some suggestions like Google Chrome etc.

I will remove Essential Objects and move to another solution.

This is outrageous.
eo_support
Posted: Wednesday, April 25, 2012 2:43:08 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
We have clearly told you the following in our latest reply:

Quote:
Then most likely the problem is somwhere in your code. ; ) We don't troubleshoot/debug code for our users, so you will need to resolve such issues yourself. However if you believe your code is correct and the problem is on our side, you can try to create a small test code to demonstrate the problem. You can then post the code and also clearly explain the reason why you believe your code is correct but the output is wrong. We will then take a look.


So that's what you will need you to follow. If you believe you are being unfairly treated here, please feel free to try your luck with another vendor. The very first thing we will ask you to do is to follow what we tell you. We believe this is very reasonable because if you don't even listen to us, what's the point for us to tell you anything anyway? As a result, if for whatever reason, you cannot or do not want to follow what we tell you to do, then you will not be served here. I hope this is clear enough for you.


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.