HTML Report -Render as PDF -How to specific custom page-size ( on Private Cloud) - Forum - Rollbase - Progress Community

HTML Report -Render as PDF -How to specific custom page-size ( on Private Cloud)

 Forum

HTML Report -Render as PDF -How to specific custom page-size ( on Private Cloud)

This question has suggested answer(s)

Hi,

I try to create report using HTML Report render as PDF option. We have specific custom page size. From PDF Options there are only 4 size for selected.  How can I define my page-size for my report.

Thank you.

Tawatchai.

All Replies
  • HTMLReport-pagesize.png

    Please see attached Page-size selection in rollbase.

  • These are hard-coded values and cannot be custom set.

  • However, please log an Enhancement request in IDEAS section.

    There could be a handler provided in the properties file to add more options in future.

    - Mani.

  • Hello Tawatchai,  what other page sizes are you interested in. I talked with Zac.L and we will improve the available selection.

  • Currently, for first priority, we need to produce report using 15" x 11" page-size . And if you also can let us do custom page-size that will be more flexible for further reports.

  • Hello Tawatchai, is there a standard name for that page size?

  • Hi Murali,

    I'm afraid that It has no standard name. This size of paper  was available for continuous paper use with dot-matrix printer.  

    For continuous paper,it has 2 size 9.5" x 11" and 15" x 11".

    How about "Continuous Paper 15" x 11" " ..

  • Hi Murali,

    There is another page-size that need to put in my first priority  which is 4.3" x .5.5".  This is custom size for receipt pre-printed report. This size is not standard one but specific to my project.

  • Hi Tawatchai,

    We provide PD4Constants for the Dimensions. Currently only four out of the complete list is available as shown in the dropdown.

    You can view the list of available Dimensions. Please check 

    http://pd4ml.com/api/org/zefer/pd4ml/PD4Constants.html

    As per the sizes one inch corresponds to 72 points. So 15" X 11" would be around 1080 X 792. Let me know if you can find any closest match in the link.

    We are planning to provide custom size options. We have logged an enhancement for the same.

    Thanks,

    Ranjana Sinha

  • Hi Ranjana,

    I cannot find any closet match from your link.

    Could you please update about enhancement you did. When it will be release ?

    Thanks,

    Tawatchai Suktrakul.

  • Hi Tawatchai,

    We have story 31792 created in TeamPulse.

    With this enhancement more PDF options are available for the page sizes and also there is an option in the dropdown "Custom". When you choose custom you can configure the height and width in inches as per your requirement.

    The fix is due for 4.0.6 release.

    Please let me know if you find issues.

    Regards,

    Ranjana Sinha