Platform |
Win32, x64 |
Purpose |
To print a device independent bitmap. |
Syntax |
INTEGER FUNCTION DIB_PRINT@(HDIB, PR_X, PR_Y, PR_WIDTH, |
Description |
This function replaces PRINT_DIB@. HDIB is the handle of a DIB created using GET_SCREEN_DIB@. Calling this routine allows you to set the bitmap source dimensions. PR_X, PR_Y, PR_WIDTH, and PR_HEIGHT are dimensions for the printer page. You must call GET_SCREEN_DIB@ before opening the printer (with OPEN_PRINTER@). Then call DIB_PRINT@ after opening the printer. Setting PR_X=-1, causes the output to be centred horizontally on the page. |
Return value |
Returns 1 for success or zero for failure. |
See also |