Returns the default device (printer), the default driver, and the default 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 PrtGetDefault(
	ref SalString sDevice,
	ref SalString sDriver,
	ref 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