*%******************************************************************************************
*% Autocnfg.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: 20480KB
        {
                *BidiValue: INT(20480)
        }
        *Option: 24576KB
        {
                *BidiValue: INT(24576)
        }
        *Option: 28672KB
        {
                *BidiValue: INT(28672)
        }
        *Option: 32768KB
        {
                *BidiValue: INT(32768)
        }
        *Option: 36864KB
        {
                *BidiValue: INT(36864)
        }
        *Option: 40960KB
        {
                *BidiValue: INT(40960)
        }
        *Option: 45056KB
        {
                *BidiValue: INT(45056)
        }
        *Option: 49152KB
        {
                *BidiValue: INT(49152)
        }
        *Option: 53248KB
        {
                *BidiValue: INT(53248)
        }
        *Option: 57344KB
        {
                *BidiValue: INT(57344)
        }
        *Option: 65536KB
        {
                *BidiValue: INT(65536)
        }
        *Option: 69632KB
        {
                *BidiValue: INT(69632)
        }
        *Option: 73728KB
        {
                *BidiValue: INT(73728)
        }
        *Option: 81920KB
        {
                *BidiValue: INT(81920)
        }
        *Option: 86016KB
        {
                *BidiValue: INT(86016)
        }
        *Option: 90112KB
        {
                *BidiValue: INT(90112)
        }
        *Option: 98304KB
        {
                *BidiValue: INT(98304)
        }
        *Option: 102400KB
        {
                *BidiValue: INT(102400)
        }
        *Option: 106496KB
        {
                *BidiValue: INT(106496)
        }
        *Option: 114688KB
        {
                *BidiValue: INT(114688)
        }
        *Option: 122880KB
        {
                *BidiValue: INT(122880)
        }
        *Option: 131072KB
        {
                *BidiValue: INT(131072)
        }
        *Option: 139264KB
        {
                *BidiValue: INT(139264)
        }
        *Option: 147456KB
        {
                *BidiValue: INT(147456)
        }
        *Option: 155648KB
        {
                *BidiValue: INT(155648)
        }
        *Option: 163840KB
        {
                *BidiValue: INT(163840)
        }
        *Option: 167936KB
        {
                *BidiValue: INT(167936)
        }
        *Option: 172032KB
        {
                *BidiValue: INT(172032)
        }
        *Option: 180224KB
        {
                *BidiValue: INT(180224)
        }
        *Option: 196608KB
        {
                *BidiValue: INT(196608)
        }
        *Option: 204800KB
        {
                *BidiValue: INT(204800)
        }
        *Option: 212992KB
        {
                *BidiValue: INT(212992)
        }
        *Option: 229376KB
        {
                *BidiValue: INT(229376)
        }
        *Option: 221184KB
        {
                *BidiValue: INT(221184)
        }
        *Option: 229376KB
        {
                *BidiValue: INT(229376)
        }
        *Option: 245760KB
        {
                *BidiValue: INT(245760)
        }
        *Option: 262144KB
        {
                *BidiValue: INT(262144)
        }
        *Option: 278528KB
        {
                *BidiValue: INT(278528)
        }
        *Option: 294912KB
        {
                *BidiValue: INT(294912)
        }
        *Option: 327680KB
        {
                *BidiValue: INT(327680)
        }
        *Option: 344064KB
        {
                *BidiValue: INT(344064)
        }
        *Option: 393216KB
        {
                *BidiValue: INT(393216)
        }
        *Option: 524288KB
        {
                *BidiValue: INT(524288)
        }
        *Option: 589824KB
        {
                *BidiValue: INT(589824)
        }
        *Option: 655360KB
        {
                *BidiValue: INT(655360)
        }
        *Option: 786432KB
        {
                *BidiValue: INT(786432)
        }
}


*%******************************************************************************************
*%                                      Duplex Unit
*%******************************************************************************************

*%****Feature: DuplexUnit
*Feature: Duplexer
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Duplexer
        {
                *QueryString: "\Printer.Configuration.DuplexUnit:Installed"
        }

        *BidiResponse: Duplexer
        {
                *ResponseType: BIDI_BOOL
                *ResponseData: ENUM_OPTION(Duplexer)
        }

        *Option: NotInstalled
        {
                *BidiValue: BOOL(FALSE)
        }

        *Option: Installed
        {
                *BidiValue: BOOL(TRUE)
        }
}

*%******************************************************************************************
*%                                      Hard Disk
*%******************************************************************************************

*Feature: HardDisk
{
    *FeatureType: PRINTER_PROPERTY
    *BidiQuery: HardDisk
    {
                *QueryString: "\Printer.Configuration.HardDisk:Installed"
    }
    *BidiResponse: HardDisk
    {
                *ResponseType: BIDI_BOOL
                *ResponseData: ENUM_OPTION(HardDisk)
    }
    *Option: NotInstalled
    {
                *BidiValue: BOOL(FALSE)
        }
    *Option: Installed
    {
                *BidiValue: BOOL(TRUE)
    }
}

*%*******************************************************************************************
*%                     FlashMemory
*%
*%******************************************************************************************

*Feature: FlashMemory
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: FlashMemory
        {
                *QueryString: "\Printer.Configuration.OptionalCard:Installed"
        }

        *BidiResponse: FlashMemory
        {
                *ResponseType: BIDI_BOOL
                *ResponseData: ENUM_OPTION(FlashMemory)
        }
        *Option: None
        {
                *BidiValue: BOOL(FALSE)
        }
        *Option: Installed
        {
                *BidiValue: BOOL(TRUE)
        }
}

*%******************************************************************************************
*%      				Input Bins
*%******************************************************************************************
*%

*Feature: Tray2
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray2
        {
                *QueryString: "\Printer.Layout.InputBin.Tray2:Capacity"
        }

        *BidiResponse: Tray2
        {
                *ResponseType: BIDI_INT
                *ResponseData: ENUM_OPTION(Tray2)
        }
        *Option: NotInstalled
        {
                *BidiValue: INT(0)
        }
        *Option: _250SheetTray
        {
                *BidiValue: INT(250)
        }
        *Option: _500SheetTray
        {
                *BidiValue: INT(500)
        }
        *Option: _550SheetTray
        {
                *BidiValue: INT(550)
        }
        *Option: _2000SheetTray
        {
                *BidiValue: INT(2000)
        }
        *Option: _EnvelopeDrawer
        {
                *BidiValue: INT(60)
        }

}

*Feature: Tray3
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray3
        {
                *QueryString: "\Printer.Layout.InputBin.Tray3:Capacity"
        }

        *BidiResponse: Tray3
        {
                *ResponseType: BIDI_INT
                *ResponseData: ENUM_OPTION(Tray3)
        }
        *Option: NotInstalled
        {
                *BidiValue: INT(0)
        }
        *Option: _250SheetTray
        {
                *BidiValue: INT(250)
        }
        *Option: _500SheetTray
        {
                *BidiValue: INT(500)
        }
	*Option: _800_1200SheetTray
        {
                *BidiValue: INT(850)
        }
        *Option: _2000SheetTray
        {
                *BidiValue: INT(2000)
        }
        *Option: _EnvelopeDrawer
        {
                *BidiValue: INT(60)
        }
}

*Feature: Tray4
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray4
        {
                *QueryString: "\Printer.Layout.InputBin.Tray4:Capacity"
        }

        *BidiResponse: Tray4
        {
                *ResponseType: BIDI_INT
                *ResponseData: ENUM_OPTION(Tray4)
        }
        *Option: NotInstalled
        {
                *BidiValue: INT(0)
        }
        *Option: _250SheetTray
        {
                *BidiValue: INT(250)
        }
        *Option: _500SheetTray
        {
                *BidiValue: INT(500)
        }
	*Option: _1150SheetTray
        {
                *BidiValue: INT(1150)
        }
        *Option: _2000SheetTray
        {
                *BidiValue: INT(2000)
        }
        *Option: _EnvelopeDrawer
        {
                *BidiValue: INT(60)
        }

}

*Feature: Tray5
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray5
        {
                *QueryString: "\Printer.Layout.InputBin.Tray5:Capacity"
        }

        *BidiResponse: Tray5
        {
                *ResponseType: BIDI_INT
                *ResponseData: ENUM_OPTION(Tray5)
        }
        *Option: NotInstalled
        {
                *BidiValue: INT(0)
        }
        *Option: _250SheetTray
        {
                *BidiValue: INT(250)
        }
        *Option: _500SheetTray
        {
                *BidiValue: INT(500)
        }
        *Option: _2000SheetTray
        {
                *BidiValue: INT(2000)
        }
        *Option: _EnvelopeDrawer
        {
                *BidiValue: INT(60)
        }
}

