*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "DPK810U.GPD"
*Include: "STDNAMES.GPD"
*Include: "CommonU6.GPD"
*CodePage: 936
*ModelName: "Fujitsu DPK810"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "FRES810.DLL"
*PrinterType: SERIAL
*PrintRateUnit: CPS
*PrintRate: 220



*%



*%-------------------仿真选项-------------------------*%
*Feature: Emulation
{
	*FeatureType:DOC_PROPERTY
	*rcNameID: 273
	*DefaultOption: LQ1600KPlus
	*Option: LQ1600KPlus
	{
		*rcNameID: 271
	}
	*Option:OKI5320
	{
*%		*Constraints:PrintQuality.SUPER_QUALITY
		*rcNameID:270
	}
}



*%-------------------打印质量/速度选项-------------------------*%
*Feature: PrintQuality
{
	*FeatureType:DOC_PROPERTY
	*rcNameID: 281
	*DefaultOption: LETTER_QUALITY
    *Option: DRAFT_QUALITY
    {
        *rcNameID: 279
        *switch: Emulation
        {
			*case: LQ1600KPlus
			{
		   		*Command: CmdSelect
				{
					*Order: DOC_SETUP.2
					*Cmd: "<1C>x<01>"
				}
             }
             *case: OKI5320
             {
       			*Command: CmdSelect
				{
					*Order: DOC_SETUP.2
					*Cmd: "<1B>D"
        		}
             }
         }
    }
    *Option: SUPER_QUALITY
    {
    	*rcNameID: 278
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.2
		}
    }
    *Option: LETTER_QUALITY
    {
        *rcNameID: 280
        *switch: Emulation
        {
             *case: LQ1600KPlus
             {
       			*Command: CmdSelect
				{
					*Order: DOC_SETUP.2
					*Cmd: "<1C>x<00>"
        		}
             }
             *case: OKI5320
             {
       			*Command: CmdSelect
				{
					*Order: DOC_SETUP.2
					*Cmd: "<1B>I"
        		}
             }
         }
    }
}



*%-------------------击打力设置-------------------------*%
*Ifdef:USE_UI_SETTING
*Else:
*Ifdef:SUPPORT_COPYLEVEL
*Feature: CopyLevel
{
	*FeatureType:DOC_PROPERTY
	*rcNameID:400
	*DefaultOption: COPYLEVEL_5P
				
	*%-----------否---------*%
	*Option:COPYLEVEL_NONE
	{						
		*rcNameID:401
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<00><00><00><00>"
		}
	}	
				
	*%-----------3P---------*%
	*Option:COPYLEVEL_3P
	{						
		*rcNameID:402
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B><6F><01><01>"
		}
	}	
	
	*%-----------5P---------*%
	*Option:COPYLEVEL_5P
	{						
		*rcNameID:403
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B><6F><01><02>"
		}
	}	
	
	*%-----------7P---------*%
	*Option:COPYLEVEL_7P
	{						
		*rcNameID:404
		*Command: CmdSelect
		{
			*Order: DOC_SETUP.5
			*Cmd: "<1B><6F><01><03>"
		}
	}	
}
*Endif:
*Endif:



*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A4
    *Option: 10X11
    {
        *rcNameID: =10X11_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>(C<0200>x<0F>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<36><36>"
        		}
			}
		}
        *PrintableArea: PAIR(3600, 3960)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: LETTER_TRANSVERSE
    {
        *rcNameID: =LETTER_TRANSVERSE_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>(C<0200>x<0F>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<36><36>"
        		}
			}
		}
        *PrintableArea: PAIR(3060, 3960)
        *PrintableOrigin: PAIR(0, 0)
     }
    *Option: LEGAL
    {
        *rcNameID: =LEGAL_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>(C<0200B013>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<38><34>"
        		}
			}
		}
        *PrintableArea: PAIR(3060, 5040)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: TABLOID
    {
        *rcNameID: =TABLOID_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>Cf"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<3A><32>"
        		}
			}
		}
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3870, 5800)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(3868, 5800)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3870, 5775)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(3868, 5774)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(3870, 5774)
                    }
                }
            }
        }
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =EXECUTIVE_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C?"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<36><33>"
        		}
			}
		}
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2520, 3460)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2518, 3460)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2520, 3435)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2518, 3434)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(2520, 3434)
                    }
                }
            }
        }
    }
    *Option: FOLIO
    {
        *rcNameID: =FOLIO_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>CN"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<37><38>"
        		}
			}
		}
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2970, 4360)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2968, 4360)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2970, 4335)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2968, 4334)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(2970, 4334)
                    }
                }
            }
        }
    }
    *Option: Option19
    {
        *rcNameID: 258
        *PageDimensions: PAIR(5954, 8416)
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
					*Cmd: "<1B>2<1B>C<8A>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<3D><38>"
        		}
			}
		}
        *PrintableArea: PAIR(5950, 8400)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: A3
    {
        *rcNameID: =A3_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>Cc"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<39><39>"
        		}
			}
		}
        *PrintableArea: PAIR(4200, 5950)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option21
    {
        *rcNameID: 259
        *PageDimensions: PAIR(5954, 4208)
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
					*Cmd: "<1B>3<121B>Cu"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<3B><37>"
        		}
			}
		}
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4894, 4208)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option2
                    {
                        *PrintableArea: PAIR(4893, 4208)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4894, 3863)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(4894, 3862)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(4893, 3862)
                    }
                }
            }
        }
    }
    *Option: A4
    {
        *rcNameID: =A4_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>(C<0200>p<10>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<37><30>"
        		}
			}
		}
        *PrintableArea: PAIR(2976, 4060)
        *PrintableOrigin: PAIR(0, 0) 
