Click or drag to resize

SGDSET(String, Int32, Connection) Method

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

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

Parameters

setting  String
the SGD setting
value  Int32
the setting's value
printerConnection  Connection
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