Главная страница | назад





Article #16479: Reversing colors sent to printer in windows

 Question and Answer Database

FAQ1479C.txt   Reversing colors sent to printer in windows
Category   :Windows API
Platform    :All
Product    :BC++  5.x

Question:


The problem appeared for me: How to reverse colors when sending 
the contents of the window to the device (printer). 


Answer:


Assuming your printer supports BitBlt, you can specify the raster 
operation to be performed.  In the last argument to the BitBlt 
function you can set SRCINVERT as the raster operation, 
which will invert the colors of the destination bitmap 
being sent to your printer.

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99