Official Content

Deprecated. : Since GeneXus 15.

Invokes a dialogue to select a windows printer.

Syntax

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

Scope

Objects: Procedure, Transaction, Work Panel
Generators: .NET, Java, Visual FoxPro (up to GeneXus X Evolution 3)

Description

In order to use the second syntax, the object property “Standard Functions” must be set with the value “Allow non-standard functions”.

Samples

Event 'SelPrinter'
   Call('GxSelPrn', &sel)
EndEvent
Event 'SelPrinter’
   &ret = GxSelPrn(&sel)
EndEvent

See Also

Common dialog functions





Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant