Printing in grayscale

  • Thread starter Thread starter Peter Longstaff
  • Start date Start date
P

Peter Longstaff

Hi All,

I want to print some lines in a lighter colour (i.e. gray as appossed to
black) depending upon a given condition being true. my code works fine on a
color printer as I use something like :

if(a > b)
font.SetColor(_variant_t(RGB(192,192,192))); // Gray

On a mono printer it only prints the black text. What I really need is to
tell the printer to print in grayscale!


Can someone tell me how to do this?

TIA Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top