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.
 
 
 
 
 
 

688 lines
19 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "SPJX9685.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*Include: "ttfsub.gpd"
*ModelName: "Sharp JX-9685"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "pcl5eres.dll"
*PrinterType: PAGE
*MaxCopies: 32767
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "<1B>&l0o1E"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "<1B>&l1o1E"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l0H"
}
}
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l1H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l2H"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l4H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "600 x 600 " =DOTS_PER_INCH
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "@PJL SET RESOLUTION=600<0D0A>@PJL ENTER LANGUAGE=PCL<0A1B>&f6X<1B>E<1B>*t600R"
}
}
*Option: Option2
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "@PJL SET RESOLUTION=300<0D0A>@PJL ENTER LANGUAGE=PCL<0A1B>&f6X<1B>&u300D<1B>E<1B>"
+ "*t300R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 6324)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4880, 6344)
*PrintableOrigin: PAIR(100, 136)
*CursorOrigin: PAIR(100, 6480)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 5230
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 8124)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 80)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9888Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4860, 8130)
*PrintableOrigin: PAIR(120, 150)
*CursorOrigin: PAIR(100, 8280)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
}
}
}
}
*Option: FOLIO
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 5230
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 7524)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 80)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l110a8c1E<1B>*p0x0Y<1B>*c0t5760x9888Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4860, 7530)
*PrintableOrigin: PAIR(120, 150)
*CursorOrigin: PAIR(100, 7680)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l110a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4050, 6024)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4110, 6040)
*PrintableOrigin: PAIR(120, 140)
*CursorOrigin: PAIR(100, 6180)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4249
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4646, 6738)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4732, 6758)
*PrintableOrigin: PAIR(110, 136)
*CursorOrigin: PAIR(100, 6894)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
}
}
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 2125
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3198, 4686)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 80)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3838x5762Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(3198, 4662)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 4812)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5594x3958Y"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2148, 5400)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 80)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6648Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2178, 5400)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 5550)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2298, 4856)
*PrintableOrigin: PAIR(150, 200)
*CursorOrigin: PAIR(150, 88)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2758x6043Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2298, 4896)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 5046)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
}
}
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1998, 4200)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5160Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2028, 4200)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 4350)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2554Y"
}
}
}
}
}
*Feature: PrintDensity
{
*rcNameID: =PRINTDENSITY_DISPLAY
*DefaultOption: Option3
*Option: Option1
{
*rcNameID: 405
}
*Option: Option2
{
*rcNameID: 346
}
*Option: Option3
{
*rcNameID: 404
}
}
*Feature: Halftone
{
*rcNameID: =HALFTONING_DISPLAY
*DefaultOption: HT_PATSIZE_AUTO
*Option: HT_PATSIZE_AUTO
{
*rcNameID: =HT_AUTO_SELECT_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: 2048KB
*MemConfigKB: PAIR(2048, 1350)
*MemConfigKB: PAIR(3072, 1843)
*MemConfigKB: PAIR(4096, 3150)
*MemConfigKB: PAIR(5120, 4050)
*MemConfigKB: PAIR(6144, 4950)
*MemConfigKB: PAIR(7168, 5850)
*MemConfigKB: PAIR(8192, 6750)
*MemConfigKB: PAIR(9216, 7650)
*MemConfigKB: PAIR(10240, 8550)
*MemConfigKB: PAIR(11264, 9450)
*MemConfigKB: PAIR(12288, 10350)
*MemConfigKB: PAIR(13312, 11250)
*MemConfigKB: PAIR(14336, 12150)
*MemConfigKB: PAIR(15360, 13050)
*MemConfigKB: PAIR(16384, 13950)
*MemConfigKB: PAIR(17408, 14850)
*MemConfigKB: PAIR(18432, 15950)
*MemConfigKB: PAIR(19456, 16650)
*MemConfigKB: PAIR(20480, 17550)
*MemConfigKB: PAIR(21504, 18450)
*MemConfigKB: PAIR(22528, 19350)
*MemConfigKB: PAIR(23552, 20250)
*MemConfigKB: PAIR(24576, 21150)
*MemConfigKB: PAIR(25600, 22050)
*MemConfigKB: PAIR(26624, 22950)
*MemConfigKB: PAIR(27648, 23850)
*MemConfigKB: PAIR(28672, 24750)
*MemConfigKB: PAIR(29696, 25650)
*MemConfigKB: PAIR(30720, 26550)
*MemConfigKB: PAIR(31744, 27450)
*MemConfigKB: PAIR(32768, 28350)
*MemConfigKB: PAIR(33792, 29250)
*MemConfigKB: PAIR(34816, 30150)
*MemConfigKB: PAIR(35840, 31050)
*MemConfigKB: PAIR(36864, 31950)
*MemConfigKB: PAIR(37888, 32850)
*MemConfigKB: PAIR(38912, 33750)
*MemConfigKB: PAIR(39936, 34650)
*MemConfigKB: PAIR(40960, 35550)
*MemConfigKB: PAIR(41984, 36450)
*MemConfigKB: PAIR(43008, 37350)
*MemConfigKB: PAIR(44032, 38250)
*MemConfigKB: PAIR(45056, 39150)
*MemConfigKB: PAIR(46080, 40050)
*MemConfigKB: PAIR(47104, 40950)
*MemConfigKB: PAIR(48128, 41850)
*MemConfigKB: PAIR(49152, 42750)
*MemConfigKB: PAIR(50176, 43650)
*MemConfigKB: PAIR(51200, 44550)
}
*Feature: Duplex
{
*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
*DefaultOption: NONE
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l0S"
}
}
*Option: VERTICAL
{
*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l1S"
}
}
*Option: HORIZONTAL
{
*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l2S"
}
}
}
*Feature: PageProtect
{
*rcNameID: =PAGE_PROTECTION_DISPLAY
*DefaultOption: OFF
*Option: ON
{
*rcNameID: =ON_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=LETTER<0A>"
}
}
*Option: OFF
{
*rcNameID: =OFF_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=OFF<0A>"
}
}
}
*switch: Memory
{
*case: 2048KB
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&u600D<1B>*r3F"
}
*RotateRaster?: FALSE
}
*case: 3072KB
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&u600D<1B>*r3F"
}
*RotateRaster?: FALSE
}
*default:
{
*Command: CmdStartDoc
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&u600D<1B>*r0F"
}
*RotateRaster?: TRUE
}
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E<1B>%%-12345X"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.9
*Cmd: "<1B>&l" %d[1,32767]{NumOfCopies}"X"
}
*RotateCoordinate?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat(DestXRel )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat(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>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<00>" }
*Command: CmdUniDirectionOff { *Cmd : "<00>" }
*Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
*Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
*Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 216
*DefaultCTT: 0
*CharPosition: BASELINE
*TTFSEnabled?: TRUE
*DeviceFonts: LIST(146,147,148,149,150,151,152,153,154,155,156,157,164,165,166,
+ 196,197,198,199,200,201,202,203,209,210,211,212,213,214,215,
+ 216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,138)
*MinFontID: 16534
*MaxFontID: 32768
*FontFormat: HPPCL_OUTLINE
*Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
*Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
*Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
*Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
*MinGrayFill: 1
*MaxGrayFill: 100
*Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize }"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize }"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }