?
Solved

How to hide printer popup

Posted on 2011-03-07
11
Medium Priority
?
415 Views
Last Modified: 2012-05-11
Hello,

Could you tell me please how to hide a popup window which comes up when we send a document to the printer? We have a task which we runs statements. Number of statements might be from 1 to hundrets. We render these statements separately, so we have to send them to the printer one by one and pupup comes up as many times as many statements we have. In this case I would like to hide it programmatically. After the process is over I would restore the original setting. I googled of cource and all I found is how to manually change this setting. Is there any way to do that programmatically?

Thanks,
Dmitry
0
Comment
Question by:garyj0nas
9 Comments
 
LVL 4

Expert Comment

by:thepanch
ID: 35061606
are you using any api? or you are comunicating directly with the printer?
0
 

Author Comment

by:garyj0nas
ID: 35062848
For this task we use a third party API
0
 
LVL 8

Accepted Solution

by:
MarkieS earned 2000 total points
ID: 35067708
It's a Windows registry setting which you could save, modify, then restore.  I'm no programmer but I'm sure you must be able to amend the key value

[HKEY_CURRENT_USER\Printers\Settings]
"EnableBalloonNotificationsLocal"=dword:00000001
"EnableBalloonNotificationsRemote"=dword:00000001

Local is for locally connected printers, Remote is for Network printers.  A setting of 0 turns notification off.

cheers
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:garyj0nas
ID: 35069447
Thank You.
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 35392844
Any update? Points awarded for closure?
0
 
LVL 5

Expert Comment

by:Tom Knowlton
ID: 36122963
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 36122960
My suggestion to amend local registry would have worked.  Just no feedback from user!
0
 
LVL 8

Expert Comment

by:MarkieS
ID: 36122964
My suggestion to amend local registry would have worked.  Just no feedback from user!
0
 

Expert Comment

by:Modalot
ID: 36157559
Following an Objection by MarkieS, and after Moderator review, there seems to be at least one valid solution. Implementing recommendation of the contributing Expert(s).

Modalot
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question