beautypg.com

Automatic characters, Cursor start position, Activating barcode print mode – Toshiba e-STUDIO222cp User Manual

Page 7

background image

How to use > 7

A

UTOMATIC

CHARACTERS

Generally, check digit, start/stop bars and left/centre/right guard are calculated and added

automatically as needed. Characters added automatically are

not included in the table of

valid codes, refer to

“Valid character codes” on page 8

. However, for CODABAR and

CODABAR +CHKmod16, they can be selected from a, b, c and d (0x61~0x64). These must

be sent as barcode data and

are included in the number of character codes.

C

URSOR

START

POSITION

In barcode printing, the cursor position at the time the barcode data is sent is at the lower

left point of the leading bar. Since characters of barcode types UPC-A, UPC-E and EAN/JAN-

13 are laid out to the left of the cursor position at start of printing, the cursor position must
first be set taking any print margin into account.

A

CTIVATING

BARCODE

PRINT

MODE

To activate barcode printing mode an escape sequence is sent in the following form:

( s # p # h # v # b # s # T

Six font selection parameters are used: p, h, v, b, s, T. All parameters are sent as indicated

above in a single escape sequence command. Parameters with default values may be

omitted if desired, but the T parameter must always be present to select the barcode type.

Refer to

“Default parameter values” on page 12

.

The following table summarises the use of each parameter.

NOTE
In this manual the term refers to the escape character (0x1B).

PARAMETER

FUNCTION

p

Determines if and how text is printed with the
barcode. (

See “P-parameter” on page 10.

)

h

Specifies the font used for human readable text if
printed. (

See “H-parameter” on page 11.

)

v

Specifies the height of the barcode in points. (1pt =
1/72 inch.) (

See “V-parameter” on page 11.

)

b

Specifies the width of black bars. Up to four values
can be given. (

See “B-parameter” on page 11.

)

s

Specifies the width of white bars. Up to four values
can be given. (

See “S-parameter” on page 12.

)

T

Specifies the barcode type. (

See “T-parameter” on

page 9.

)

This manual is related to the following products: