Silverfrost Logo About Us | Contact Us
 

PRINT_DIB@

Platform

Win32(ClearWin+)

Purpose

To print a device independent bitmap.

Syntax

 INTEGER FUNCTION PRINT_DIB@( ID, PR_X, PR_Y, 
+  PR_WIDTH, PR_HEIGHT, HDIB, X, Y, WIDTH, HEIGHT )
 INTEGER ID, PR_X, PR_Y, 
+  PR_WIDTH, PR_HEIGHT, HDIB, X, Y, WIDTH, HEIGHT

Description

This function is obsolete. New code should use DIB_PRINT@. 

ID is the handle 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

DIB_PRINT@, DIB_PAINT@, RELEASE_SCREEN_DIB@, EXPORT_BMP@

 

 

Copyright © 1999-2017 Silverfrost Limited