Click or drag to resize

SGDDO Method (Stream, 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 void DO(
	Stream responseData,
	string setting,
	string value,
	Connection printerConnection
)

Parameters

responseData
Type: System.IOStream
output stream to receive the response.
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
Exceptions
ExceptionCondition
ConnectionExceptionif an I/O error occurs
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