PRINT_DIB@

Platform

Win32, x64

Purpose

To print a device independent bitmap (dib).

Syntax

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

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

DIB_PRINT@, DIB_PAINT@, RELEASE_SCREEN_DIB@, EXPORT_BMP@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited