SGDDO Method (String, String, Connection)
|
Constructs an SGD DO command and sends it to the printer.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax public static string DO(
string setting,
string value,
Connection printerConnection
)
Public Shared Function DO (
setting As String,
value As String,
printerConnection As Connection
) As String
public:
static String^ DO(
String^ setting,
String^ value,
Connection^ printerConnection
)
Parameters
- setting
- Type: SystemString
the SGD setting - value
- Type: SystemString
the setting's value - printerConnection
- Type: Zebra.Sdk.CommConnection
the connection to send the command to
Return Value
Type:
StringThe response from the SGD DO command
Exceptions Remarks
This method waits for a maximum of
MaxTimeoutForRead milliseconds for any data to be received. Once some data has been
received it waits until no more data is available within
TimeToWaitForMoreData milliseconds. This method returns the
SGD value associated with
setting without the surrounding quotes.
See Also