Page 1 of 1

Basic print job question

PostPosted: Wed Jan 23, 2013 11:58 pm
by djlapin
I'm trying to print text that contains returns. I've included two text fields, each of which can grow and slide vertically. I'm getting a first page that is blank (except for the header); a second page that is block text with no returns; and no secondary field.

What needs to be done?

Thanks so much,
Don

Re: Basic print job question

PostPosted: Thu Jan 24, 2013 9:55 am
by Gordon McLean
Have a look at Patrick Talbots Velocity reports it is a total solution for all printing via Servoy - ServoyForge.net

Best
Gordon

Re: Basic print job question

PostPosted: Sat Jan 26, 2013 1:02 am
by djlapin
Hi Gordon,

I have used Velocity reports for another (more complicated report).

But am I to conclude that Servoy can't handle carriage returns within a text field, when printing "natively"?

Thank you,
Don

Re: Basic print job question

PostPosted: Mon Jan 28, 2013 5:47 pm
by david
Servoy doesn't ever show carriage returns in text fields, CRUD or printing. Make it a text area field.

Re: Basic print job question

PostPosted: Mon Jan 28, 2013 8:22 pm
by djlapin
I was using text areas, not text fields.

But it looks like Servoy needs to have both the carriage return and line feed (\r\n), not just the carriage return (\r). When I added the line feeds, it printed with the expected separations.

I finally got it to work (I also didn't realize I needed to check the box allowing it to break across pages).

Thank you,
Don