*%******************************************************************************************
*% This file implements the  *BidiQuery, *BidiResponse and *Option elements that correspond
*% to the features in the driver GPD file. The feature
*% name in the GDL file should exaclty match the corresponding feature and option names in the GPD.
*%
*% More GDL Autoconfiguration samples are found in the Windows Driver Kit "AutoConfig" sample
*% http://msdn.microsoft.com/en-us/library/ff545148(VS.85).aspx
*%******************************************************************************************


*Feature: HolePunchUnit
{
    *FeatureType: PRINTER_PROPERTY
    *BidiQuery: HolePunchUnit
    {
        *QueryString: "\Printer.Extension.HolePunchUnit:Value"
    }

    *BidiResponse: HolePunchUnit
    {
        *ResponseType: BIDI_STRING
        *ResponseData: ENUM_OPTION(HolePunchUnit)
    }

    *Option: None
    {
        *BidiValue: STRING("1")
    }
    *Option: HP2Holes
    {
        *BidiValue: STRING("3")
    }
    *Option: HP23Holes
    {
        *BidiValue: STRING("4")
    }
    *Option: HP4FHoles
    {
        *BidiValue: STRING("5")
    }
    *Option: HP4SHoles
    {
        *BidiValue: STRING("6")
    }
}

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

}

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

}

