Thanks Jan! Our purchase department just let me know where they put the key without forwarding the email. Thanks for the info!
jerrion
@jerrion
Posts made by jerrion
-
RE: jsreport license use
-
jsreport license use
My company recently purchased a enterprise license for jsreport and i'm having trouble finding out where exactly you enter/put the license for jsreport to use. I did not see anything in prod.config.json or dev.config.json. I looked through the help documentation and did not see anything related to it. Hopefully i'm not blind. Thanks in advance for your help.
-
RE: Custom Header/Footer sizes for phantompdf template.
Hey Jan! I gave your solution a try and cant get it to work. It may be due to my inexperience with node server. These are the steps I took to try and fix the issue.
- Close node.js command prompt (it was running node server).
- Start node.js command prompt.
- Type in "npm install jsreport-phantom-pdf@1.4.2"
- Type in "npm start"
- Change the margin to the { "top": "0px", "left": "50px", "bottom": "50px", "right": "50px" } under phantompdf margin as shown in https://github.com/jsreport/jsreport-phantom-pdf/pull/17
I also tried completely rebooting the computer after installing the latest version of phantom-pdf.
My question is weather or not I need to tell jsreport that it needs to use the latest version of phantom-pdf or does that happen automatically when I run the npm install jsreport-phantom-pdf@1.4.2.
Sorry for the confusion on the licenses stuff. We thought the 2 servers would be enough but after more meetings we realized the enterprise unlimited was what we need.
-
RE: Custom Header/Footer sizes for phantompdf template.
Thanks Jan! Ill give it a try and report back.
-
RE: Custom Header/Footer sizes for phantompdf template.
I assumed the header size had to be bigger to fit the larger header. I did not expect the header to move down the page. I figured it was a bug of some kind with phantomjs. Please let me know if you find a workaround.
Thanks for your help.
-
RE: Custom Header/Footer sizes for phantompdf template.
Yes. There is normally blank space. Here are some pictures to show. The first is the default 1cm header. It only shows 1 line of text even though I have 5 lines in the header. The 2nd is a 5cm header. It now shows all the text but as you can see it also moved 5cm down the page making the white space huge and the header un-usable. The only difference in pics are the settings. 1cm header vs 5cm header. The content of the header was identical.
https://postimg.org/image/qp9rrj7n3/
https://postimg.org/image/fwhmvs5lz/ -
Custom Header/Footer sizes for phantompdf template.
Custom Header/Footer sizes for phantompdf template.
Note: Thanks for an awesome product. Just picked up 2 single server licenses and I really like the product.
If I change the size of the headers/footers to show more than 1 line it also moves the header/footers up and down the page. ie. Add 3 line header and change header size to 3cm to show all the text. Headers are now shown but they also moved 3cm down the page and there is now a large amount of blank space above the header. This works exactly the same for footers.
I have a template that requires large multi-line static headers/footers. I added "child" templates (this works the same if I add the content directly to the header/footers in the phantompdf menu) but when I change the size attribute it moves the header/footers up/down the page instead of just showing more.
Is there a configuration option or some attribute i'm missing? I don't fiddle with the margins or anything else. Here is a jsreport playground with the above issue. Header Footer Playground