Click or drag to resize

SGDSET Method (String, Int32, Connection)

Constructs an SGD SET command and sends it to the printer.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public static void SET(
	string setting,
	int value,
	Connection printerConnection
)

Parameters

setting
Type: SystemString
the SGD setting
value
Type: SystemInt32
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 will not wait for a response from the printer.If the SGD SET command returns a response, the caller is responsible for reading the data off of the connection.If a response is expected, consider using the analogous DO(String, String, Connection) command.
See Also