Container for printer configuration. More...
Public Member Functions | |
Config (String cfgContent) | |
cfgContent is data received from printer or data previously saved to file and reloaded. | |
String | toString () |
String | ToString () |
Public Attributes | |
String | Data |
The printer configuration values. These should not be modified. More... | |
String | Model |
The Model of the printer configuration is valid for. More... | |
String | Name |
The configuration name. This property can be left empty if naming is not desired. More... | |
int | Number |
Configuration number. 0-8 valid. 0 is factory configuration. 1-8 are user stored configurations. More... | |
String | ProgramFile |
The printer program file that configuration can be downloaded to. More... | |
Container for printer configuration.
Printers can hold multiple configurations.
Reading/Writing different configurations can be done by using the Number property.
String Data |
The printer configuration values. These should not be modified.
These values should not be modified and should only be read, stored for backup purposes, and re-downloaded to printer.
String Model |
The Model of the printer configuration is valid for.
The configuration can only be downloaded to the printers that match the model.
String Name |
The configuration name. This property can be left empty if naming is not desired.
The property can be used to give the configuration a more descriptive name, e.g., "ShipLabel".
Note that name should be kept short to prevent truncation by printer.
int Number |
Configuration number. 0-8 valid. 0 is factory configuration. 1-8 are user stored configurations.
This number refers to the configuration number stored in the printer memory.
String ProgramFile |
The printer program file that configuration can be downloaded to.
If left empty, printer will not prevent downloading configuration to different Program File.
Leave this with value read from printer if you want to make sure configuration is only applied to printers with matching Program File.