*GPDFileName: "E8810bm.gpd"
*GPDFileVersion: "1.0"
*GPDSpecVersion: "1.0"
*Include: "E8810rc.gpd"
*Include: "StdNames.gpd"
*ModelName: "KODAK 8810 Printer"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "E8810gpd.dll"
*PrinterType: PAGE
*MaxCopies: 99
*PrintRate: 16
*PrintRateUnit: PPM
*PrintRatePPM: 16

*%******************************************************************************************
*%                                      Orientation
*%******************************************************************************************
*Feature: Orientation
{
	*rcNameID: =ORIENTATION_DISPLAY
	*DefaultOption: PORTRAIT
	*Option: PORTRAIT
	{
		*rcNameID: =PORTRAIT_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.6
			*Cmd: ""
		}
	}
	*Option: LANDSCAPE_CC90
	{
		*rcNameID: =LANDSCAPE_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.8
			*Cmd: ""
		}
	}
}

*%******************************************************************************************
*%                                      Input Bin
*%******************************************************************************************
*Feature: InputBin
{
	*rcNameID: =PAPER_SOURCE_DISPLAY
	*DefaultOption: PaperTray
*%	*Option: AUTO
*%	{
*%		*rcNameID: =AUTO_DISPLAY
*%		*Command: CmdSelect
*%		{
*%			*Order: DOC_SETUP.11
*%			*Cmd: ""
*%		}
*%	}
	*Option: PaperTray
	{
		*rcNameID: =IDS_GPD_PAPER_SOURCE_CASSETTE
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.11
			*Cmd: ""
		}
	}
}

*%******************************************************************************************
*%                                      Resolution
*%******************************************************************************************
*Feature: Resolution
{
	*rcNameID: =RESOLUTION_DISPLAY
	*DefaultOption: Option2
	*Option: Option2
	{
		*Name: "300 x 300" =DOTS_PER_INCH
		*DPI: PAIR(300, 300)
		*TextDPI: PAIR(300, 300)
		*MinStripBlankPixels: 32
		EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED, TRAILING)
		*SpotDiameter: 100
		*Command: CmdBeginRaster { *Cmd : "" }
		*Command: CmdEndRaster { *Cmd : "" }
		*Command: CmdSendBlockData { *Cmd : "" }
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.7
			*Cmd: ""
		}
	}
}

*BlockMacro:  Local_Macro_Paper_8x10
{
    *Option: 8x10
    {
        *rcNameID: =IDS_GPD_PAPER_8_10
        *PageDimensions: PAIR(2464, 3024)
        *switch: Borders
        {
            *case: ON
            {
            		*switch: Orientation
            		{
            			*case: PORTRAIT
            			{
                    *PrintableArea: PAIR(2248, 2850)
            			}
            			*case: LANDSCAPE_CC90
            			{
                    *PrintableArea: PAIR(2248, 2850)    *% SSTODO to change here
            			}
            		}
                *PrintableOrigin: PAIR(107, 87)
            }
            *case: OFF
            {
                *PrintableArea: PAIR(2464, 3024)
                *PrintableOrigin: PAIR(0, 0)
            }
        } 
        *CursorOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.12
					  *Cmd: ""
        }
    }
}


*BlockMacro:  Local_Macro_Paper_8x12
{
    *Option: 8x12
    {
        *rcNameID: =IDS_GPD_PAPER_8_12
        *PageDimensions: PAIR(2464, 3624)
        *switch: Borders
        {
            *case: ON
            {
            		*switch: Orientation
            		{
            			*case: PORTRAIT
            			{
                    *PrintableArea: PAIR(2248, 3450)
            			}
            			*case: LANDSCAPE_CC90
            			{
                    *PrintableArea: PAIR(2248, 3450)    *% SSTODO to change here
            			}
            		}
                *PrintableOrigin: PAIR(107, 87)
            }
            *case: OFF
            {
                *PrintableArea: PAIR(2464, 3624)
                *PrintableOrigin: PAIR(0, 0)
            }
        } 
        *CursorOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.12
        }
    }
}


