Citizen Systems PPU-231II manual GS I n, Range

Page 67

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

If n=2, 50 is specified:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

Meaning

 

 

Hex.

Decimal

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

Equipped for 2 byte code support

 

01

1

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

Equipped with autocutter

 

02

2

 

 

 

2

 

 

Thermosensitive paper Label

 

 

 

 

 

 

Label paper(when "Label" is selected)

 

 

 

 

 

 

 

 

 

 

 

 

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.

— 65 —

Image 67
Contents Command Reference Revision Print Control Functions Command Function Mode CodeESC \ Function Mode CodeCommand relative to NV memory Reference DefaultRange OutlineSee Also Command DetailsPrint Results See Also Sample Program Mode Standard ModePrint Result Can Range Outline DLE EOT nExample Page See Also DLE ENQ n ESC FF ESC SP n Default See AlsoLprint Aaaaa + CHR$&HA ESC ! n Lprint CHR$&HA END ESC $ n1 n2 100 Gosub Setchr ESC % nESC & s n m a p s⋅ a m-n+1 Font a ESC * m n1 n2 d k IMG1 ESC n ESC ESC 3 n ESC = n ESC ? n Function Code Outline Sample Program Print Results ESC @ESC D n k NUL ESC E n ESC G n ESC J n ESC L Definition value ESC M nDetails ESC R n ESC S ESC T n ESC V n Default Sample ProgramESC W xL xH yL yH dxL dxH dyL dyH CAN, ESC L, ESC T, GS P ESC \ nL nH ESC a n ESC c 3 n ESC c 4 n ESC c 5 n ESC d n ESC n n ’ ∝ ← n = Default Sample Program Print Results Horizontal Magnification GS ! nVertical Magnification Default See Also See Also ESC $, ESC T, ESC W, ESC \, GS P, GS \ GS $ nL nHGS * n1 n2 d n1⋅ n2⋅ Next I Next J Return Definition GS a pL pH n mGS / m Specifying starting/ending macro definition GS a m n GS B n GS H n Print Results GS I n GS L nL nH GS P, GS W GS P x y GS R 0 n GS R 1 n GS S 1DH56Hm 1DH56Hmn GS W nL nH GS L, GS P GS \ nL nH GS n1 n2 n3 GS a n Paper feed state triggered by Feed switch DLE EOT, GS r GS f n Selecting bar code height D1 ...... dn D1 ..... dk NULFor For Standard ModeDefault Initial value is not defined For page ModeUPC-A Description of Bar Codes For print examples, refer toAscii This bar code consists of 103 bar code characters FNC4 Special charactersDescription of Bar Codes See Also DLE EOT, GS a GS r nGS v 0 m xL xH yL yH d1...dk When xL+xH ⋅ 256= GS w n Range FS g3 m a1 a2 a3 a4 nL nH d1…dkReference FS g4 m a1 a2 a3 a4 nL nH FS g3 P n m Page Q n xL xH yL yH d1…dk 1… xL xH yL yH d1…dk n Page Related Commands FS p