Re: need help in printing

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"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/>

.



Relevant Pages

  • Re: Adding a File menu in HTA
    ... No images or links. ... if the file extension is changed to "html" and the user opens it in a ... Have you standardized on a single browser for your visitors? ... Can you predefine the local folder where it will be saved? ...
    (microsoft.public.scripting.vbscript)
  • need help in printing
    ... i want to print files in vb.net with the ability to let users choose if they ... ill illustrate an example to explain my question better: ... a user opens a word fileand the file has colored text and images, ... grayscale, so even if the file has colored text and images, it will only be ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Save user input from previous session for next session
    ... "muscleking" schrieb: ... these values so when the next time the user opens the form, ... from last session remains in the form? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: vertical alignment of img inside a div?
    ... tomasio schrieb: ... I would like to vertically center the images containing arrows ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: nice software for large microscopy images
    ... J&SB schrieb: ... but only the abstract is online. ... How much does this software cost? ... i've found a quite cool software to handle large images. ...
    (sci.techniques.microscopy)