Cicode Programming Reference > Cicode Function Categories > Form Functions > FormSelectPrinter

FormSelectPrinter

Displays the Select Printer dialog box.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

FormSelectPrinter()

Return Value

The name of the selected printer (as a string) or an empty string ("") if the Cancel button is selected.

Related Functions

FormOpenFile, FormSaveAsFile

Example

// Display the Select Printer dialog
sPrinter = FormSelectPrinter();

See Also

Form Functions

Published June 2018