PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Changing the print parameters
  • Changing the print settings on a Pocket PC
iParameter (Example)
Changing the print parameters
WINDEVWEBDEV - Server codeReports and QueriesWindowsWindows MobileAjaxUser code (UMC)
// The user configures the printer
iParameter()

// Display the printer parameters
Trace("------------------------------------------------------------------")
Trace("Orientation = " + iParameter(iOrientation))
Trace("PaperSize = " + iParameter(iPaperSize))
Trace("PageHeight = " + iParameter(iPaperLength))
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(iPaperLength))
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("------------------------------------------------------------------")
Changing the print settings on a Pocket PC
Windows Mobile
// Print in portrait mode
iParameter("ORIENTATION = PORTRAIT")
// Modify the page height
iParameter("PAGEHEIGHT = 2000")
iParameter("COPIES=2")
iParameter("COLLATE=YES")
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment