GS u Set Characters per Line in Portrait

description

Creates an internal memory buffer to store portrait text and barcodes. The size of the buffer is determined by n, the number of characters per line. The n parameter is converted internally to millimeters so new line lengths can be automatically calculated in the event a font change takes place. The conversion to millimeters is done by multiplying the value of n by the width of whatever font is currently set when the GS u command is sent.

This command may be used in conjunction with the GS T command to determine where, if at all, text wraps to the next line.

This command is similar to the GS t command.

see also

GS t

GS T

expression

ASCII GS u n
Decimal 29 117 n
Hex 1D 75 n

parameters

n the desired number of characters per line in portrait mode