DocPrintΒΆ

DocPrint prints the pages from the document to the printer.

bool = DocPrint(hDoc)
bool = DocPrint(hDoc, nStartPage, nEndPage)
bool = DocPrint(hDoc, ssFile, nStartPage, nEndPage)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hDoc

Identifies the document.

nStartPage

p|nStartPage| is the page number of the first page to be printed, nStartPage >= 1.

nEndPage

nEndPage is the page number of the last page to be printed.

ssFile

ssFile is the file name if the document is printed into a file.

Example

Print all document pages

DocPrint(hDoc, 1, 256);

History

Version Description
5.1.2 New parameter ssFile.

id-114637