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
660 stars 147 forks source link

appdata in C:\ instead of c:\%username%\ #58

Closed pierreIT closed 1 year ago

pierreIT commented 2 years ago

Hi,

I'm using clawPDF on W2019 Terminal Server, and I'm facing an issue.

Local spools are located on C:\AppData\Local\Temp\clawPDF\Spool instead of C:\%username%\AppData\Local\Temp\clawPDF\Spool

Would you have any fix to solve it? I've tried to look into registry -> could not find anything regarding profile.

Thanks for helping

Pierre

twooclock commented 2 years ago

Check for GetTempPath in code. See https://stackoverflow.com/questions/1322442/getting-user-temporary-folder-path-in-windows Also check what user it runs under.

clawsoftware commented 1 year ago

Patched with version 0.8.6