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.
 
 
 
 
 
 

490 lines
16 KiB

*%
*% Copyright (c) 1997 - 2000 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*CodePage: 949
*GPDFileName: "ssij630k.gpd"
*ModelName: "»ï¼º SIJ-630"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "pcl3kres.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: AUTO
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l1H"
}
}
*Option: ENVMANUAL
{
*rcNameID: =ENV_MANUAL_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l3H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 160
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>*t300R"
}
}
*Option: Option2
{
*Name: "150 x 150 " =DOTS_PER_INCH
*DPI: PAIR(150, 150)
*TextDPI: PAIR(150, 150)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 140
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>*t150R"
}
}
*Option: Option3
{
*Name: "75 x 75 " =DOTS_PER_INCH
*DPI: PAIR(75, 75)
*TextDPI: PAIR(75, 75)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 120
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rC" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>*t75R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2400, 3025)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2400->2398) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3025->3024) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2398, 3024)
*% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(76, 76)
}
*case: Option3
{
*% Warning: the following printable width is adjusted (2400->2396) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3025->3024) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2396, 3024)
*% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(75, 45)
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l2A"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2400, 3232)
*PrintableOrigin: PAIR(38, 75)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable length is adjusted (3232->3230) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2400, 3230)
*% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(38, 76)
}
*case: Option3
{
*% Warning: the following printable width is adjusted (2400->2396) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3232->3228) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2396, 3228)
*% Warning: the following printable origin X is adjusted (38->40) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(40, 76)
}
}
*CursorOrigin: PAIR(38, 45)
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l26A"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(2400, 1009)
*PrintableOrigin: PAIR(225, 30)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2400->2398) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1009->1008) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2398, 1008)
*% Warning: the following printable origin X is adjusted (225->226) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(226, 30)
}
*case: Option3
{
*% Warning: the following printable width is adjusted (2400->2396) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1009->1004) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2396, 1004)
*% Warning: the following printable origin X is adjusted (225->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (30->32) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(228, 32)
}
}
*CursorOrigin: PAIR(225, 25)
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l81A"
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(2148, 1069)
*PrintableOrigin: PAIR(225, 30)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2148->2146) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1069->1068) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2146, 1068)
*% Warning: the following printable origin X is adjusted (225->226) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(226, 30)
}
*case: Option3
{
*% Warning: the following printable width is adjusted (2148->2144) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1069->1064) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2144, 1064)
*% Warning: the following printable origin X is adjusted (225->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (30->32) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(228, 32)
}
}
*CursorOrigin: PAIR(225, 25)
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l6d0e26P"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(2256, 1684)
*PrintableOrigin: PAIR(225, 30)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2256->2254) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2254, 1684)
*% Warning: the following printable origin X is adjusted (225->226) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(226, 30)
}
*case: Option3
{
*% Warning: the following printable width is adjusted (2256->2252) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1684->1680) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2252, 1680)
*% Warning: the following printable origin X is adjusted (225->228) so it is divisible by the resolution X scale.
*% Warning: the following printable origin Y is adjusted (30->32) so it is divisible by the resolution Y scale.
*PrintableOrigin: PAIR(228, 32)
}
}
*CursorOrigin: PAIR(225, 25)
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l8d0e51P"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(300, 300)
*MaxSize: PAIR(2550, 3900)
*MaxPrintableWidth: 2400
*MinLeftMargin: 0
*CenterPrintable?: FALSE
*TopMargin: 0
*BottomMargin: 200
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
}
}
}
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: STANDARD
*Option: STANDARD
{
*rcNameID: =PLAIN_PAPER_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&b10T"
}
}
*Option: TRANSPARENCY
{
*rcNameID: =TRANSPARENCY_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&k3W<1B>*o2Q"
}
}
*Option: Option3
{
*rcNameID: 265
*OptionID: 258
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
}
}
*Option: GLOSSY
{
*rcNameID: =GLOSSY_PAPER_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&k3W<1B>*o2Q"
}
}
*Option: Option5
{
*rcNameID: 266
*OptionID: 259
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 272
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(s2Q<1B>*r2Q"
}
}
*Option: Option2
{
*rcNameID: 273
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(s1Q<1B>*r1Q"
}
}
*Option: Option3
{
*rcNameID: 274
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
}
}
}
*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color
*Option: Mono
{
*rcNameID: =MONO_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 1
*Color? : FALSE
}
*Option: Color
{
*rcNameID: =COLOR_DISPLAY
*DevNumOfPlanes: 3
*DevBPP: 1
*DrvBPP: 4
EXTERN_GLOBAL: *RasterSendAllData? : TRUE
*ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
*Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
*Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
*Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
*Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
*Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
*Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
*Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
*Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
*Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
*Command: CmdSelect
{
*Order: PAGE_SETUP.9
*Cmd: "<1B>*r-3U"
}
}
}
*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: "<1B>[K<030005BA021B>E<1B>&l0O<1B>&l0L<1B>*r1U"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST()
}
}
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*LookAheadRegion: 180
*DefaultCTT: 0
*CharPosition: BASELINE