Tally Dascom DT-210/230 Programming Guide V1.1 About This Manual Please read this technical manual before programming. Main description for command as below: 1) Function This is the first part of command description. Here we propose the command of ASCII code and its function.
Tally Dascom DT-210/230 Programming Guide V1.1 TABLE OF CONTENTS About This Manual ......................i 1 Bit Image Commands ....................1 Select bit-image mode ............................1 Define downloaded bit image ..........................1 Print downloaded bit image ..........................2 Set graphics data ..............................2 GS ( L pL pH m fn [parameters]..........................
Page 4
Tally Dascom DT-210/230 Programming Guide V1.1 4 Miscellaneous Function Commands ................15 DLE ENQ n ................................15 DLE DC4 fn m t (fn=1) ........................... 15 DLE DC4 fn a b (fn = 2) ............................. 16 DLE DC4 fn d1…d7 (fn = 8)..........................16 ESC @..................................
Page 5
Tally Dascom DT-210/230 Programming Guide V1.1 DLE EOT n ................................35 8 Barcode Commands ....................38 GS h n ................................... 38 GS f n ..................................38 GS H n ................................... 38 GS k ..................................38 GS w n................................... 40 GS ( k pL pH cn fn [parameters] ......................... 41 <Function 067>...
Tally Dascom DT-210/230 Programming Guide V1.1 Print downloaded bit image [Format] ASCII 2F m Decimal 47 m [Range] 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Prints downloaded bit image defined by GS ∗ and using the mode specified by m.
Page 8
Tally Dascom DT-210/230 Programming Guide V1.1 GS ( L pL pH m fn [parameters] [Format] ASCII pL pH m fn [parameters] 4C pL pH m fn [parameters] Decimal 76 pL pH m fn [parameters] Format Function No. Function name 0, 48 GS ( L pL pH m fn 0,48...
Tally Dascom DT-210/230 Programming Guide V1.1 2 Print Position Commands [Function] Horizontal Tabs [Format] ASCII Decimal [Description] Moves the print position to the next horizontal tab position. ESC $ nL nH [Function] Set absolute print position [Format] ASCII nL nH...
Tally Dascom DT-210/230 Programming Guide V1.1 ESC a n [Function] Select justification [Format] ASCII ESC a Decimal [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Default] n = 0 [Description] In standard mode, aligns all the data in one line to the selected layout.
Tally Dascom DT-210/230 Programming Guide V1.1 3 Print Commands [Function] Print and line feed [Format] ASCII Decimal [Description] Prints the data in the print buffer and feeds one line, based on the current line spacing. FF (In page mode) [Function]...
Tally Dascom DT-210/230 Programming Guide V1.1 ESC J n [Function] Print and feed paper [Format] ASCII ESC J 4A n Decimal [Range] 0 ≤n ≤ 255 [Description] Prints the data in the print buffer and feeds the paper [n × (vertical or horizontal motion unit)].
Page 19
Tally Dascom DT-210/230 Programming Guide V1.1 GS ( A pL pH n m [Function] Execute test print [Format] ASCII Decimal [Range] (pL + pH × 256) = 2 (pL = 2, pH = 0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 1 ≤...
Tally Dascom DT-210/230 Programming Guide V1.1 4 Miscellaneous Function Commands DLE ENQ n [Function] Send real-time request to printer [Format] ASCII DLE ENQ Decimal [Range] n = 1, 2 [Description] Respond to a request in real-time from the host computer.
Tally Dascom DT-210/230 Programming Guide V1.1 command. Users must consider this. Example: Graphic data might accidentally include a data string matching this command. • Do not embed this command within another command. Example: Graphic data might include this command. DLE DC4 fn a b (fn = 2)
Tally Dascom DT-210/230 Programming Guide V1.1 Example: Graphic data might include this command. • Do not transmit the subsequent data until the status is received after transmitting this command. ESC @ [Function] Initialize printer [Format] ASCII Decimal [Description] • Clears the data in the print buffer and resets the printer modes to the modes that were in effect when the power was turned on.
Tally Dascom DT-210/230 Programming Guide V1.1 [Format] ASCII ESC L Decimal [Description] Switches from standard mode to page mode ESC p m t1 t2 [Function] Generate pulse [Format] ASCII ESC p Decimal 112 m [Range] m = 0, 1, 48, 49 0 ≤...
Tally Dascom DT-210/230 Programming Guide V1.1 GS ( D pL pH m [a1 b1]...[ak bk]) [Function] Enable/disable real-time command [Format] ASCII D pL pH m [ a1 b1 ]...[ ak bk ] 28 44 pL pH m [ a1 b1 ]...[ ak bk ] Decimal 40 68 pL pH m [ a1 b1 ]...[ ak bk ]...
Tally Dascom DT-210/230 Programming Guide V1.1 [Note] • Frequent write command executions by an NV memory write command may damage the NV memory. Therefore, it is recommended to limit writing the commands into the NV memory to less than 10 times a day.
Tally Dascom DT-210/230 Programming Guide V1.1 printer to communicate with the host computer. <Function 12> GS ( E pL pH fn a (fn = 12) [Function] Transmit the configuration item for the serial interface [Format] ASCII GS ( E pL pH fn a...
Tally Dascom DT-210/230 Programming Guide V1.1 5 Character Control Commands ESC ! n [Function] Select print mode(s) [Format] ASCII ESC ! Decimal [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Select the character font and styles (emphasized, double-height, double-width, and underlined) together.
Tally Dascom DT-210/230 Programming Guide V1.1 Italy Spain I Japan Norway Denmark II Spain II Latin America Korea Slovenia / Croatia China ESC M n [Function] Select character font [Format] ASCII ESC M 4D n Decimal [Range] n = 0, 1, 48, 49...
Tally Dascom DT-210/230 Programming Guide V1.1 ESC { n [Function] Selecting upside-down printing mode ESC { [Format] ASCII 7B n Decimal 123 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] • In standard mode, turns upside-down print mode on or off.
Tally Dascom DT-210/230 Programming Guide V1.1 6 Macro Function Commands GS : [Function] Start/end macro definition [Format] ASCII Decimal [Description] Starts or ends macro definition. [Note] The contents of the macro can be defined up to 2048 bytes. GS ^ r t m...
Tally Dascom DT-210/230 Programming Guide V1.1 7 Status Commands GS a n [Function] Enable/disable Automatic Status Back (ASB) [Format] ASCII 61 n Decimal 97 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [when DIP switch [SW 2-1] is off.] n = 2 [when DIP switch [SW 2-1] is on.]...
Page 39
Tally Dascom DT-210/230 Programming Guide V1.1 • Second byte (printer information) Off/On Decimal Status __ __ __ Reserved. No auto cutter error. Auto cutter error occurred. Fixed No unrecoverable error Unrecoverable error occurred. No automatically recoverable error Automatically recoverable error occurred.
Tally Dascom DT-210/230 Programming Guide V1.1 DLE EOT n [Function] Transmit real-time status [Format] ASCII DLE EOT n Decimal [Range] 1 ≤ n ≤ 4 [Description] Transmit the real-time status. Function Transmits printer status. Transmits offline cause status. Transmits error cause status.
Page 41
Tally Dascom DT-210/230 Programming Guide V1.1 Fixed. • Error cause status (n = 3) Off/On Decimal Status Fixed. Fixed. Reserved. No auto cutter error. Auto cutter error occurred. Fixed. No unrecoverable error Unrecoverable error occurred. No automatically recoverable error. Automatically recoverable error occurred Fixed.
Page 42
Tally Dascom DT-210/230 Programming Guide V1.1 up to 4 commands at once. In this case, the subsequent data must not be transmitted until the all status is received. If this command is transmitted without using the above method, the status may not be received.
Tally Dascom DT-210/230 Programming Guide V1.1 8 Barcode Commands GS h n [Function] Set bar code height [Format] ASCII Decimal 104 n [Range] 1 ≤ n ≤ 255 [Default] n = 162 [Description] • Sets the height of the bar code to n dots.
Page 44
Tally Dascom DT-210/230 Programming Guide V1.1 [Function] Print barcode [Format] <A> ASCII m d1...dk NUL m d1...dk 00 Decimal 107 m d1...dk 0 <B> ASCII m n d1...dn m n d1...dn Decimal 107 m n d1...dn [Range] <A> 0 ≤ m ≤ 6 (For the range of k and d, see [Description].) <B>...
Tally Dascom DT-210/230 Programming Guide V1.1 Bar code system Range of n Range of d UPC-A n = 11, 12 48 ≤ d ≤ 57 UPC-E n = 11, 12 48 ≤ d ≤ 57 [where d1 = 48] JAN13 / EAN13 n = 12, 13 48 ≤...
Page 46
Tally Dascom DT-210/230 Programming Guide V1.1 GS ( k pL pH cn fn [parameters] [Function] Set up and print symbol [Description] • Processes the data for symbols. • pL, pH specify (pL + pH × 256) as the number of bytes after pH (cn, fn, and [parameters]).
Tally Dascom DT-210/230 Programming Guide V1.1 fn = 81 m = 48 [Description] Encodes and prints the PDF417 symbol data in the symbol storage area with GS ( k <Function 080>. [Note] • User must secure the quiet zone (left, right, upward, and downward space areas defined by the PDF417 symbol specifications) for PDF417 printing.
Tally Dascom DT-210/230 Programming Guide V1.1 48 ≤ n ≤ 51 [Default] n = 48 [Description] • Selects the error correction level for QR Code. Function Reference: Approx. figure of recovery Select error correction level L Select error correction level M 1...
Tally Dascom DT-210/230 Programming Guide V1.1 10 Other Commands FS p n m [obsolete command] GS ( L <Function 69>, which is the upward-compatible command replacing FS p, is recommended to use, since FS p is an obsolete command in the ESC/POS command system.
Tally Dascom DT-210/230 Programming Guide V1.1 off or do not reset the printer via an interface while this command is being executed. • While processing this command, the printer may become BUSY while writing data to the NV memory and stops receiving data.
Tally Dascom DT-210/230 Programming Guide V1.1 (nL + nH × 256) Maintenance counter [Units] Decimal Number of lines fed. [Lines] Number of head energization. [Times] Number of auto cutter operations. [Times]. Duration of printer operation. [Hours]. [Note] • Frequent write command executions by an NV memory write command may damage the NV memory.
Tally Dascom DT-210/230 Programming Guide V1.1 ESC c 3 n [Type] Paper sensor [Function] Select paper sensor(s) to output paper-end signals [Format] ASCII ESC c Decimal [Range] 0 ≤ n ≤ 255 [Default] n = 0 [when DIP switch [SW 1-3] is on.] n = 15 [when DIP switch [SW 1-3] is off.]...
Need help?
Do you have a question about the DT-210 and is the answer not in the manual?
Questions and answers