•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,625 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,708 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 3388 | Replies: 2
![]() |
I was wondering if it is possible to print a file with out viewing it first by using a hyperlink on a webpage. Bacically i want users to print off a form (doc file) by clicking a link.
eg:
-so the hyperlink would be here:
kings-head-inn.com/print/linkpage.html
-and the doc file would be here:
kings-head-inn.com/print/doc.doc
I understand javascript can be used to print the current window or frame, but can it be used to print an external file? and how can this be done?
Thank you for your time,
Dylan
eg:
-so the hyperlink would be here:
kings-head-inn.com/print/linkpage.html
-and the doc file would be here:
kings-head-inn.com/print/doc.doc
I understand javascript can be used to print the current window or frame, but can it be used to print an external file? and how can this be done?
Thank you for your time,
Dylan
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
•
•
Join Date: May 2006
Location: New Jersey
Posts: 1,422
Reputation:
Rep Power: 5
Solved Threads: 34
JavaScript can only print the current document in the window.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Ok i thought so. Is there any other way to do this?
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- help with validating (HTML and CSS)
- Moving <form></form> to an external file? (HTML and CSS)
- Help with .js JAVASCRIPT file!!!!!?!!?!? (JavaScript / DHTML / AJAX)
- Adding to linked list from external file (C)
- Reading from external data file (C++)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Please help a newbie - Javascript basic
- Next Thread: Is it possible to print a frame by clicking a button in a pop-up? (JAVASCRIPT)



Linear Mode