*%****************************************************************************************** *% *% This file implements the *BidiQuery, *BidiResponse and *Option elements that *% correspond to *% *.PPD file. The feature *% name in the GDL file should exaclty match the corresponding feature and *% option names in the PPD. *%****************************************************************************************** *%****************************************************************************************** *% Paper Feeder *%****************************************************************************************** *Feature: CassetteTwo { *FeatureType: PRINTER_PROPERTY *BidiQuery: CassetteTwo { *QueryString: "\Printer.Layout.InputBin.CassetteTwo:Installed" } *BidiResponse: CassetteTwo { *ResponseType: BIDI_BOOL *ResponseData: ENUM_OPTION(CassetteTwo) } *Option: False { *BidiValue: BOOL(FALSE) } *Option: True { *BidiValue: BOOL(TRUE) } } *%****************************************************************************************** *% Memory *%****************************************************************************************** *Feature: InstalledMemory { *FeatureType: PRINTER_PROPERTY *BidiQuery: InstalledMemory { *QueryString: "\Printer.Configuration.MemoryAlt:Size" } *BidiResponse: InstalledMemory { *ResponseType: BIDI_INT *ResponseData: ENUM_OPTION(Memory) } *Option: 256MB { *BidiValue: INT(262144) } *Option: 384MB { *BidiValue: INT(393216) } *Option: 512MB { *BidiValue: INT(524288) } *Option: 768MB { *BidiValue: INT(786432) } *Option: 1280MB { *BidiValue: INT(1310720) } } *%****************************************************************************************** *% Optional Disk *%****************************************************************************************** *Feature: RAMDisk { *FeatureType: PRINTER_PROPERTY *BidiQuery: RAMDisk { *QueryString: "\Printer.Configuration.RAMDisk:Installed" } *BidiResponse: RAMDisk { *ResponseType: BIDI_BOOL *ResponseData: ENUM_OPTION(RAMDisk) } *Option: False { *BidiValue: BOOL(FALSE) } *Option: True { *BidiValue: BOOL(TRUE) } } *Feature: SDCard { *FeatureType: PRINTER_PROPERTY *BidiQuery: SDCard { *QueryString: "\Printer.Configuration.SDCard:Installed" } *BidiResponse: SDCard { *ResponseType: BIDI_BOOL *ResponseData: ENUM_OPTION(SDCard) } *Option: False { *BidiValue: BOOL(FALSE) } *Option: True { *BidiValue: BOOL(TRUE) } }