473,549 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Want to know print status. means whether user clicked on ok print or canceled printin

3 New Member
Hi,
I am printing a page by javascript. but i want to know status of that print means whether that page got printed or not? means if user clicked ok on print popup i should be able to give user a success alert and if user canceled printing i should be able to give an alert to user that 'Unsuccesful'.
I have used print(); function.
Nov 13 '13 #1
4 1332
Dormilich
8,658 Recognized Expert Moderator Expert
unless your browsers provides an API to the print queue, you’re out of luck. OS operations (except for a few cases) are not accessible from JavaScript.
Nov 13 '13 #2
Shrikeshk9
3 New Member
So what to do? Please guide. Is it possible from HTML, Jquery?
Nov 13 '13 #3
Dormilich
8,658 Recognized Expert Moderator Expert
HTML is not a programming language, jQuery *is* JavaScript. hence, no luck there.

your only chance were if your browser provides a print API, which AFAIK no one does (why should it? printing is the job of the browser, not of JS).
Nov 13 '13 #4
Shrikeshk9
3 New Member
ok thanks for ur time
Nov 14 '13 #5

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

Similar topics

3
2604
by: glevik | last post by:
Hello, Anyone that can think of a way to programmaticaly determine the word on an HTML page that the user clicked on will be my hero for life. Leo
7
1482
by: sumi | last post by:
Hi, from my login i want to login as a other user , how can i do it using python.
1
5542
by: Leeor Geva | last post by:
did any of you guys notice when adding an onclick javascript to a Radio Button List, it will get fired BEFORE the Dot is set if you click on the Text for that particular Circle. My onlick calls this function: if (document.Form1.UserInfo_optStatus_2.checked) { .... }
3
1439
by: Brent Burkart | last post by:
I have a web application which consist of a huge form with many requiredfieldvalidators. Before the user submits, I want to prompt the user to print. I have tried to do this with the help of a CustomValidator and javascript, but I can't get the CustomValidator to fire. Does anyone have a better to approach this or maybe you can point me...
3
4084
by: Trevor | last post by:
I need to find a way to see if the user clicked cancel on a FolderBrowserDialog. Thanks for any help. Trevor From http://www.developmentnow.com/g/38_0_0_0_0_0/dotnet-languages-vb.htm Posted via DevelopmentNow.com Groups http://www.developmentnow.com
1
1101
by: sri | last post by:
Hi all, I have a situation where i have to know the status of a web service(whether it is runing or not), from another Web Service.How i can know it.Please help me.
1
4947
by: Appu | last post by:
How to Check in the window print dialog box whether we clicked either "print" or "cancel". while clicking a button i call wnidow.print() to pop up the windows PRint Dialog box. I want to check whether the user clicked either "print" or "cancel" in that print dialog box of windows. Please Help soon. Thanks T.Appasamy
0
2353
by: thirunavukarasukm | last post by:
Hai.... To print Html page using PrintDialog and Print Document i am created one windows appication.. the windows application have many pages in my booking page i have two buttons one btnprint,btnclose
1
1257
by: venuchary | last post by:
I want to know the status of server from c# program. how can i know? pls solve n mail to me.
0
7720
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7960
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7475
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...
0
7812
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...
0
5089
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3501
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...
1
1944
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
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
766
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.