*Feature: EnvFeeder
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: EnvFeeder
        {
                *QueryString: "\Printer.Layout.InputBin.EnvFeed:Capacity"
        }

        *BidiResponse: EnvFeeder
        {
                *ResponseType: BIDI_INT
                *ResponseData: ENUM_OPTION(EnvFeeder)
        }
        

        *Option: NotInstalled
        {
                *BidiValue: INT(0)
        }

        *Option: Installed
        {
                *BidiValue: INT(85)
        }
        
}

*Feature: MultiPurpose
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: MultiPurpose
        {
                *QueryString: "\Printer.Layout.InputBin.MultiPurposeBin:Installed"
        }

        *BidiResponse: MultiPurpose
        {
                *ResponseType: BIDI_BOOL
                *ResponseData: ENUM_OPTION(MultiPurpose)
        }
        

        *Option: NotInstalled
        {
                *BidiValue: BOOL(FALSE)
        }

        *Option: Installed
        {
                *BidiValue: BOOL(TRUE)
        }        
}

*%******************************************************************************************
*%                                     Output Bins
*%******************************************************************************************

*Feature: 5BinMailbox_1
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: 5BinMailbox_1
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin4:Capacity"
         }

         *BidiResponse: 5BinMailbox_1
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(5BinMailbox_1)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(120)
         }
 }
*Feature: 5BinMailbox_2
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: 5BinMailbox_2
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin7:Capacity"
         }

         *BidiResponse: 5BinMailbox_2
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(5BinMailbox_2)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(120)
         }
 }

*Feature: Finisher_Bin1
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: Finisher_Bin1
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin1:Capacity"
         }

         *BidiResponse: Finisher_Bin1
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(Finisher_Bin1)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(750)
         }
}

*Feature: OutputExpander_1
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: OutputExpander_1
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin1:Capacity"
         }

         *BidiResponse: OutputExpander_1
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(OutputExpander_1)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(650)
         }
 }

*Feature: _HighCapacityStacker
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: _HighCapacityStacker
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin1:Capacity"
         }

         *BidiResponse: _HighCapacityStacker
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(_HighCapacityStacker)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(1850)
         }
 }

 *Feature: OutputExpander_2
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: OutputExpander_2
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin2:Capacity"
         }

         *BidiResponse: OutputExpander_2
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(OutputExpander_2)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(650)
         }
 }

 *Feature: OutputExpander_3
 {
         *FeatureType: PRINTER_PROPERTY
         *BidiQuery: OutputExpander_3
         {
                 *QueryString: "\Printer.Finishing.OutputBin.Bin3:Capacity"
         }

         *BidiResponse: OutputExpander_3
         {
                 *ResponseType: BIDI_INT
                 *ResponseData: ENUM_OPTION(OutputExpander_3)
         }
         *Option: None
         {
                 *BidiValue: INT(0)
         }
         *Option: Installed
         {
                 *BidiValue: INT(650)
         }
 }


*%******************************************************************
*%		 		Stapling
*%******************************************************************
*%
*%*Feature: Stapler
*%{
*%    *FeatureType: PRINTER_PROPERTY
*%    *BidiQuery: Stapler
*%    {
*%                *QueryString: "\Printer.Finishing.OutputBins.Staple:Installed"
*%    }
*%    *BidiResponse: Stapler
*%    {
*%                *ResponseType: BIDI_BOOL
*%                *ResponseData: ENUM_OPTION(Stapler)
*%    }
*%    *Option: FALSE
*%    {
*%                *BidiValue: BOOL(FALSE)
*%        }
*%    *Option: TRUE
*%    {
*%                *BidiValue: BOOL(TRUE)
*%    }
*%}

*%******************************************************************
*%		 		Hole Punch
*%******************************************************************
*%
*%*Feature: Puncher
*%{
*%    *FeatureType: PRINTER_PROPERTY
*%    *BidiQuery: Puncher
*%    {
*%                *QueryString: "\Printer.Finishing.OutputBins.HolePunch:Installed"
*%    }
*%    *BidiResponse: Puncher
*%    {
*%                *ResponseType: BIDI_BOOL
*%                *ResponseData: ENUM_OPTION(Puncher)
*%    }
*%    *Option: FALSE
*%    {
*%                *BidiValue: BOOL(FALSE)
*%        }
*%    *Option: TRUE
*%    {
*%                *BidiValue: BOOL(TRUE)
*%    }
*%}
