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.
 
 
 
 
 
 

654 lines
16 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "ATE740J.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "APTi PowerLaser E740"
*MasterUnits: PAIR(1440, 1440)
*ResourceDLL: "PAGESRES.DLL"
*PrinterType: PAGE
*MaxCopies: 255
*PrintRate: 10
*PrintRateUnit: PPM
*rcInstalledOptionNameID: 400
*rcNotInstalledOptionNameID: 401
*% ========== Orientation ==========
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>~P<000100>"
}
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>~P<000103>"
}
}
}
*% ========== InputBin ==========
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 274
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>~F<00050000000000>"
}
}
*Option: Option2
{
*rcNameID: 275
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>~F<00050000010000>"
}
}
*Option: Option3
{
*rcNameID: 276
*Installable?: TRUE
*rcInstallableFeatureNameID: 276
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>~F<00050000020000>"
}
}
}
*% ========== Resolution ==========
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "360 x 360 dots per inch"
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING)
EXTERN_GLOBAL: *SendMultipleRows?: TRUE
*SpotDiameter: 100
*Command: CmdSendBlockData
{
*CallbackID: 20
*Params: LIST(RasterDataHeightInPixels, RasterDataWidthInBytes)
}
*Command: CmdSelect
{
*Order: DOC_SETUP.11
*CallbackID: 13
}
}
}
*% ========== PaperSize ==========
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A3
{
*rcNameID: =A3_DISPLAY
*PrintableArea: PAIR(16264, 23248)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>?<8E>Z<CC02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>Z<CC>?<8E02>"
}
}
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(11340, 16264)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>,J?<8E02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C3F8E2C4A02>"
}
}
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*PrintableArea: PAIR(7828, 11340)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C1E8F>,J<02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>,J<1E8F02>"
}
}
}
}
*Option: B4
{
*rcNameID: =B4_DISPLAY
*PrintableArea: PAIR(14004, 20068)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>6<B3>Ne<02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>Ne6<B302>"
}
}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(9756, 14004)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>&<17>6<B302>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>6<B3>&<1702>"
}
}
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(11672, 15272)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>-<99>;<A902>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>;<A9>-<9902>"
}
}
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*Constraints: LIST(InputBin.Option1, InputBin.Option3)
*PrintableArea: PAIR(5104, 7828)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1b>~8<0009011c011c13ee1e8f02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1b>~8<0009011c011c1e8f13ee02>"
}
}
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*PrintableArea: PAIR(11672, 19592)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>-<99>L<8902>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>L<89>-<9902>"
}
}
}
}
*Option: Option9
{
*rcNameID: 260
*PageDimensions: PAIR(14573, 20635)
*PrintableArea: PAIR(14004, 20068)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001051B>~8<0009011C011C>6<B3>Ne<02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001051B>~8<0009011C011C>Ne6<B302>"
}
}
}
}
*Option: Option10
{
*rcNameID: 261
*PageDimensions: PAIR(16834, 23818)
*PrintableArea: PAIR(16264, 23248)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001061B>~8<0009011C011C>?<8E>Z<CC02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001061B>~8<0009011C011C>Z<CC>?<8E02>"
}
}
}
}
*Option: Option11
{
*rcNameID: 262
*PageDimensions: PAIR(11909, 16834)
*PrintableArea: PAIR(11340, 16264)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001071B>~8<0009011C011C>,J?<8E02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001071B>~8<0009011C011C>?<8E>,J<02>"
}
}
}
}
*Option: Option12
{
*rcNameID: 263
*PageDimensions: PAIR(11909, 16834)
*PrintableArea: PAIR(11340, 16264)
*PrintableOrigin: PAIR(284, 284)
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001081B>~8<0009011C011C>,J?<8E02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~Q<0001081B>~8<0009011C011C>?<8E>,J<02>"
}
}
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(5669, 8390)
*MaxSize: PAIR(16837, 23811)
*MaxPrintableWidth: 16269
*CustPrintableSizeX: %d{PhysPaperWidth-568}
*CustPrintableSizeY: %d{PhysPaperLength-568}
*CustPrintableOriginX: %d{284}
*CustPrintableOriginY: %d{284}
*CustCursorOriginX: %d{284}
*CustCursorOriginY: %d{284}
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>"
+%m{(PhysPaperWidth-568)}
+%m{(PhysPaperLength-568)}
+"<02>"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>~8<0009011C011C>"
+%m{(PhysPaperLength-568)}
+%m{(PhysPaperWidth-568)}
+"<02>"
}
}
}
}
}
*% ========== ImageControl ==========
*Feature: ImageControl
{
*rcNameID: =IMAGECONTROL_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 283
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>~Q<000100>"
}
}
*Option: Option2
{
*rcNameID: 284
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>~Q<000105>"
}
}
*Option: Option3
{
*rcNameID: 285
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>~Q<000101>"
}
}
*Option: Option4
{
*rcNameID: 286
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>~Q<000104>"
}
}
*Option: Option5
{
*rcNameID: 287
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>~Q<000107>"
}
}
*Option: Option6
{
*rcNameID: 288
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>~Q<000108>"
}
}
}
*% ========== Halftone ==========
*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
}
}
*% ========== Memory ==========
*Feature: Memory
{
*rcNameID: =PRINTER_MEMORY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 410
*MemoryConfigMB: PAIR(4, 3)
}
*Option: 8MB
{
*rcNameID: 413
*MemoryConfigMB: PAIR(8, 7)
}
*Option: 12MB
{
*rcNameID: 414
*MemoryConfigMB: PAIR(12, 10)
}
*Option: 20MB
{
*rcNameID: 415
*MemoryConfigMB: PAIR(20, 18)
}
}
*% ========== Job Control Command ==========
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B7E120001111B>~<010000>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>~<0100001B7E12000100>"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.6
*Cmd: "<1B>~3<000201>" %c[1,255]{NumOfCopies}
}
*% ========== Printer Capabilities ==========
*RotateCoordinate?: FALSE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_OP_STROKE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
*MemoryUsage: LIST(FONT)
*% ========== Cursor Control ==========
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*XMoveUnit: 1440
*YMoveUnit: 1440
*Command: CmdXMoveAbsolute { *Cmd : "<1B>~<1C000305>" %m{DestX } }
*Command: CmdXMoveRelRight { *Cmd : "<1B>~<1C000306>" %m{DestXRel } }
*Command: CmdYMoveAbsolute
{
*CallbackID: 2
*Params: LIST(DestY)
}
*Command: CmdYMoveRelDown
{
*CallbackID: 3
*Params: LIST(DestYRel)
}
*Command: CmdSetLineSpacing { *Cmd : "<1B>%%9" %m{(LinefeedSpacing / 12) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*EjectPageWithFF?: TRUE
*% ========== Raster Data Emission ==========
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*% ========== Device Fonts ==========
*DefaultFont: 1
*DefaultCTT: 0
*CharPosition: BASELINE
*DeviceFonts: LIST(1,2,3,4)
*% ========== Font Simulation ==========
*Command: CmdBoldOn { *Cmd : "<1B>~<0E000117>" }
*Command: CmdBoldOff { *Cmd : "<1B>~<0E000118>" }
*Command: CmdItalicOn { *Cmd : "<1B>~v<000E1000000000000000000103000000>" }
*Command: CmdItalicOff { *Cmd : "<1B>~v<000E0000000000000000000000000000>" }
*Command: CmdUnderlineOn { *Cmd : "<1B>~<11000101>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>~<11000100>" }
*%========== RectFill ==========
*MinGrayFill: 1
*MaxGrayFill: 1
*% *MinGrayFill: 1
*% *MaxGrayFill: 100
*Command: CmdSetRectWidth
{
*CallbackID: 30
*Params: LIST(RectXSize)
}
*Command: CmdSetRectHeight
{
*CallbackID: 31
*Params: LIST(RectYSize)
}
*% *Command: CmdRectBlackFill { *CallbackID: 32 }
*Command: CmdRectWhiteFill { *CallbackID: 33 }