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.
 
 
 
 
 
 

712 lines
20 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "BUPM1625.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Bull Compuprint PageMaster 1625"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "pcl5eres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*NoPageEject?: TRUE
*Cmd: "<1B>&l0o1E"
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*NoPageEject?: TRUE
*Cmd: "<1B>&l1o1E"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: UPPER
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l1H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l2H"
}
}
*Option: ENVMANUAL
{
*rcNameID: =ENV_MANUAL_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l3H"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>&l4H"
}
}
}
*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.8
*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.8
*Cmd: "<1B>*t150R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4752, 6292)
*PrintableOrigin: PAIR(150, 154)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4748, 6288)
*PrintableOrigin: PAIR(152, 156)
}
}
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l2a4d1e42f+20U"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4752, 6292)
*PrintableOrigin: PAIR(198, 154)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4748, 6288)
*PrintableOrigin: PAIR(200, 156)
}
}
*CursorOrigin: PAIR(150, 6480)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l2a4d1e42f+20U"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 5230
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4752, 8100)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4748, 8096)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l3a8c1e+70z+20U<1B>*p0x0Y<1B>*c0t5760x9720Y"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4752, 8100)
*PrintableOrigin: PAIR(198, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4748, 8096)
*PrintableOrigin: PAIR(200, 152)
}
}
*CursorOrigin: PAIR(150, 8250)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l3a8c1e+80U<1B>*p0x0Y<1B>*c0t9720x5760Y"
}
}
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4050, 6000)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4048, 5996)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l1a4d1e40F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4050, 6000)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4048, 5996)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 6180)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l1a4d1e40F"
}
}
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 1063
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4662, 6714)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4660, 6712)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(142, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l26a8c1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4662, 6714)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4660, 6712)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 6896)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l26a4d1e45F"
}
}
}
}
*Option: Option5
{
*rcNameID: 461
*PageDimensions: PAIR(4962, 3498)
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4662, 3198)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4660, 3196)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(142, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l29a4d1e21F"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4662, 3198)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4660, 3196)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 3380)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l29a4d1e21F"
}
}
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2178, 5400)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2176, 5396)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l81a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2178, 5400)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2176, 5396)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 5580)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l81a4d1E"
}
}
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2298, 4896)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2296, 4892)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(142, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l90a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2298, 4896)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2296, 4892)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 5078)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l90a4d1E"
}
}
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(3528, 5112)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(3524, 5108)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(142, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l91a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(3528, 5112)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(3524, 5108)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 5294)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l91a4d1E"
}
}
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PageProtectMem: 0
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(2028, 4200)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2024, 4196)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l80a4d1E"
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(2028, 4200)
*PrintableOrigin: PAIR(150, 150)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2024, 4196)
*PrintableOrigin: PAIR(152, 152)
}
}
*CursorOrigin: PAIR(150, 4380)
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>&l80a4d1E"
}
}
}
}
}
*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
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1645)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 3979)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 5425)
}
*Option: 8192KB
{
*Name: "8MB"
*MemoryConfigKB: PAIR(8192, 7340)
}
*Option: 10240KB
{
*Name: "10MB"
*MemoryConfigKB: PAIR(10240, 9205)
}
*Option: 12288KB
{
*Name: "12MB"
*MemoryConfigKB: PAIR(12288, 10350)
}
*Option: 14336KB
{
*Name: "14MB"
*MemoryConfigKB: PAIR(14336, 12985)
}
*Option: 16384KB
{
*Name: "16MB"
*MemoryConfigKB: PAIR(16384, 13950)
}
}
*Feature: Duplex
{
*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
*DefaultOption: NONE
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l0S"
}
}
*Option: VERTICAL
{
*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l1S"
}
}
*Option: HORIZONTAL
{
*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>&l2S"
}
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>E<1B>&l0S<1B>*r0F"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B>*b0M<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.9
*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, 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 / 2) }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat((DestXRel / 2) )}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,6300]{max_repeat((DestYRel / 2) )}"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,6300]{max_repeat((DestYRel / 2) )}"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
*DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153)
*MinFontID: 1
*MaxFontID: 99
*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 / 2) }"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
*Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }