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><a1><a2><a3><a4> |
| <nL><nH> |
[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 |
| 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. |
— 134 —