Specifications

No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
81
SHEET
80
3.61.BiESCNSetDocumentSize
[Function]
Select values of documentWidth and documentHeight.
[Format]
int BiESCNSetDocumentSize(int nHandle, WORD wDocumentWidth);
WORD wDocumentHeight);
[Argument]
int nHandle
Select a printer handle value. Specify a return value of BiOpenMonPrinter() to the handle value.
WORD wDocumentWidth
Select the width of the image data (unit: 0.1 mm).
Selectable range is 100 to 3000.
WORD wDocumentHeight
Select the height of the image data (unit: 0.1 mm).
Selectable range is 100 to 3000.
[Return value]
SUCCESS(0) is returned if the execution is successful. If an error occurs, one of the following error codes (negative value)
is returned:
ERR_HANDLE(-60) The handle value that selects the printer is incorrect.
ERR_PARAM(-90) Parameter error.
ERR_NOT_SUPPORT(-100) Not supported.
[Explanation]
Set the width and height selected to documentWidth and documentHeight.
[Note]
The argument unit is 0.1mm.
[Supported printer]
TM-H6000II with Image Scanner