
Chapter 3: Programming Commands 33
Generate pulse to open cash drawer
ASCII ESC p n p1 p2
Hexadecimal 1B 70 n p1 p2
Decimal 27 112 n p1 p2
Value of n: 00, 48 (Decimal) = Drawer 1;
01, 49 (Decimal) = Drawer 2
Value of p1: 0–255
Value of p2: 0–255
Sendsapulsetoopenthecashdrawer.
Formulas
The value for either p1 or p2isthehexadecimalnumbermultipliedby2msectoequalthetotaltime.
• On-time=p1(Hex)x2msec
• Off-time = p2(Hex)x2msec
Related information
Off-timeisthedelaybeforetheprinterperformsthenextoperation.Refertocashdrawerspecicationsforrequiredonand
off-time.Ifp2<p1,theoff-timeisequaltotheon-time.
Select cut mode and cut paper
ASCII GS V m GS V m n
Hexadecimal 1D 56 m 1D 56 m n
Decimal 29 86 m 29 86 m n
Value of m: Selects the mode as shown in the table.
Value of n: Determines cutting position only if m is 65 or 66.
m Feed and cut mode
0, 48 Full cut (no extra feed)
1, 49 Partial cut (no extra feed)
65 Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely
66 Feeds paper to cutting position + (n times vertical motion unit), and performs a partial cut
Range of m: 0, 48; 1, 49
65, 66 (when used with n)
Range of n: 0 – 255
Default of m, n: 0
Selectsamodeforcuttingpaperandcutsthepaper.Therearetwoformatsforthiscommand,onerequiringoneparameter
m,theotherrequiringtwoparametersm and n.Theformatisindicatedbytheparameterm.
Formulas
n timestheverticalmotionunitisusedtodeterminethecuttingpositiontowhichthepaperisfed.Setnto0tocutbelow
the last printed line.
Comentarios a estos manuales