Skip to content

EXEC_PRTSETUP_DLG ​

The command EXEC_PRTSETUP_DLG executes the printer setup dialog.

Syntax ​

leo-grammar
SEND "EXEC_PRTSETUP_DLG" to:"Application" answer:button

#--> RETURN strValue

Parameters ​

none

Returns ​

  • <main-parameter> (strValue) - value that is returned from teh send command

Details ​

This command call can only be used with the SEND keyword.

See Also ​

Examples ​

asc
#Opening the printer setup dialog

SEND "EXEC_PRTSETUP_DLG" to:"Application" answer:button
IF (button = "OK")
{
   CC "AdoScript" INFOBOX "Yeah! The user closed the printer dialog with the OK button!"
}

EXEC_PRTSETUP_DLG

Versions and Changes ​

Available since ADOxx 1.3