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.
 
 
 
 
 
 

291 lines
7.1 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "IBMGRPHC.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "IBM Graphics"
*MasterUnits: PAIR(720, 216)
*ResourceDLL: "ok9ibres.dll"
*PrinterType: SERIAL
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: TRACTOR
*Option: TRACTOR
{
*rcNameID: =TRACTOR_DISPLAY
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "120 x 72 " =DOTS_PER_INCH
*DPI: PAIR(120, 72)
*TextDPI: PAIR(120, 72)
*PinsPerLogPass: 8
*PinsPerPhysPass: 8
*RequireUniDir?: TRUE
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
EXTERN_GLOBAL: *TextYOffset: 14
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
}
*Option: Option2
{
*Name: "60 x 72 " =DOTS_PER_INCH
*DPI: PAIR(60, 72)
*TextDPI: PAIR(60, 72)
*PinsPerLogPass: 8
*PinsPerPhysPass: 8
*RequireUniDir?: TRUE
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>K" %l{NumOfDataBytes} }
}
*Option: Option3
{
*Name: "240 x 216 " =DOTS_PER_INCH
*DPI: PAIR(240, 216)
*TextDPI: PAIR(240, 216)
*PinsPerLogPass: 24
*PinsPerPhysPass: 8
*MinStripBlankPixels: 240
*RequireUniDir?: TRUE
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
*SpotDiameter: 170
*Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 2376)
*PrintableOrigin: PAIR(180, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000B>"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 3024)
*PrintableOrigin: PAIR(180, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000E>"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 2525)
*PrintableOrigin: PAIR(180, 0)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(5760, 2523)
}
*case: Option2
{
*PrintableArea: PAIR(5760, 2523)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>CF"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4982, 2186)
*PrintableOrigin: PAIR(180, 0)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(4980, 2184)
}
*case: Option2
{
*PrintableArea: PAIR(4980, 2184)
}
*case: Option3
{
*PrintableArea: PAIR(4980, 2186)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>C%<"
}
}
*Option: Option5
{
*rcNameID: 259
*PageDimensions: PAIR(6120, 2592)
*PrintableArea: PAIR(5760, 2592)
*PrintableOrigin: PAIR(180, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000C>"
}
}
*Option: Option6
{
*rcNameID: 260
*PageDimensions: PAIR(6120, 2592)
*PrintableArea: PAIR(5760, 2592)
*PrintableOrigin: PAIR(180, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>C<000D>"
}
}
*Option: Option7
{
*rcNameID: 261
*PageDimensions: PAIR(6235, 935)
*PrintableArea: PAIR(5760, 935)
*PrintableOrigin: PAIR(180, 0)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(5760, 933)
}
*case: Option2
{
*PrintableArea: PAIR(5760, 933)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>C<1A>"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(720, 216)
*MaxSize: PAIR(6120, 4752)
*MaxPrintableWidth: 5760
*MinLeftMargin: 180
*CenterPrintable?: FALSE
}
}
*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
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<181B>6<121B>W<00>"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_RA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_RA_ABLE)
}
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*YMoveThreshold: *
*YMoveUnit: 216
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat(DestYRel )} }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
*Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
*EjectPageWithFF?: FALSE
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 123
*DefaultCTT: -1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(123,124,125,126,127,128,129,130)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}
*Command: CmdBoldOn { *Cmd : "<1B>G" }
*Command: CmdBoldOff { *Cmd : "<1B>H" }