*%
*% Copyright (c) 2011 Brother Industries Ltd.
*%
*% All rights reserved.
*%
*% THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
*% ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
*% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
*% PARTICULAR PURPOSE.
*%
*% File Name:
*%
*%    TOXSE240S.GPD
*%

*GPDFileVersion: "1.0"
*GPDSpecVersion: "1.0"
*GPDFileName:    "TOXSE240S.GPD"
*Include:        "msxpsinc.gpd"
*Include:        "StdNames.gpd"
*Include:        "BROEMREM00.GPD"
*ModelName:      "TOSHIBA e-STUDIO240S"
*MasterUnits:    PAIR(1200, 1200)
*PrinterType:    PAGE
*MaxCopies:      999
*PrintSchemaPrivateNamespaceURI: "http://schemas.brother.info/mfc/printing/2006/11/printschemakeywords"
*rcInstalledOptionNameID:=BRRES_INSTALLED
*rcNotInstalledOptionNameID:=BRRES_NOTINSTALLED

*%******************************************************************************
*%                            PageMediaType
*%******************************************************************************
*Feature: MediaType
{
	*rcNameID: =MEDIA_TYPE_DISPLAY
	*DefaultOption: Plain

	*Option: Plain
	{
		*rcNameID:=BRRES_MEDIATYPE_PLAIN
		*%Name: "Plain Paper"
		*PrintSchemaKeywordMap: "Plain"
	}
	*Option: Thin
	{
		*rcNameID:=BRRES_MEDIATYPE_THIN
		*%Name: "Thin Paper"
	}
	*Option: Thick
	{
		*rcNameID:=BRRES_MEDIATYPE_THICK
		*%Name: "Thick Paper"
	}
	*Option: Thicker
	{
		*rcNameID:=BRRES_MEDIATYPE_THICKER
		*%Name: "Thicker Paper"
	}
	*Option: Bond
	{
		*rcNameID:=BRRES_MEDIATYPE_BOND
		*%Name: "Bond Paper"
		*PrintSchemaKeywordMap: "Bond"
	}
	*Option: EnvelopePlain
	{
		*rcNameID:=BRRES_MEDIATYPE_ENVELOPE
		*%Name: "Envelopes"
		*PrintSchemaKeywordMap: "EnvelopePlain"
	}
	*Option: EnvelopeThick
	{
		*rcNameID:=BRRES_MEDIATYPE_ENVTHICK
		*%Name: "Env. Thick"
	}
	*Option: EnvelopeThin
	{
		*rcNameID:=BRRES_MEDIATYPE_ENVTHIN
		*%Name: "Env. Thin"
	}	    
	*Option: RecyclePaper
	{
		*rcNameID:=BRRES_MEDIATYPE_RECYCLED
		*%Name: "Recycled Paper"
	}
	*Option: Label
	{
		*rcNameID:=BRRES_MEDIATYPE_LABEL
		*%Name: "Label"
		*PrintSchemaKeywordMap: "Label"
	}
}

