CBM America CBM-262 user manual Arranging the printing position ESC a n

Models: CBM-262

1 131
Download 131 pages 23.34 Kb
Page 85
Image 85

Input Data Format

(33)Arranging the printing position (ESC a n)

Code: [1B] h + [61] h + n

*(0 n 2, 30 n 32) Data are expressed in Hex code.

This command arranges all the print data on one line in specified positions.

Printing arrangement is executed as follows in accordance with the value of n. n = 0, 30: Specifies left alignment.

n = 1, 31: Specifies centering.

n = 2, 32: Specifies right alignment.

This command is valid only if input at the head of a line.

If this command is input when selecting the Page mode, the printer's internal flag only is operated.

This command does not influence the Page mode.

The initial value is “n = 0”.

(34)Selecting the printing sheet (ESC c 0 n)

Code: [1B] h + [63] h + [30] h + n

*(1 n 3) Data are expressed in Hex code. Selects the sheet (receipt/journal) which is printed.

Each bit of n is as shown in the following table.

Bit

Function

 

Value

 

 

 

0

 

1

 

 

 

 

 

 

 

 

0

Journal

Disable

 

Enable

 

 

 

 

 

1

Receipt

Disable

 

Enable

 

 

 

 

 

2

Not defined

 

 

 

 

 

 

 

 

3

Not defined

 

 

 

 

 

 

 

 

4

Not defined

 

 

 

 

 

 

 

 

5

Not defined

 

 

 

 

 

 

 

 

6

Not defined

 

 

 

 

 

 

 

 

7

Not defined

 

 

 

 

 

 

 

 

This command is valid if input at the head of a line.

If a Page mode printing sheet is selected, execute this command before ESC L. Once the Page mode is selected, this command is disregarded.

If the value of n deviates from the definition range, this command is disregarded.

The initial value is “n = 3”.

7

75

Page 85
Image 85
CBM America CBM-262 user manual Arranging the printing position ESC a n, Selecting the printing sheet ESC c 0 n