S
Steve
Hi All
I am trying to force a colour laser printer to print images in a document in
greyscale, in vb.net 2008 SP1
code......
Dim printDoc As New PrintDocument()
printDoc.PrinterSettings.PrinterName = printername
If flgblackandwhite AndAlso printDoc.PrinterSettings.SupportsColor Then
printDoc.DefaultPageSettings.Color = False
AddHandler printDoc.PrintPage, AddressOf PrintPage
printdoc.print
End If
This doesn't work. any images still print in colour
I have stepped thru the code and the printDoc.DefaultPageSettings.Color =
false is definitely set
If I set the printer options in windows xp printers and faxes to print grey
scale it works fine
Any ideas
Regards
Steve
I am trying to force a colour laser printer to print images in a document in
greyscale, in vb.net 2008 SP1
code......
Dim printDoc As New PrintDocument()
printDoc.PrinterSettings.PrinterName = printername
If flgblackandwhite AndAlso printDoc.PrinterSettings.SupportsColor Then
printDoc.DefaultPageSettings.Color = False
AddHandler printDoc.PrintPage, AddressOf PrintPage
printdoc.print
End If
This doesn't work. any images still print in colour
I have stepped thru the code and the printDoc.DefaultPageSettings.Color =
false is definitely set
If I set the printer options in windows xp printers and faxes to print grey
scale it works fine
Any ideas
Regards
Steve