PA_ClosePrinterSession

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_ClosePrinterSession

ParameterTypeDescription
This command does not require any parameters

Description

The routine PA_ClosePrinterSession cancels the exclusive access to the PrintManager the 4D Plug-in has previously obtained with PA_OpenPrinterSession or a successful call to PA_TryToOpenPrinterSession.

A call to PA_OpenPrinterSession ( or a successful call to PA_TryToOpenPrinterSession) must be counter-balanced by a call to PA_ClosePrinterSession. Otherwise, the PrintManager will be unavailable to all the other processes until the end of the 4D work session.

On Macintosh, this routine calls internally PrClose, so you do not need to call it yourself.

Example

See PA_OpenPrinterSession for an example.


See Also

PA_OpenPrinterSession, PA_TryToOpenPrinterSession.

Error Handling

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next