Gs i n – CBM America CBM1000 Benutzerhandbuch

Seite 120

Advertising
background image

— 102 —

GS I n

[Function]

Sending the printer ID

[Code]

<1D>H<49>H<n>

[Range]

1

n

3

49

n

51

[Outline]

Sends the specified printer ID.

n

Type of printer ID

Specification

Value (Hex.)

1,49

Model ID

CBM1000

30

2,50

Type ID

Refer to table “Type ID” below

3,51

ROM version ID

As per ROM version

Type ID

Bit

Meaning

Hex.

Decimal

0

Equipped for 2 byte code support

01

1

1

Equipped with autocutter

02

2

2

Undefined

3

Undefined

4

Unused

00

0

5

Undefined

6

Undefined

7

Unused

00

0

[Caution]

• Under DTR/DSR control, the printer sends the printer ID after

verifying that the host is ready to receive. If the host is not
ready to receive, the printer waits for the host to become ready
to receive.

• Under XON/XOFF control, the printer sends the printer ID

without checking whether the host is ready to receive or busy.

• Because this command is executed when data is mapped in

the receive buffer, there may be a delay between command
receiving and printer ID sending depending on the condition
of the receive buffer.

• If ASB (Automatic Status Back) is enabled by GS a, the host

must discriminate between the printer ID due to this command
and the status due to ASB.

Advertising