Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

450 lines
12 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "SRL122SK.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "½Åµµ¸®ÄÚ LP1220S"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "ppdskres.dll"
*PrinterType: PAGE
*MaxCopies: 255
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>k"
}
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>l"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: UPPER
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<010001>"
}
}
*Option: ENVFEED
{
*rcNameID: =ENV_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<02000302>"
}
}
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<0300030101>"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<0300030102>"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "300 x 300 dots per inch"
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>[h" %l{NumOfDataBytes + 10}"<0901>,<01>," %m{RasterDataWidthInBytes }"<0011>"
+ "<00>" }
}
*Option: Option2
{
*Name: "150 x 150 dots per inch"
*DPI: PAIR(150, 150)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>[h" %l{NumOfDataBytes + 10}"<0900960096>" %m{RasterDataWidthInBytes }"<0011>"
+ "<00>" }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(2400, 3200)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2400->2398) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2398, 3200)
*% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(76, 50)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010001>"
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*PrintableArea: PAIR(2400, 4100)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2400->2398) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2398, 4100)
*% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(76, 50)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010002>"
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(2070, 2936)
*PrintableOrigin: PAIR(36, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010003>"
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(2400, 3407)
*PrintableOrigin: PAIR(36, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable length is adjusted (3407->3406) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2400, 3406)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010004>"
}
}
*Option: EXECUTIVE
{
*rcNameID: =EXECUTIVE_DISPLAY
*PrintableArea: PAIR(2094, 3050)
*PrintableOrigin: PAIR(36, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010005>"
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*PrintableArea: PAIR(1668, 2381)
*PrintableOrigin: PAIR(36, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable length is adjusted (2381->2380) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1668, 2380)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010006>"
}
}
*Option: ENV_MONARCH
{
*rcNameID: =ENV_MONARCH_DISPLAY
*PrintableArea: PAIR(1083, 2150)
*PrintableOrigin: PAIR(36, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (1083->1082) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(1082, 2150)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000020001>"
}
}
*Option: ENV_9
{
*rcNameID: =ENV_9_DISPLAY
*PrintableArea: PAIR(1083, 2564)
*PrintableOrigin: PAIR(36, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (1083->1082) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(1082, 2564)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000020002>"
}
}
*Option: ENV_10
{
*rcNameID: =ENV_10_DISPLAY
*PrintableArea: PAIR(1158, 2750)
*PrintableOrigin: PAIR(36, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000020003>"
}
}
*Option: ENV_DL
{
*rcNameID: =ENV_DL_DISPLAY
*PrintableArea: PAIR(1218, 2498)
*PrintableOrigin: PAIR(36, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000020004>"
}
}
*Option: ENV_C5
{
*rcNameID: =ENV_C5_DISPLAY
*PrintableArea: PAIR(1833, 2606)
*PrintableOrigin: PAIR(36, 50)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (1833->1832) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(1832, 2606)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000020005>"
}
}
*Option: ENV_B5
{
*rcNameID: =ENV_B5_DISPLAY
*PrintableArea: PAIR(1998, 2852)
*PrintableOrigin: PAIR(36, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000020006>"
}
}
}
*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
}
}
*Feature: Memory
{
*rcNameID: =PRINTER_MEMORY_DISPLAY
*DefaultOption: 5120KB
*Option: 1024KB
{
*Name: "1MB"
*MemoryConfigKB: PAIR(1024, 700)
}
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1931)
}
*Option: 3072KB
{
*Name: "3MB"
*MemoryConfigKB: PAIR(3072, 2995)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3979)
}
*Option: 5120KB
{
*Name: "5MB"
*MemoryConfigKB: PAIR(5120, 5003)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 6027)
}
*Option: 7168KB
{
*Name: "7MB"
*MemoryConfigKB: PAIR(7168, 7051)
}
*Option: 8192KB
{
*Name: "8MB"
*MemoryConfigKB: PAIR(8192, 8075)
}
*Option: 9216KB
{
*Name: "9MB"
*MemoryConfigKB: PAIR(9216, 9099)
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<000000001B>[K<180000>1<01000000000000000000000000041B>[K<030000>1<01>"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>[K<030000>1<00>"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.3
*Cmd: "<1B>[F<050000000000>" %c[1,255]{NumOfCopies}
}
*RotateCoordinate?: FALSE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_UA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE)
}
}
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>[Q<04000A04>" %m{DestX } }
*Command: CmdXMoveRelRight { *Cmd : "<1B>[Q<06000004>" %m{DestXRel }"<0000>" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>[Q<04000B04>" %m{DestY } }
*Command: CmdYMoveRelDown { *Cmd : "<1B>[Q<060000040000>" %m{DestYRel } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<00>" }
*Command: CmdUniDirectionOff { *Cmd : "<00>" }
*Command: CmdPushCursor { *Cmd : "<1B>[j<010000>" }
*Command: CmdPopCursor { *Cmd : "<1B>[j<010003>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 7
*DefaultCTT: -2
*CharPosition: BASELINE
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+ 17,18,19,20,21)
*%*MinFontID: 3840
*%*MaxFontID: 4095
*%*Command: CmdSetFontID { *Cmd : "<1B>=<0400>A<0F>" %m{NextFontID} }
*%*Command: CmdSelectFontID { *Cmd : "<1B>[I<0800>" %m{CurrentFontID}"<00000200FF00>" }
*Command: CmdBoldOn { *Cmd : "<1B>G" }
*Command: CmdBoldOff { *Cmd : "<1B>H" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
*Include: "ttfsub.gpd"
*TTFSEnabled?: TRUE