EasyManua.ls Logo

Epson TM-T88V-i - Addpagearea Method

Epson TM-T88V-i
258 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
109
Chapter 4 ePOS-Print API
4
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.
Syntax
addPageArea(x, y, width, height);
Parameter
x:(Requiredparameter,Objecttype:Number)
Specifiestheoriginofthehorizontalaxis(indots).Specifiesanintegerfrom0to65535.0isthe
leftendoftheprinterʹsprintablearea.
y:(Requiredparameter,Objecttype:Number)
Specifiestheoriginoftheverticalaxis
(indots ). Specifiesanintegerfrom0to 65535.0isthe
positioninwhichnopaperfeedhasbeenperformed.
width:(Requiredparameter,Objecttype:Number)
Specifiesthewidthoftheprintarea(indots).Specifiesanintegerfrom0to65535.
height:(Requiredparameter,Objecttype
:Number)
Specifiestheheightoftheprintarea(indots).Specifiesanintegerfrom0to65535.
Return value
Exception
•Specifyaprintareatocoverthecontenttobeprinted.Iftheprintdataextendsbeyondtheprint
area,theprintresultwillbesuchthattheprintdatahasbeenprintedincompletely.
•UsethisAPIfunctionbyinsertingitbetweenaddPageBegin(p.107)andPageEnd(p.108).
Determine
thewidthandheightoftheprintareaaccordingtotheprintdirectionsetting.
Otherwise,theprintdatamightnotbeprintedcompletely.
Return value Object type
ePOS-Print Builder Object ePOS Builder
Exception Object type
Parameter " ... " is invalid Error

Table of Contents

Other manuals for Epson TM-T88V-i

Related product manuals