Visual Basic Reference

EndDoc Method

See Also    Example    Applies To

Terminates a print operation sent to the Printer object, releasing the document to the print device or spooler.

Syntax

object.EndDoc

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

If EndDoc is invoked immediately after the NewPage method, no additional blank page is printed.