DOCINFO Structure
Type DOCINFO
cbSize As Long
lpszDocName As String
lpszOutput As Long
lpszDatatype As String
fwType As Long
End Type
Description & Usage
The DOCINFO structure holds information about a print job. This information is mainly used to give a description of the document to the print spooler. It also specifies whether to send the data to the printer or to a print file, as well as specifying a few additional options.
Visual Basic-Specific Issues
None.
Data Members
- cbSize
- The size in bytes of the structure.
- lpszDocName
- The name of the document being printed.
- lpszOutput
- To send the output to a print file, this is a pointer to a null-terminated string identifying the file to create. To send the output to the printer itself, set this to 0.
- lpszDatatype
- The data type of the document being printed, if applicable.
- fwType
- Zero or more of the following flags specifying additional options for printing:
- DI_APPBANDING
- If the program uses banding, set this flag to provide optimal performance during printing.
- DI_ROPS_READ_DESTINATION
- Use raster operations which involve reading the destination surface.
Constant Definitions
Const DI_APPBANDING = &H1
Const DI_ROPS_READ_DESTINATION = &H2
Used By
StartDoc
Back to the index.
Last Modified: November 2, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information
Go to Paul Kuliniewicz's Home Page.
E-mail: rogue953@hotmail.com
This page is at http://skyscraper.fortunecity.com/transmission/45/api/d/docinfo.html