Slowness in printing

Sevanthalingam, Vivek 11 Reputation points
2022-02-21T06:03:56.513+00:00

I'm trying to print to a network printer from a windows service. The printing was very slow and it took more than 30 min to print. This problem is happening only when the windows service is running under "Local System Account". The printing is pretty much faster if I use network domain account.( Maximum it took 10 seconds to print in this case). Can someone help me to understand how service's log on user is affecting the printing to the network printer.

I use System.Drawing.Graphics.DrawString() method for printing. This method is taking taking time when the service is running with log on user as "Local System Account".

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,308 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,551 questions
0 comments No comments
{count} votes