*%******************************************************************************
*%                            PageMediaSize - Paper Size
*%******************************************************************************
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: LETTER

    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(9520, 13628)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(9800, 12800)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(9800, 16400)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(8300, 12200)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(6592, 9520)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: A6
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(4560, 6592)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: ENV_B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(7912, 11408)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
	*Option: Br16K_195x270mm
	{
		*rcNameID: =BRRES_PAPERSIZE_16K_195X270
		*%Name: "16K(195x270mm)"
		*PageDimensions: PAIR(9212, 12756)	
		*PrintableArea: PAIR(8812, 12356)
		*PrintableOrigin: PAIR(200, 200)
		*CursorOrigin: PAIR(200, 200)
	}
	*Option: Br16K_184x260mm
	{
      *rcNameID: =BRRES_PAPERSIZE_16K_184X260	
		*%Name: "16K(184x260mm)"
		*PageDimensions: PAIR(8692, 12280)
		*PrintableArea: PAIR(8292, 11880)
		*PrintableOrigin: PAIR(200, 200)
		*CursorOrigin: PAIR(200, 200)
	}
	*Option: Br16K_197x273mm
	{
		*rcNameID: =BRRES_PAPERSIZE_16K_197X273
		*%Name: "16K(197x273mm)"
		*PageDimensions: PAIR(9300, 12900)
		*PrintableArea: PAIR(8900, 12500)
		*PrintableOrigin: PAIR(200, 200)
		*CursorOrigin: PAIR(200, 200)
	}
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(8196, 11740)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
	*Option: ISOB6
	{
      *rcNameID: =BRRES_PAPERSIZE_B6	
		*%Name: "B6"
		*PageDimensions: PAIR(5904, 8312)		
		*PrintableArea: PAIR(5504, 7912)
		*PrintableOrigin: PAIR(200, 200)
		*CursorOrigin: PAIR(200, 200)
    }
    *Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(4548, 11000)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(4796, 9992)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(7252, 10416)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }    
    *Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(4248, 8600)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
    *Option: Br3x5
    {
		*rcNameID: =BRRES_PAPERSIZE_3X5	 
		*%Name: "3 x 5"
		*PageDimensions: PAIR(3600, 6000)
		*PrintableArea: PAIR(3200, 5600)
		*PrintableOrigin: PAIR(200, 200)
		*CursorOrigin: PAIR(200, 200)		
    }        
    *Option: FOLIO
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *PrintableArea: PAIR(9800, 15200)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
    }
	*Option: DLLongEdge
	{
      *rcNameID: =BRRES_PAPERSIZE_DLLONGEDGE	
		*%Name: "DL Long Edge"
		*PageDimensions: PAIR(10392, 5196)
		*PrintableArea: PAIR(9800, 4796)
		*PrintableOrigin: PAIR(296, 200)
		*CursorOrigin: PAIR(296, 200)
	}
    *Option: CUSTOMSIZE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *MinSize: PAIR(3600, 5484)
        *MaxSize: PAIR(10200, 19200)
        *TopMargin: 200
        *BottomMargin: 200
        *MaxPrintableWidth: 9800
        *MinLeftMargin: 200
        *CenterPrintable?: TRUE
    }
}

*%******************************************************************************
*%                             PageOrientation
*%******************************************************************************
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT

    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }

    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}

*%******************************************************************************
*%                            Duplex Unit
*%******************************************************************************
*Feature: DuplexUnit
{
	*rcNameID:=BRRES_DUPLEXUNIT
	*%Name: "Auto Duplex"
	*FeatureType: PRINTER_PROPERTY
	*DefaultOption: TRUE
    *Option: FALSE
    {
		  *rcNameID:=BRRES_NOTINSTALLED 
        *%Name: "Not Installed"
        *DisabledFeatures: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
    }
    *Option: TRUE
    {
		  *rcNameID:=BRRES_INSTALLED
        *%Name: "Installed"
    }
}

*%******************************************************************************
*%                            Duplex
*%******************************************************************************
*Feature: Duplex
{
    *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
    *DefaultOption: NONE
    *Option: NONE
    {
        *rcNameID: =NONE_DISPLAY
    }
    *Option: VERTICAL
    {
        *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
        *Constraints: LIST(PaperSize.EXECUTIVE,PaperSize.A5,PaperSize.A6,PaperSize.ENV_B5,PaperSize.Br16K_195x270mm,PaperSize.Br16K_184x260mm,PaperSize.Br16K_197x273mm,PaperSize.B5,PaperSize.ISOB6)
        *Constraints: LIST(PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,PaperSize.ENV_MONARCH,PaperSize.Br3x5,PaperSize.DLLongEdge,PaperSize.JAPANESE_POSTCARD,PaperSize.JENV_YOU4,PaperSize.JENV_CHOU3,PaperSize.CUSTOMSIZE)
		  *Constraints: LIST(PageBrPoster.Poster2x2, PageBrPoster.Poster3x3, PageBrPoster.Poster4x4, PageBrPoster.Poster5x5)
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
        *Constraints: LIST(PaperSize.EXECUTIVE,PaperSize.A5,PaperSize.A6,PaperSize.ENV_B5,PaperSize.Br16K_195x270mm,PaperSize.Br16K_184x260mm,PaperSize.Br16K_197x273mm,PaperSize.B5,PaperSize.ISOB6)
        *Constraints: LIST(PaperSize.ENV_10,PaperSize.ENV_DL,PaperSize.ENV_C5,PaperSize.ENV_MONARCH,PaperSize.Br3x5,PaperSize.DLLongEdge,PaperSize.JAPANESE_POSTCARD,PaperSize.JENV_YOU4,PaperSize.JENV_CHOU3,PaperSize.CUSTOMSIZE)
        *Constraints: LIST(PageBrPoster.Poster2x2, PageBrPoster.Poster3x3, PageBrPoster.Poster4x4, PageBrPoster.Poster5x5)
    }
}

