clawsoftware / clawPDF

Open Source Virtual (Network) Printer for Windows that allows you to create PDFs, OCR text, and print images, with advanced features usually available only in enterprise solutions.
https://github.com/clawsoftware/clawPDF
GNU Affero General Public License v3.0
710 stars 152 forks source link

Cannot print from service without autologin #134

Open andreymironovdev opened 4 months ago

andreymironovdev commented 4 months ago

Hello! Awesome printer, but I'm facing a strange issue when trying to print from a windows service. The printing starts only after user account, which my service has in "Log on" tab, starts an interactive session by logging in with RDP. Due to security limitations I cannot configure autologin on the Windows Server. Couldn't find any error details in Windows journal, maybe need some additional printer configuration to print from windows service?

Thank you!

excabiludo commented 4 months ago

[translate, PT-BR] se você utilizar GPO com Active Directory tem esses comandos aqui que pode tentar utilizar. https://github.com/clawsoftware/clawPDF/wiki/Install-as-Network-Printer

andreymironovdev commented 4 months ago

Thank you, @excabiludo , though it didn't help, I think there are some user groups policy settings which block printing from windows service, and can't figure out what is the cause. I followed the instrustions and executed the command from administration account, file NetworkPrinter.bin appeared. Then I created another printer, share it and give access to service account in printer properties, printer server properties. And printing from service didn't start, and no logs and error events...