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.
 
 
 
 
 
 

769 lines
21 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "jil510k.gpd"
*ModelName: "FIRSTEC JP-L510 (PCL5e)"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "pcl5kres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l0O"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>&l1O"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 603
*OptionID: 603
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*Cmd: "<1B>&l1H"
}
}
}
*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.6
*Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>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.6
*Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 6330)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 110)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7656Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4880, 6360)
*PrintableOrigin: PAIR(100, 120)
*CursorOrigin: PAIR(100, 6480)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7652x5880Y"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*PageProtectMem: 5230
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4800, 8130)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4880, 8160)
*PrintableOrigin: PAIR(100, 120)
*CursorOrigin: PAIR(100, 8280)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =EXECUTIVE_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4050, 6030)
*PrintableOrigin: PAIR(124, 150)
*CursorOrigin: PAIR(124, 120)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4922x7272Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4110, 6060)
*PrintableOrigin: PAIR(120, 120)
*CursorOrigin: PAIR(80, 6180)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x5028Y"
}
}
}
}
*Option: TABLOID
{
*rcNameID: =TABLOID_DISPLAY
*PageProtectMem: 9350
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(5100, 9930)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12024Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(5100, 9960)
*PrintableOrigin: PAIR(100, 120)
*CursorOrigin: PAIR(100, 10080)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
}
}
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PageProtectMem: 4249
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4672, 6744)
*PrintableOrigin: PAIR(124, 150)
*CursorOrigin: PAIR(124, 100)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5657x8177Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4712, 6774)
*PrintableOrigin: PAIR(120, 120)
*CursorOrigin: PAIR(80, 6894)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8128x5762Y"
}
}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PageProtectMem: 3198
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4002, 5802)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4072, 5832)
*PrintableOrigin: PAIR(110, 120)
*CursorOrigin: PAIR(100, 5952)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =ENV_10_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2168, 5400)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2614x6624Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2178, 5400)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 5550)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6480x2734Y"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =ENV_DL_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2288, 4896)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l-90a8c1E<1B>*p0x0Y<1B>*c0t2757x6019Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2298, 4896)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 5046)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l-90a8c1E<1B>*p0x0Y<1B>*c0t5875x2878Y"
}
}
}
}
*Option: ENV_C5
{
*rcNameID: =ENV_C5_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3518, 5112)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4234x6278Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(3528, 5112)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 5262)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
}
}
}
}
*Option: ENV_MONARCH
{
*rcNameID: =ENV_MONARCH_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2018, 4200)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2434x5184Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2028, 4200)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 4350)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5040x2557Y"
}
}
}
}
*Option: ENV_B5
{
*rcNameID: =ENV_B5_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3858, 5604)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4630x6869Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(3858, 5604)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 5754)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6725x4750Y"
}
}
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2054, 3198)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t2476x3982Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2064, 3198)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 3348)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l71a8c1E<1B>*p0x0Y<1B>*c0t3838x2598Y"
}
}
}
}
*Option: Option13
{
*rcNameID: 258
*OptionID: 258
*PageDimensions: PAIR(3498, 4728)
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3188, 4428)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(150, 90)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3838x5458Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(3198, 4428)
*PrintableOrigin: PAIR(150, 150)
*CursorOrigin: PAIR(100, 4578)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5314x3958Y"
}
}
}
}
}
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 262
*OptionID: 262
}
*Option: Option2
{
*rcNameID: 263
*OptionID: 263
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "@PJL SET ECONOMODE=OFF<0A>"
}
}
*Option: Option3
{
*rcNameID: 264
*OptionID: 264
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "@PJL SET ECONOMODE=ON<0A>"
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 315
}
*Option: Option2
{
*rcNameID: 317
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=LIGHT<0A>"
}
}
*Option: Option3
{
*rcNameID: 318
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=MEDIUM<0A>"
}
}
*Option: Option4
{
*rcNameID: 319
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=DARK<0A>"
}
}
*Option: Option5
{
*rcNameID: 320
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "@PJL SET RET=OFF<0A>"
}
}
}
*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: 8192KB
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1931)
}
*Option: 3072KB
{
*Name: "3MB"
*MemoryConfigKB: PAIR(3072, 2995)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3150)
}
*Option: 5120KB
{
*Name: "5MB"
*MemoryConfigKB: PAIR(5120, 4050)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 4950)
}
*Option: 7168KB
{
*Name: "7MB"
*MemoryConfigKB: PAIR(7168, 5850)
}
*Option: 8192KB
{
*Name: "8MB"
*MemoryConfigKB: PAIR(8192, 6750)
}
*Option: 9216KB
{
*Name: "9MB"
*MemoryConfigKB: PAIR(9216, 7650)
}
*Option: 10240KB
{
*Name: "10MB"
*MemoryConfigKB: PAIR(10240, 8550)
}
*Option: 11264KB
{
*Name: "11MB"
*MemoryConfigKB: PAIR(11264, 9450)
}
*Option: 12288KB
{
*Name: "12MB"
*MemoryConfigKB: PAIR(12288, 10350)
}
*Option: 13312KB
{
*Name: "13MB"
*MemoryConfigKB: PAIR(13312, 11250)
}
*Option: 14336KB
{
*Name: "14MB"
*MemoryConfigKB: PAIR(14336, 12150)
}
*Option: 15360KB
{
*Name: "15MB"
*MemoryConfigKB: PAIR(15360, 13050)
}
*Option: 16384KB
{
*Name: "16MB"
*MemoryConfigKB: PAIR(16384, 13950)
}
}
*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=ON<0A>"
}
}
*Option: OFF
{
*rcNameID: =OFF_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: "<1B>%%-12345X@PJL SET PAGEPROTECT=AUTO<0A>"
}
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&u600D<1B>*r0F"
}
*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.13
*Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
}
*RotateCoordinate?: TRUE
*RotateRaster?: 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,4800]{max_repeat(DestXRel )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{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: 136
*DefaultCTT: 0
*CharPosition: BASELINE
*MinFontID: 16534
*MaxFontID: 32768
*switch: Resolution
{
*case: Option1
{
*FontFormat: HPPCL_OUTLINE
}
*case: Option2
{
*FontFormat: HPPCL_RES
}
}
*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: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
*Command: CmdWhiteTextOff { *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" }