*%				*switch:AdjustUp
*%				{
*%					*case:Zero
*%					{
*%						 *PrintableOrigin: PAIR(0, 0)   *%SUKER
*%				}
*%					*case:Five
*%					{
*%						 *PrintableOrigin: PAIR(0, 70)   *%SUKER
*%					}
*%					*case:Ten
*%				{
*%						 *PrintableOrigin: PAIR(0, 140)   *%SUKER
*%					}
*%					*case:Fifteen
*%					{
*%						 *PrintableOrigin: PAIR(0, 140)   *%SUKER
*%					}
*%					*case:Twenty
*%					{
*%						 *PrintableOrigin: PAIR(0, 140)   *%SUKER
*%					}
*%				}
    }
    *Option: A4_TRANSVERSE
    {
        *rcNameID: =A4_TRANSVERSE_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C2"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<35><30>"
        		}
			}
		}
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2887, 4088)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2886, 4088)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(2886, 4088)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2887, 4063)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2886, 4062)
                        *PrintableOrigin: PAIR(0, 0)
                    }
                    *case: Option2
                    {
                        *PrintableArea: PAIR(2886, 4062)
                    }
                }
            }
        }
    }
    *Option: A5
    {
        *rcNameID: =A5_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C2"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<35><30>"
        		}
			}
		}
        *PrintableArea: PAIR(2096, 2976)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: B4
    {
        *rcNameID: =B4_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>CT"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<38><34>"
        		}
			}
        }
        *PrintableArea: PAIR(3640,5150)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: B5
    {
        *rcNameID: =B5_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C="
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<36><31>"
        		}
			}
        }
        *PrintableArea: PAIR(2578,3640)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: Option27
    {
        *rcNameID: 260
        *PageDimensions: PAIR(2880, 2160)
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C$"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<33><36>"
        		}
			}
        }
        *PrintableArea: PAIR(2880,2160)
        *PrintableOrigin: PAIR(0, 0)
    }
   *Option: FANFOLD_US
    {
        *rcNameID: =FANFOLD_US_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>CB"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<36><36>"
        		}
			}
        }
		*PrintableArea: PAIR(4894, 3960)
        *PrintableOrigin: PAIR(0, 0)
    }
    *Option: FANFOLD_STD_GERMAN
    {
        *rcNameID: =FANFOLD_STD_GERMAN_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>CH"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<37><32>"
        		}
			}
        }
        *PrintableArea: PAIR(3060, 4320)
        *PrintableOrigin: PAIR(0, 0)
    }
   *Option: FANFOLD_LGL_GERMAN
    {
        *rcNameID: =FANFOLD_LGL_GERMAN_DISPLAY
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>CN"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<37><38>"
        		}
			}
        }
        *PrintableArea: PAIR(3060, 4680)
        *PrintableOrigin: PAIR(0, 0)
    }
    
   	*Option: Option30
    {
     	*rcNameID: 340     *% 241mm suker
        *PageDimensions: PAIR(3420, 3960)
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C<42>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<36><36>"
        		}
			}
        }
        *PrintableArea: PAIR(2880,3960)
        *PrintableOrigin: PAIR(0, 0)
    }
    
    *Option: Option31
    {
        *rcNameID: 341     *% 241 二等分 suker
       	*PageDimensions: PAIR(3420, 1980)
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C<21>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<33><33>"
        		}
			}
        }
        *PrintableArea: PAIR(2880,1980)
        *PrintableOrigin: PAIR(0, 0)
    }
    
   *Option: Option32
   {
     	*rcNameID: 342     *% 241三等分 suker
        *PageDimensions: PAIR(3420, 1320)
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
	            {
            		*Order: DOC_SETUP.4
	                *Cmd: "<1B>2<1B>C<16>"
	            }
            }
            *case: OKI5320
            {
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F<32><32>"
        		}
			}
        }
        *PrintableArea: PAIR(2880,1320)
        *PrintableOrigin: PAIR(0, 0)
    }
    
	    
   	*Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(180, 180)
        *MaxSize: PAIR(5940, 32767)
        *MaxPrintableWidth: 3816	*% 2880=80列，3384=94列，3816=106列，4896=136列
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
            *case: MANUAL
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
			*CustCursorOriginX: %d{43}
			*CustCursorOriginY: %d{0}
			*CustPrintableOriginX: %d{43}
			*CustPrintableOriginY: %d{0}
			*CustPrintableSizeX: %d{min(3960,PhysPaperWidth-86)}
			*CustPrintableSizeY: %d{PhysPaperLength}
        }
		*switch: Emulation
        {
			*case: LQ1600KPlus
            {
				*Command: CmdSelect
				{
		*%				*Order: DOC_SETUP.4
		*%				*Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
	   					*Order: DOC_SETUP.4
            			*Cmd: "<1B>(C<0200>" %l{PhysPaperLength }
				}
			}
			*case: OKI5320
			{
				*Command: CmdSelect
				{
					*Order: DOC_SETUP.4
					*Cmd: "<1B>6<1B>F" %d[0,127]{(PhysPaperLength / 60) }
				}
			}
		}
    }
}
