1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<title>Windows Interface Reference: Printing structure</title>
6</head>
7
8<body>
9
10<h1>Printing </h1>
11
12<p>The Printing structure contains functions to control a printer device context.</p>
13
14<pre>structure Printing :
15  sig
16    type HDC
17    type DOCINFO = { docName: string, output: string option, dType: string option}
18
19    val <a
20name="StartDoc">StartDoc</a> : HDC * DOCINFO -&gt; int
21    val <a name="StartPage">StartPage</a> : HDC -&gt; unit
22    val AbortDoc : HDC -&gt; unit
23    val <a
24name="EndDoc">EndDoc</a> : HDC -&gt; unit
25    val <a name="EndPage">EndPage</a> : HDC -&gt; unit
26
27    datatype WMPrintOption = 
28		PRF_CHECKVISIBLE | PRF_NONCLIENT | PRF_CLIENT | PRF_ERASEBKGND |
29		PRF_CHILDREN | PRF_OWNED
30  end </pre>
31</body>
32</html>
33