![]() |
|
|
How To Print Multiple Pages Using Javascript? |
|
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
|
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Re: How To Print Multiple Pages Using Javascript? |
|
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 |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |