On Mon, Mar 12, 2018 at 2:13 PM, Ed Leafe <e...@leafe.com> wrote:
>
> These are HTML generators, so there is just one <title> per document. Not 
> sure how you would translate that to hard copy page breaks.
>

CSS to the rescue! You can set up a block with @media print { ... }
and include loads of directives to control the appearance and layout
of the printed page.

I have a set of reports for one client where the printed page looks
much different from the visual page, thanks to CSS.

Check out the @page directive and the :first and other pseudo-tags:

https://developer.mozilla.org/en-US/docs/Web/CSS/Paged_Media

So, you can set up entire blocks within the page"

<div class="printonly">Your Title here</div>

and the CSS:

div.printonly {display:none}

@media print {
  div.printout {display:inline}
}

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4sl1rlcw+g9qc9t8hqplsnfpvywmyb0ecwdmm+mrqa...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to