summaryrefslogtreecommitdiff
path: root/print/autoconfig/AutoConfig.htm
blob: 5a32268c7233507ebd143b222487df52cb3a7ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Auto-Configuration Samples</title>
<style>
<!--
p
	{margin-right:0in;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:black}
h1
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	page-break-after:avoid;
	font-size:16.0pt;
	font-family:Arial;
	color:windowtext;
	font-weight:bold}
h3
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	page-break-after:avoid;
	font-size:13.0pt;
	font-family:Arial;
	color:windowtext;
	font-weight:bold}
 p.MsoNormal
	{mso-style-parent:"";
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:windowtext; margin-left:0in; margin-right:0in; margin-top:0in}
 table.MsoNormalTable
	{mso-style-parent:"";
	font-size:10.0pt;
	font-family:"Times New Roman";
	}
p.MsoPlainText
	{mso-style-parent:"";
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;
	margin-left:0in; margin-right:0in; margin-top:0in}
h4
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	page-break-after:avoid;
	font-size:14.0pt;
	font-family:"Times New Roman";
	color:windowtext;
	font-weight:bold}
-->
</style>
</head>

<body>

<h1>Auto-Configuration Samples</h1>
<h3>Summary</h3>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">
AutoConfig</span> <span style="font-size: 10.0pt; font-family: Verdana">sample 
demonstrates how to implement Unidrv-based and PScript5-based drivers to 
leverage the inbox support for auto-configuration.</span></p>
<p class="MsoNormal">
<span style="font-size: 10.0pt; font-family: Verdana; color: black">The sample 
works only when used with the standard TCP/IP port monitor or the 
Network-Connected Device (NCD) port monitor.</span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="font-size: 10.0pt; font-family: Verdana">
Note:</span></b><span style="font-size: 10.0pt; font-family: Verdana"> The 
sample is provided here only as a proof of concept.</span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">The 
table shown below identifies which operating systems this sample will build and 
work on. </span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></p>
<table class="MsoNormalTable" border="1" cellpadding="0" width="100%" style="width: 100.0%" id="table1">
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center"><b>
		<span style="font-size: 10.0pt; font-family: Verdana">Operating System</span></b></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center"><b>
		<span style="font-size: 10.0pt; font-family: Verdana">Can sample be 
		built in the OS?</span><span style="font-family: Verdana"> </span></b>
		</td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center"><b>
		<span style="font-size: 10.0pt; font-family: Verdana">Does sample work 
		in the OS?</span></b></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center"><b>
		<span style="font-size: 10.0pt; font-family: Verdana; letter-spacing: -1.0pt">
		Can sample be used in a production environment for the OS?</span></b></td>
	</tr>
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal">
		<span style="font-size: 10.0pt; font-family: Verdana">Windows Vista</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">Yes</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">Yes</span></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
	</tr>
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal">
		<span style="font-size: 10.0pt; font-family: Verdana">Windows Server 
		2003</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
	</tr>
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal">
		<span style="font-size: 10.0pt; font-family: Verdana">Windows XP</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
	</tr>
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal">
		<span style="font-size: 10.0pt; font-family: Verdana">Windows 2000</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
	</tr>
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal">
		<span style="font-size: 10.0pt; font-family: Verdana">Windows Me</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
	</tr>
	<tr>
		<td width="19%" style="width: 19.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal">
		<span style="font-size: 10.0pt; font-family: Verdana">Windows 98 SE</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="26%" style="width: 26.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
		<td width="25%" style="width: 25.0%; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; padding-bottom: 0in">
		<p class="MsoNormal" align="center" style="text-align: center">
		<span style="font-size: 10.0pt; font-family: Verdana">No</span></td>
	</tr>
