*%****************************************************************************************** *% hpcCFGP6.GDL *% This file implements the *BidiQuery, *BidiResponse and *Option elements that correspond *% to the DuplexUnit, Memory and PrinterHardDisk features, etc. in AutoCnfg.GPD file. The feature *% name in the GDL file should exaclty match the corresponding feature and option names in the GPD. *%****************************************************************************************** *%****************************************************************************************** *% Duplex Unit *%****************************************************************************************** *%Feature: Duplexer *Feature: DuplexUnit { *FeatureType: PRINTER_PROPERTY *BidiQuery: DuplexUnit { *QueryString: "\Printer.Configuration.DuplexUnit:Installed" } *BidiResponse: DuplexUnit { *ResponseType: BIDI_BOOL *ResponseData: ENUM_OPTION(DuplexUnit) } *Option: NotInstalled { *BidiValue: BOOL(FALSE) } *Option: Installed { *BidiValue: BOOL(TRUE) } } *%********************************************************************************************** *% PrinterPaperSize (does it support B-Sized papers?) *%********************************************************************************************** *Feature: PrinterPaperSize { *FeatureType: PRINTER_PROPERTY *BidiQuery: PrinterPaperSize { *QueryString: "\Printer.Configuration.A3LedgerPaperSupport:Installed" } *BidiResponse: PrinterPaperSize { *ResponseType: BIDI_BOOL *ResponseData: ENUM_OPTION(PrinterPaperSize) } *Option: NotInstalled { *BidiValue: BOOL(FALSE) } *Option: Installed { *BidiValue: BOOL(TRUE) } }