I have virtual printer installed which prints through redirected port and sends document to real printer via gsview\gsprint.exe. It works normally when I use gsprint from a normal C++ application. But if call the same thing through a windows service (run as SYSTEM), it gives following error. It sees the printer but perhaps doesn't have access to it. I am on windows 10 but windows 7 also has the same issue. How can I solve this problem?
2006-02-24 gsprint 1.9 Couldn't open Windows GDI printer driver Requested printer: "SupplyDep"
Available printers: "Send to OneNote 2010" "VirtualPrinter" "SupplyDep" "Microsoft XPS Document Writer" "Fax"