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.
 
 
 
 
 
 

315 lines
7.7 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "IBPXL24E.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "IBM Proprinter XL24e"
*MasterUnits: PAIR(720, 720)
*ResourceDLL: "ibp24res.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
}
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "180 x 180 " =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 135
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<0B>" }
}
*Option: Option2
{
*Name: "360 x 180 " =DOTS_PER_INCH
*DPI: PAIR(360, 180)
*TextDPI: PAIR(360, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 270
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 170
*Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<0C>" }
}
*Option: Option3
{
*Name: "120 x 180 " =DOTS_PER_INCH
*DPI: PAIR(120, 180)
*TextDPI: PAIR(120, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 90
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<09>" }
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(6000, 7920)
*PrintableOrigin: PAIR(120, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>CB"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(6000, 10080)
*PrintableOrigin: PAIR(120, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>CT"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5834, 8417)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(5832, 8416)
}
*case: Option2
{
*PrintableArea: PAIR(5834, 8416)
}
*case: Option3
{
*PrintableArea: PAIR(5832, 8416)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>3<121B>Cu"
}
}
*Option: A3
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(8297, 11909)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(8296, 11908)
}
*case: Option2
{
*PrintableArea: PAIR(8296, 11908)
}
*case: Option3
{
*PrintableArea: PAIR(8292, 11908)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>3<121B>C<A8>"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5042, 7286)
*PrintableOrigin: PAIR(120, 0)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(5040, 7284)
}
*case: Option2
{
*PrintableArea: PAIR(5042, 7284)
}
*case: Option3
{
*PrintableArea: PAIR(5040, 7284)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>C="
}
}
*Option: FANFOLD_US
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(9792, 7920)
*PrintableOrigin: PAIR(120, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>CB"
}
}
*Option: Option7
{
*rcNameID: 258
*PageDimensions: PAIR(6120, 8640)
*PrintableArea: PAIR(6000, 8640)
*PrintableOrigin: PAIR(120, 0)
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>2<1B>CH"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(720, 360)
*MaxSize: PAIR(11880, 32767)
*MaxPrintableWidth: 9792
*MinLeftMargin: 120
*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: "<0D1B>6<121B>W<001B>U<001B>[\<04000000B4001B>2"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_SO_ABLE,TC_RA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_RA_ABLE)
}
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*XMoveThreshold: *
*YMoveThreshold: *
*XMoveUnit: 120
*YMoveUnit: 180
*Command: CmdXMoveRelRight { *Cmd : "<1B>d" %l{(DestXRel / 6) } }
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 4) )} }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*EjectPageWithFF?: TRUE
*switch: PaperSize
{
*case: CUSTOMSIZE
{
*EjectPageWithFF?: FALSE
*switch: InputBin
{
}
}
}
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 4
*DefaultCTT: 1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}
*Command: CmdBoldOn { *Cmd : "<1B>G" }
*Command: CmdBoldOff { *Cmd : "<1B>H" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }