Formatting directives

The following directives are line specific, i.e., they only affect the template line that they are on, up and until any other directive or end-of-line. For example, any line that should be centered needs to contain a </CENTER> directive.

Directive

Description

</CENTER>

Following text is centered

</RIGHT>

Following text is right aligned

</LEFT>

Following text is left aligned

</BOLD>

Following text is is bold

</UNDERLINE>

Following text is underline

</ITALIC>

Following text is italicized

</SHADOW>

Following text is shadowed

</RED>

Following text is red

</REVERSEVIDEO>

Following text is in reverse video

</NORMALSIZE>

Following text is normal sized

</DBLWIDE>

Following text is double wide

</DBLHIGH>

Following text is double high

</DBLHIWIDE>

Following text is double high and double wide

</NORMAL>

Following text is in normal font

</BITMAP>

Prints the logo specified for the receipt

The alignment of the bitmap can be controlled by appending any of 0 (Center), -1 (Left) or 1 (Right), e.g. </BITMAP,1>

</CUT>

Feed and cut the receipt

</CUTSTAMP>

Feed, stamp and cut the receipt

</STAMP>

Feed and stamp the receipt

</SUBSCRIPT>

Following text is in subscript

</SUPERSCRIPT>

Following text is in superscript

Last updated

Was this helpful?