EndDoc method (IEPrint)

Visual Basic example

Visual C++ example

 

Syntax

short EndDoc(long hDC);

Overview

Refer to Redirecting to a Printer Redirection List

Remarks

Ends the printer job.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

This method should be called after using the device context returned by one of the CreateXXXDC methods.

If you called StartDoc method you must call EndFDoc method after using the device context returned by one of the CreateXXXDC

See Also

Elements:

CreateSaveDC method, CreateEmailDC method, DeleteDC method, StartDoc method, EndPage method, StartPage method, CreateRedirectionDC method

Topics:

ePrint: Print Job