*%******************************************************************************************
*%
*% 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. 
*%******************************************************************************************
*%******************************************************************************************
*%                                      Paper Feeder
*%******************************************************************************************
*Feature: CassetteThree
{
        *FeatureType: PRINTER_PROPERTY
	*BidiQuery: CassetteThree
	{
		*QueryString: "\Printer.Layout.InputBin.Dual500Cassette:Installed"
	}

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

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

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

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

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

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*%******************************************************************************************
*%                                    Job Separator
*%******************************************************************************************
*Feature: JobSeparator
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery:JobSeparator
        {
                    *QueryString: "\Printer.Finishing.OutputBin.JobSeparator:Installed"
        } 
        *BidiResponse:JobSeparator
        {
		*ResponseType: BIDI_BOOL
		*ResponseData: ENUM_OPTION(JobSeparator)
	}

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*%******************************************************************************************
*%                                    Mailbox
*%******************************************************************************************
*Feature: MultiTray
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery:MultiTray
        {
                    *QueryString: "\Printer.Finishing.OutputBin.Mailbox:Installed"
        } 
        *BidiResponse:MultiTray
        {
		*ResponseType: BIDI_BOOL
		*ResponseData: ENUM_OPTION(MultiTray)
	}

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*%******************************************************************************************
*%                                    Punch Unit
*%******************************************************************************************
*Feature: PunchUnit
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery:PunchUnit
        {
                    *QueryString: "\Printer.Finishing.PunchingUnit:Installed"
        } 
        *BidiResponse:PunchUnit
        {
		*ResponseType: BIDI_BOOL
		*ResponseData: ENUM_OPTION(PunchUnit)
	}

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*%******************************************************************************************
*%                                    Folding Unit
*%******************************************************************************************
*Feature: BookletFolder
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery:BookletFolder
        {
                    *QueryString: "\Printer.Finishing.OutputBin.BookletFolder:Installed"
        } 
        *BidiResponse:BookletFolder
        {
		*ResponseType: BIDI_BOOL
		*ResponseData: ENUM_OPTION(BookletFolder)
	}

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*%******************************************************************************************
*%                                    3000 Finisher
*%******************************************************************************************
*Feature: DF3Kfinisher
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery:DF3Kfinisher
        {
                    *QueryString: "\Printer.Finishing.3000Finisher:Installed"
        } 
        *BidiResponse:DF3Kfinisher
        {
		*ResponseType: BIDI_BOOL
		*ResponseData: ENUM_OPTION(DF3Kfinisher)
	}

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*%******************************************************************************************
*%                                    1000 Finisher
*%******************************************************************************************
*Feature: DF1Kfinisher
{
        *FeatureType: PRINTER_PROPERTY
        *BidiQuery:DF1Kfinisher
        {
                    *QueryString: "\Printer.Finishing.1000Finisher:Installed"
        } 
        *BidiResponse:DF1Kfinisher
        {
		*ResponseType: BIDI_BOOL
		*ResponseData: ENUM_OPTION(DF1Kfinisher)
	}

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

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

