beautypg.com

7 printing control command sets – Dascom DM-220 User Guide User Manual

Page 51

background image

Tally Dascom DM-210/220

39

7 Printing Control Command Sets

The control command sets are compatible with ESC/POS command set.

List of Commands:

ASCII Code

Hex

Function Illumination

HT

09

Moves the print head to the next horizontal tab position

LF

0A

Causes the data in the line buffer to be printed and advances the
paper one line

CR

0D

Causes the line of data to be printed and returns the current print
position to the left margin

ESC SP n

1B 20 n

Set the space between characters to n/160 inch

ESC ! n

1B 21 n

Set character printing mode

ESC % n

1B 25 n

Allow/Prohibit user-defined character

ESC &

1B 26

Set user-defined character

ESC *

1B 2A

Set graphic dot matrix

ESC 2

1B 32

Select the line space to 1/6 inch

ESC 3 n

1B 33 n

Select the line space to 1/144 inch

ESC <

1B 3C

bring the print head back to the left margin

ESC ? n

1B 3F n

Cancel user-defined character

ESC @

1B 40

Initialize the printer

ESC D n NULL

1B 44 n 0 Set/Clear all horizontal tab position

ESC J n

1B 4A n

Causes the line of data to be printed and advances the paper
n/144 inch

ESC K n

1B 4B n

Causes the line of data to be printed and advances the paper
n/144 inch reversely

ESC R n

1B 52 n

Select an International Character Set

ESC U n

1B 55 n

Set/Cancel unidirectional printing

ESC c 3 n

1B 63 33 n Select paper end sensor

ESC c 4 n

1B 63 34 n Set to stop printing when paper end

ESC c 5 n

1B 63 35 n Allow/Prohibit feeder key

ESC d n

1B 64 n

Causes the line of data to be printed and advances the paper n
lines

ESC e n

1B 65 n

Causes the line of data to be printed and advances n line reversely

ESC p

1B 70

Produce cashbox drive pulse

ESC t n

1B 74 n

Select Character Set

GS FF

1D 0C

Send the black mark paper to the printing initial position

ESC C n

1B 43 n

Set the page length to n line space

GS ( F pL pH a m nL nH 1D 28

Set the orientation offset of black mark

FS ( L

1C 28 4C Feed the paper to the cut/tear position

GS V m

1D 56 m

Select the cut/tear mode and cut/tear paper

1D 56 m n

ESC i

1B 69

Cut the paper completely

ESC m

1B 6D

Cut the paper partially

This manual is related to the following products: