Platform |
Win32, x64 |
Purpose |
To print a device independent bitmap (dib). |
Syntax |
INTEGER FUNCTION PRINT_DIB@( UID, PR_X, PR_Y, |
Description |
This function is obsolete. New code should use DIB_PRINT@. UID is the user identifier of the printer as supplied to OPEN_PRINTER@. PR_X, PR_Y is the printer offset position to start printing (using the printer resolution). PR_WIDTH, PR_HEIGHT represent the size of the area to print (using the printer resolution). HDIB is the handle of the DIB returned by IMPORT_BMP@, IMPORT_PCX@, GET_SCREEN_DIB@ or CLIPBOARD_TO_SCREEN_BLOCK@. X, Y is the offset position from which to start reading the bitmap WIDTH, HEIGHT represent the size of the bitmap area to print. |
Return value |
Returns 1 for success or zero for failure. |
See also |