*%******************************************************************************************
*% 
*%  (c) 2014 KYOCERA Corporation, KYOCERA Document Solutions Inc.
*%  All Rights Reserved. 
*% 
*%******************************************************************************************
*%******************************************************************************************
*%
*% 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)
	}
}
*Feature: CassetteThree
{
  *FeatureType: PRINTER_PROPERTY
	*BidiQuery: CassetteThree
	{
		*QueryString: "\Printer.Layout.InputBin.CassetteThree:Installed"
	}

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

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

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

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

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

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

	*Option: True
	{
		*BidiValue: BOOL(TRUE)
	}
}
*Feature: CassetteFive
{
  *FeatureType: PRINTER_PROPERTY
	*BidiQuery: CassetteFive
	{
		*QueryString: "\Printer.Layout.InputBin.CassetteFive:Installed"
	}

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

	*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: 1024MB
	{
		*BidiValue: INT(1048576)
	}
	*Option: 1280MB
	{
		*BidiValue: INT(1310720)
	}
	*Option: 2048MB
	{
		*BidiValue: INT(2097152)
	}
}

