How to print in black and white with a ".dat" file
I want to set up a printer with a .dat file on the fog server. The first thing I have done is to go to the fog documentation and I have found a command to export a config file which is the following: documentation
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Ss /n"Printer Name" /a "C:\Path\To\Save\ConfigFile.dat m f g p
I have tried the command in MS2 with a printer that I had in black and white, I have made the config file of that, the question is that this command does not do what I want that is to configure the printer in black and white, but if I change the letters of the parameter /Ss and /Sr the letter “g” of the command by the “u” the configuration is saved in black and white.
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Sr /n "PrinterBW" /a "C:\ConfigFile2.dat" m f u p
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Ss /n "PrinterBW" /a "C:\ConfigFile2.dat" m u
Now what I want to do is the same but in the fog server but when I put the .dat file in the configuration of the printers it does the same as the command with the “g” and I don’t know how to make it do the same as the “u”, does anyone know?
Sebastian Roth Moderator
Douple post on github and the forums. Will discuss this on github.