Print_Init function
Description
Starts a printing session.
Syntax
status = Print_Init(mode, jobtitle, handle)
Parameters
The Print_Init function has the following parameters:
Parameter | Description |
---|---|
mode | Value - Description 0 - Default printer. 1 - Displays the Print dialog box and lets you choose the printer. |
jobtitle | The print job title to appear in Print Manager. |
handle | Handle of the owner window. |
Returns
True for successful execution or False for failure.
See Also
Example
* Sends the print job name to Print Manager. hwnd = Get_Property(@Window, 'HANDLE') stat = Print_Init(0,"Test Document", hwnd)