View Full Version : Print more than one page
10-21-2005, 05:15 PM
i have a list of records getting them from a database and each record in this list take me to the same page like other records but with defferent value, ... i am trying to find a code that allow me to print all pages when i click on a button in the list page ... is there any way to do that or shall i need to print page by page ??? your help please ..
thanks in advance,
10-21-2005, 09:21 PM
You can only print one page at a time, but you could write out all the database records to a single page and print that.
hope this helps
10-22-2005, 01:29 PM
well i have done that .. i am getting all records in one page but each record is going to a page with the same layout but with different value ....
any way thanks alot martin_narg for your reply ... but i think there is a way ,,, that it allow u to print more than one page at a time
10-22-2005, 01:49 PM
... but i think there is a way ,,, that it allow u to print more than one page at a time
Hope this helps.
PrintAllRecs function should create a sequence of popup windows.
Each popup window should have m-records, print itself (window.print()) to printer and close itself.
If out of sequence pages appear on printer, the process must be synchronized (setTimeout()).
10-22-2005, 05:59 PM
Nice idea mate, but will pop up endless print dialogue boxes - one per page. Also popup blockers will more than likely disable this. Also is very resource hungry!
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.