-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service not printing on windows 10 #12
Comments
Does it work when you run it from the console (start the exe with the flag If it runs as a service, the user the service runs under must have printers installed (Windows links printers to users IIRC). It can help to use a service account instead of |
Yes it works when running as console application but it is not working while running as a service ,,, according to the microsoft docs the PrintDocument is based on WinForms and i think windows service dont have the rights to print documents |
Is any solution found about this issue?
|
I was able to print using service.
I will contribute the code for this fix
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: yiwan74 ***@***.***>
Sent: Sunday, May 1, 2022 8:01:27 PM
To: huysentruitw/print-it ***@***.***>
Cc: Saad Yasir ***@***.***>; Author ***@***.***>
Subject: Re: [huysentruitw/print-it] Service not printing on windows 10 (#12)
Is any solution found about this issue?
Printing from service is not possible. Any workaround for this problem?
Yes it works when running as console application but it is not working while running as a service ,,, according to the microsoft docs the PrintDocument is based on WinForms and i think windows service dont have the rights to print documents
—
Reply to this email directly, view it on GitHub<#12 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA6UE62NCMQACOA3T3LSC3DVH2MEPANCNFSM47NZL7CA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yes. You are right. It can print from service. |
when running it as service on windows 10. it doesn't print anything. but when debugging it in visual studio it works well
The text was updated successfully, but these errors were encountered: