<<

Contents

Search

>>

 

PRINTERDIALOG

 

 

Function

 

 

Syntax:

PRINTERDIALOG(<Type of Dialog>)

 

<Type of Dialog> = <NUM-EXPRESSION>

 

Meaning:

Opens the standard dialog for selecting a printer.

 

PRINTERDIALOG returns the result 1 if a printer has been selected, and 0 if the print dialog has been cancelled.

 

Parameter:

Type of Dialog

Specifies the type of the printer dialog:

 

= 1: Page setup

= otherwise: Printer dialog

 

 

With Html programs the printer dialog of the client cannot be called. PRINTERDIALOG returns always 1.

 

Sample:

IF PRINTERDIALOG(0) = 0

THEN … cancelled …

ENDIF

 

See also:

PRINTER

EBUS_PRINTER$