Description

Starts a printing session.

Syntax

status = Print_Init(mode, jobtitle, handle)

Parameters

The Print_Init function has the following parameters:

ParameterDescription
mode
ValueDescription
0Default printer.
1Displays the Print dialog box and lets you choose the printer.
jobtitleThe print job title to appear in Print Manager.
handleHandle of the owner window.

Returns

True for successful execution or False for failure.

See also

Print_End()

Example

* Sends the print job name to Print Manager.
hwnd = Get_Property(@Window, 'HANDLE')
stat = Print_Init(0,"Test Document", hwnd)