beautypg.com

Esc c 3 n (parallel interface only), Esc c 4 n – Citizen Systems CBM-270 User Manual

Page 62

background image

CBM-270 User’s Manual

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

[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 (DS1-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

[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).

[Caution]

If print stop is enabled, the printer will print (Feed the paper) 150 cm or an amount of data
specified with the ESC n command and go off-line.

[Default]

A default of n is what has been set with the DIP switch (DS1-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