Star Document Markup
Stars StarMicronics.CloudPRNT-Utility API package and therefore servers and tools based on it, such as cputil can support the Star Document Markup Language. A simple, easy to use markup language intended to provide the features typically required for Point Of Sale printing.
Using the document markup system provides a balance between full bit-image based printing, and plain text output, while being easier to use that direct device commands, and far more adaptable to different output devices, such as print width.
Star Markup is easy to read, for example:
[align: centre][font: a]\
[image: url https://star-emea.com/wp-content/uploads/2015/01/logo.jpg;
width 60%;
min-width 48mm]\
[magnify: width 2; height 1]
This is a Star Markup Document!
[magnify: width 3; height 2]Columns[magnify]
[align: left]\
[column: left: Item 1; right: $10.00]
[column: left: Item 2; right: $9.95]
[column: left: Item 3; right: $103.50]
[align: centre]\
[barcode: type code39;
data 123456789012;
height 15mm;
module 0;
hri]
[align]\
Thank you for trying the new Star Document Markup Language\
we hope you will find it useful. Please let us know!
[cut: feed; partial]
This will generate the following output on Star 58mm (2 inch), 80mm (3 inch) and 112mm (4 inch) printers: