Citizen Systems PPU-231II manual FS g4 m a1 a2 a3 a4 nL nH

Page 98

FS g4 m a1 a2 a3 a4 nL nH

[Function]

Reading data from the download user NV memory

[Code]

<1C>H<67>H<34>H<m>H<a1>H<a2>H<a3>H<a4>H

 

<nL>H<nH>H

 

[Range]

m=0

 

 

 

6000H

(a1+(a2 256)+(a3

65536)+(a4 16777216)) 7FFFH

 

Write start address +n1+nH

256 8000H

 

K=(nL+(nH 256))

 

[Outline]

• This command reads data from the download user NV

 

memory.

 

 

• “m” is fixed at 0.

 

 

• a1, a2, a3, a4 set the data sending start address at (a1+(a2

 

256)+(a3 65536)+(a4 16777216)).

 

• nL, nH set the number of sent data to (nL+(nH 256)) bytes.

[Details]

• The download user NV memory refers to a storage area

 

exclusively for character data secured on non-volatile memory.

 

Font A:Start address 6000H End address 71FFH (36 bytes for

 

 

1 character)

 

 

Font B: Start address 7200H End address 7F7FH (27 bytes for

 

 

1 character)

 

 

• If the argument (m), the send start address (a1, a2, a3, a4), or

 

the number of sent data (nL, nH) is outside the definition area,

 

this command becomes invalid and the following data will be

 

processed as normal data.

 

 

• When the preparation for sending data is completed, the

 

following processes are executed.

 

1) The printer state will change from READY to BUSY. If the

 

printer state is already set to BUSY, the printer will do

 

nothing.

 

 

2) (Header + data + NUL) is sent.

 

3) The printer state will change from BUSY to READY. At this

 

moment, if the printer state is set to BUSY because of other

 

reasons, it remains in the BUSY state.

 

The construction of (Header + data + NUL) is as follows.

 

Header: 5FH in hexadecimal = 95 in decimal (1 byte)

 

Data:

data in download user NV memory ((nL+nH 256)

 

 

bytes)

 

• When the DTR/DSR control is selected, all codes are sent continuously after verifying that the host can receive the data to be sent. If the host cannot receive the data, it will wait until it can be received.

— 96 —

Image 98
Contents Command Reference Revision Command Function Mode Code Print Control FunctionsFunction Mode Code ESC \Command relative to NV memory Outline DefaultRange ReferenceCommand Details See AlsoPrint Results See Also Sample Program Print Result Standard ModeMode Can Example DLE EOT nRange Outline Page See Also DLE ENQ n ESC FF Default See Also ESC SP nLprint Aaaaa + CHR$&HA ESC ! n Lprint CHR$&HA END ESC $ n1 n2 100 ESC % n Gosub SetchrESC & 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 ESC @ Function Code Outline Sample Program Print ResultsESC D n k NUL ESC E n ESC G n ESC J n ESC L Details ESC M nDefinition value ESC R n ESC S ESC T n Default Sample Program ESC V nESC 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 Vertical Magnification GS ! nHorizontal Magnification Default See Also GS $ nL nH See Also ESC $, ESC T, ESC W, ESC \, GS P, GS \GS * n1 n2 d n1⋅ n2⋅ Next I Next J Return GS a pL pH n m DefinitionGS / 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 ..... dk NUL D1 ...... dnFor Standard Mode ForFor page Mode Default Initial value is not definedDescription of Bar Codes For print examples, refer to UPC-AAscii This bar code consists of 103 bar code characters Special characters FNC4Description of Bar Codes GS r n See Also DLE EOT, GS aGS v 0 m xL xH yL yH d1...dk When xL+xH ⋅ 256= GS w n FS g3 m a1 a2 a3 a4 nL nH d1…dk RangeReference 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