Reply
How To Print Multiple Pages Using Javascript?
Old 05-06-2008, 01:27 PM How To Print Multiple Pages Using Javascript?
Hoosier_Buddy's Avatar
Extreme Talker

Posts: 196
Name: Justin Allen
Location: Corydon, IN
Would anybody know how to print multiple pages using javascript?

Example...
-------------------------------
I would like to print pages 1-10
url=test.com/test.html?page=1
url=test.com/test.html?page=2
url=test.com/test.html?page=3
url=test.com/test.html?page=4
url=test.com/test.html?page=5
ect..
-------------------------------

Is there a way I can type into a textbox start from page '1' & end at page '10', and then just click a print button. I know it's possible, but just having a little trouble putting the code together. Thanks.
__________________
Appliance Parts & Accessories From Appliance Parts Specialists
www.MyApplianceParts.com | www.4ApplianceRepairParts.com | www.ApplianceZone.net | www.AppliancePartsClinci.com
Hoosier_Buddy is offline
Reply With Quote
View Public Profile Visit Hoosier_Buddy's homepage!
 
Sponsored Links (We share ad revenue):
 
Old 05-06-2008, 09:32 PM Re: How To Print Multiple Pages Using Javascript?
JeremyMiller's Avatar
Full-Time TeraTasker

Posts: 630
Name: Jeremy Miller
Location: Reno, NV
I don't know that Javascript would be the best thing for this. Have you looked at http://www.w3.org/TR/REC-CSS2/page.h...ge-break-props ? If so and you really want to proceed with this, then I recommend that you load page=1, trigger the JS print function (which the user will then have to print), then load page=2, ...

I really recommend using the page break CSS property, however.
__________________
Jeremy Miller - TeraTask Technologies, LLC
Content Farmer - Automated Posting for Content & Blog Sites
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to How To Print Multiple Pages Using Javascript?
 

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.14606 seconds with 14 queries