| | |
Is it possible to print an external file using javascript?
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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.
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.
![]() |
Similar Threads
- 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: Open In New Window
- Next Thread: Misaligned overlapping list - is there a better way (that works)
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxexample ajaxjspservlets array browser bug calendar captchaformproblem cart checkbox child class close codes cookies createrange() cursor date debugger dependent disablefirebug dom dropdown editor element embed engine enter events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe images internet java javascript javascripthelp2020 jquery jsf jsfile jsp jump libcurl maps masterpage math media menu object onmouseoutdivproblem onreadystatechange parent paypal pdf php position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security session shopping size software sql text textarea toggle unicode variables web windowsxp wysiwyg \n






