printing html area

I’m having difficulty printing an html area – in the print preview there is only one page, and the print engine cuts off everything after one page. Does anyone know how to paginate an html area properly so that everything in the html area prints? I tried creating a new form with only the html area to no avail… the printSliding property is set to the correct parameters (I think…) … any ideas?

Thanks!
Aron

What version of Servoy are you using? I used to have this issue in earlier versions of Servoy.

I actually wrote a commercial plugin that provides a new component, which I use as a drop in replacement to HTML area. It supports XHTML and CSS 2.1/3. It also includes its own print preview functionality and some other interesting features. One of those features is a custom CSS property that “closes” tabular data across pages. See link below for “XMLRenderer Plugin.”

Take a look at the “printSliding” property of your html area, make sure that you allow the height to grow.

I see now you already did that :), then also make sure that your body part has “Allow part to break across page boundaries” checked in the “Define parts” window.

Thanks for all the helpful tips!

@jbader:
I’m using Servoy Developer
Version 3.5.5-build 518
Java version 10.0-b19 (Windows XP)

and using 3.5.6 on my application server. I would love to eventually get the XML Renderer Plugin… if it were up to me I’d love to have it sooner than later, but at the moment it’s not completely necessary for what we’re doing.

@joas:
I checked the “Allow part to break across page boundaries” box, and it still wasn’t working. I eventually did get it working, and it looks like there are some other settings that need to be just right in order for the “Allow part to break across page boundaries” to take effect.

The HTML area itself has to be set with scrollbars as such: vertical when needed, horizontal never. The anchors have to be only top, left. The form itself has scrollbars set to horizontal never and vertical never, but I don’t think that is affecting the printing.

Thanks again!
Aron