Free Support Forum -

PrintDocument and SPSecurity.RunWithElevatedPriviligies

I’ve tried to print PDF document under elevated permissions in Sharepoint (it’s sharepoint web part, printer is connected to server). Under normal permissions everything prints normal, but under elevated page just freezes without any errors.
Is that normal behavior?

Resolved that by myself - you just need to create all objects like PDFDocument already under elevated priviligies.

Hi Konstantin,

Thanks for contacting support.

I am glad to hear that your problem is resolved. Please continue using our products and in case of any further query, please feel free to contact.