Printer Config File Not Working
-
I am running on Windows 10 Build 21H1, I am able to add the printer with the fog client with no issues. I would then like to add the printer config file but it does not seem to run, if i manually run the command that is in the code then the printer config works.
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Sr /n"Printer Name" /a Path\ConfigFile.dat m f g p
In the log I do not even see that the printer is attempting to add the config file. Does anyone have any helpful hints or tricks for me.
Thanks
-
@foobarhistory Which version of FOG and which version of the fog-client do you use?
-
@sebastian-roth Fog 1.5.9 and Fog client 0.12.0
-
@foobarhistory Possibly this issue is around since a very long time. Does this match the issue you see? https://github.com/FOGProject/fog-client/issues/106
-
@foobarhistory My issue seems slightly different, the end result is relatively the same. On the log file is does not even reach the configuring part of the script, it looks to me like the WindowsPrinterManager.cs stops after the printer has been added.
I have worked around this issue for now using a batch file “snapin” to accomplish the task. I would of course love it to work within the printer manager.