*BlockMacro:  Local_Macro_Paper_4x8
{
    *Option: 4x8
    {
        *rcNameID: =IDS_GPD_PAPER_4_8
        *PageDimensions: PAIR(1232, 2464)
        *switch: Borders
        {
            *case: ON
            {
            		*switch: Orientation
            		{
            			*case: PORTRAIT
            			{
                    *PrintableArea: PAIR(1125, 2248)      *% SSTODO to change here    1125, 2248
                    *PrintableOrigin: PAIR(107, 87)          *% SSTODO PAIR(87, 107)
            			}
            			*case: LANDSCAPE_CC90
            			{
                    *PrintableArea: PAIR(1125, 2248)    
                    *PrintableOrigin: PAIR(87, 107)
            			}
            		}
            }
            *case: OFF
            {
                *PrintableArea: PAIR(1232, 2464)
                *PrintableOrigin: PAIR(0, 0)
            }
        } 
        *CursorOrigin: PAIR(0, 0)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.12
        }
    }
}


*%******************************************************************************************
*%                                      Paper Size
*%******************************************************************************************
*Feature: PaperSize
{
	*rcNameID: =PAPER_SIZE_DISPLAY
  *ConflictPriority: 1
*%	*DefaultOption: LETTER
	*DefaultOption: 8x10
  *InsertBlock: =Local_Macro_Paper_8x10
  *InsertBlock: =Local_Macro_Paper_8x12
  *InsertBlock: =Local_Macro_Paper_4x8
*%	*Option: LETTER
*%	{
*%		*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*%		*switch: Orientation
*%		{
*%			*case: PORTRAIT
*%			{
*%				*PrintableArea: PAIR(2375, 3125)
*%				*PrintableOrigin: PAIR(100, 100)
*%				*CursorOrigin: PAIR(75, 75)
*%				*Command: CmdSelect
*%				{
*%					*Order: DOC_SETUP.12
*%					*Cmd: ""
*%				}
*%			}
*%			*case: LANDSCAPE_CC90
*%			{
*%				*PrintableArea: PAIR(2375, 3050)
*%				*PrintableOrigin: PAIR(112, 75)
*%				*CursorOrigin: PAIR(50, 3225)
*%				*Command: CmdSelect
*%				{
*%					*Order: DOC_SETUP.12
*%					*Cmd: ""
*%				}
*%			}
*%		}
*%	}
}

*%*Feature: XtraLife
*%{
*%    *rcNameID: =IDS_GPD_XTRALIFE
*%    *DefaultOption: ON
*%    *Option: ON   { *rcNameID: =IDS_GPD_XTRALIFE_ON  }
*%    *Option: OFF  { *rcNameID: =IDS_GPD_XTRALIFE_OFF }
*%}


*%*Feature: Sharpen
*%{
*%    *rcNameID: =IDS_GPD_SHARPEN
*%    *DefaultOption: NORMAL
*%    *Option: NONE    { *rcNameID: =IDS_GPD_SHARPEN_NONE   }
*%    *Option: NORMAL  { *rcNameID: =IDS_GPD_SHARPEN_NORMAL }
*%    *Option: HIGH    { *rcNameID: =IDS_GPD_SHARPEN_HIGH   }
*%}


*Feature: Borders
{
    *rcNameID: =IDS_GPD_BORDERS
    *DefaultOption: OFF
    *Option: ON   { *rcNameID: =IDS_GPD_BORDERS_ON  }
    *Option: OFF  { *rcNameID: =IDS_GPD_BORDERS_OFF }
}


