Show / Hide Table of Contents

[align]

Specify text and image alignment on the printed page. Currently, the Markup Language supports left, right and central alignment. Please use the [align] tag at the beginning of a line for the expected results. The specified alignment will remain for all proceeding data, until changed, it does not need to be specified per line.

By default, left parameter is assumed, therefor using the [align] command with no parameter is the equivalent of [align: left].

Parameters

Alignment is specified by the presence of either the left, right, centre, center, or middle parameters, which do not need to have a value. only one of these parameters should be present, or results can not be guaranteed between markup implementations.

Parameter Description
left Specify left alignment for following text and image printing.
right Specify right alignment for following text and image printing.
middle Specify central alignment for following text and image printing.
center Equivalent of middle parameter.
centre Equivalent of middle parameter.

Example

  • Markup
  • Output at 58mm
  • Markup 80mm

This is a simple markup example, using only the [align] and [cut] commands.

[align: left]\
This will be
printed on the
left side of
the page.
[align: middle]\
This will be
printed in the
middle of
the page.
[align: right]\
This will be
printed on the
right side of
the page.
[align]Left again.

[cut]

This is the result when using the markup processor to sent to an mC-Print2 58mm(2inch) printer.

Sample01 Output

This is the result when using the markup processor to sent to a TSP650II 80mm(3inch) printer.

Sample01 Output

Back to top Generated by DocFX