How to hide printer popup

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
garyj0nasAsked:
Who is Participating?
 
MarkieSConnect With a Mentor Commented:
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
 
thepanchCommented:
are you using any api? or you are comunicating directly with the printer?
0
 
garyj0nasAuthor Commented:
For this task we use a third party API
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
garyj0nasAuthor Commented:
Thank You.
0
 
MarkieSCommented:
Any update? Points awarded for closure?
0
 
Tom KnowltonWeb developerCommented:
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
 
MarkieSCommented:
My suggestion to amend local registry would have worked.  Just no feedback from user!
0
 
MarkieSCommented:
My suggestion to amend local registry would have worked.  Just no feedback from user!
0
 
ModalotEE ModeratorCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.