Hello Nancy,
Thanks for your post. As I understand, you want to prompt dialog requesting
for a password each time a user need to print. Please correct me if there
is any misunderstanding. I'd like to share the following information with
you:
Based on my experience and research, .NET and windows SDK does not provide
a method or an API which will automatically ask for a passwork for printing.
If the password is required when printing within your application, you can
create a new Form for user to enter a password and authenticate it.
If the printing password is required for all the application, I am afraid
that we cannot achive it in a user-mode application. I recommend you
contact the following newsgroup and see if kernel-mode printer driver guys
have any idea.
microsoft.public.win32.programmer.kernel
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! --
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.