Datamax 7A300007 Rev. 2 Bar Codes, Set Vertical Tab Height ESC T V n, Form Feed, Print Bar Code

Models: 7A300007 Rev. 2

1 67
Download 67 pages 48.07 Kb
Page 16
Image 16

Set Vertical Tab Height

ESC T V n

This command sets the vertical tab length in dot lines. 0 ≤ n ≤ 255. The default value of the vertical tab is 203 dot lines.

Example: The following escape sequence sets the vertical tab to ten millimeters. Each dot is 0.125mm so to fixed the vertical distance of 10mm, the n parameter is 80 (10 / 0.125).

Escape Sequence:

ESC

T

V

P

Hexadecimal:

1B

54

56

50

Decimal:

27

84

86

80

Form Feed

FF

This command advances the paper by the number of lines specified in the Set Form Feed length in dot lines (below). A Carriage Return (CR) is also performed to place the current print position at the beginning of the next line.

Control Code: FF

Hexadecimal: 0C

Decimal 12

Set Form Feed Length in Dot Lines

ESC T F n1 n2

This command sets the Form Feed Length in Dot Lines. The total Form Feed distance is computed using the following formula: (n2 * 256 + n1). 0 ≤ n1 ≤ 255. 0 ≤ n2 ≤ 255. The default value is 1030 dot lines.

Note that the height of the font in dot lines will be subtracted from the total dot lines specified in the command.

Example: For a font 23 dot lines high and with an Esc T V 200 (0xC8) command sent, the actual VT value will be 200 – 23 = 177 dots.

Bar Codes

The Datamax-O’Neil printer series print several barcode symbologies including Linear and 2D barcodes. The following commands are used to print barcodes.

Print Bar Code

ESC z t n h data CR LF

This command will print a barcode without human readable text. The following table describes the Bar Code command structure.

Parameters:

 

t

Barcode

 

 

 

 

 

 

1

Code 39

 

 

2

Code 128,UCC/EAN-128

 

 

 

 

 

 

3

Interleaved 2 of 5

 

 

4

UPC/EAN/JAN

 

 

 

 

 

 

5

Codabar

 

 

9

PDF417 *

 

 

 

 

 

 

 

 

 

 

 

10

 

Page 16
Image 16
Datamax 7A300007 Rev. 2 manual Bar Codes, Set Vertical Tab Height ESC T V n, Form Feed, Print Bar Code