ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Rich Text Area control
  • Changing the print parameters
iParameter (Example)
Changing the print parameters
WINDEVWEBDEV - Server codeReports and QueriesWindowsUser code (UMC)Ajax
// The user configures the printer
iParameter()
 
// Display the printer parameters
Trace("------------------------------------------------------------------")
Trace("Orientation = " + iParameter(iOrientation))
Trace("PaperSize = " + iParameter(iPaperSize))
Trace("PageHeight = " + iParameter(iPaperHeight))
Trace("PageWidth = " + iParameter(iPaperWidth))
Trace("NbCopies = " + iParameter(iCopies))
Trace("PaperSource = " + iParameter(iPaperSource))
Trace("YResolution = " + iParameter(iYResolution))
Trace("Color = " + iParameter(iColor))
Trace("Collate = " + iParameter(iCollate))
SpecialParameters is Buffer = iParameter(iExtraParameters)
Trace("Special size = " + Length(SpecialParameters))
Trace("Special = " + SpecialParameters)
Trace("------------------------------------------------------------------")
Trace("NbCopies = " + iParameter(iCopies, 10))
Trace("Orientation = " + iParameter(iOrientation, iOrientation_Landscape))
Trace("PaperSize = " + iParameter(iPaperSize, iPaperSize_A3))
Trace("Special = " + iParameter(iExtraParameters, ...
SpecificParameters))
Trace("CustomPaperFormat = " + iParameter(iFormatCustomPaper,"Test"))
Trace("------------------------------------------------------------------")
Trace("Orientation = " + iParameter(iOrientation))
Trace("PaperSize = " + iParameter(iPaperSize))
Trace("PageHeight = " + iParameter(iPaperHeight))
Trace("PageWidth = " + iParameter(iPaperWidth))
Trace("NbCopies = " + iParameter(iCopies))
Trace("PaperSource = " + iParameter(iPaperSource))
Trace("YResolution = " + iParameter(iYResolution))
Trace("Color = " + iParameter(iColor))
Trace("Collate = " + iParameter(iCollate))
Trace("Special size = " + Length(iParameter(iExtraParameters))
Trace("Special = " + iParameter(iExtraParameters))
Trace("------------------------------------------------------------------")
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help