>The following command seems to work for me. Thanks! >SET PRINTER TO NAME GETPRINTER()
Even better
_screen.addproperty('cPrinter',set('printer',3)) && This line is your form's load_screen.cPrinter=getprinter() && This line is somewhere else in you rapplication, for instance in a menuSetprintertoname (_screen.cPrinter)