*%*Feature: BisectPage
*%{
*%    *rcNameID: =IDS_GPD_BISECT_PAGE
*%    *ConflictPriority: 2
*%    *DefaultOption: OFF
*%    *Option: OFF     
*%     { 
*%	*rcNameID: =IDS_GPD_BISECT_PAGE_OFF  
*%     }
*%    *Option: ON1CUT  
*%     { 
*%  	*rcNameID: =IDS_GPD_BISECT_PAGE_1CUT 
*%	*Constraints: PaperSize.4x8
*%     }
*%    *Option: ON2CUT  
*%    { 
*%	*rcNameID: =IDS_GPD_BISECT_PAGE_2CUT 
*%	*Constraints: PaperSize.4x8
*%    }
*%}


*%******************************************************************************************
*%                                      Media Type
*%******************************************************************************************
*Feature: MediaType
{
	*rcNameID: =MEDIA_TYPE_DISPLAY
	*DefaultOption: PLAIN
	*Option: PLAIN
	{
		*rcNameID: =PLAIN_PAPER_DISPLAY
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.15
			*Cmd: ""
		}
	}
*%	*Option: TRANSPARENCY
*%	{
*%		*rcNameID: =TRANSPARENCY_DISPLAY
*%		*Command: CmdSelect
*%		{
*%			*Order: DOC_SETUP.15
*%			*Cmd: ""
*%		}
*%	}
}

*%******************************************************************************************
*%                                      Color Mode
*%******************************************************************************************
*Feature: ColorMode
{
	*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
	*DefaultOption: 24bpp
	*Option: 24bpp
	{
		*rcNameID: =24BPP_DISPLAY
		*DevNumOfPlanes: 0
		*DevBPP: 0
		*DrvBPP: 24
		*IPCallbackID: 5
		*PaletteSize: 256
		*PaletteProgrammable? : TRUE
		*Command: CmdEnableDRC { *Cmd : "" }
		*Command: CmdDefinePaletteEntry { *Cmd : "" }
		*Command: CmdSelectPaletteEntry { *Cmd : "" }
		*Command: CmdSetSrcBmpWidth { *Cmd : "" }
		*Command: CmdSelect
		{
			*Order: PAGE_SETUP.16
			*Cmd: ""
		}
	}
}

*%******************************************************************************************
*%                                      HalfTone
*%******************************************************************************************
*%  *Feature: Halftone
*%{
*%	*rcNameID: =HALFTONING_DISPLAY
*%	*DefaultOption: HT_PATSIZE_AUTO
*%	*Option: HT_PATSIZE_AUTO
*%	{
*%		*rcNameID: =HT_AUTO_SELECT_DISPLAY
*%	}
*%	*Option: HT_PATSIZE_SUPERCELL_M
*%	{
*%		*rcNameID: =HT_SUPERCELL_DISPLAY
*%	}
*%	*Option: HT_PATSIZE_6x6_M
*%	{
*%		*rcNameID: =HT_DITHER6X6_DISPLAY
*%	}
*%	*Option: HT_PATSIZE_8x8_M
*%	{
*%		*rcNameID: =HT_DITHER8X8_DISPLAY
*%	}
*%}


*%******************************************************************************************
*%                                      Doc setup commands
*%******************************************************************************************
*Command: CmdStartDoc
{
	*Order: DOC_SETUP.7
	*Cmd: ""
}
*Command: CmdStartPage
{
	*Order: PAGE_SETUP.1
	*Cmd: ""
}
*Command: CmdEndJob
{
	*Order: JOB_FINISH.1
	*Cmd: ""
}
*Command: CmdCopies
{
	*Order: DOC_SETUP.13
	*Cmd: ""
}

*%******************************************************************************************
*%                                      Cursor and Page Commands
*%******************************************************************************************
*RotateCoordinate?: FALSE
*RotateRaster?: TRUE
*RotateFont?: FALSE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 300
*YMoveUnit: 300
*EjectPageWithFF?: FALSE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT

*Command: CmdCR { *Cmd : "" }
*Command: CmdLF { *Cmd : "" }
*Command: CmdFF { *Cmd : "" }

*% Sanjay extra added
*RasterSendAllData?: TRUE           *% Send all blank lines and all blank pixels
                                    *% within non-blank lines.















