Sets the printer properties at runtime.
This function should be called wile processing the SAM_ReportStart event.
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 ReportGetPrinterSettings( SalWindowHandle hWndReport, ref SalString strPrinterName, ref SalNumber nOrientation, ref SalNumber nPaperType, ref SalNumber nWidth, ref SalNumber nHeight ) |
Parameters
- hWndReport
- Type: PPJ.Runtime..::..SalWindowHandle
- strPrinterName
- Type: PPJ.Runtime..::..SalString%
Friendly name of the printer.
- nOrientation
- Type: PPJ.Runtime..::..SalNumber%
Paper Orientation.
- nPaperType
- Type: PPJ.Runtime..::..SalNumber%
Paper type.
- nWidth
- Type: PPJ.Runtime..::..SalNumber%
Paper width in milli-inches. This value is ignored for all paper types except for RPT_PaperCustom.
- nHeight
- Type: PPJ.Runtime..::..SalNumber%
Paper height in milli-inches. This value is ignored for all paper types except for RPT_PaperCustom.