17
Views
3
Comments
Solved
OutSystem Printing (CSS/Styling Issue)

Hi i have an issue with OutSystem Printing CSS and Styling issue. For the printing function I am using JavaScript window.print;. When i do the print the alignment of the form is messy and bad. I was wondering is there any way to fix it on the CSS/styling side? 



This is my OML File that is attach below. Hopefully there will be someone to guide me or have a solution for this printing issue. 


PermitRequest_07.oml
Solution


I have updated the oml file so you can download the pdf file. However, I only made a sample to convert a part of Screen 2 into a Template ( PDFTemplate screen) for PDF printing.

PermitRequest_v9.oml

Hi Tan,

I think the windows.print() javascript function should not be used directly. You can use Forge Ultimate PDF, create a screen that acts as a template to print that page as desired.

You can see the oml file I have attached.

PermitRequest_v2.oml

Understood but how do i print the whole page of my form? Right now I only saw one page screen. 

Solution


I have updated the oml file so you can download the pdf file. However, I only made a sample to convert a part of Screen 2 into a Template ( PDFTemplate screen) for PDF printing.

PermitRequest_v9.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.