Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.94 SetPrinter Method

Description:

Displays the Print Setup dialog allowing the user to configure printer details before printing.

Values set in the dialog update the following Print control properties.

PaperOrientation

PaperType

PrinterName

Source

Used in controls:

Print

Used in objects:

None.

Parameters:

None.

Return value:

VT_BOOL - ReturnValueS9(4) COMP-5

POW-TRUE means the OK button was pushed.
POW-FALSE means the Cancel button was pushed.

Example:

INVOKE CmPrint "SetPrinter"
  RETURNING ReturnValue

Backward compatibility
method name:

None.