Support for reading and writing printer settings. More...
Public Member Functions | |
SettingsReadWrite (IComm connection) | |
Must pass an opened comm connection that can remain opened if listening for unsolicited messages from printer. More... | |
SettingsReadWrite (string commDescriptor) | |
Constructor called when creating a connection managed by the SDK. More... | |
void | Dispose () |
Dictionary< string, Setting > | GetAllProperties () |
Inherited from ISettingsReadWrite.GetAllProperties. | |
Dictionary< string, string > | GetAllValues () |
Inherited from ISettingsReadWrite.GetAllValues. | |
Dictionary< string, Setting > | GetProperties (List< string > keys) |
Inherited from ISettingsReadWrite.GetProperties. | |
Setting | GetProperties (string key) |
Inherited from ISettingsReadWrite.GetProperties. | |
string | GetValue (string key) |
Inherited from ISettingsReadWrite.GetValue. | |
Dictionary< string, string > | GetValues (List< string > keys) |
Inherited from ISettingsReadWrite.GetValues. | |
bool | SetValue (string keyToSet, string valueToSet) |
Inherited from ISettingsReadWrite.SetValue. | |
bool | SetValues (Dictionary< string, string > keysToSet) |
Inherited from ISettingsReadWrite.SetValues. | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Support for reading and writing printer settings.
For list of valid keys and values refer to: Settings Key/Value Items
UniPRT.Sdk.Settings.SettingsReadWrite.SettingsReadWrite | ( | IComm | connection | ) |
Must pass an opened comm connection that can remain opened if listening for unsolicited messages from printer.
A connection is necessary to send/receive printer status messages.
UniPRT.Sdk.Settings.SettingsReadWrite.SettingsReadWrite | ( | string | commDescriptor | ) |
Constructor called when creating a connection managed by the SDK.
commDescriptor is descriptor for the communication used to connect with printer.
TCP descriptor format: "ip" or "ip:port"
e.g. "127.0.0.1" or "127.0.0.1:3007"
If port is not provided, default value is used.