
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>Print Provider</TITLE>
</HEAD>
<BODY LINK="#0000ff">

<FONT FACE="Verdana" SIZE=5><H2>Print Provider</H2>
</FONT><FONT FACE="Verdana" SIZE=2>
<P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary documentation and subject to change.]</span></P>

<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
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.<P>
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.

<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>

The code must be built using the build environment shipped with the DDK. Microsoft&#174; Visual C&#174; must be present on the machine for the sample to build properly, as build will use some header files.<P>
	To build the sample, use the <b>build</B> command. <P>
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.<P>

<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Makefile&#9;Generic file for building the code sample 
Port.c&#9;	Source file for printer port related functions
Pp.c&#9;	Implementation the exported functions
Pp.def&#9;	File that lists the exported functions
Pp.h&#9;	Header file for PP.C
Pp.htm&#9;	Documentation for this sample (this file)
Sources&#9;	Generic file for building the code sample


</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>

<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>
