CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
page break

 



nagao
Deleted

May 5, 2000, 1:24 PM

Post #1 of 3 (482 views)
page break Can't Post

I am creating reports and multiple reports get printed to the sceen. I want to be able to print each report on its own page when you print a hard copy, but not have a bunch of space when you're looking at it on your browser. I can not port everything to ASP so that is not an option. Any help would be greatly appreciated. Thank you.


Jasmine
Administrator

May 6, 2000, 8:35 AM

Post #2 of 3 (482 views)
Re: page break [In reply to] Can't Post

Unfortunately, there is no "standard" way to force page breaks with the exception of putting each page to print within its own html page and havign your visitor click "next" and "print" all the time.

There is an alternative for IE4+ users by using the "link" tag.

<link rel=alternate media=print href="versiontoprint.doc">

By using a linked MS Word document, printing will follow the same specifications as you've set in the MS Word document itself.

Though this is limited currently to IE4+, it's an option nonetheless.

You don't need to limit yourself to MS Word, but for page breaks, you'll need to use some word processor that supports page breaks. Don't forget that your visitors will have to have the word processor in order for this to work.

Hope this helps a little!


nagao
Deleted

May 8, 2000, 10:36 PM

Post #3 of 3 (482 views)
Re: page break [In reply to] Can't Post

thanks jasmine

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives