Print Provider

[This is preliminary documentation and subject to change.]

SUMMARY

Print providers are responsible for directing print jobs to local or remote print devices. They are also responsible for print queue management operations, such as starting, stopping, and enumerating a server's print queues. They define a high-level, machine-independent, OS-independent view of a print server. Please refer to the DDK documentation for more information.

This sample is not a fully functioning print provider; it is a template containing skeletal implementations of the functions defined by print providers. It will compile under Win64, but it is not functional unless the user implements the functions.

BUILDING THE SAMPLE

The code must be built using the build environment shipped with the DDK. Microsoft® Visual C® must be present on the machine for the sample to build properly, as build will use some header files.

To build the sample, use the build command.

Once built, the sample produces four binaries: Pp.dll, Pp.lib (an export lib), Pp.exp, and, if built in a checked environment, Pp.pdb.

CODE TOUR

File Manifest

File		Description

Makefile	Generic file for building the code sample 
Port.c		Source file for printer port related functions
Pp.c		Implementation the exported functions
Pp.def		File that lists the exported functions
Pp.h		Header file for PP.C
Pp.htm		Documentation for this sample (this file)
Sources		Generic file for building the code sample


Top of page

© 1999 Microsoft Corporation