*%****************************************************************************************** *% ACnfgPS.GDL *% V1.10 2011/04/27 - Add DuplexUnit, OptTray2,3,4,5 *% This file implements the *BidiQuery, *BidiResponse and *Option elements that correspond to *% the InstalledMemory, DuplexUnit and HardDisk features in AutoCnfg.PPD file. The feature *% name in the GDL file should exaclty match the corresponding feature and option names in the PPD. *%****************************************************************************************** *%****************************************************************************************** *% 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) } } *%****************************************************************************************** *% OptTray2 *% *%****************************************************************************************** *Feature: OptTray2 { *FeatureType: PRINTER_PROPERTY *BidiQuery: OptTray2 { *QueryString: "\Printer.Configuration.OptTray2.DrawerIndex001:CurrentValue" } *BidiResponse: OptTray2 { *ResponseType: BIDI_STRING *ResponseData: ENUM_OPTION(OptTray2) } *Option: False { *BidiValue: STRING("NotInstalled") } *Option: True { *BidiValue: STRING("Installed") } } *%****************************************************************************************** *% OptTray3 *% *%****************************************************************************************** *Feature: OptTray3 { *FeatureType: PRINTER_PROPERTY *BidiQuery: OptTray3 { *QueryString: "\Printer.Configuration.OptTray3.DrawerIndex001:CurrentValue" } *BidiResponse: OptTray3 { *ResponseType: BIDI_STRING *ResponseData: ENUM_OPTION(OptTray3) } *Option: False { *BidiValue: STRING("NotInstalled") } *Option: True { *BidiValue: STRING("Installed") } } *%****************************************************************************************** *% OptTray4 *% *%****************************************************************************************** *Feature: OptTray4 { *FeatureType: PRINTER_PROPERTY *BidiQuery: OptTray4 { *QueryString: "\Printer.Configuration.OptTray4.DrawerIndex001:CurrentValue" } *BidiResponse: OptTray4 { *ResponseType: BIDI_STRING *ResponseData: ENUM_OPTION(OptTray4) } *Option: False { *BidiValue: STRING("NotInstalled") } *Option: True { *BidiValue: STRING("Installed") } } *%****************************************************************************************** *% OptTray5 *% *%****************************************************************************************** *Feature: OptTray5 { *FeatureType: PRINTER_PROPERTY *BidiQuery: OptTray5 { *QueryString: "\Printer.Configuration.OptTray5.DrawerIndex001:CurrentValue" } *BidiResponse: OptTray5 { *ResponseType: BIDI_STRING *ResponseData: ENUM_OPTION(OptTray5) } *Option: False { *BidiValue: STRING("NotInstalled") } *Option: True { *BidiValue: STRING("Installed") } }