Rank: Advanced Member Groups: Member
Joined: 5/9/2016 Posts: 84
|
It seems to be some strange dependencies on Print method. Currently, we are printing from the SYSTEM account. We impersonate using normal impersonation methods to be able to access a profile and see printers and print. However, the problem is that Print starts failing when someone logs on with RDP to the machine. There is not any particular error. It is just that printing fails.
I have tested using other tools for printing and they are not affected by this (like Aspose).
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
We are not aware of such issues. However I am not sure how you implement impersonation. The printing code runs inside the browser engine's process that is a child process of the calling process (your process) thus inherits your process's security context, NOT your impersonation context. So if you want impersonation works for printing, you have to change your process's security context.
Thanks!
|