Solved

Unwanted color printing

Posted on 1998-07-22
2
208 Views
Last Modified: 2010-05-03
I wrote an application which generates printed output, some graphics, some text. Intention is to print in black.  One user reports that different parts of the printout get printed in various colors.  This surprized me, not being something I had considered.  How do I tell the printer object to print in black only?
0
Comment
Question by:normpos
2 Comments
 
LVL 1

Accepted Solution

by:
wizard2072098 earned 50 total points
ID: 1466416
Execute the following command before you begin printing:

Printer.ColorMode = vbPRCMMonochrome

This tells the printer to print in shades of gray instead of color. If the driver is for a color printer, it may default to printing in color, in which case the above code should fix it.
0
 

Author Comment

by:normpos
ID: 1466417
wizard2:  Thank You!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now