Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
57
SHEET
56
3.39.BiSCNGetScanArea
[Function]
Acquires the image scanning area specified in the printer.
[Format]
int BiSCNGetScanArea( int nHandle, LPBYTE pStartX, LPBYTE pStartY, LPBYTE pEndX, LPBYTE pEndY)
[Argument]
int nHandle
Specifies the handle value of the printer executing the function. The return value in BiOpenMonPrinter() is specified.
LPBYTE pStartX
Specifies the memory address where the starting X coordinate of the scanning area is set.
LPBYTE pStartY
Specifies the memory address where the starting Y coordinate of the scanning area is set.
LPBYTE pEndX
Specifies the memory address where the ending X coordinate of the scanning area is set.
LPBYTE bEndY
Specifies the memory address where the ending Y coordinate of the scanning area is set.
[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