Bematech KC-4112 Rev.1.1 User Manual

Page 21

Advertising
background image

KC-4112 . Revision 1.1

21

Chapter 7

K

KK

KKC

CC

CC -4112 Commands

-4112 Commands

-4112 Commands

-4112 Commands

-4112 Commands

The KC-4112 kiosk printer has a series of programming commands that may be used in the remote mode. Two
types of commands can be sent:

Direct command

In this mode, a simple ASCII code is enough to command the printer. For example:

ASCII Code:

LF

Decimal:

10

Hexadecimal:

0A

This command causes the printer to perform a line feed.

Control sequence

In this mode, more than one code may be sent to command or program the printer. This “control sequence”
always starts with the ASCII code “ESC” or “GS”. For example:

ASCII Code:

ESC

W

1

Decimal:

27

87

01

Hexadecimal:

1B

57

01

This command switches the printing mode to “expanded”.

Following is a summary of all commands accepted by the KC-4112 kiosk printer.

Using the command summary

The following section lists and describes all resident KC-4112 commands including command parameters.
The command syntax is as follows:

• ESC P

is a command without parameters.

• ESC Q n

is a command with one parameter only.

• ESC K n1 n2

is a command with two parameters.

• ESC D n1...nk

is a command with a variable number of parameters.

Some commands may be redundant. This is done to maintain compatibility with old command
settings or different types of customized command settings.

This section contains general information regarding the KC-4112 commands. For a detailed explanation
please read the KC-4112 Programmer´s Manual.

Advertising