Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
56
SHEET
55
3.38.BiSCNGetImageFormat
[Function]
Acquires the format of the image set in the printer.
[Format]
int BiSCNGetImageFormat( int nHandle, LPBYTE pFormat)
[Argument]
int nHandle
Specifies the handle value of the printer executing the function. The return value in BiOpenMonPrinter() is specified.
LPBYTE pFormat
Specifies the memory address where the format of the notified image data is set. The set value is as shown below.
EPS_BI_SCN_TIFF(1) : TIFF format CCITT (Group 4) compressed data.
EPS_BI_SCN_RASTER(2) : Raster format uncompressed data.
EPS_BI_SCN_BITMAP(3) : Bitmap format uncompressed data.
EPS_BI_SCN_TIFF256(4) : TIFF format uncompressed data
EPS_BI_SCN_JPEGHIGH(5) : JPEG format high compression (size priority) data
EPS_BI_SCN_JPEGNORMAL(6): JPEG format normal compression data
EPS_BI_SCN_JPEGLOW(7) : JPEG format low compression (quality priority) data
[Return Values]
If execution is successful, 0 is returned. If an error occurs, the following error codes (negative values) are returned.
ERR_HANDLE The handle value specified for the printer is incorrect.
ERR_PARAM
Parameter error
ERR_TIMEOUT A time out error occurred.
ERR_NOT_SUPPORT Not supported
ERR_ACCESS Reading/writing with the printer is not possible (printing in progress).
ERR_OFFLINE It was opened in the offline state, so it cannot be used until the online state is recovered.
[Caution]
If this function is executed for the TM-H6000II, which is not equipped with a scanner, it ends with an ERR_TIMEOUT.
[Supported Printers]
TM-H6000II with scanner