Re: need help in printing
- From: "Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx>
- Date: Sun, 13 Jan 2008 23:08:39 +0100
"jabslim via DotNetMonster.com" <u40064@uwe> schrieb:
i want to print files in vb.net with the ability to let users choose if they
want it "colored" or only "black and white"(grayscale). how can i make a file
print in only "black and white"?
ill illustrate an example to explain my question better:
a user opens a word file(.doc) and the file has colored text and images, then
the user has 2 options, to print in colored or black, so if they choose:
a.) colored - it will only print normally
b.) black - it needs to alter the settings of the printer to make it
grayscale, so even if the file has colored text and images, it will only be
printed in black and white.
If you are using the Word object model, try this:
\\\
With ActiveDocument
.Compatibility(wdPrintColBlack) = True
Call .PrintOut
.Compatibility(wdPrintColBlack) = False
End With
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
.
- Follow-Ups:
- Re: need help in printing
- From: jabslim via DotNetMonster.com
- Re: need help in printing
- References:
- need help in printing
- From: jabslim via DotNetMonster.com
- need help in printing
- Prev by Date: Re: COM dll accessable from double-click, but not from Start > Run
- Next by Date: Re: new visual basic.net application
- Previous by thread: need help in printing
- Next by thread: Re: need help in printing
- Index(es):
Relevant Pages
|