473,795 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to print muliple files (e.g doc, xls, pdf, etc..) using javascript

2 New Member
I want to print all the files within the folder without opening the print dialog using javascript. the files may be any format, ie doc, xls, pdf, jpeg etc.. any help would be appreciated...
Mar 13 '08 #1
1 2629
acoder
16,027 Recognized Expert Moderator MVP
This is not possible with JavaScript. All JavaScript can do is invoke the browser print dialog.

You could possibly use some ActiveX code in an IE-only environment with the correct security settings.
Mar 13 '08 #2

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

Similar topics

3
18152
by: Steven | last post by:
Hi all, Is it possible to do an ie print from javascript that does not bring up the print dialog? I'm in a situation where i need to load a sequence of files into a browser and print all of them without any user interaction. Thanks! ~Steven
4
2190
by: Julie Siebel | last post by:
Apologies...I'm sure this has been asked before, but I can't seem to come up with the correct Google search terms. While my problem is with stylesheets, the errors are being caused by my javascript, so this seemed a more appropriate place to post. I'm using a media=print style sheet to do a version of a web page that I am building. Currently, I'm working on the IE version. I have an HTML page and 2 style sheets which all validate...
2
3037
by: Mitul | last post by:
Hello friends, I am getting stuck at a point in my project. I would like to give functionality of print data from site. but there is a problem is that if there are lots of data which takes multiple pages to print then I need to show header that indicates coloum name at top of each page so can any one help me how to do that. the main problem is there are muliple line for each row so I could not
1
1227
by: santhosh146 | last post by:
Hi, I have a requirement where i need to get the postings in a microsoft content management server website and store it in html. I am able to do this successfully. Now i want to know how i can i concatenate all these html pages in to one document and print using asp.net. Please adivise
1
2149
by: milti | last post by:
Hi All!! Is there any way, I can avoid the Print Dialog from appearing multiple times? Let me be more clear. I've say three files. file1.html, file2.html and file3.html. there's a button Print in file1, on click of which, all the above
0
1030
by: Cat | last post by:
I know that names and descriptions in sitemap files can be localized using resource files. But I think that's not enough for me. I need to add and remove some menus depending on the language, for example: When the display language is English, there should be "Home", "Japanese lecture", ... "Contact", and when Japanese, there should be "ホーム(home)", "英語講座(English lecture)"..."お問い合わせ(contact)". The urls for home and...
2
14299
by: toronto | last post by:
Seasons Greetings Everyone! I want to use JavaScript's event object to detect whether someone has pressed the 'PrintScreen' key to screenshot, via the Windows Clipboard, and to print website content I don't want printed... It occurred to me that the easiest way to do this is to erase or replace the contents of the Windows Clipboard... Some code snippets I found at webdeveloper.com forums:
1
1649
by: cryogeneric | last post by:
Hi, I'm writing an ASP application that can display PDF files in a frame. The user can save or download the PDF, but I need to know when they do this so I can add an activity record to my database. My first thought was to disable the PDF tool bar and allow saving and printing from buttons that I CREATE. This would allow me to trap the action. I was able to do this for saving using the LoadFromFile method in ASP. However, printing has...
1
7689
by: Mike | last post by:
Hi, I have a web application written in asp.net and C#. It generates a bunch of pdf file using crystal report. Now I need to batch print all those pdf files from a web page to user's local printer. Could anyone provide any suggestions? By the way, I found some javascript code which was claimed to print pdf from a web page. But when I tried, the page pops up a warning
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9522
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10167
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7544
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.