EasyManua.ls Logo

Datamax A-4310 User Manual

Default Icon
302 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #199 background imageLoading...
Page #199 background image
Appendix G – Barcode Details
Class Series Programmer’s Manual 183
Subset A: Includes all of the standard uppercase alphanumeric keyboard characters plus the control
and special characters. To select Code 128 Subset A, place an ASCII A (DEC 65, HEX 41) before the
data to be encoded.
Subset B: Includes all of the standard uppercase alphanumeric keyboard characters plus the
lowercase alphabetic and special characters. To select Code 128 Subset B, place an ASCII B (DEC
66, HEX 42) before the data to be encoded. If no start character is sent for the Code 128 font, Code
128 Subset B will be selected by default.
Subset C: Includes the set of 100 digit pairs from 00 through 99 inclusive, as well as special
characters. Code 128 Subset C is used for double density encoding of numeric data. To select Code
128 Subset C, place an ASCII C (DEC 67, HEX 43) before the data to be encoded. Subset C can only
encode an even number of numeric characters. When the data to be encoded includes an odd number
of numeric characters, the last character causes the printer to automatically generate a ‘switch to
subset B’ and encode the last character appropriately in subset B.
Special Character Handling: Characters with an ASCII value greater than 95 are considered special
characters. To access these values, a two-character reference table is built into the printer (see below).
For example, to encode FNC2 into a Code 128 Subset A bar code, send the ASCII “&” (DEC 38,
HEX 26) followed by the ASCII “B” (DEC 66, HEX 41).
Sample: ATEST&B123 Encoded: TEST<FNC2>123
ASCII 2 CHAR CODE A CODE B CODE C
96 &A FNC3 FNC3 -NA-
97 &B FNC2 FNC2 -NA-
98 &C SHIFT SHIFT -NA-
99 &D CODEC CODEC -NA-
100 &E CODEB FNC4 CODEB
101 &F FNC4 CODEA CODEA
102 &G FNC1 FNC1 FNC1
Table G-1: Special Character Handling
Control Codes: By sending these control codes, control characters can be encoded into a Code 128
Subset A bar code (e.g., ABC{DE will be encoded as ABC<ESC>DE):
Control Code in the Bar Code Data Stream Encoded Control Character Result
` NUL
a through z 1 - 26
{ ESC
|FS
}GS
~RS
ASCII 127 US
The following example prints a Code 128 bar code:
<STX>L
D11<CR>
1E000000015010001234567890<CR>
121100000000100Barcode E<CR>
E

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Datamax A-4310 and is the answer not in the manual?

Datamax A-4310 Specifications

General IconGeneral
Print Resolution300 dpi
Print Speed10 ips
Storage Temperature-4°F to 140°F (-20°C to 60°C)
Print TechnologyThermal Transfer
Memory16 MB DRAM / 8 MB Flash
InterfaceSerial, Parallel, USB
Media TypeLabels, Tags, Tickets
Maximum Print Length99 inches
Supported Barcode TypesCode 39, Code 128, UPC-A, UPC-E, EAN-8, EAN-13, Interleaved 2 of 5, Codabar, Postnet, PDF417
Operating Temperature40°F to 104°F (4°C to 40°C)
Print Width4.16" (105.7 mm)
Media Width1.0" to 4.65" (25.4 mm to 118.1 mm)
Media Thickness0.0025" to 0.010" (0.0635 mm to 0.254 mm)

Summary

Overview

Who Should Use This Manual

Identifies the intended audience for this manual, focusing on programmers creating label software.

Scope of the Programmer's Manual

Explains the manual's coverage of DPL commands for Datamax printers and firmware versions.

Control Code Command Functions

Attention-Getters Explained

Describes standard ASCII control labels representing one-character control codes for commands.

Alternate Control Code Modes

Explains available alternate modes for transmitting control codes when standard codes are unavailable.

Immediate Command Functions

SOH # Reset Command

Resets the printer to default settings, clearing buffers and DRAM memory.

SOH A Send ASCII Status String

Allows the host to check current printer status by returning an eight-character string.

SOH C Stop/Cancel Command

Clears the print buffer, pauses the printer, and illuminates the Paused/Stop Indicator.

SOH F Send Status Byte

Instructs the printer to send a single status byte representing printer status flags.

System-Level Command Functions

STX A Set Time and Date

Sets the printer's internal time and date, stored in the inch counter.

STX I Input Image Data

Precedes image downloading, allowing the printer to receive image data from a host.

STX M Set Maximum Label Length

Sets the media distance to search for top-of-form before declaring a paper fault.

STX Q Clear All Modules

Clears all Flash and DRAM modules, destroying all stored data.

STX W Request Memory Module Information

Requests a memory module directory listing, showing results based on printer class and firmware.

Related product manuals