Hi,
As part of a larger application, I need to draw semi-transparent rectangles over images.
This was achieved using among others CreatePen, CreateSolidBrush and GdiAlphaBlend.
Now this works fine when drawing on a PictureBox, but there are issues when drawing on the Printer-object. When the "Microsoft Print to PDF" driver is selected, all works as expected, but when selecting a printer like HP LaserJet CP1525n the semi-transparent rectangles dont show on the output.
Google searches didnt give much information, apart from the fact that there may be limitations in the printer drivers, actually not supporting alpha blending.
Does anyone have experience with drawing alpha blend rectangles directly on a printer-object?
Thanks,
Erwin
As part of a larger application, I need to draw semi-transparent rectangles over images.
This was achieved using among others CreatePen, CreateSolidBrush and GdiAlphaBlend.
Now this works fine when drawing on a PictureBox, but there are issues when drawing on the Printer-object. When the "Microsoft Print to PDF" driver is selected, all works as expected, but when selecting a printer like HP LaserJet CP1525n the semi-transparent rectangles dont show on the output.
Google searches didnt give much information, apart from the fact that there may be limitations in the printer drivers, actually not supporting alpha blending.
Does anyone have experience with drawing alpha blend rectangles directly on a printer-object?
Thanks,
Erwin