SGDDO(Stream, String, String, Connection) Method
|
Constructs an SGD DO command and sends it to the printer.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public static void DO(
Stream responseData,
string setting,
string value,
Connection printerConnection
)
Public Shared Sub DO (
responseData As Stream,
setting As String,
value As String,
printerConnection As Connection
)
public:
static void DO(
Stream^ responseData,
String^ setting,
String^ value,
Connection^ printerConnection
)
Parameters
- responseData Stream
- output stream to receive the response.
- setting String
- the SGD setting
- value String
- the setting's value
- printerConnection Connection
- the connection to send the command to
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 write the SGD
value associated with
setting, without the surrounding quotes, to
responseData.
See Also