SATO CL4NX Programming Reference Manual page 332

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

[Return data format (normal)]
[ACK]<06>
16
[Return data format (when a command error occurs)]
[NAK]<15>
16
[Exception processing]
Parameter name
Total number of data in
bytes
Identifier
Data size of settings in
bytes
Setting item
Setting data
(*1) If the data size from the first identifier (bb) to the last data item doesn't match the data size of
setting information, and the data size calculated from the format, a command error will occur.
(*2) However, nothing will be returned until receiving the number of data equals to the total number
of data bytes.
(*3) If the data during the receipt of the setting information data size from the beginning of the
setting information data is not ",", a command error occurs.
Terminology
Command Error
Invalid identifier
Invalid item
[Supplementary information]
1. If the total data size and actual data size do not match, an error will occur and they will not be set.
2. If the data size of settings and data size of actual settings do not match, an error will occur and the value will not be
set.
3. Setting for each identifier and setting item can be omitted.
4. Setting for each identifier and setting item can be in random order.
5. When re-setting a setting with same identifier, the last value that was set will be enabled.
6. If the value in setting was out of range, then the setting item will have an error and will be skipped.
7. No malfunction will occur when a character string with the same name as the setting item was set.
e.g.) When you set "DeviceName" as setting value for the setting item named "DeviceName".
8. Do not send this command when the printer is printing. Use this command in the standby status.
A value outside the range is
specified
Command Error
Invalid identifier (skip)
Command Error
Invalid setting item (skip)
Invalid setting item (skip)
Description
All items are not set. The data received after a command error is determined is
not considered as a parameter of this command.
The corresponding setting information data (data equivalent to the succeeding
setting information data size) is ignored.
The data of one item (data up to [CR] [LF]) is ignored.
326
Exception condition
The specified size and received size are
different
Command Error (*1) (*2)
Command Error
Command Error (*3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents