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.
 
 
 
 
 
 

510 lines
14 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.0"
*GPDFileName: "oljp792c.gpd"
*Include: "StdNames.gpd"
*ModelName: "Olivetti JP 792 (Color)"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "jp350res.dll"
*PrinterType: SERIAL
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>*r-1U"
}
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: AUTO
*Option: ENVFEED
{
*rcNameID: =ENV_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l3H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l3H"
}
}
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l1H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option3
*Option: Option1
{
*Name: "600 x 600 " =DOTS_PER_INCH
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 150
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>*g32W%<<0502>X<02>X<000202>X<02>X<000202>X<02>X<000202>X<02>X<000202>X<02>X"
+ "<00021B>$z25f25e1m1Q<1B>*o3D"
}
}
*Option: Option2
{
*Name: "600 x 300 " =DOTS_PER_INCH
*DPI: PAIR(600, 300)
*TextDPI: PAIR(600, 300)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 130
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>*g32W%<<0502>X<01>,<000202>X<01>,<000202>X<01>,<000202>X<01>,<000202>X<01>,"
+ "<00021B>$z25f25e1l1P<1B>*o3D"
}
}
*Option: Option3
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>*g32W%<<0501>,<01>,<000201>,<01>,<000201>,<01>,<000201>,<01>,<000201>,<01>,"
+ "<00021B>$z25f25E<1B>*o1D"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4796, 6162)
*PrintableOrigin: PAIR(142, 132)
*CursorOrigin: PAIR(200, 72)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l2A"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4796, 7962)
*PrintableOrigin: PAIR(142, 220)
*CursorOrigin: PAIR(200, 60)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l3A"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4794, 6576)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 60)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l26A"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4182, 5862)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 60)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l93A"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(3330, 4524)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l29A"
}
}
*Option: Option6
{
*rcNameID: 290
*PageDimensions: PAIR(2478, 3510)
*PrintableArea: PAIR(2310, 3000)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l73A"
}
}
*Option: Option7
{
*rcNameID: 291
*PageDimensions: PAIR(2400, 3600)
*PrintableArea: PAIR(2232, 3240)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 72)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l74A"
}
}
*Option: Option8
{
*rcNameID: 292
*PageDimensions: PAIR(3000, 4800)
*PrintableArea: PAIR(2832, 4260)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l75A"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2310, 5262)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l81A"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(3660, 4974)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l91A"
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2430, 4758)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l90A"
}
}
*Option: ENV_C6
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(2526, 3390)
*PrintableOrigin: PAIR(84, 220)
*CursorOrigin: PAIR(84, 68)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l92A"
}
}
*Option: ENV_B6
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize?: TRUE
*PrintableArea: PAIR(2714, 3830)
*PrintableOrigin: PAIR(132, 84)
*CursorOrigin: PAIR(84, 120)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l95A"
}
}
}
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.LETTER)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.LEGAL)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.A4)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.EXECUTIVE)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.A5)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.Option6)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.Option7)
*InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.Option8)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C6)
*InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_B6)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C6)
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_B6)
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 264
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*o0Q<1B>$h0V"
}
}
*Option: TRANSPARENCY
{
*rcNameID: =TRANSPARENCY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*o2Q<1B>$h5V"
}
}
*Option: Option3
{
*rcNameID: 265
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*o2Q<1B>$h5V"
}
}
*Option: Option4
{
*rcNameID: 266
*Command: CmdSelect
{
*Order: DOC_SETUP.8
*Cmd: "<1B>*o2Q<1B>$h5V"
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option2
*Option: Option1
{
*rcNameID: 270
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>*r1Q<1B>(s1Q<1B>*p1N<1B>&k1W<1B>*o-1Q"
}
}
*Option: Option2
{
*rcNameID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>*r2Q<1B>(s4Q<1B>*p2N<1B>&k0W"
}
}
*Option: Option3
{
*rcNameID: 272
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>*r2Q<1B>(s5Q<1B>*p2N<1B>&k0W"
}
}
}
*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: Color
*Option: Mono
{
*rcNameID: =MONO_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 1
*Color? : FALSE
}
*Option: Color
{
*rcNameID: =COLOR_DISPLAY
*DevNumOfPlanes: 4
*DevBPP: 1
*DrvBPP: 4
EXTERN_GLOBAL: *RasterSendAllData? : TRUE
*ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW, BLACK)
*Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
*Command: CmdSendBlackData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
*Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
*Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
*Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
*Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
*Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
*Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
*Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
*Command: CmdSelect
{
*Order: DOC_SETUP.9
*Cmd: "<1B>*r-4U"
}
}
}
*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: "<00000000000000001B070000071B>E<1B>&l0o0L<1B>&k5w0G<1B>*o1D"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>$h0V<1B>$z0m0l1q1P<1B>E<1B07000000>"
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST()
}
}
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 300
*YMoveUnit: 300
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
*Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
*Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*LookAheadRegion: 100
*DefaultFont: 1
*DefaultCTT: 0
*CharPosition: BASELINE
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,2,6,7,8,9,75,76,77,78,79,80,81,82,86,87,
+ 88,89,104,105,106,107,108,109,110,111,112,113,114,117,118,119,
+ 120,121,122,123,124,125,126,127,128,129,130)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}
*Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }