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.
 
 
 
 
 
 

781 lines
20 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "FXDP280J.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "FX DocuPrint 280 ART4"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "FXARTRES.DLL"
*PrinterType: PAGE
*PrintRate: 28
*PrintRateUnit: PPM
*MaxCopies: 9999
*%========== Orientation ==========
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*CallbackID: 17
}
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*CallbackID: 18
}
}
}
*%========== InputBin ==========
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: AUTO
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it -1<0D0A>"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it 0<0D0A>"
}
}
*Option: TRAY1
{
*rcNameID: 288
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it 1<0D0A>"
}
}
*Option: TRAY2
{
*rcNameID: 289
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it 2<0D0A>"
}
}
*Option: TRAY3
{
*rcNameID: 290
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it 3<0D0A>"
}
}
*Option: HTRAY2
{
*rcNameID: 404
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it 2<0D0A>"
}
}
*Option: HTRAY3
{
*rcNameID: 405
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "it 3<0D0A>"
}
}
}
*%========== Resolution ==========
*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: 24
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
EXTERN_GLOBAL: *SendMultipleRows?: TRUE
*SpotDiameter: 100
*Command: CmdSendBlockData
{
*CallbackID: 26
*Params: LIST(NumOfDataBytes, RasterDataHeightInPixels,
+ RasterDataWidthInBytes)
}
*Command: CmdEndBlockData { *Cmd : "]<0A>" }
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*CallbackID: 24
}
}
}
*%========== PaperSize ==========
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A3
{
*rcNameID: =A3_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(13608, 19418)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 30
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(13608, 19418)
*PrintableOrigin: PAIR(210, 220)
*CursorOrigin: PAIR(210, 19638)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 30
}
}
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9501, 13608)
*PrintableOrigin: PAIR(211, 210)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(9500, 13608)
*PrintableOrigin: PAIR(212, 210)
}
}
*CursorOrigin: PAIR(211, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 31
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9501, 13606)
*PrintableOrigin: PAIR(213, 212)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(9500, 13606)
*PrintableOrigin: PAIR(214, 212)
}
}
*CursorOrigin: PAIR(213, 13818)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 31
}
}
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(6571, 9499)
*PrintableOrigin: PAIR(210, 210)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(6570, 9498)
}
}
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 32
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(6571, 9499)
*PrintableOrigin: PAIR(210, 215)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(6570, 9498)
*PrintableOrigin: PAIR(210, 216)
}
}
*CursorOrigin: PAIR(210, 9714)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 32
}
}
}
}
*Option: B4
{
*rcNameID: =B4_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(11719, 16776)
*PrintableOrigin: PAIR(210, 210)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(11718, 16776)
}
}
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 33
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(11719, 16776)
*PrintableOrigin: PAIR(210, 210)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(11718, 16776)
}
}
*CursorOrigin: PAIR(210, 16986)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 33
}
}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(8179, 11719)
*PrintableOrigin: PAIR(210, 210)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(8178, 11718)
}
}
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 34
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(8179, 11719)
*PrintableOrigin: PAIR(210, 215)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(8178, 11718)
*PrintableOrigin: PAIR(210, 216)
}
}
*CursorOrigin: PAIR(210, 11934)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 34
}
}
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4304, 6572)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 35
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(4304, 6572)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 6782)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 35
}
}
}
}
*Option: TABLOID
{
*rcNameID: =TABLOID_DISPLAY
*Constraints: LIST(InputBin.TRAY1,InputBin.TRAY2,InputBin.TRAY3)
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(12780, 19980)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 36
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(12780, 19980)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 20190)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 36
}
}
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9780, 12780)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 37
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9780, 12780)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 12990)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 37
}
}
}
}
*Option: FOLIO
{
*rcNameID: =FOLIO_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9780, 15180)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 38
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9780, 15180)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 15390)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 38
}
}
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*Constraints: LIST(InputBin.HTRAY2,InputBin.HTRAY3)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(9780, 16380)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 210)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 39
}
}
*case: LANDSCAPE_CC90
{
*PrintableArea: PAIR(9780, 16380)
*PrintableOrigin: PAIR(210, 210)
*CursorOrigin: PAIR(210, 16590)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*CallbackID: 39
}
}
}
}
}
*%========== OutputBin ==========
*Feature: OutputBin
{
*rcNameID: =OUTPUTBIN_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 262
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "setp outtray 1<0A>"
}
}
}
*%========== 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
}
}
*%========== Duplex ==========
*Feature: Duplex
{
*rcNameID: =TWO_SIDED_PRINTING_DISPLAY
*DefaultOption: NONE
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "setp duplex 0<0A>"
}
}
*Option: VERTICAL
{
*rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "setp duplex 3<0A>"
}
}
*Option: HORIZONTAL
{
*rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "setp duplex 4<0A>"
}
}
}
*%========== Job Control Command ==========
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*CallbackID: 13
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Params: LIST(TextXRes, TextYRes)
*CallbackID: 14
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*CallbackID: 70
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*CallbackID: 15
}
*Command: CmdCopies
{
*Order: DOC_SETUP.3
*CallbackID: 16
*Params: LIST(NumOfCopies)
}
*%========== Compression ==========
*Command: CmdEnableTIFF4 { *Cmd: "scm 05<0A>" }
*Command: CmdDisableCompression { *Cmd: "scm 00<0A>" }
*%========== Printer Capabilities ==========
*RotateCoordinate?: TRUE
*RotateRaster?: TRUE
*RotateFont?: FALSE
*TextCaps: LIST(TC_OP_CHARACTER,TC_SF_X_YINDEP,TC_SA_DOUBLE,
+TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
*%========== Cursor Move ==========
*XMoveUnit: 1200
*YMoveUnit: 1200
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*XMoveThreshold: 0
*YMoveThreshold: 0
*Command: CmdXMoveAbsolute
{
*CallbackID: 1
*Params: LIST(DestX)
}
*Command: CmdYMoveAbsolute
{
*CallbackID: 2
*Params: LIST(DestY)
}
*Command: CmdCR { *CallbackID: 7 }
*Command: CmdFF { *CallbackID: 8 }
*Command: CmdLF { *CallbackID: 9 }
*EjectPageWithFF?: TRUE
*%========== Raster Data Emission ==========
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE
*%========== Device Fonts ==========
*DefaultFont: 1
*DefaultCTT: 0
*CharPosition: BASELINE
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25)
}
*case: LANDSCAPE_CC90
{
*DeviceFonts: LIST(1,2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25)
}
}
*%========== Font Simulation ==========
*Command: CmdBoldOn { *CallbackID: 51 }
*Command: CmdBoldOff { *CallbackID: 52 }
*Command: CmdItalicOn { *CallbackID: 53 }
*Command: CmdItalicOff { *CallbackID: 54 }
*Command: CmdWhiteTextOn { *CallbackID: 57 }
*Command: CmdWhiteTextOff { *CallbackID: 58 }
*Command: CmdSelectSingleByteMode { *CallbackID: 55 }
*Command: CmdSelectDoubleByteMode { *CallbackID: 56 }
*%========== InputBinSet ==========
*Feature: InputBinSet
{
*rcNameID: 372
*FeatureType: PRINTER_PROPERTY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 373
*Constraints: LIST(InputBin.TRAY2)
*Constraints: LIST(InputBin.TRAY3)
*Constraints: LIST(InputBin.HTRAY2)
*Constraints: LIST(InputBin.HTRAY3)
}
*Option: Option2
{
*rcNameID: 374
*Constraints: LIST(InputBin.TRAY3)
*Constraints: LIST(InputBin.HTRAY2)
*Constraints: LIST(InputBin.HTRAY3)
}
*Option: Option3
{
*rcNameID: 375
*Constraints: LIST(InputBin.HTRAY2)
*Constraints: LIST(InputBin.HTRAY3)
}
*Option: Option4
{
*rcNameID: 402
*Constraints: LIST(InputBin.TRAY2)
*Constraints: LIST(InputBin.TRAY3)
*Constraints: LIST(InputBin.HTRAY3)
}
*Option: Option5
{
*rcNameID: 403
*Constraints: LIST(InputBin.TRAY3)
*Constraints: LIST(InputBin.HTRAY2)
}
}
*%========== TrueTypeFont Substitution ==========
*TTFS: Arial
{
*rcTTFontNameID: 300
*rcDevFontNameID: 301
}
*TTFS: CourierNew
{
*rcTTFontNameID: 302
*rcDevFontNameID: 303
}
*TTFS: Symbol
{
*rcTTFontNameID: 304
*rcDevFontNameID: 305
}
*TTFS: TimesNewRoman
{
*rcTTFontNameID: 306
*rcDevFontNameID: 307
}
*TTFS: MSMincho_V
{
*rcTTFontNameID: 308
*rcDevFontNameID: 309
}
*TTFS: MSGothic_V
{
*rcTTFontNameID: 310
*rcDevFontNameID: 311
}
*TTFS: MSMincho
{
*rcTTFontNameID: 312
*rcDevFontNameID: 313
}
*TTFS: MSGothic
{
*rcTTFontNameID: 314
*rcDevFontNameID: 315
}
*TTFS: MSMinchoV_E
{
*rcTTFontNameID: 330
*rcDevFontNameID:309
}
*TTFS: MSGothicV_E
{
*rcTTFontNameID: 331
*rcDevFontNameID:311
}
*TTFS: MSMincho_E
{
*rcTTFontNameID: 332
*rcDevFontNameID:313
}
*TTFS: MSGothic_E
{
*rcTTFontNameID: 333
*rcDevFontNameID:315
}
*TTFSEnabled?: TRUE