UniPRT SDK  v1.0.0.0
Configs Class Reference

Support for reading and writing printer configurations. More...

Inheritance diagram for Configs:
IConfigs

Public Member Functions

 Configs (IComm connection)
 Must pass an opened comm connection that can remain opened if listening for unsolicited msgs from printer. More...
 
 Configs (JsonComm mgmtComm)
 Constructor called when a mgmt comm object already exists for listening for mgmt msgs. More...
 
 Configs (String commDescriptor)
 Constructor called when creating a connection managed by the SDK. More...
 
void close ()
 
void Dispose ()
 
List< ConfigGetAllConfig ()
 Inherited from IConfigs.GetAllConfig.
 
Config GetConfig (int cfgNumber)
 Inherited from IConfigs.GetConfig.
 
boolean SetConfig (Config Cfg)
 Inherited from IConfigs.SetConfig

 

Protected Member Functions

void Dispose (boolean disposing)
 
void finalize () throws Throwable
 

Detailed Description

Support for reading and writing printer configurations.

Examples


Constructor & Destructor Documentation

◆ Configs() [1/3]

Configs ( IComm  connection)

Must pass an opened comm connection that can remain opened if listening for unsolicited msgs from printer.

A connection is necessary to send/receive printer status msgs.

◆ Configs() [2/3]

Configs ( JsonComm  mgmtComm)

Constructor called when a mgmt comm object already exists for listening for mgmt msgs.

◆ Configs() [3/3]

Configs ( String  commDescriptor)

Constructor called when creating a connection managed by the SDK.

commDescriptor is the descriptor for the communication used to connect with the printer.
TCP descriptor format: "ip" or "ip:port"
e.g., "127.0.0.1" or "127.0.0.1:3007"
If the port is not provided, the default value is used.