Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
52
SHEET
51
3.34.BiSCNSetImageFormat
[Function]
Sets the format of the scanning image data. Furthermore, the value set with this function is valid until the printer’s power is
turned OFF or until the printer is reset.
[Format]
int BiSCNSetImageFormat( int nHandle, BYTE bFormat)
[Argument]
int nHandle
Specifies the handle value of the printer executing the function. The return value in BiOpenMonPrinter() is specified.
BYTE bFormat
Specifies the format of image data notified. The valid specification values are 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
The default value is EPS_BI_SCN_TIFF(1) after the printer’s power is turned on, or after it is reset.
[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_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 normally, but the format is not
set.
Since this function does not check whether the scanner of the printer is capable of using a specified image data format, be sure
to confirm it with the information acquired by the function of BiGetPrnCapability before using.
[Supported Printers]
TM-H6000II with scanner