Transmit Printer ID

This command transmits the printer ID specified by n as follows:

ASCII

GS I n

Hexadecimal

1D 49 n

Decimal

29 73 n

Value of n

1, 49—Printer model ID

2, 50—Type ID

3, 51—ROM version ID

4, 52—Logo definition

N

Printer ID

Specification

ID (hexadecimal)

1, 49

Printer model ID

NCR 7158

0x28 (7158 Emulation)

1, 49

Printer model ID

NCR 7156

0x26 (7156 Emulation)

1, 49

Printer model ID

NCR 7150

0x02 (7150 Emulation)

1, 49

Printer model ID

NCR 7167

0xA1 (7167 Emulation)

2, 50

Type ID

Installed options

Refer to the following table

3, 51

ROM version ID

ROM version

0x00

4, 52

Logo Definition

Logo Definition

Refer to the following table

Type ID (n=2)

Bit

Off/On

Hex

Decimal

Function

0

 

Off

00

0

No two-byte character code installed.

On

01

1

Two-byte character code installed.

1

 

Off

00

0

No knife installed.

On

02

2

Knife installed.

2

-

-

-

Undefined

3

 

Off

00

0

No MICR installed.

On

08

8

MICR installed.

4

Off

00

0

Not used. Fixed to Off.

5

-

-

-

Undefined

6

-

-

-

Undefined

7

Off

00

0

Not used. Fixed to Off.

Type ID (n=4)

Bit

Off/On

Hex

Decimal

Function

0

 

Off

00

0

No logo definition loaded by application.

On

01

1

Logo loaded by application.

1

-

-

-

Undefined

2

-

-

-

Undefined

3

-

-

-

Undefined

4

Off

00

0

Not used. Fixed to Off.

5

-

-

-

Undefined

6

-

-

-

Undefined

7

Off

00

0

Not used. Fixed to Off.

Example:   

MSComm1.Output = Chr$(&H1D) & Chr$(&H49) & Chr$(n)