BiAdvPrnA.ocx, BiAdvPrnW.ocx specific error codes

The last error code in the BiAdvPrn.ocx can be retrieved by the BlackIce_GetLastError method.

 

Please note that each OCX has a different Error code method and Error String method.

The BiAdvPrn.ocx interface will return the following error codes:

Error Code number

 

 

-1000

ERROR_DEVMODE_NULL

Devmode is NULL

-2000

ERROR_DM_NOT_BLACKICE

Devmode is not Black Ice specific

-3000

ERROR_DM_CONVERSION_ERROR

Devmode conversion error

-4000

ERROR_DEVMODE_INCORRECT

Incorrect devmode

-5000

ERROR_WIDE_FUNC_NOT_SUPPORTED

The function uses wide characters