blob: 655b4cb2c345926667614dd038cab1a3b4cf3c18 (
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
|
*%******************************************************************************************
*% ACnfgUni.GDL
*% This file implements the *BidiQuery, *BidiResponse and *Option elements that correspond
*% to the Memory,DuplexUnit and PrinterHardDisk features in AutoCnfg.GPD file. The feature
*% name in the GDL file should exaclty match the corresponding feature and option names in the GPD.
*%******************************************************************************************
%*******************************************************************************************
*% Memory
*%
*%******************************************************************************************
*Feature: Memory
{
*FeatureType: PRINTER_PROPERTY
*BidiQuery: Memory
{
*QueryString: "\Printer.Configuration.Memory:Size"
}
*BidiResponse: Memory
{
*ResponseType: BIDI_INT
*ResponseData: ENUM_OPTION(Memory)
}
*Option: 16384KB
{
*BidiValue: INT(16384)
}
*Option: 24576KB
{
*BidiValue: INT(24576)
}
*Option: 32768KB
{
*BidiValue: INT(32768)
}
*Option: 49152KB
{
*BidiValue: INT(49152)
}
*Option: 65536KB
{
*BidiValue: INT(65536)
}
*Option: 98304KB
{
*BidiValue: INT(98304)
}
*Option: 131072KB
{
*BidiValue: INT(131072)
}
}
*%******************************************************************************************
*% Duplex Unit
*%******************************************************************************************
*Feature: DuplexUnit
{
*FeatureType: PRINTER_PROPERTY
*BidiQuery: DuplexUnit
{
*QueryString: "\Printer.Configuration.DuplexUnit:Installed"
}
*BidiResponse: DuplexUnit
{
*ResponseType: BIDI_BOOL
*ResponseData: ENUM_OPTION(DuplexUnit)
}
*Option: FALSE
{
*BidiValue: BOOL(FALSE)
}
*Option: TRUE
{
*BidiValue: BOOL(TRUE)
}
}
*%******************************************************************************************
*% Hard Disk
*%******************************************************************************************
*Feature: PrinterHardDisk
{
*FeatureType: PRINTER_PROPERTY
*BidiQuery:PrinterHardDisk
{
*QueryString: "\Printer.Configuration.HardDisk:Installed"
}
*BidiResponse: PrinterHardDisk
{
*ResponseType: BIDI_BOOL
*ResponseData: ENUM_OPTION(PrinterHardDisk)
}
*Option: FALSE
{
*BidiValue: BOOL(FALSE)
}
*Option: TRUE
{
*BidiValue: BOOL(TRUE)
}
}
|