Files
2026-03-02 19:48:53 +08:00

551 lines
15 KiB
Plaintext

*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "4.10"
*GPDFileName: "EPLQ63KC.GPD"
*ModelName: "EPSON LQ-630K ESC/P2"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "EPEPCRES.Dll"
*PrinterType: SERIAL
*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: MANUAL
*Option: TRACTOR
{
*rcNameID: =TRACTOR_DISPLAY
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option2
*Option: Option1
{
*Name: "360 x 180 " =DOTS_PER_INCH
*DPI: PAIR(360, 180)
*TextDPI: PAIR(360, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 360
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 170
*Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{(NumOfDataBytes / 3) } }
}
*Option: Option2
{
*Name: "180 x 180 " =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 180
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
}
*Option: Option3
{
*Name: "120 x 180 " =DOTS_PER_INCH
*DPI: PAIR(120, 180)
*TextDPI: PAIR(120, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 120
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{(NumOfDataBytes / 3) } }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2880, 3792)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 3792)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 3792)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>x<0F1B>(c<0400>%<<00>x<0F>"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2880, 4872)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 4872)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 4872)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200B0131B>(c<0400>%<<00B013>"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2880, 4040)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 4040)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 4040)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>p<101B>(c<0400>%<<00>p<10>"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2013, 2809)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(2013, 2808)
}
*case: Option2
{
*PrintableArea: PAIR(2012, 2808)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2010, 2808)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200A10B1B>(c<0400>%<<00A10B>"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2495, 3475)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(2495, 3474)
}
*case: Option2
{
*PrintableArea: PAIR(2494, 3474)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2493, 3474)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>;<0E1B>(c<0400>%<<00>;<0E>"
}
}
*Option: B4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2880, 4991)
*PrintableOrigin: PAIR(333, 60)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(2880, 4990)
}
*case: Option2
{
*PrintableArea: PAIR(2878, 4990)
*PrintableOrigin: PAIR(334, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2880, 4990)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>'<141B>(c<0400>%<<00>'<14>"
}
}
*Option: STATEMENT
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1894, 2892)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1892, 2892)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(1890, 2892)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200F40B1B>(c<0400>%<<00F40B>"
}
}
*Option: Option8
{
*rcNameID: 280
*OptionID: 280
*PageDimensions: PAIR(3060, 3960)
*PrintableArea: PAIR(2880, 3840)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 3840)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 3840)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>x<0F1B>(c<0400>%<<00>%<<0F>"
}
}
*Option: Option9
{
*rcNameID: 307
*OptionID: 307
*PageDimensions: PAIR(2977, 4200)
*PrintableArea: PAIR(2880, 4080)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 4080)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 4080)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>h<101B>(c<0400>%<<00>,<10>"
}
}
*Option: Option10
{
*rcNameID: 288
*OptionID: 288
*PageDimensions: PAIR(2977, 4320)
*PrintableArea: PAIR(2880, 4200)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 4200)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 4200)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200E0101B>(c<0400>%<<00A410>"
}
}
*Option: FANFOLD_STD_GERMAN
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2880, 4200)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 4200)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 4200)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200E0101B>(c<0400>%<<00A410>"
}
}
*Option: FANFOLD_LGL_GERMAN
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2880, 4560)
*PrintableOrigin: PAIR(43, 60)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2878, 4560)
*PrintableOrigin: PAIR(44, 60)
}
*case: Option3
{
*PrintableArea: PAIR(2877, 4560)
*PrintableOrigin: PAIR(45, 60)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>H<121B>(c<0400>%<<000C12>"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(1275, 992)
*MaxSize: PAIR(3643, 7920)
*MaxPrintableWidth: 2880
*MinLeftMargin: 43
*CenterPrintable?: FALSE
*TopMargin: 60
*BottomMargin: 108
*CustCursorOriginX: %d{43}
*CustCursorOriginY: %d{60}
*CustPrintableOriginX: %d{43}
*CustPrintableOriginY: %d{60}
*CustPrintableSizeX: %d{min(2880,PhysPaperWidth-86)}
*CustPrintableSizeY: %d{PhysPaperLength-168}
*switch: InputBin
{
*case: TRACTOR
{
*TopMargin: 60
*BottomMargin: 60
*CustCursorOriginX: %d{43}
*CustCursorOriginY: %d{60}
*CustPrintableOriginX: %d{43}
*CustPrintableOriginY: %d{60}
*CustPrintableSizeX: %d{min(2880,PhysPaperWidth-86)}
*CustPrintableSizeY: %d{PhysPaperLength-120}
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>(C<0200>" %l{PhysPaperLength }"<1B>(c<0400>%<<00>" %l{PhysPaperLength }
}
}
}
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LETTER)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.LEGAL)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A4)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.A5)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B5)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.B4)
*InvalidCombination: LIST(InputBin.TRACTOR, PaperSize.STATEMENT)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.Option8)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.Option9)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.Option10)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.FANFOLD_STD_GERMAN)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.FANFOLD_LGL_GERMAN)
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 301
}
*Option: Option2
{
*rcNameID: 302
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>U<00>"
}
}
*Option: Option3
{
*rcNameID: 303
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>U<01>"
}
}
}
*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
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<0000001B01>@EJL 1284.4<0A>@EJL <0A1B>@<0D1B>t<011B>6<1B>R<001B>P<1B>(U<0100>"
+ "<0A>"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>@<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_RA_ABLE)
}
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 360
*YMoveUnit: 180
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,4890]{max_repeat(DestX )} }
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
*Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
*EjectPageWithFF?: TRUE
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 3
*DefaultCTT: 1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+ 39,64,65,66,67,68,69,70,71,72,74,75,76,77)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}
*Command: CmdBoldOn { *Cmd : "<1B>E" }
*Command: CmdBoldOff { *Cmd : "<1B>F" }
*Command: CmdItalicOn { *Cmd : "<1B>4" }
*Command: CmdItalicOff { *Cmd : "<1B>5" }