*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.01"
*GPDFileName: "GB-1402dnN_DRV.GPD"
*Include: "GB-1402dnN_STDNAMES.GPD"
*ModelName: "GB-1402dn"
*%*CodePage: 1252
*%*CodePage: 949
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "GB-1402dnN_UNIRES.DLL"
*HelpFile: "GB-1402dnN_UNIDRV.HLP"
*PrinterType: PAGE
*MaxCopies: 30000
*PrintRate: 18
*PrintRateUnit: PPM
*PrintRatePPM: 32
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *rcNameID: =AUTO_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "MediaInputTrayCheck=auto;"
        }
    }
    *Option: CASSETTE
    {
        *rcNameID: =CASSETTE_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "MediaInputTrayCheck=cassette;"
        }
    }
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.3
            *Cmd: "MediaInputTrayCheck=manual;"
        }
    }
}
*Feature: MediaType
{
    *rcNameID: =MEDIA_TYPE_DISPLAY
    *DefaultOption: STANDARD
    *Option: STANDARD
    {
        *rcNameID: =PLAIN_PAPER_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "MediaType=plain;"
        }
    }
    *Option: THIN
    {
        *rcNameID: =GLOSSY_PAPER_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "MediaType=Narrow;"
        }
    }
    *Option: THICK
    {
        *rcNameID: =TRANSPARENCY_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.3
            *Cmd: "MediaType=Thick;"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Res600x600dpi
    *Option: Res600x600dpi
    {
        *Name: "600dpi"
        *DPI: PAIR(600, 600)
        *TextDPI: PAIR(600, 600)
        *MinStripBlankPixels: 32
        *SpotDiameter: 100
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.2
            *Cmd: "Resolution=600x600;"
        }
    }
}
*Feature: Duplex
{
    *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
    *DefaultOption: NONE
    *Option: NONE
    {
        *rcNameID: =NONE_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: "Sides=OneSided;"
        }
    }
    *Option: VERTICAL
    {
        *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: "Sides=TwoSidedLongEdge;"
        }
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
        *Command: CmdSelect
        {
            *Order: JOB_SETUP.5
            *Cmd: "Sides=TwoSidedShortEdge;"
        }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A4
    *Option: A4
    {
        *rcNameID: =A4_DISPLAY
        *PrintableArea: PAIR(9520, 13628)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_a4_210x297mm;"
        }
    }
    *Option: A5
    {
        *rcNameID: =A5_DISPLAY
        *PrintableArea: PAIR(6592, 9520)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_a5_148x210mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: B5
    {
        *rcNameID: =B5_DISPLAY
        *PrintableArea: PAIR(8192, 11740)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_b5_182x257mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: Option1
    {
        *Name: "Letter"  
        *PageDimensions: PAIR(10200, 13200)
        *PrintableArea: PAIR(9792, 12800)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_LETTER_216x279mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: Option2
    {
        *Name: "16K"
        *PageDimensions: PAIR(9214, 12756)
        *PrintableArea: PAIR(8814, 12352)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_16k_195x270mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: A6
    {
        *rcNameID: =A6_DISPLAY
        *PrintableArea: PAIR(4544, 6592)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_a6_105x148mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }   
    *Option: B6_JIS
    {
        *rcNameID: =B6_JIS_DISPLAY
        *PrintableArea: PAIR(5632, 8198)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_b6_128x182mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: Option3
    {
        *Name: "32K"
        *PageDimensions: PAIR(6378, 9214)
        *PrintableArea: PAIR(5978, 8814)
        *PrintableOrigin: PAIR(200, 200)
        *CursorOrigin: PAIR(200, 200)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_32k_135x195mm;"
        }
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: Option4
    {
        *Name: "85x170"
        *PageDimensions: PAIR(4016, 8032)
        *PrintableArea: PAIR(3968, 8000)
        *PrintableOrigin: PAIR(24, 16)
        *CursorOrigin: PAIR(24, 16)
        *Command: CmdSelect
        {
            *Order: PAGE_SETUP.2
            *Cmd: "MediaSize=na_bank_85x170mm;"
        }
        *Constraints: LIST(MediaType.STANDARD,MediaType.THIN)
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
}

*Command: CmdStartDoc
{
    *Order: JOB_SETUP.1
    *Cmd: "Event=StartOfJob;"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: ""
}
*Command: CmdEndDoc
{
    *Order: JOB_FINISH.1
    *Cmd: "Event=EndOfJob;"
}
*Command: CmdCopies
{
    *Order: JOB_SETUP.4
    *Cmd: "Copies=" %d[1,30000]{NumOfCopies } ";"
}
*OutputOrderReversed?: FALSE
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 1200
*YMoveUnit: 1200

*Command: CmdCR
{
        *Cmd: ""
}
*Command: CmdLF {
        *Cmd: ""
}
*Command: CmdFF {
        *Cmd: ""
}
*Command: CmdSendBlockData
{
        *Cmd: ""
}
*%*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*%*CursorYAfterSendBlockData: NO_MOVE
*Command: CmdEnableTIFF4 {
        *Cmd: "Temp=Enable;"
}
*Command: CmdDisableCompression {
        *Cmd: "Temp=Disable;"
}
*%*EjectPageWithFF?: FALSE
*%*OutputDataFormat: H_BYTE
*%*SendMultipleRows?: FALSE
*%*RasterSendAllData?: TRUE
*%*OptimizeLeftBound?: FALSE

*%******************************************************************************************
*%                                      Color Mode
*%******************************************************************************************
*Feature: ColorMode
{
	*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
	*DefaultOption: Mono
	*Option: Mono
	{
		*rcNameID: =MONO_DISPLAY
		*DevNumOfPlanes: 1
		*DevBPP: 1
		*Color?: FALSE
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.1
			*Cmd: ""
		}
	}

	*Option: 24bpp
	{
		*rcNameID: =24BPP_DISPLAY
		*DevNumOfPlanes: 1
		*DevBPP: 24
		*DrvBPP: 24
		*PaletteSize: 256
		*PaletteProgrammable? : TRUE
		*Command: CmdDefinePaletteEntry
		{
			*Cmd : "" 
		}
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.1
			*Cmd: ""
		}
	}
}
