Displays the Printer Setup dialog box that lets the user alter the printer setup.
Initially, the current default printer is displayed and the user may change the
printer. SalPrtSetup returns the user's selections in the Receive Strings.
Namespace: PPJ.RuntimeAssembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)
Syntax
C# |
---|
public static SalBoolean PrtSetup( ref SalString sDevice, ref SalString sDriver, ref SalString sPort, SalBoolean bActiveOnly ) |
Parameters
- sDevice
- Type: PPJ.Runtime..::..SalString%
The device (printer).
- sDriver
- Type: PPJ.Runtime..::..SalString%
The driver.
- sPort
- Type: PPJ.Runtime..::..SalString%
The port.
- bActiveOnly
- Type: PPJ.Runtime..::..SalBoolean
Whether to display active and/or inactive printers: if TRUE, all printers display and if FALSE, only active printers display.