Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 204
Name: Justin Allen
Location: Corydon, IN
Trades: 0
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.
__________________
Justin Allen
WebTeam

Please login or register to view this content. Registration is FREE
Hoosier_Buddy is offline
Reply With Quote
View Public Profile Visit Hoosier_Buddy's homepage!
 
 
Register now for full access!
Old 05-06-2008, 10:32 PM Re: How To Print Multiple Pages Using Javascript?
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
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

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Reply     « Reply to How To Print Multiple Pages Using Javascript?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.12010 seconds with 12 queries