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.
 
 
 
 
 
 

765 lines
22 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "GW6330C.GPD"
*Include: "STDNAMES.GPD"
*GPDFileVersion: "1.000"
*CodePage: 1252
*ModelName: "Great Wall 6330"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "GW63CRES.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: TRACTOR
*Option: TRACTOR
{
*rcNameID: =TRACTOR_DISPLAY
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
}
}
*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)
*% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
*SpotDiameter: 170
*Command: CmdSendBlockData { *Cmd : "<1B>%%I(" %m{(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>%%1" %m{(NumOfDataBytes / 3) } }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2820, 3800)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2820, 3616)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2820, 4880)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2820, 4696)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: A3
{
*rcNameID: =A3_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3816, 5794)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3816, 5610)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2737, 4048)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2737->2736) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2736, 4048)
}
}
}
*case: MANUAL
{
*PrintableArea: PAIR(2737, 3864)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable width is adjusted (2737->2736) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2736, 3864)
}
}
}
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(1859, 2817)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (2817->2816) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1859, 2816)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (1859->1858) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2817->2816) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1858, 2816)
}
}
}
*case: MANUAL
{
*PrintableArea: PAIR(1859, 2633)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (2633->2632) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1859, 2632)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (1859->1858) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2633->2632) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1858, 2632)
}
}
}
}
}
*Option: B4
{
*rcNameID: =B4_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3403, 4999)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (4999->4998) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3403, 4998)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (3403->3402) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4999->4998) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3402, 4998)
}
}
}
*case: MANUAL
{
*PrintableArea: PAIR(3403, 4815)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (4815->4814) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3403, 4814)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (3403->3402) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4815->4814) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3402, 4814)
}
}
}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2341, 3483)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (3483->3482) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2341, 3482)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2341->2340) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3483->3482) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2340, 3482)
}
}
}
*case: MANUAL
{
*PrintableArea: PAIR(2341, 3299)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (3299->3298) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2341, 3298)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2341->2340) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3299->3298) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2340, 3298)
}
}
}
}
}
*Option: Option8
{
*rcNameID: 258
*PageDimensions: PAIR(2340, 1446)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2100, 1286)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2100, 1102)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option9
{
*rcNameID: 259
*PageDimensions: PAIR(2340, 1446)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2100, 1286)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2100, 1102)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option10
{
*rcNameID: 260
*PageDimensions: PAIR(2496, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2256, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2256, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option11
{
*rcNameID: 261
*PageDimensions: PAIR(2496, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2256, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2256, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option12
{
*rcNameID: 262
*PageDimensions: PAIR(2496, 1774)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2256, 1614)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2256, 1430)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option13
{
*rcNameID: 263
*PageDimensions: PAIR(2496, 1774)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2256, 1614)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2256, 1430)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option14
{
*rcNameID: 264
*PageDimensions: PAIR(2950, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2710, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2710, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option15
{
*rcNameID: 265
*PageDimensions: PAIR(2950, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2710, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2710, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option16
{
*rcNameID: 266
*PageDimensions: PAIR(3120, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2880, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2880, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option17
{
*rcNameID: 267
*PageDimensions: PAIR(3120, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2880, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2880, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option18
{
*rcNameID: 268
*PageDimensions: PAIR(3120, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2880, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2880, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option19
{
*rcNameID: 269
*PageDimensions: PAIR(3120, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2880, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2880, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option20
{
*rcNameID: 270
*PageDimensions: PAIR(2496, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2256, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2256, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option21
{
*rcNameID: 271
*PageDimensions: PAIR(2496, 1560)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(2256, 1400)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(2256, 1216)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option22
{
*rcNameID: 272
*PageDimensions: PAIR(3262, 2270)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3022, 2110)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3022, 1926)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option23
{
*rcNameID: 273
*PageDimensions: PAIR(3262, 2270)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3022, 2110)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3022, 1926)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option24
{
*rcNameID: 274
*PageDimensions: PAIR(4382, 1702)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3816, 1542)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3816, 1358)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option25
{
*rcNameID: 275
*PageDimensions: PAIR(4382, 1702)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3816, 1542)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3816, 1358)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option26
{
*rcNameID: 276
*PageDimensions: PAIR(4595, 3248)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3816, 3088)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3816, 2904)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: Option27
{
*rcNameID: 277
*PageDimensions: PAIR(4595, 3248)
*switch: InputBin
{
*case: TRACTOR
{
*PrintableArea: PAIR(3816, 3088)
*PrintableOrigin: PAIR(120, 0)
}
*case: MANUAL
{
*PrintableArea: PAIR(3816, 2904)
*PrintableOrigin: PAIR(120, 120)
}
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(180, 180)
*MaxSize: PAIR(3816, 32767)
*MaxPrintableWidth: 3816
*MinLeftMargin: 0
*CenterPrintable?: FALSE
*switch: InputBin
{
*case: TRACTOR
{
*TopMargin: 0
*BottomMargin: 0
}
*case: MANUAL
{
*TopMargin: 120
*BottomMargin: 224
}
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: LETTER_QUALITY
*Option: LETTER_QUALITY
{
*rcNameID: =LETTER_QUALITY_DISPLAY
}
*Option: DRAFT_QUALITY
{
*rcNameID: =DRAFT_QUALITY_DISPLAY
}
}
*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: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<10>B"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: TRUE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_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: *
*YMoveThreshold: *
*XMoveUnit: 180
*YMoveUnit: 120
*Command: CmdXMoveRelRight { *Cmd : "<1B>%%3" %m[1,1908]{(DestXRel / 2)} }
*Command: CmdYMoveRelDown { *Cmd : "<1B>%%5" %c[0,255]{max_repeat(DestYRel / 3)} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>%%9<00>" %c[0,255]{(LinefeedSpacing / 3)} }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<1B>%%U" }
*Command: CmdUniDirectionOff { *Cmd : "<1B>%%B" }
*EjectPageWithFF?: TRUE
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 13
*DefaultCTT: 0
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+ 17,20,23,26,29,32,35,38,41,44,47,50,53,56,59)
*Command: CmdBoldOn { *Cmd : "<1B>m" }
*Command: CmdBoldOff { *Cmd : "<1B>n" }
*Command: CmdUnderlineOn { *Cmd : "<1B>X" }
*Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
*Command: CmdVerticalPrintingOn { *Cmd : "<1C>J" }
*Command: CmdVerticalPrintingOff { *Cmd : "<1C>K" }