5.0 Command Set Reference
A command consists of a string of data received from the serial communication link. The minimum length
of a command string is four byte; the maximum length depends on the command type.
The microcode checks that the length is not less than the minimum required for the command type specified
in byte 2. A command is composed of four parts:
1. Command Prefix
It consists of two constant bytes x
′1
B66
′ (
ESC f).
Command prefix is not present in system commands.
2. Command Code
Command code is in byte 2 of command string. It identifies the command to be executed.
Its value can range from x
′00′
to x
′
F F
′.
3. Command Extension
Command extension is in byte 3 of command string. It contains command options.
Reserved bits must be set to 0. Only exception is retry bit which is ignored by microcode on commands
where it has not any effect.
4. Command Data
Command data starts from byte 4 of command string. Its content depends on the command type.
Character strings must be left aligned.
Numeric strings must be right aligned.
Non significant digits in numeric fields can be blank.
At least one status is sent in response to a command.
The only exception is related to system commands: no response is given for system commands not
recognized by the fiscal unit.
The format of the status is described in 2.0, “Printer and Fiscal Unit Status” on page 19.
Note - 7 is the most significant bit and 0 is the least significant bit.
Command Set Reference — Page 45 of 183
Содержание 4610 SureMark GR3
Страница 12: ...Page 12 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 14: ...Page 14 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 18: ...Page 18 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 26: ...Page 26 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 30: ...Page 30 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 44: ...Page 44 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 129: ...b The maximum number of ordinary lines in DI station EB cmd are 255 Command Set Reference Page 129 of 183...
Страница 154: ...Page 154 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...
Страница 178: ...Page 178 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...
Страница 182: ...Page 182 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...