Specifications

No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
55
SHEET
54
3.37.BiSCNGetImageQuality
[Function]
Acquires the scanning quality of the image set in the printer.
[Format]
int BiSCNGetImageQuality( int nHandle, LPBYTE pColorDepth, char *pThreshold,
LPBYTE pColor, LPBYTE pExOption)
[Argument]
int nHandle
Specifies the handle value of the printer executing the function. The return value in BiOpenMonPrinter() is specified.
LPBYTE pColorDepth
Specifies the memory address where the tonal gradation is set.
EPS_BI_SCN_1BIT(1): 1bit
EPS_BI_SCN_8BIT(8): 8bit
char *pThreshold
Specifies the memory address where the density threshold value is set.
LPBYTE pColor
Specifies the memory address where color is set. The set value is as shown below.
EPS_BI_SCN_MONOCHROME (48) : Black and White
EPS_BI_SCN_COLOR (49) : Color
LPBYTE pExOption
Specifies the memory address where the type of density adjustment is set. The set value is as shown below.
EPS_BI_SCN_AUTO (48) : Density is adjusted automatically.
EPS_BI_SCN_MANUAL (49) : Density is adjusted manually.
[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 a TM-H6000II that is not equipped with a scanner, it ends with an ERR_TIMEOUT.
[Supported Printers]
TM-H6000II with scanner