Addpagearea Method - Epson TM-T88V-i User Manual

Epos-print api
Hide thumbs Also See for TM-T88V-i:
Table of Contents

Advertisement

addPageArea method

Adds the print area in page mode to the command buffer.
Specifies the print area in page mode (coordinates). After this API function, specify a print data API function
such as the addText method.
• Specify a print area to cover the content to be printed. If the print data extends beyond the print 
area, the print result will be such that the print data has been printed incompletely.
• Use this API function by inserting it between addPageBegin (p. 107) and PageEnd (p. 108).
Syntax
addPageArea(x, y, width, height);
Parameter
 x :
( Required parameter, Object type : Number)
Specifies the origin of the horizontal axis (in dots). Specifies an integer from 0 to 65535. 0 is the 
left end of the printerʹs printable area.
 y :
( Required parameter, Object type : Number)
Specifies the origin of the vertical axis (in dots). Specifies an integer from 0 to 65535. 0 is the 
position in which no paper feed has been performed.
 width :
( Required parameter, Object type : Number)
Specifies the width of the print area (in dots). Specifies an integer from 0 to 65535.
 height :
( Required parameter, Object type : Number)
Specifies the height of the print area (in dots). Specifies an integer from 0 to 65535.
Determine the width and height of the print area according to the print direction setting. 
Otherwise, the print data might not be printed completely.
Return value
ePOS-Print Builder Object
Exception
Parameter " ... " is invalid
Return value
Exception
Chapter 4 ePOS-Print API
Object type
ePOS Builder
Object type
Error
109
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t70-iTm-l90-i

Table of Contents