string getCode93Command(string text, int option, byte height, int width)

This function can be used to return a Code93 barcode command.

Parameters

Name Description
text Text content of the barcode.
option Tells the printer whether to place characters under the printed barcode. This may also be used to line feed after the barcode is printed.

0 = No added characters with line feed
1 = Adds characters with line feed
2 = No added characters without line feed
3 = Adds characters without line feed
height Height of the barcode (in pixels).
width Number of dots per module (values range from 0 to 2). See section 3-42 of the STAR Line Mode Command Specifications (Rev 1.12 or later) for more information on the values.

0 = 2 dots
1 = 3 dots
2 = 4 dots

Return

A JSON byte array to use as a command.