Hi,
you need iPaperSource for that
And you can let the user pick a papertray with this code
// initialize the printer parameter window with the requested printer but don't make it permanent
iConfigure(COMBO_Printer..DisplayedValue,True)
// preset the window with the values choosen before
iParameter(iPaperSource,EDT_PaperSource)
iParameter(iPaperSize,EDT_PaperSize)
// show the parameter window
IF iConfigureReport(RPT_RouteLijst) THEN
// save the new paper source
EDT_PaperSource = iParameter(iPaperSource)
EDT_PaperSize = iParameter(iPaperSize)
END
Arie