I have tried to print a BMP-file on printer using DrawIconEx , without any success.
The source code has the following style.
ICON = LoadImage( 0, 'RP.BMP'C, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE )
ires = DrawIconEx( ihDC, 10, 10, ICON, 0, 0, 0, NULL, DI_NORMAL )
The return value from DrawIconEx is zero and nothing is printed.
Does anyone have ideas how to solve this problem?