Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print all the records without opening each of them

Status
Not open for further replies.

ashishsmith

Programmer
Jun 23, 2004
46
US
Hello Everybody,

I have created a page which would have summary of each records starting from last week tuesday to this week's tuesday in a table. Each tuesday I have to click on each record and print their hard copy for our meeting. Instead of doing that I want to have a function on a page, which print all the records one by one and they should be on seperate pages. Because some records are 2 pages and some are 3 pages. I don't want them to get mixed because they are sensible material.

If anybody have done this before or something similiar and can help me. I am using Coldfusion and SQL Server Database. Thank you very much.

Ashish Smith
 
Lots of questions of this nature have been asked recently..

Here's two that might help you..

How do I add a Header to a report?

print friendly output

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Look into the style function Page-Break-Before (or -After). You can insert this into the output page after each record (I assume a query that returns all the relevant records), and it should force a page break between the records. The downside is that the individual pages per record will be badly-formatted if they span more than one printed page. But that's always been a "problem" with printing HTML documents.

Phil Hegedusich
Senior Web Developer
IIMAK
-----------
In one hundred years, none of this will matter. Keep a healthy perspective!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top