Esc c 3 n (parallel interface only), Esc c 4 n – CITIZEN PPU-231 User Manual

Page 72

Advertising
background image

PPU-231 User’s Manual

59

CITIZEN

ESC c 3 n

(Parallel Interface Only)

[Function]

Selecting the paper near end sensor valid for a paper end signal output

[Code] <1B>H<63>H<33>H<n>

[Range] 0

≤ n ≤255

[Outline]

This command selects at which paper near end sensor a paper end signal should be output.

Each bit for n has the following meaning:

Value

Bit Position

0 1

0

Paper near end

Disabled

Enabled

1

7

Undefined

This printer can only select one kind of paper end detection, a paper-near-end sensor. n is

valid for the least significant bit (n0).

[Caution]

This command is valid only for the parallel interface.

[Default]

A default of n is what has been set with the DIP switch (DS2-1).

[Sample Program]

LPRINT

CHR$(&H1B);"c3";CHR$(0);

.

………When outputting the paper-end signal at the paper end

LPRINT CHR$(&H1B);"c3";CHR$(1);

…………When outputting the paper-end signal at the paper near end

ESC c 4 n

[Function]

Selecting the paper near end sensor valid for print stop

[Code] <1B>H<63>H<34>H<n>

[Range] 0

≤ n ≤ 255

[Outline]

This command selects at which paper near end sensor printing should be stopped. Each bit

for n has the following meaning:

Value

Bit Position

0 1

0

Paper near end

Disabled

Enabled

1

7

Undefined

This printer can only select one kind of paper-end detection, a paper-near-end sensor. n is

valid for the least significant bit (n0).

[Default]

A default of n is what has been set with the DIP switch (DS2-1).

[Sample Program]

LPRINT CHR$(&H1B);"c4";CHR$(0);

………When stopping printing at the paper end

LPRINT CHR$(&H1B);"c4";CHR$(1);

………When stopping printing at the paper near end

Advertising