Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>startdoc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
StartDoc()
Start a print job
------------------------------------------------------------------------------

Syntax
StartDoc( <hDC>, <cDocName>, [ <cOutput> ] )   -->   nStatus

Arguments
<hDC> is the handle of the device context to print to.

<cDocName> is the name to use for the document whilst it is
being printed.

<cOutput> is an optional string used to specify the output
file.  If NIL (or omitted), the output is sent to the device
specified by <hDC>.

Returns
If successful, a positive numeric is returned, otherwise a
negative value is returned (one of the SP_* values defined in
WINDOWS.CH).

Description
This function starts a print job using a device context
previously obtained from the CreateDC() or GetPrintDC()
function.  Using this function makes sure that multi-page
print jobs are not interspersed with other print jobs.

Example
See GetPrintDC().


See Also: CreateDC() EndDoc() GetPrintDC() StartPage()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson