473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to print an external word document by clicking on an image

djdeej
2
Hi All

I am new to javascript and such.

Basically I want a user to be able to click on a button or image on my page in order to print a word document that is located on the network.

This "webpage" is only for users on my network.

Any help will be appreciated

Thanks
Mar 5 '07 #1
3 1346
iam_clint
1,208 Expert 1GB
Print it through a printer... or print it onto the page.
Mar 5 '07 #2
djdeej
2
Print it through a printer... or print it onto the page.
To a printer
Mar 5 '07 #3
acoder
16,027 Expert Mod 8TB
If you put the following in the head section, it may work:
[HTML]<link rel=alternate media=print href='yourwordfile.doc'>[/HTML] Perhaps you could open a new window and call the print method on body load.
Mar 6 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: primary0 | last post by:
Hi, I have a page containing an external javascript which loads an image onto the webpage. How would it be possible to use javascript to read the filname (and the dimensions) of the loaded image...
1
by: Kristina Foxwell | last post by:
Hello: I am currently having problems with an ASP.NET page...I've never programmed in ASP or HTML so all of this is new to me. I have a table that contains a list of files. The columns are a...
5
by: Dino M. Buljubasic | last post by:
I'd like to be able to print my form or some controls on it. I have found lots of references for this but they all talk about printing a text document from a form. Any help will be appreciated...
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
1
by: Lucas | last post by:
Hi is it possible in a ac2000 file to print a word document without opening MSword. This document has no fileds connected with data on this db. I want to print this document by clicking a buttum...
2
by: Code Monkey | last post by:
I'm about to deploy a program that prints out Word documents. However, due to licensing issues, we don't actaully have Word 2003 or Office 2003 installed on the machine - only the free Word Viewer...
2
by: manmit.walia | last post by:
Hello Fellow Developers, I have a small problem that you might be able to help me with. The method that I am trying to create is the ability to export a GridView and a image to word or excel. I...
5
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually...
6
by: Eric Layman | last post by:
Hi, I have fields from textareas. With a click of a button, php is able to grab these fields and by using header(), convert the output to Ms Word doc. But the outcome of the word doc...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.