Printer settings RRS feed

  • Question

  • Hi,

    Im using methods in the System.Drawing.Printing  namespace and id like to offer the ability to utilize printer specific driver settings (print quality,colour/black & white,pages per sheet)...

    How can i do this? Ive found a method which utilizes functions in "winspool.drv" however the examples ive seen return a print ticket and I dont see such a property in the document object im working with, just printersettings.

    Wednesday, August 22, 2012 12:23 PM


  • If the property isn't a member of PrintDocument.PrinterSettings, try the DEVMODE structure.  You can access the DEVMODE structure using PrinterSettings.GetHdevmode and set it using PrinterSettings.SetHdevmode.
    • Proposed as answer by Mike Feng Saturday, August 25, 2012 7:29 AM
    • Marked as answer by Mike Feng Thursday, September 6, 2012 3:44 AM
    Wednesday, August 22, 2012 1:39 PM