JSON (JavaScript Object Notation)
JSON (JavaScript Object Notation)

JSON (JavaScript Object Notation)

JSON (JavaScript Object Notation) is an open standard format that uses human- and machine-readable text for device management. It transmits data objects consisting of elements as attribute–value pairs.
You can use use JSON as an alternative to using the SGD (Set-Get-Do) mechanism when reading or writing parameters on QLn and iMZ mobile printers. JSON is a popular open standard for exchanging data objects and is well suited to this task.
The main settings channel for JSON is TCP port 9200, but other ports can be used. JSON commands are processed when received. Up to eight connections are allowed, and all connected ports are active, and the JSON commands will work while the printer is printing.
The port used for JSON can be changed or disabled using ip.port_json_config.
JSON is available on all communications ports, unless
line_print
is enabled, in which case you must use the main TCP JSON port, 9200. If you connect to port 9200, the printer ONLY accepts JSON commands. CPCL, SGD, ZPL, and other command languages are not supported.