*Feature: ModelNumber
{
    *FeatureType: PRINTER_PROPERTY
    *BidiQuery: ModelSelection
    {
        *QueryString: "\Printer.Extension.Model:Name"
    }

    *BidiResponse: ModelSelection
    {
        *ResponseType: BIDI_STRING
        *ResponseData: ENUM_OPTION(ModelSelection)
    }

    *Option: Universal
    {
        *BidiValue: STRING("Universal")
    }
    *Option: TOSHIBA_eSTUDIO8508A
    {
        *BidiValue: STRING("8508")
    }
    *Option: TOSHIBA_eSTUDIO7508A
    {
        *BidiValue: STRING("7508")
    }
    *Option: TOSHIBA_eSTUDIO6508A
    {
        *BidiValue: STRING("6508")
    }
    *Option: TOSHIBA_eSTUDIO5508A
    {
        *BidiValue: STRING("5508")
    }
    *Option: TOSHIBA_eSTUDIO5008A
    {
        *BidiValue: STRING("5008")
    }
    *Option: TOSHIBA_eSTUDIO4508A
    {
        *BidiValue: STRING("4508")
    }
    *Option: TOSHIBA_eSTUDIO3508A
    {
        *BidiValue: STRING("3508")
    }
    *Option: TOSHIBA_eSTUDIO3008A
    {
        *BidiValue: STRING("3008")
    }
    *Option: TOSHIBA_eSTUDIO2508A
    {
        *BidiValue: STRING("2508")
    }
    *Option: TOSHIBA_eSTUDIO2008A
    {
        *BidiValue: STRING("2008")
    }
    *Option: TOSHIBA_eSTUDIO7506AC
    {
        *BidiValue: STRING("7506")
    }
    *Option: TOSHIBA_eSTUDIO6506AC
    {
        *BidiValue: STRING("6506")
    }
    *Option: TOSHIBA_eSTUDIO5506AC
    {
        *BidiValue: STRING("5506")
    }
    *Option: TOSHIBA_eSTUDIO5005AC
    {
        *BidiValue: STRING("5005")
    }
    *Option: TOSHIBA_eSTUDIO4505AC
    {
        *BidiValue: STRING("4505")
    }
    *Option: TOSHIBA_eSTUDIO3505AC
    {
        *BidiValue: STRING("3505")
    }
    *Option: TOSHIBA_eSTUDIO3005AC
    {
        *BidiValue: STRING("3005")
    }
    *Option: TOSHIBA_eSTUDIO2505AC
    {
        *BidiValue: STRING("2505")
    }
    *Option: TOSHIBA_eSTUDIO2005AC
    {
        *BidiValue: STRING("2005")
    }
    *Option: TOSHIBA_eSTUDIO2500AC
    {
        *BidiValue: STRING("2500")
    }
    *Option: TOSHIBA_eSTUDIO2000AC
    {
        *BidiValue: STRING("2000")
    }
    *Option: TOSHIBA_eSTUDIO6570C
    {
        *BidiValue: STRING("6570")
    }
    *Option: TOSHIBA_eSTUDIO6560C
    {
        *BidiValue: STRING("6560")
    }
    *Option: TOSHIBA_eSTUDIO6550C
    {
        *BidiValue: STRING("6550")
    }
    *Option: TOSHIBA_eSTUDIO6540C
    {
        *BidiValue: STRING("6540")
    }
    *Option: TOSHIBA_eSTUDIO6560C
    {
        *BidiValue: STRING("6560")
    }
    *Option: TOSHIBA_eSTUDIO5540C
    {
        *BidiValue: STRING("5540")
    }
    *Option: TOSHIBA_eSTUDIO5055C
    {
        *BidiValue: STRING("5055")
    }
    *Option: TOSHIBA_eSTUDIO4555C
    {
        *BidiValue: STRING("4555")
    }
    *Option: TOSHIBA_eSTUDIO4540C
    {
        *BidiValue: STRING("4540")
    }
    *Option: TOSHIBA_eSTUDIO3555C
    {
        *BidiValue: STRING("3555")
    }
    *Option: TOSHIBA_eSTUDIO3540C
    {
        *BidiValue: STRING("3540")
    }
    *Option: TOSHIBA_eSTUDIO3055C
    {
        *BidiValue: STRING("3055")
    }
    *Option: TOSHIBA_eSTUDIO3040C
    {
        *BidiValue: STRING("3040")
    }
    *Option: TOSHIBA_eSTUDIO2555C
    {
        *BidiValue: STRING("2555")
    }
    *Option: TOSHIBA_eSTUDIO2551C
    {
        *BidiValue: STRING("2551")
    }
    *Option: TOSHIBA_eSTUDIO2550C
    {
        *BidiValue: STRING("2550")
    }
    *Option: TOSHIBA_eSTUDIO2540C
    {
        *BidiValue: STRING("2540")
    }
    *Option: TOSHIBA_eSTUDIO2055C
    {
        *BidiValue: STRING("2055")
    }
    *Option: TOSHIBA_eSTUDIO2051C
    {
        *BidiValue: STRING("2051")
    }
    *Option: TOSHIBA_eSTUDIO2050C
    {
        *BidiValue: STRING("2050")
    }
    *Option: TOSHIBA_eSTUDIO2040C
    {
        *BidiValue: STRING("2040")
    }
    *Option: TOSHIBA_eSTUDIO857
    {
        *BidiValue: STRING("857")
    }
    *Option: TOSHIBA_eSTUDIO856
    {
        *BidiValue: STRING("856")
    }
    *Option: TOSHIBA_eSTUDIO757
    {
        *BidiValue: STRING("757")
    }
    *Option: TOSHIBA_eSTUDIO756
    {
        *BidiValue: STRING("756")
    }
    *Option: TOSHIBA_eSTUDIO657
    {
        *BidiValue: STRING("657")
    }
    *Option: TOSHIBA_eSTUDIO656
    {
        *BidiValue: STRING("656")
    }
    *Option: TOSHIBA_eSTUDIO557
    {
        *BidiValue: STRING("557")
    }
    *Option: TOSHIBA_eSTUDIO556
    {
        *BidiValue: STRING("556")
    }
    *Option: TOSHIBA_eSTUDIO507
    {
        *BidiValue: STRING("507")
    }
    *Option: TOSHIBA_eSTUDIO506
    {
        *BidiValue: STRING("506")
    }
    *Option: TOSHIBA_eSTUDIO527S
    {
        *BidiValue: STRING("527")
    }
    *Option: TOSHIBA_eSTUDIO477S
    {
        *BidiValue: STRING("477")
    }
    *Option: TOSHIBA_eSTUDIO407CS
    {
        *BidiValue: STRING("407")
    }
    *Option: TOSHIBA_eSTUDIO347CS
    {
        *BidiValue: STRING("347")
    }
    *Option: TOSHIBA_eSTUDIO287CS
    {
        *BidiValue: STRING("287")
    }
    *Option: TOSHIBA_eSTUDIO457
    {
        *BidiValue: STRING("457")
    }
    *Option: TOSHIBA_eSTUDIO456
    {
        *BidiValue: STRING("456")
    }
    *Option: TOSHIBA_eSTUDIO357
    {
        *BidiValue: STRING("357")
    }
    *Option: TOSHIBA_eSTUDIO357
    {
        *BidiValue: STRING("357")
    }
    *Option: TOSHIBA_eSTUDIO356
    {
        *BidiValue: STRING("356")
    }
    *Option: TOSHIBA_eSTUDIO307
    {
        *BidiValue: STRING("307")
    }
    *Option: TOSHIBA_eSTUDIO306
    {
        *BidiValue: STRING("306")
    }
    *Option: TOSHIBA_eSTUDIO257
    {
        *BidiValue: STRING("257")
    }
    *Option: TOSHIBA_eSTUDIO256
    {
        *BidiValue: STRING("256")
    }
    *Option: TOSHIBA_eSTUDIO207L
    {
        *BidiValue: STRING("207")
    }
    *Option: TOSHIBA_eSTUDIO206L
    {
        *BidiValue: STRING("206")
    }
    *Option: TOSHIBA_eSTUDIO307LP
    {
        *BidiValue: STRING("307LP")
    }
    *Option: TOSHIBA_eSTUDIO306LP
    {
        *BidiValue: STRING("306LP")
    }
}

