I am trying to print an existing XPS file in GrayScale . I tried to add a PrintTicket inside the XPS file, and also tried to change the PrintQueue property of the printer , like :
LocalPrintServer server = new LocalPrintServer(PrintSystemDesiredAccess.AdministrateServer);
PrintQueue pq = server.GetPrintQueue("MyPrinterName");
pq.DefaultPrintTicket.OutputColor = OutputColor.Grayscale;
PrintSystemJobInfo print = pq.AddJob("myPrintJob", "MyFileToPrint.xps",false);
But still printing the file in colors ...
So , I thinking about changing the print setting in the driver settings itself , like :
So , Is it possible to change this option programmatically ??

