UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.Settings.Config Class Reference

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. More...
 
String toString ()
 
String ToString ()
 

Public Attributes

int Number
 Configuration number. 0-8 valid. 0 is factory configuration. 1-8 are user stored configurations. 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...
 
String ProgramFile
 The printer program file that configuration can be downloaded to. More...
 
String Data
 The printer configuration values. These should not be modified. More...
 

Static Private Attributes

static final String MODEL = "Model"
 
static final String PROGRAM_FILE = "Program Part"
 
static final String CFG_NUM = "Number"
 
static final String CFG_NAME = "Name"
 
static final String CFG_DATA = "Data"
 

Detailed Description

Container for printer configuration.

Printers can hold multiple configurations.
Reading/Writing different configurations can be done by using the Number property.

Constructor & Destructor Documentation

◆ Config()

com.UniPRT.Sdk.Settings.Config.Config ( String  cfgContent)

Member Function Documentation

◆ toString()

◆ ToString()

String com.UniPRT.Sdk.Settings.Config.ToString ( )

Member Data Documentation

◆ CFG_DATA

final String com.UniPRT.Sdk.Settings.Config.CFG_DATA = "Data"
staticprivate

◆ CFG_NAME

final String com.UniPRT.Sdk.Settings.Config.CFG_NAME = "Name"
staticprivate

◆ CFG_NUM

final String com.UniPRT.Sdk.Settings.Config.CFG_NUM = "Number"
staticprivate

◆ Data

String com.UniPRT.Sdk.Settings.Config.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.

◆ MODEL

final String com.UniPRT.Sdk.Settings.Config.MODEL = "Model"
staticprivate

◆ Model

String com.UniPRT.Sdk.Settings.Config.Model

The Model of the printer configuration is valid for.

The configuration can only be downloaded to the printers that match the model.

◆ Name

String com.UniPRT.Sdk.Settings.Config.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.

◆ Number

int com.UniPRT.Sdk.Settings.Config.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.

◆ PROGRAM_FILE

final String com.UniPRT.Sdk.Settings.Config.PROGRAM_FILE = "Program Part"
staticprivate

◆ ProgramFile

String com.UniPRT.Sdk.Settings.Config.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.


The documentation for this class was generated from the following file: