Hi, there is a standard page size of generated PDF? I've used a fixed height div to set a page size, but if something change in the content, the height change, so the fixed height div result higher or smaller.
How can i resolve this?
Alessandro Sanguedolce
@Alessandro Sanguedolce
Posts made by Alessandro Sanguedolce
-
PDF page size
-
RE: Set the pdf page content
I use page break to identify the page, but it work only there.
I don't know if a can post it in playground. I'll try.
Thanks for your help. -
RE: Set the pdf page content
it doesn't work. Why page-break doesn't work too?
i think i should use javascript. -
Set the pdf page content
Hi!
I'm using phantom-pdf to make invoice from xml files that i convert in json and then in pdf.
I have a problem printing a table information inside a page without it being cut off. I'll explain. The invoice can contain several tables with information whose number is variable. Initially I printed three tables for each page by playing with margins and padding, but as these tables do not have a static number of lines they may not come into a page and then end up in the other. The result is that information is cut. Also, having set a height of the div that identifies the page, this leads to problems with the next pages.
I do not know if I explained correctly. Any ideas on how to proceed?P.S. sorry for my English.
-
Timeout Problem with conversion
Hi, i've a problem with timeout when i try to convert my json file in pdf.
I made in visual studio a simple routine that take an amount of xml files stored in a directory, convert these file in json and then i obtain pdf files for every json file using the template and phantom pdf in jsreportonline. It works fine with small xml/json files but when they are bigger than 1/2 Mb the program goes in timeout exception.
How can i resolve this issue? -
RE: Footer of my pdf pages
Bjrmatos i've tried to use the same javascript in my project and it works with phantom-pdf but it doesn't work with electron-pdf that is the recipe that i'm using. There is something to change in my code?
EDIT: I don't know why but now it works.
-
RE: Footer of my pdf pages
ok i'll try what you say previously. Thanks a lot
-
RE: Footer of my pdf pages
Well it is really hard to do. I'll try. Does this works with electron-pdf recipe?