Invokes a dialogue to select a Windows printer.
Call(‘GxSelPrn’, selected[, ret-value]) | [ret-value =] GxSelPrn(selected)
Where:
selected
Character type. Is the selected printer name.
ret-value
Numeric type. Is the error code returned by the function.
Type Returned:
Numeric
Objects: Procedure, Transaction, Work Panel
Generators: .NET, Java, Visual FoxPro (up to GeneXus X Evolution 3)
In order to use the second syntax, the Standard Functions property at Object level must be set with the value “Allow non-standard functions”.
Event 'SelPrinter'
Call('GxSelPrn', &sel)
EndEvent
Event 'SelPrinter’
&ret = GxSelPrn(&sel)
EndEvent
Common dialog functions