*Feature: Tray2
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray2
        {
            *QueryString: "\Printer.Configuration.Option002:Tray2"
        }

        *BidiResponse: Tray2
        {
            *ResponseType: BIDI_STRING
            *ResponseData: ENUM_OPTION(Tray2)
        }
        *% BidiValue below is returned is by \Printer.Configuration.Option002:Tray2 converter element of tcpbidi.xml or directly by wsdbidi value element
        *Option: NotInstalled
        {
            *BidiValue: STRING("0")
        }
        *Option: Installed
        {
            *BidiValue: STRING("550")
        }
}

*Feature: Tray3
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray3
        {
            *QueryString: "\Printer.Configuration.Option003:Tray3"
        }

        *BidiResponse: Tray3
        {
            *ResponseType: BIDI_STRING
            *ResponseData: ENUM_OPTION(Tray3)
        }
        *% BidiValue below is returned is by \Printer.Configuration.Option003:Tray3 converter element of tcpbidi.xml or directly by wsdbidi value element
        *Option: NotInstalled
        {
            *BidiValue: STRING("0")
        }
        *Option: Installed
        {
            *BidiValue: STRING("550")
        }
}

*Feature: Tray4
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: Tray4
        {
            *QueryString: "\Printer.Configuration.Option004:Tray4"
        }

        *BidiResponse: Tray4
        {
            *ResponseType: BIDI_STRING
            *ResponseData: ENUM_OPTION(Tray4)
        }
        *% BidiValue below is returned is by \Printer.Configuration.Option004:Tray4 converter element of tcpbidi.xml or directly by wsdbidi value element
        *Option: NotInstalled
        {
            *BidiValue: STRING("0")
        }
        *Option: Installed
        {
            *BidiValue: STRING("550")
        }
}
*Feature: LargeCapFeeder
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: LargeCapFeeder
        {
            *QueryString: "\Printer.Configuration.Option005:LargeCapacity"
        }

         *BidiResponse: LargeCapFeeder
        {
            *ResponseType: BIDI_STRING
            *ResponseData: ENUM_OPTION(LargeCapFeeder)
        }
        *% BidiValue below is returned is by \Printer.Configuration.Option005:LargeCapacity converter element of tcpbidi.xml or directly by wsdbidi value element
       *Option: NotInstalled
        {
            *BidiValue: STRING("0")
        }
        *Option: Installed
        {
            *BidiValue: STRING("1000")
        }
}
*Feature: ExternalLCFUnit
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery: ExternalLCFUnit
        {
            *QueryString: "\Printer.Configuration.Option007:ExtLargeCapacity"
        }

        *BidiResponse: ExternalLCFUnit
        {
            *ResponseType: BIDI_STRING
            *ResponseData: ENUM_OPTION(ExternalLCFUnit)
        }
        *% BidiValue below is returned is by \Printer.Configuration.Option007:ExtLargeCapacity converter element of tcpbidi.xml or directly by wsdbidi value element
        *Option: NotInstalled
        {
            *BidiValue: STRING("0")
        }
        *Option: Installed
        {
            *BidiValue: STRING("2200")
        }
}

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

}
