How to add a new paper size in phantompdf
-
Hi,
Please let us know how can i add new custom or standard paper size in Phantompdf.
-
hi, you can use custom paper size using the "paper width/paper height" options of "phantom pdf" group in a template, you can see the supported units (
cm, in, px, etc
) here: http://phantomjs.org/api/webpage/property/paper-size.htmlexample: https://playground.jsreport.net/studio/workspace/rk9HqpbZ-/2