Posted by Smith, Jack on 1999-08-19
I really hope someone can answer this question. I have to write a report that will display the results for one to many students that are currently in my database. I want to generate the results in HTML and display them in the users default web browser. I have all the logic to write the file and open the browser but the problem is when it comes time to print the report (from the browser). If the result set is only for one student, then I just hit the print button and everything is great. But if the result set returns multiple students, the display in the browser is fine but when I print it, I get part of one students info on one page and part on another. What I want is one page per student. Is there a tag or command in HTML, JavaScript, ColdFusion or anything else for that matter that will force a "page break" in the printer? I don't care if it's visible in the browser or not I just want to force printing to begin on a new page. Thanks in advance
Previous post | Next post | Timeline | Home