75
Chapter 4 ePOS-Print API
4
addTextDouble method
Adds the double-sized text setting to the command buffer.
Syntax
addTextDouble(dw, dh);
Parameter
dw:(Optionalparameter,Objecttype:Boolean)
Specifiesthedouble‐sizedwidth.
dh:(Optionalparameter,Objecttype:Boolean)
Specifiesthedouble‐sizedheight.
Return value
Exception
Setting Description
true or 1 Specifies the double-sized width.
false or 0 (default) Cancels the double-sized width
undefined
(When not specified)
Retains the current setting for double-sized width.
Setting Description
true or 1 Specifies the double-sized height
false or 0 (default) Cancels the double-sized height
undefined
(When not specified)
Retains the current setting for double-sized height
Whentrueor1issetforboththedwanddhparameters,doublewidthandheightcharactersare
printed.
Return value Object type
ePOS-Print Builder Object ePOS Builder
Exception Object type
Parameter " ... " is invalid Error