BiPrint.ocx specific error codes

The OCX file has no error retrieving function. The called function returns with the error code (int).

Error Code number

 

 

0x0000

PR_ERR_NONE

No error

0x0001

PR_ERR_BITMAP

No DIB or DDB support

0x0002

PR_ERR_NODC

Invalid DC

0x0003

PR_ERR_SETABORT

Error in SETABORTPROC escape

0x0004

PR_ERR_STARTDOC

Error in STARTDOC escape

0x0005

PR_ERR_NEXTBAND

Error in NEXTBAND escape

0x0006

PR_ERR_BANDINFO

Error in BANDINFO escape

0x0007

PR_ERR_CREATEBITMAP

Error in CreateBitmap()

0x0008

PR_ERR_BITBLT

Error in BitBlt()

0x0009

PR_ERR_STRETCHBLT

Error in StretchBlt()

0x000A

PR_ERR_SETDIBS

Error in SetDIBits()

0x000B

PR_ERR_SETDIBTODEV

Error in SetDIBitsToDevice()

0x000C

PR_ERR_CREATEDC

Can't create DC

0x000D

PR_ERR_CREATEDIB

Can't create DIB

0x000E

PR_ERR_NEWFRAME

Error in NEWFRAME escape

0x000F

PR_ERR_MAPPINGMODE

Error in specified Mapping mode

0x0010

PR_ERR_DESTINATIONRECT

Error in specified destination rect

0x0011

PR_ERR_FLAGERROR

Error in specified BYTE flag

0x0012

PR_ERR_OUTOFMEMORY

Out of memory

0x0013

PRN_ERR_PRINTCANCEL

User canceled the printing

0x0014

PRN_ERR_PRINTERDC

Could not get printer DC