This command defines length of beep as m seconds when beep command is received. When m = 0, default applies.
ESC ‘p’ m n1 n2: Kitchen bell drive command (m = ‘0’, 0 n1 n2 255)
Hexadecimal codes are: 1B 70 m n1 n2
This command can be used to drive a kitchen bell purchased from Posiflex when this printer is used as a kitchen printer and the environment could be so noisy that the beeper for reminding the kitchen staff of the printing can be not loud enough. After fixing the kitchen bell onto say a kitchen wall, connect the cable from the bell to the peripheral connector on the printer. Then use this command with m set to 0 and both n1 and n2 set to
255.The printer will be able to drive the kitchen bell for about half a second on each such command. If this command is sent to the printer multiple times consecutively, the bell will ring for about half a second and rest for also about half a second then ring again for multiple times.
GS ‘p’ m n: Beep when cash drawer remain open (0 < m < 256, n = ‘0’ or ‘1’)
Hexadecimal codes are: 1D 70 m n
If the cash drawer connected to the printer remains open for more than m seconds, the printer beeps until the drawer is closed. If m = 0, this function is disabled. The factory default of the printer is set to disable this function. The parameter n in this command identifies the way cash drawer indicates drawer open status. n = ‘0’ (30H) applies to drawers giving an “open” signal when cash drawer is opened. n = ‘1’ (31H) applies to drawers giving a “short” signal when drawer is opened. Any value of the parameters outside the defined range will cause the entire command ignored.
5 - 6