Win32Prn() > Document methods xHarbour Developers Network  

oWin32Prn:startDoc()

Instructs the spooler to begin with a new document.

Syntax

:startDoc( [<cDocumentName>] ) --> lSuccess

Arguments

<cDocumentName>
This is an optional character string holding the name of the document to begin with. The character string is displayed in the printer spooler window. If <cDocumentName> is omitted, it is created from the xHarbour application name and a time stamp.

Description

Method :startDoc() must be called after :create(). It istructs the spooler to begin with a new document and capture subsequent print output. The print output is sent to the printer after the document is closed with method :endDoc().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe