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

Page 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

 

Image 16
Contents Apex & Andes Series Page Copyrights Document Revision History Contents ’Neil Line Print mode Communications SettingsDip Switch Settings Datamax-O’Neil Printer Command Language ExPCL IntroductionCommunications EOTXON XoffSelect Character Pitch Mode ESC K n CR Character SetsCharacter Size and Line Spacing Select Character Set Esc F nApex APEX4 Select Character Pitch Mode ESC k nAndes3 Character Size and Line Spacing Width and Height Emphasized Printing Mode ESC U n Underline Printing Mode ESC U nSelection U Underline Mode on u Underline Mode OFF Character AttributesRight to Left and Left to Right Printing ESC F n Reverse Print ESC U nSelection R Reverse printing on n Reverse printing OFF Horizontal Position Carriage ReturnCRBackspace Horizontal TabVertical Position Line FeedLFVariable Size Line Feed ESC J n Variable Size Reverse Line Feed ESC Q J nBar Codes Set Vertical Tab Height ESC T V nForm Feed Set Form Feed Length in Dot Lines ESC T F n1 n2Code 39 Specifications Print Bar Code with Human Readable TextDescription Character set Elements per symbol Code 128 SpecificationsHEX DEC Code a Code B Code C UCC/EAN-128 Specifications DescriptionInterleaved 2 of 5 Specifications UPC/EAN/JAN SpecificationsSymbol Character density Codabar SpecificationsElements per GS1 DataBar Specifications Character set QR Code ModelsDecimal Page Page Page QR Code Specifications Symbol Character/symbol Error correctionSecurity Level # Error-Check Code Words Compaction Mode Description Encoding CapabilityElement Width Value Length in mil Barcode Height Multiplier ESC z h n GraphicsBit Graphics Graphic String Component Bit Compressed GraphicsFunction Enable Buffer Mode Disable Buffer Mode Select Online ModePrinter Controls Data Processing ESC P $Printer Controls Printed Output Adjust Print Buffer Contents Buffer ModeESC P + ESC PPrinter Controls Reset Printer Controls PowerCan ESC @Extended Auto Power Down Command Command String Printer ResponseSTX Printer Status CommandsSYN Magnetic Card Command String Description Magnetic Card ReaderQuery Printer Model and Hardware Revision Level Track Position Track2 Track3Magnetic Card Read Error Messages Error #Magnetic Card Data Output Format Interfacing to the Magnetic Card ReaderESC C Black Mark Sensing Control CommandsESC Q R CR Black Mark Sensing Command Mode Black Mark Sensing Auto ModeEnable Back Black Mark Sensor ESC Q b e CR Disable Back Black Mark Sensor ESC Q b d CRPrinted Receipt/Label Presenter Positive Adjust ESC Q D + n Printed Receipt/Label Presenter Positive Adjust ESC Q P nPrint Commands Configuration Printed Receipt/Label Presenter Negative Adjust ESC Q D nEnter the Page Printing Mode ESC P PPrint Commands Draw Commands Command Name Draw Rectangle DrawRectangle x1, y1, x2, y2,color,widthType Value Barcode type HeightForm FiestaTM ESC D S Download Printer Default SetupESC S L Download Self test Message Hardware Information Start Hardware Information download processESC S Print Hardware Information ESC L gDownload Logo ESC D L CR LFEnable Font Downloading Download FontsESC D F CR Display Tables InformationDisable Font Download Mode Display Font Download Current Settings ESC F S m t k f CRESC D I CR ESC FSelect Load Operating Mode ESC F M m CR FlashImportant Font Downloading Notes ESC F B CRExample 1 BBX 08 23 0 Example 2 BBX 08 23 0Bluetooth & WiFi Setup Command Select Pass-Thru Command Mode ESC P U n1 U n2 T t0 t1 t2 CR’Neil Line Print mode EmulationSelect Emulation ESC E n Emulation LanguageEsc C n Esc a n Can Esc V n1 n2 Communications Settings Dip Switch SettingsOFF OFF 2USBRJ25 Connector PIN # Functional Description Signal Name Serial Communication RS232CSerial Busy Protocol XON/XOFF ProtocolRS232C Technical Specifications Dip switch settingUSB Communication USB OverviewBluetooth Communications Software Driver InstallationUSB Technical Specifications TeraTerm ExampleBluetooth Interface Power Modification Manual Power OFF ModeAutomatic Power OFF Mode SettingsWi-Fi Communication Option Printer Status Indicator LED PanelLED Status Condition FunctionLED Color/ Status Description LED # LED #Action Required Appendix a Flash Font Tables Replaceable Fonts TablesFactory Fonts Replaceable FontsCourier International Font Table Courier PC Line Graphic TableMonospace Font Table Rotated Font Table