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.
 
 
 
 
 
 

762 lines
20 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileName: "CNBJ30.GPD"
*GPDFileVersion: "1.0"
*Include: "StdNames.gpd"
*ModelName: "Canon Bubble-Jet BJ-30"
*MasterUnits: PAIR(720, 720)
*ResourceDLL: "cnbjcres.dll"
*PrintRate: 277
*PrintRateUnit: CPS
*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: AUTO
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*switch: MediaType
{
*case: Option1
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001100>"
}
} *% Normal
*case: Option2
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001110>"
}
} *% Coated
*case: TRANSPARENCY
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001120>"
}
} *% TRANSPARENCY
*case: GLOSSY
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001160>"
}
} *% GLOSSY
*case: Option5
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001150>"
}
} *% Fabric Sheet
*case: Option6
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001170>"
}
} *% High Gloss Film
*case: Option7
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001180>"
}
} *% Envelope
*case: Option8
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001100>"
}
} *% Card
*case: Option9
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001100>"
}
} *% High Resolution Paper
*% Comment out support for Back Print Film for Beta 1.
*% Callback support not implemented yet.
*% *case: Option10
*% {
*% *Command: CmdSelect
*% {
*% *Order: DOC_SETUP.4
*% *Cmd: "<1B>(l<02001130>"
*% }
*% } *% Back Print Film
}
}
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*switch: MediaType
{
*case: Option1
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001400>"
}
} *% Normal
*case: Option2
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001410>"
}
} *% Coated
*case: TRANSPARENCY
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001420>"
}
} *% TRANSPARENCY
*case: GLOSSY
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001460>"
}
} *% GLOSSY
*case: Option5
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001450>"
}
} *% Fabric Sheet
*case: Option6
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001470>"
}
} *% High Gloss Film
*case: Option7
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001480>"
}
} *% Envelope
*case: Option8
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001400>"
}
} *% Card
*case: Option9
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>(l<02001400>"
}
} *% High Resolution Paper
*% Comment out support for Back Print Film for Beta 1.
*% Callback support not implemented yet.
*% *case: Option10
*% {
*% *Command: CmdSelect
*% {
*% *Order: DOC_SETUP.4
*% *Cmd: "<1B>(l<02001430>"
*% }
*% } *% Back Print Film
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "360 x 360 " =DOTS_PER_INCH
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
EXTERN_GLOBAL: *SendMultipleRows?: FALSE
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(d<020001>h"
}
}
*Option: Option2
{
*Name: "180 x 180 " =DOTS_PER_INCH
*DPI: PAIR(180, 180)
*TextDPI: PAIR(180, 180)
EXTERN_GLOBAL: *SendMultipleRows?: FALSE
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
EXTERN_GLOBAL: *TextYOffset: 1
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>(A" %l{NumOfDataBytes + 1}"K" }
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>(d<020000B4>"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 7470)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 7468)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>n<01>r"
}
}
*Option: LEGAL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 9630)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 9628)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<03008C01>r"
}
}
*Option: EXECUTIVE
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4960, 7110)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4960, 7108)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>i<01>r"
}
}
*Option: FOLIO
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 8910)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 8908)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<03008201>r"
}
}
*Option: A4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5694, 7967)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option1
{
*PrintableArea: PAIR(5694, 7966)
}
*case: Option2
{
*PrintableArea: PAIR(5692, 7964)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>u<01>r"
}
}
*Option: A5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(3938, 5504)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(3936, 5500)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>S<01>r"
}
}
*Option: B4
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(5760, 9868)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 9864)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<03008B01>r"
}
}
*Option: B5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(4902, 6836)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(4900, 6832)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>e<01>r"
}
}
*Option: Option9
{
*rcNameID: 261
*PageDimensions: PAIR(5760, 4320)
*PrintableArea: PAIR(5500, 3870)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5500, 3868)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>%<<01>r"
}
}
*Option: ENV_9
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(5760, 1984)
*PrintableOrigin: PAIR(180, 450)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 1980)
*PrintableOrigin: PAIR(180, 452)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>'<01>r"
}
}
*Option: ENV_10
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(5760, 1814)
*PrintableOrigin: PAIR(180, 800)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 1812)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>)<01>r"
}
}
*Option: ENV_DL
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(5760, 1958)
*PrintableOrigin: PAIR(180, 800)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 1956)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>+<01>r"
}
}
*Option: ENV_C5
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(5760, 3434)
*PrintableOrigin: PAIR(180, 800)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5760, 3432)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>@<01>r"
}
}
*Option: ENV_MONARCH
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*RotateSize? : TRUE
*PrintableArea: PAIR(5140, 2344)
*PrintableOrigin: PAIR(180, 90)
*switch: Resolution
{
*case: Option2
{
*PrintableArea: PAIR(5140, 2340)
*PrintableOrigin: PAIR(180, 92)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>'<01>r"
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(2520, 2520)
*MaxSize: PAIR(6480, 12240)
*MaxPrintableWidth: 5760
*MinLeftMargin: 180
*CenterPrintable?: FALSE
*TopMargin: 90
*BottomMargin: 360
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>(g<0300>" %c{(PhysPaperLength / 72) }"<01>r"
}
}
}
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 262
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001100>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001101>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001102>"} } *% Draft Quality
}
}
*Option: Option2
{
*rcNameID: 263
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001100>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001101>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001102>"} } *% Draft Quality
}
}
*Option: TRANSPARENCY
{
*rcNameID: =TRANSPARENCY_DISPLAY
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001120>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001121>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001122>"} } *% Draft Quality
}
}
*Option: GLOSSY
{
*rcNameID: =GLOSSY_PAPER_DISPLAY
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001150>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001151>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001152>"} } *% Draft Quality
}
}
*Option: Option5
{
*rcNameID: 264
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001140>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001141>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001142>"} } *% Draft Quality
}
}
*Option: Option6
{
*rcNameID: 265
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001160>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001161>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001162>"} } *% Draft Quality
}
}
*Option: Option7
{
*rcNameID: 266
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001100>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001101>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001102>"} } *% Draft Quality
}
}
*Option: Option8
{
*rcNameID: 268
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001170>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001171>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001172>"} } *% Draft Quality
}
}
*Option: Option9
{
*rcNameID: 269
*switch: TextQuality
{
*case: Option1 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001130>"} } *% Normal
*case: Option2 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001131>"} } *% High Quality
*case: Option3 {*Command: CmdSelect { *Order: DOC_SETUP.5
*Cmd: "<1B>(c<02001132>"} } *% Draft Quality
}
}
}
*Feature: TextQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 262
}
*Option: Option2
{
*rcNameID: 276
}
*Option: Option3
{
*rcNameID: 277
}
}
*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: "<1B>[K<0200000F1B>(a<010001>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>(b<0100001B>(a<0100001B>(b<0100001B>@"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_RA_ABLE)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE)
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdEnableTIFF4 { *Cmd : "<1B>(b<010001>" }
*Command: CmdDisableCompression { *Cmd : "<1B>(b<010000>" }
*YMoveThreshold: *
*switch: Resolution
{
*case: Option1
{
*YMoveUnit: 360
*Command: CmdYMoveRelDown
{
*Cmd: "<1B>(e<0200>" %m{DestYRel / 2 }
}
}
*case: Option2
{
*YMoveUnit: 180
*Command: CmdYMoveRelDown
{
*Cmd: "<1B>(e<0200>" %m{DestYRel / 4 }
}
}
}
*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE