iDP3221 User’s Manual

ESC

c

3

n

 

 

 

 

 

 

 

 

[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:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Position

Value

 

 

 

 

 

 

0

 

1

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Paper near end

Disabled

 

Enabled

 

 

 

 

17

 

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]

 

n = 0

 

 

 

 

 

[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:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Position

Value

 

 

 

 

 

 

0

 

1

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Paper near end

Disabled

 

Enabled

 

 

 

 

17

 

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]

 

n = 0

 

 

 

 

 

[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

74

CITIZEN

Page 90
Image 90
Citizen iDP3221 manual Esc