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.
 
 
 
 
 
 

729 lines
22 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*Include: "StdNames.gpd"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "pcl4res.dll"
*PrintRate: 10
*PrintRatePPM: 10
*PrintRateUnit: PPM
*PrinterType: PAGE
*MaxCopies: 99
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l0O"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l1O"
}
}
}
*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(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.5
*Cmd: "<1B>*t300R"
}
}
*Option: Option2
{
*Name: "150 x 150 " =DOTS_PER_INCH
*DPI: PAIR(150, 150)
*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.5
*Cmd: "<1B>*t150R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2390, 3150)
*PrintableOrigin: PAIR(76, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2388, 3148)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(68, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l2a4d1e42F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2400, 3150)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2398, 3148)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(66, 3240)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l2a4d1e42F"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2400, 4050)
*PrintableOrigin: PAIR(78, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2398, 4048)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(80, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l3a4d1e54F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2410, 4060)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2408, 4058)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(66, 4140)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l3a4d1e54F"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2025, 3000)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2024, 2998)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(68, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l1a4d1e40F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2025, 3000)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2024, 2998)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(66, 3090)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l1a4d1e40F"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2331, 3357)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2330, 3356)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(68, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l26a4d1e45F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2331, 3357)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2330, 3356)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(66, 3447)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l26a4d1e45F"
}
}
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1856, 2791)
*PrintableOrigin: PAIR(85, 76)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1854, 2790)
*PrintableOrigin: PAIR(85, 76)
}
}
*CursorOrigin: PAIR(85, 76)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l100a4d1e45F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1856, 2756)
*PrintableOrigin: PAIR(96, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1854, 2756)
*PrintableOrigin: PAIR(96, 130)
}
}
*CursorOrigin: PAIR(96, 2871)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l100a4d1e45F"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1089, 2700)
*PrintableOrigin: PAIR(78, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1088, 2698)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(80, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l81a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1089, 2700)
*PrintableOrigin: PAIR(75, 65)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1088, 2698)
*PrintableOrigin: PAIR(76, 66)
}
}
*CursorOrigin: PAIR(66, 2790)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l81a4d1E"
}
}
}
}
*Option: ENV_B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1926, 2791)
*PrintableOrigin: PAIR(75, 100)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1924, 2790)
*PrintableOrigin: PAIR(76, 100)
}
}
*CursorOrigin: PAIR(68, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l100a4d1e45F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1926, 2776)
*PrintableOrigin: PAIR(75, 130)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1924, 2776)
*PrintableOrigin: PAIR(76, 130)
}
}
*CursorOrigin: PAIR(66, 2976)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l100a4d1e45F"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1149, 2448)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1148, 2446)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(68, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l90a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1149, 2448)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1148, 2446)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(66, 2538)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l90a4d1E"
}
}
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1764, 2556)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1762, 2554)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(68, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l91a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1764, 2556)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1762, 2554)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(66, 2646)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l91a4d1E"
}
}
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1008, 2100)
*PrintableOrigin: PAIR(78, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1006, 2098)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(80, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l80a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1008, 2100)
*PrintableOrigin: PAIR(78, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1006, 2098)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(80, 2190)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l80a4d1E"
}
}
}
}
*Option: ENV_C4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 4109
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2384, 3703)
*PrintableOrigin: PAIR(127, 50)
*CursorOrigin: PAIR(75, 40)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1027a8c1E<1B>*p0x0Y<1B>*c0t4234x6254Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2384, 3703)
*PrintableOrigin: PAIR(127, 50)
*CursorOrigin: PAIR(50, 3753)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l1027a8c1E<1B>*p0x0Y<1B>*c0t6134x4354Y"
}
}
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(1558, 2331)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1556, 2330)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(75, 75)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l1025a4d1e45f900U"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(1558, 2331)
*PrintableOrigin: PAIR(75, 75)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1556, 2330)
*PrintableOrigin: PAIR(76, 76)
}
}
*CursorOrigin: PAIR(75, 2421)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l1025a4d1e45f900u-2460Z"
}
}
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(150, 300)
*MaxSize: PAIR(2550, 3900)
*MaxPrintableWidth: 2400
*MinLeftMargin: 50
*CenterPrintable?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l26a4d1e45F"
}
}
*case: LANDSCAPE_CC90
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>&l26a4d1e45F"
}
}
}
}
}
*Feature: Halftone
{
*rcNameID: =HALFTONING_DISPLAY
*DefaultOption: HT_PATSIZE_AUTO
*Option: HT_PATSIZE_AUTO
{
*rcNameID: =HT_AUTO_SELECT_DISPLAY
}
*Ifdef: WINNT_50
*Option: HT_PATSIZE_SUPERCELL_M
{
*rcNameID: =HT_SUPERCELL_DISPLAY
}
*Endif:
*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, 1931)
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>E<1B>&l0L<1B>*r0F<1B>&l0S"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
}
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{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" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 314
*DefaultCTT: 0
*MaxFontUsePerPage: 32
*CharPosition: BASELINE
*DLSymbolSet: ROMAN_8
*DeviceFonts: LIST(308,309,310,311,312,313,314,315,324,325,326,327)
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*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" }