Reply
Print multiple pages
Old 08-21-2006, 06:38 AM Print multiple pages
Skilled Talker

Posts: 95
Hi.

I need some advice.

I have a page that displays staff details. Is it possible to get the is page to print N number of times.

Ie if i have 9 staff members it would print out nine times each orint out only showing the data for that staff member.
higginbt is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 08-21-2006, 08:55 AM Re: Print multiple pages
funkdaddu's Avatar
Web Design Snob

Posts: 636
AFAIK, no. You could call the window.print() function 9 times, but it would be easier to manually type "9" into the "copies" box.
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 08-25-2006, 06:32 PM Re: Print multiple pages
kIDJOE's Avatar
Extreme Talker

Posts: 180
Location: Hollywood, CA
Thats true you could call the function N times but that function requires an OK user input.. so it doesnt make sence.. you could load the document N number of times depending on how many you need in FRAMES and then send all the frames to the printer but its the same as sending the Print() N number of times.
kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 08-28-2006, 11:36 PM Re: Print multiple pages
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Wireless Audio
Posts: 2,314
Name: Keith Marshall
Location: West Hartford, CT
Are you using a server-side code?
You might even be able to do the following with javascript too

Here is how I would do it in php. In the html header, set your print href to the current page with url query set to something like <?php echo $_SERVER['PHP_SELF']; ?>?print=9

When you click on a javascript button you made on the page to "Print This Page", the print url will be redirected to the url above. Using php, check if $_GET['print'] isset and loop the page content X number of times, using CSS to define a page break after each loop.

So, the page is printing one copy, but the printer will spit out X number of pages with identical copies.

Alternativly, you could research if you can make vbscript define the number of copies set in the print dialoge box.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Print multiple pages
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12147 seconds with 13 queries