generate pdf, blank pages

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

edwinayin@qq.com
Ebase User
Posts: 24
Joined: Fri Nov 04, 2016 7:41 pm

generate pdf, blank pages

#1

Postby edwinayin@qq.com » Fri Jun 09, 2017 5:24 pm

Hello everyone,

I have a text area field and when the value of the field has more than 60 lines, the generated pdf will have blank pages before this field.

If there a way to avoid this?

thanks,
Edwina
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Mon Jun 12, 2017 8:55 am

Hi Edwina,

Are you printing out the PDF in report mode?
I do not know why you have blank fields before the text area field. It might be because the content is spanning over more than one page and the PDF formatting software is having trouble rendering it.

Code: Select all

var options = new PdfOptions(); 
options.reportMode = true; 
form.generatePdf(options);
This is the only way you can print out text areas and format them so you can see all the content.


Perhaps you can send me a copy of the generated PDF to support@ebasetech.com so that I can see what the issue is.

Kind regards

Steve
0 x

edwinayin@qq.com
Ebase User
Posts: 24
Joined: Fri Nov 04, 2016 7:41 pm

#3

Postby edwinayin@qq.com » Mon Jun 12, 2017 2:47 pm

Thank you, Steve.

I didn't set it to report mode...

E.
0 x


Who is online

Users browsing this forum: No registered users and 105 guests