*%******************************************************************************
*%                            PageOutputColor
*%******************************************************************************
*Feature: ColorMode
{
    *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
    *DefaultOption: Mono
    *Option: Mono
    {
		  *rcNameID:=BRRES_COLORMONO_GRAYSCALE
        *%Name: "Grayscale"
        *DevBPP: 1
        *DrvBPP: 8
        *Color?: FALSE
    }
}

*%******************************************************************************
*%                             Input Bin
*%******************************************************************************
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: Tray1

    *Option: Tray1
    {
      *rcNameID:=BRRES_INPUTBIN_TRAY1
		*%Name: "Tray1"
    }
    *Option: Manual
    {
      *rcNameID:=BRRES_INPUTBIN_MANUAL
		*%Name: "Manual"
    }
}

*%******************************************************************************
*%                            Resolution
*%******************************************************************************
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option2

    *Option: Option1
    {
        *rcNameID:=BRRES_RESOLUTION_300
		  *%Name: "300 dpi"
        *DPI: PAIR(300, 300)
        *TextDPI: PAIR(300, 300)
        *SpotDiameter: 100
    }
    *Option: Option2
    {
        *rcNameID:=BRRES_RESOLUTION_600
		  *%Name: "600 dpi"
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *SpotDiameter: 100
    }
    *Option: Option3
    {
		*rcNameID:=BRRES_RESOLUTION_1200
		*%Name: "HQ 1200"
		*DPI: PAIR(1200, 1200)
		*TextDPI: PAIR(1200, 1200)
		*SpotDiameter: 100
		*Constraints: LIST(JobTonerSaveMode.On)
    }
}

*%******************************************************************************
*%                            PagePrintSetting
*%******************************************************************************
*Feature: PagePrintSetting
{
    *rcNameID:=BRRES_PRINTSETTING
	 *%Name: "Print Settings"
    *DefaultOption: Graphics
    *Option: Graphics
    {
        *rcNameID:=BRRES_PRINTSETTING_GRAPHICS
	     *%Name: "Graphics"
    }
    *Option: Text
    {
        *rcNameID:=BRRES_PRINTSETTING_TEXT
	     *%Name: "Text"
    }
}

*%******************************************************************************
*%                            DocumentCollate
*%******************************************************************************
*Feature: Collate
{
    *rcNameID:=BRRES_COLLATE
    *DefaultOption: OFF
    *Option: OFF
    {
        *rcNameID: =OFF_DISPLAY
    }
    *Option: ON
    {
        *rcNameID: =ON_DISPLAY
    }
}

*%******************************************************************************
*%                            JobTonerSaveMode
*%******************************************************************************
*Feature: JobTonerSaveMode
{
	*rcNameID:=BRRES_TONERSAVE
	*%Name: "Toner Save Mode"
	*DefaultOption: Off
	*Option: Off
	{
		*rcNameID:=BRRES_OFF
	   *%Name: "Off"
	}
	*Option: On
	{
		*rcNameID:=BRRES_ON
	   *%Name: "On"
	}
}

*%******************************************************************************
*%                         Cursor Commands
*%******************************************************************************
*OutputDataFormat: H_BYTE
*Command: CmdSendBlockData { *Cmd : "" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }


