graphics - .NET - Overriding printer's default for color -
i printing color printer. printer's default setting color black-and-white.
have tried following, when open printer's preferences dialog, color still set black-and-white. prints in black-and-white. want preferences dialog reflect changes made code. do?
this code runs when click on 'print' button:
if printdocument1.printersettings.supportscolor printdocument1.defaultpagesettings.color = true else printdocument1.defaultpagesettings.color = false end if
vb2010, gdi+, winforms
Comments
Post a Comment