Sets the default device (printer), driver, and port.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static SalBoolean PrtSetDefault(
	SalString sDevice,
	SalString sDriver,
	SalString sPort
)

Parameters

sDevice
Type: PPJ.Runtime..::..SalString
The default device.
sDriver
Type: PPJ.Runtime..::..SalString
The default driver.
sPort
Type: PPJ.Runtime..::..SalString
The default port.

Return Value

bOk

See Also