beautypg.com

Programming instructions – Microcom 814M Programming Manual User Manual

Page 76

background image

72

4. Programming Instructions

4.1 General Information

1) All programming examples are given in Hex.

2) Commands cited in the instructions are bolded and underlined. For instance, 1B 40. Data following

the commands are not underlined. For instance, 42 43.

3) Contents in parentheses are interpretations of the commands. Parentheses and their contents are

not parts of the commands transmitted to printer.

4.2 Programming ABC

4.2.1 Print modes

a) Standard mode (Line mode)

Standard mode is the default print mode of Kiosk series. In this mode, the printer prints data and feed

paper as long as the line buffer full (data buffered is enough for one print line) or receiving a print

command. For instance, 0A.

Examples:

1B 40 (Initialize the printer)

41 42 43 44 45 46

0A (Print)

Printout: ABCDEF

b) Page mode

In this mode, the printer stores all print data in memory as a virtual page. The virtual page is physically

printed when the printer receives a print command such as 1B 0C or 0C.

Examples:

1B 4C (switch to page mode)

1B 57 20 00 00 00 60 02 20 03 (set print area in page mode)

50 72 69 6E 74 20 49 6E 20 50 61 67 65 20 4D 6F 64 65 33 33 33

0C (print)

1D 56 00 (cut paper).

Printout: Print In Page Mode 333

The standard mode is switched with page mode as follows.