none
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.

    Cheers
    Wednesday, August 22, 2012 12:23 PM

Answers

  • 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.
    Wednesday, August 22, 2012 1:39 PM