</table>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></p>
<h1><span style="font-size: 12.5pt; color: black">Auto-Configuration</span>
<span style="font-size: 12.5pt; color: black">Basics</span></h1>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">Prior 
to Microsoft� Windows� Vista, the settings of a print queue are set initially to 
the driver's default settings, rather than to the appropriate settings based on 
the device. For Unidrv or Pscript5, this means that static default values 
specified in the GPD or PPD file are used for the initial print queue setup. 
This static set of defaults necessarily must represent the minimum configuration 
that a printer can ship with. For instance, if a stapling unit is optional for a 
device, then by default, such a device cannot have stapling capability enabled, 
otherwise the user interface for devices without the stapling unit would show 
stapling as an option. A customer who selected the stapling option but found 
that it did not work would likely be confused.</span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">For any device that 
comes with features not present in the basic model, a user or administrator must 
manually configure these features on the print queue after installation. This 
can at times be a confusing and non-intuitive experience. The configuration 
process is easy to get wrong, particularly with regard to internal parameters 
such as memory and hard disk size, which significantly can affect printing speed 
and quality. </span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">Auto-configuration</span>
<span style="font-size: 10.0pt; font-family: Verdana">solves this problem by 
automatically configuring the print queue according to the installable features 
on the device, rather than simply using the driver's static default settings. 
The main target for auto-configuration is network printers. They are the most 
likely ones to have multiple optional features and require more manual 
configuration.</span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">Auto-configuration</span>
<span style="font-size: 10.0pt; font-family: Verdana">works by means of 
bi-directional printer communication (also known as bidi communication) between 
the print subsystem and the printer. In order for auto-configuration to work, 
the printer must be able to:</span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Understand a 
query sent by the port monitor. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Generate the 
appropriate response to the query. </span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">To support 
auto-configuration, both the printer driver and the port monitor must be 
modified.</span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">A <i>printer driver</i> 
must:</span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Be aware of 
the Bidi Notification Schema. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Be able to 
receive notifications about device configuration changes using the Bidi 
Notification Schema. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Be able to 
solicit configuration data from the printer using the Bidi Communication 
Interfaces, and specifically the <b>IBidiSpl2</b> COM interface (described in 
the Platform SDK documentation). </span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">A <i>port monitor</i> 
must:</span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Support a 
device protocol capable of querying the printer's configuration. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Be able to 
receive unsolicited status messages from the printer. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Convert 
unsolicited status messages to an appropriate driver notification. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Keep all of 
the device status and configuration data up-to date by means of polling or 
alerts. </span></p>
<p class="MsoNormal" style="text-indent: -.25in; margin-left: 22.8pt; margin-bottom: .1in">
<span style="font-size: 10.0pt; font-family: Symbol; color: black">�<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7.0pt; font-family: Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span>
<span style="font-size: 10.0pt; font-family: Verdana; color: black">Inform the 
driver or application of any configuration changes in the device. </span></p>
<p><span style="font-size: 10.0pt; font-family: Verdana">Unidrv-based and 
PScript5-based drivers using the standard TCP/IP port monitor or the 
Network-Connected Device (NCD) port monitor provide support for 
auto-configuration.</span></p>
<h3><a name="MYSAMPLE"><span lang="FR" style="font-family: Verdana">CODE TOUR</span></a></h3>
<p class="MsoNormal"><span lang="FR">&nbsp;</span></p>
<p class="MsoNormal"><b>
<span lang="FR" style="font-size: 10.0pt; font-family: Verdana">Unidrv</span></b><span lang="FR">
</span><b><span lang="FR" style="font-size: 10.0pt; font-family: Verdana">
Auto-Configuration Sample</span></b></p>
<p class="MsoNormal"><b>
<span lang="FR" style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></b></p>
<p class="MsoPlainText"><span style="font-family: Verdana">The main part of the 
sample is the auto-configuration GDL file ACnfgUni.GDL. This file implements 
the&nbsp; *BidiQuery, *BidiResponse and *Option elements that correspond to the 
Memory, DuplexUnit and PrinterHardDisk features in AutoCnfg.GPD file. The 
Feature and Option names in the auto-configuration GDL file should exaclty match 
the corresponding Feature and Option names in the GPD file. The 
auto-configuration GDL file is specified in the GPD file using the *<b>BidiQueryFile</b> 
keyword. The auto-configuration GDL content can also be contained directly 
inside the GPD file itself instead of in a separate GDL file, in which case the 
*BidiQueryFile keyword should specify the GPD file name.</span></p>
<p class="MsoPlainText">&nbsp; </p>
<p class="MsoNormal"><b><span style="font-size: 10.0pt; font-family: Verdana">
PScript5 Auto-Configuration</span></b> <b>
<span style="font-size: 10.0pt; font-family: Verdana">Sample</span></b></p>
<p class="MsoNormal"><b><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></b></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">The 
main part of the sample is the auto-configuration GDL file ACnfgPS.GDL. This 
file implements the *BidiQuery, *BidiResponse and *Option elements that 
corresponds to the InstalledMemory, DuplexUnit and HardDisk features in 
AutoCnfg.PPD file. As mentioned for the Unidrv sample, the Feature and Option 
names should exactly match. Please note that the GPD and PPD files do not have 
the same Feature and Option names. That is why the two GDL files are not 
identical. The auto-configuration GDL file is specified in the PPD file using 
the *<b>MSBidiQueryFile </b>keyword.</span></p>
<h3><span style="font-family: Verdana">INSTALLING/TESTING THE SAMPLE</span> </h3>
<p><span style="font-size: 10.0pt; font-family: Verdana">The samples don�t have 
any binaries to be built. They may be installed by using Add Printer Wizard and 
supplying the AutoCnfg.INF as the INF file. To test the auto-configuration 
feature you need to install the driver to a Standard TCP/IP port.&nbsp; You need a 
printer, which understands and responds to the bidi SNMP queries, connected to 
the port. The tcpbidi.xml file located in system32 directory has information 
about the SNMP OIDs used for each query. The installable options in the device 
settings will reflect the information obtained by querying the printer.</span>
</p>
<h4><span style="font-family: Verdana">File Manifest&nbsp; </span></h4>
<pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; color: black; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-family: Courier">&nbsp;</span></pre>
<pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; color: black; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><b><span style="font-family: Verdana">Root:</span></b></pre>
<pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; color: black; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-family: Courier">&nbsp;</span></pre>
<pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; color: black; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><u><span style="font-family: Courier">Files</span></u><span style="font-family: Courier">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <u>Description</u></span></pre>
<pre style="tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; font-size: 10.0pt; font-family: Courier New; color: black; margin-left: 0in; margin-right: 0in; margin-top: 0in; margin-bottom: .0001pt"><span style="font-family: Courier">&nbsp;</span></pre>
<p class="MsoPlainText">AutoConfig.htm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The documentation for this sample 
(this file)</p>
<p class="MsoPlainText">AutoCnfg.INF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The printer INF that will install 
Unidrv and PScript5 auto-configuration samples</p>
<p class="MsoPlainText">AutoCnfg.GPD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The GPD file for the Unidrv 
auto-configuration sample</p>
<p class="MsoPlainText">AutoCnfg.PPD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The PPD file for the PScript5 
auto-configuration sample</p>
<p class="MsoPlainText">ACnfgUni.GDL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The GDL file for the Unidrv 
auto-configuration sample</p>
<p class="MsoPlainText">ACnfgPS.GDL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The GDL file for the PScript5 
auto-configuration sample </p>
<h3>Resources</h3>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">For 
the latest release of the Windows Device Driver Development Kit, see
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://www.microsoft.com/whdc/ddk/winddk.mspx">
http://www.microsoft.com/whdc/ddk/winddk.mspx</a>.</span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: Verdana">If 
you have questions on using or adapting this sample for your project, you can 
either contact
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://support.microsoft.com/">
Microsoft Technical Support</a> or post your questions in the
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://msdn.microsoft.com/newsgroups/default.asp?url=/newsgroups/loadframes.asp?icp=msdn&slcid=us&newsgroup=microsoft.public.development.device.drivers">
Microsoft driver development newsgroup</a>.</span></p>

</body>

</html>