Web API for printer configuration management
The Managing Client can retrieve the printer’s configuration via an HTTP “Get”. The
printer will respond with a configuration file (see “Retrieving Printer’s configuration
using HTTP Server Get” on page 12). This file will include all necessary information
to determine the current printer configuration or setup:
v
Firmware version
v
Checksums of the various flash memory sectors:
– Fonts
– Character sets
– Messages
v
Network settings
Knowledge of the printer specification and the locations of the given parameters are
required to interpret the output.
Once the manager determines that a printer requires updating, there are three file
types the printer will accept. These will come to the printer via HTTP POST:
1.
Firmware file
: The same firmware file that is supported by the drivers. *.hex
file.
The printer will verify the file format, validity (correct CRC), and version before
beginning the update process. Once verification is complete, it will program the
new firmware and reset. Following the reset, the printer will run at the new
firmware level.
2.
Configuration file
: Contains all the data the printer would need for
configuration in a given environment. This includes the network configuration.
3.
Font file
: The *.fon file that is supported by the UPOS drivers. See the UPOS
font support for creating this file with a configuration tool 4610cvnt.exe.
This file contains all the required data for setting up the font file in the printer. If
necessary, the printer will erase and then store all the font files and MCT values
associated with the font file. Example: If one of the DBCS font files is
downloaded, the printer will store the DBCS Impact, DBCS Thermal, SBCS
Impact User defined set 1, and SBCS Thermal User defined set 1, as well as
the MCTs needed to use these files by the printer and the UPOS drivers. If
required when downloading DBCS character sets, the printer will reset when the
font is done storing.
Upon completion of setup, the printer will respond by sending a response to the
HTTP file.
Retrieving Printer’s configuration using HTTP Server Get
The HTTP server Get is used for retrieving the configuration of the printer.
The HTTP header starts with get_Config:
GET /get_Config HTTP
12
SureMark Hardware Service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary of Contents for 1NA
Page 2: ......
Page 8: ...vi SureMark Hardware Service ...
Page 10: ...viii SureMark Hardware Service ...
Page 12: ...x SureMark Hardware Service ...
Page 16: ...xiv SureMark Hardware Service ...
Page 18: ...xvi SureMark Hardware Service ...
Page 46: ...28 SureMark Hardware Service ...
Page 56: ...38 SureMark Hardware Service ...
Page 88: ...70 SureMark Hardware Service ...
Page 90: ...Assembly 1 Models 1NR 1NA and 1ND 1 2 3 4 5 7 6 72 SureMark Hardware Service ...
Page 92: ...Assembly 1 continued 74 SureMark Hardware Service ...
Page 108: ...90 SureMark Hardware Service ...
Page 109: ......
Page 110: ...G362 0565 05 ...