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.
 
 
 
 
 
 

500 lines
13 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "IB4029.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "IBM 4029 LaserPrinter"
*MasterUnits: PAIR(300, 300)
*ResourceDLL: "ibppdres.dll"
*PrinterType: PAGE
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>k"
}
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>l"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: UPPER
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<0300030103>"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<010001>"
}
}
*Option: ENVFEED
{
*rcNameID: =ENV_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<02000302>"
}
}
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<0300030101>"
}
}
*Option: LOWER
{
*rcNameID: =LOWER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>[F<0300030102>"
}
}
}
*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: CmdSendBlockData { *Cmd : "<1B>[h" %l{NumOfDataBytes + 10}"<0901>,<01>," %m{RasterDataWidthInBytes }"<0011>"
+ "<00>" }
}
*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: CmdSendBlockData { *Cmd : "<1B>[h" %l{NumOfDataBytes + 10}"<0900960096>" %m{RasterDataWidthInBytes }"<0011>"
+ "<00>" }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2400, 3200)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2398, 3200)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010001>"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2400, 4100)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2398, 4100)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010002>"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1971, 2926)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1970, 2926)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010003>"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2361, 3407)
*PrintableOrigin: PAIR(40, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2360, 3406)
}
}
*CursorOrigin: PAIR(40, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010004>"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2025, 3050)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(2024, 3050)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010005>"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1569, 2326)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1568, 2326)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<040000010006>"
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(984, 2150)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(982, 2150)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<0400000200011B>k"
}
}
*Option: ENV_9
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(984, 2509)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(982, 2508)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<0400000200021B>k"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1059, 2750)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1058, 2750)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<0400000200031B>k"
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1149, 2498)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1148, 2498)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<0400000200041B>k"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1734, 2551)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1732, 2550)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<0400000200051B>k"
}
}
*Option: ENV_B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1899, 2852)
*PrintableOrigin: PAIR(75, 50)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(1898, 2852)
*PrintableOrigin: PAIR(76, 50)
}
}
*CursorOrigin: PAIR(75, 50)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>[F<0400000200061B>k"
}
}
}
*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: 1024KB
*Option: 1024KB
{
*Name: "1MB"
*MemoryConfigKB: PAIR(1024, 931)
}
*Option: 2048KB
{
*Name: "2MB"
*MemoryConfigKB: PAIR(2048, 1955)
}
*Option: 3072KB
{
*Name: "3MB"
*MemoryConfigKB: PAIR(3072, 2979)
}
*Option: 4096KB
{
*Name: "4MB"
*MemoryConfigKB: PAIR(4096, 4003)
}
*Option: 5120KB
{
*Name: "5MB"
*MemoryConfigKB: PAIR(5120, 5027)
}
*Option: 6144KB
{
*Name: "6MB"
*MemoryConfigKB: PAIR(6144, 6051)
}
*Option: 7168KB
{
*Name: "7MB"
*MemoryConfigKB: PAIR(7168, 7075)
}
*Option: 8192KB
{
*Name: "8MB"
*MemoryConfigKB: PAIR(8192, 8099)
}
*Option: 9216KB
{
*Name: "9MB"
*MemoryConfigKB: PAIR(9216, 9123)
}
*Option: 10240KB
{
*Name: "10MB"
*MemoryConfigKB: PAIR(10240, 10147)
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<000000001B>[K<180000>1<01000000000000000000000000041B>[K<030000>1<01>"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>[K<030000>1<00>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_SF_X_YINDEP,TC_SA_DOUBLE,TC_EA_DOUBLE,TC_UA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE)
}
}
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>[Q<04000A04>" %m{DestX } }
*Command: CmdXMoveRelRight { *Cmd : "<1B>[Q<06000004>" %m{DestXRel }"<0000>" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>[Q<04000B04>" %m{DestY } }
*Command: CmdYMoveRelDown { *Cmd : "<1B>[Q<060000040000>" %m{DestYRel } }
*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>[j<010000>" }
*Command: CmdPopCursor { *Cmd : "<1B>[j<010003>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultFont: 7
*DefaultCTT: -2
*CharPosition: BASELINE
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
+ 17,18,19,20,21)
*Command: CmdBoldOn { *Cmd : "<1B>G" }
*Command: CmdBoldOff { *Cmd : "<1B>H" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
*MinGrayFill: 100
*MaxGrayFill: 100
*Command: CmdSetRectWidth { *Cmd : "<1B>[i<08000100>" %m{RectXSize } }
*Command: CmdSetRectHeight { *Cmd : %m{RectYSize }"<0101>" }