Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

"protect" rows in printing?


ErnieG

This topic is 7839 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Perhaps this is more an advanced HTML question? Suppose I have a small table between [FMP-record] and [/FMP-record]. I want people to be able to print this report from their browsers. Is there a code (or another way) to protect that table--or even one row--so that if it doesn't fit on one page it will print completely on the next?

Thanks for your time.

Ernie

Link to comment
Share on other sites

Thanks! I'll check that JavaScript reference . . . and not expect any exact science. But FYI, I was looking at style sheet operators, and there was "page-break-inside : avoid"

Haven't had a chance to test it, but if it can be applied to a Table (as other attributes definitely can be) then I might be home free. Just thought I'd mention it in case someone else would find it helpful.

Ernie

Link to comment
Share on other sites

I know that there is a way of using CSS to print element specific parts...however, when using CSS you have to worry about cross-browser issues and also when the "new window" is poped you have to construct more JS in order the attach the same CSS in the window that just poped....

Also, the browser must be set to print background images and colors (colours :-) yes we were though by the Brits) IF you desire to have them.

Also, I would suggest to remove Header and Footer under Page Setup (IE) so you don't hand out printouts containning DB names and token names...and all the things you try to hide!

Link to comment
Share on other sites

This topic is 7839 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.