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.
 
 
 
 
 
 

626 lines
15 KiB

*GPDSpecVersion: "1.0"
*CodePage: 1252
*ModelName: "NEC PC-PR1000FX/4"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "NCDLJRES.dll"
*PrinterType: PAGE
*MaxCopies: 99
*rcInstalledOptionNameID: 800
*rcNotInstalledOptionNameID: 801
*PrintRateUnit: PPM
*PrintRate: 5
*GPDFileName: "NCDL1F4J.GPD"
*Include: "STDNAMES.GPD"
*GPDFileVersion: "1.000"
*HelpFile: "NCDLJRES.HLP"
*%======== Macros ========
*Macros: DeviceFontIDs
{
RC_FONT_COURIER : 1
RC_FONT_SANSERIF : 2
RC_FONT_ROMAN : 3
RC_FONT_MINCHO : 4
RC_FONT_MINCHOV : 5
RC_FONT_GOTHIC : 6
RC_FONT_GOTHICV : 7
RC_FONT_COURIER_P : 8
RC_FONT_SANSERIF_P : 9
RC_FONT_ROMAN_P : 10
RC_FONT_MINCHO_P : 11
RC_FONT_MINCHOV_P : 12
RC_FONT_GOTHIC_P : 13
RC_FONT_GOTHICV_P : 14
RC_FONT_OCRB_P : 15
RC_FONT_ZUIHITSU_P : 16
RC_FONT_ZUIHITSUV_P : 17
RC_FONT_KYOUKASYO_P : 18
RC_FONT_KYOUKASYOV_P : 19
RC_FONT_MARUGOTH_P : 20
RC_FONT_MARUGOTHV_P : 21
}
*Macros: TTFSStrIDs
{
RC_STR_MINCHO : 900
RC_STR_GOTHIC : 901
RC_STR_MSMINCHO : 910
RC_STR_MSGOTHIC : 911
}
*Macros: OEMCallbackIDs
{
CMD_MOVE_X : 23
CMD_MOVE_Y : 24
CMD_BEGIN_RASTER : 26
CMD_RES_600 : 27
CMD_RES_400 : 28
CMD_RES_240 : 29
CMD_SEND_BLOCK_DATA : 30
CMD_BEGIN_RASTER_NO_COMP : 31
CMD_INIT_COORDINATE : 32
CMD_PC_PRN_DIRECTION : 50
CMD_CR : 51
CMD_FF : 52
CMD_RECTWIDTH : 60
CMD_RECTHEIGHT : 61
CMD_RECTWHITE : 62
CMD_RECTBLACK : 63
CMD_RECTGRAY : 64
CMD_WHITE_ON : 80
CMD_WHITE_OFF : 81
CMD_BOLD_ON : 82
CMD_ITALIC_ON : 83
CMD_CLEAR_ATTRIB : 84
CMD_CLEAR_ATTRIB_P : 85
}
*Macros: PopupHelpIDs
{
POP_DL_MARGIN : 602
POP_DL_JOBSEPARATE : 603
POP_DL_SET : 604
POP_DL_TONAR : 605
POP_DL_DENSITY : 606
POP_DL_SORTER : 607
POP_DL_OUTBIN : 608
POP_DL_FACE : 609
POP_DL_KANJICODE : 610
POP_DL_TEXTHALFTONE : 611
POP_DL_TEXTHALFTONE_S : 612
POP_DL_TEXTHALFTONE_S2 : 613
}
*%======== Orientation ========
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
}
}
*%======== InputBin ========
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: Auto
*Option: Auto
{
*rcNameID: 272
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*NoPageEject?: TRUE
*Cmd: "<1C>fPC1.<1C>fP"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*NoPageEject?: TRUE
*Cmd: "<1C>fLC1.<1C>fL"
}
}
}
}
*Option: Hopper1
{
*rcNameID: 273
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*NoPageEject?: TRUE
*Cmd: "<1C>fPC1.<1C>fP"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*NoPageEject?: TRUE
*Cmd: "<1C>fLC1.<1C>fL"
}
}
}
}
*Option: Hopper2
{
*rcNameID: 274
*Installable?: TRUE
*rcInstallableFeatureNameID: 274
*switch: Orientation
{
*case: PORTRAIT
{
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*NoPageEject?: TRUE
*Cmd: "<1C>fPC2.<1C>fP"
}
}
*case: LANDSCAPE_CC270
{
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*NoPageEject?: TRUE
*Cmd: "<1C>fLC2.<1C>fL"
}
}
}
}
}
*%======== Resolution ========
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: 400dpi
*Option: 400dpi
{
*rcNameID: 891
*DPI: PAIR(400, 400)
*TextDPI: PAIR(400, 400)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
EXTERN_GLOBAL: *SendMultipleRows?: TRUE
*SpotDiameter: 100
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*NoPageEject?: TRUE
*CallbackID: =CMD_RES_400
}
*% *Command: CmdSendBlockData
*% {
*% *Cmd : "<1C>i" %d[0,65535]{RasterDataWidthInBytes * 8}"," %d[0,65535]{RasterDataHeightInPixels }",0,1/1,1/1,"%d{NumOfDataBytes } ",400."
*% }
}
*Option: 240dpi
{
*rcNameID: 892
*DPI: PAIR(240, 240)
*TextDPI: PAIR(240, 240)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
EXTERN_GLOBAL: *SendMultipleRows?: TRUE
*SpotDiameter: 100
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*NoPageEject?: TRUE
*CallbackID: =CMD_RES_240
}
*% *Command: CmdSendBlockData
*% {
*% *Cmd : "<1C>i" %d[0,65535]{RasterDataWidthInBytes * 8}"," %d[0,65535]{RasterDataHeightInPixels }",0,1/1,1/1,"%d{NumOfDataBytes } ",240."
*% }
}
}
*%======== PaperSize ========
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(9360, 13560)
*PrintableOrigin: PAIR(378, 237)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "A4."
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*PrintableArea: PAIR(6420, 9480)
*PrintableOrigin: PAIR(378, 237)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "A5."
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(8040, 11640)
*PrintableOrigin: PAIR(378, 237)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "B5."
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(9600, 12720)
*PrintableOrigin: PAIR(378, 237)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "LT."
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(4080, 6600)
*PrintableOrigin: PAIR(378, 237)
}
*case: LANDSCAPE_CC270
{
*PrintableArea: PAIR(4080, 6480)
*PrintableOrigin: PAIR(378, 237)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "PC."
}
}
*Option: A3toA4
{
*rcNameID: 259
*PageDimensions: PAIR(14032, 19843)
*PrintableArea: PAIR(13560, 19320)
*PrintableOrigin: PAIR(237, 237)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "A3A4."
}
}
*Option: B4toA4
{
*rcNameID: 264
*PageDimensions: PAIR(12142, 17197)
*switch: Orientation
{
*case: PORTRAIT
{
*PrintableArea: PAIR(11400, 16680)
*PrintableOrigin: PAIR(378, 237)
}
*case: LANDSCAPE_CC270
{
*PrintableArea: PAIR(11400, 16320)
*PrintableOrigin: PAIR(378, 237)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "B4A4."
}
}
*Option: A4x2toA4
{
*rcNameID: 268
*PageDimensions: PAIR(9922, 14032)
*PrintableArea: PAIR(9360, 13560)
*PrintableOrigin: PAIR(378, 237)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "UPA4."
}
}
*Option: LPtoA4
{
*rcNameID: 270
*Constraints: Orientation.PORTRAIT
*PageDimensions: PAIR(13200, 18000)
*PrintableArea: PAIR(13200, 16320)
*PrintableOrigin: PAIR(0, 840)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*NoPageEject?: TRUE
*Cmd: "LPA4."
}
}
}
*%======== 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
}
}
*%======== JIS kirikae ========
*Feature: Jis
{
*rcNameID: 700
*FeatureType: PRINTER_PROPERTY
*DefaultOption: Jis90
*HelpIndex: 610 *%POP_DL_KANJICODE
*Option: Jis90
{
*rcNameID: 701
*Command: CmdSelect
{
*Order: JOB_SETUP.2
*Cmd: "<1C>05F2-02"
}
}
*Option: Jis78
{
*rcNameID: 702
*Command: CmdSelect
{
*Order: JOB_SETUP.2
*Cmd: "<1C>05F2-00"
}
}
}
*%======== TextHalftoneThreshold ========
*Feature: TextHalftoneThreshold
{
*rcNameID: =TEXTHALFTONE_DISPLAY
*DefaultOption: 240
*HelpIndex: 611 *%POP_DL_TEXTHALFTONE
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
}
*Option: 240
{
*Name: "240"
EXTERN_GLOBAL: *TextHalftoneThreshold: 240
}
*Option: 400
{
*Name: "400"
EXTERN_GLOBAL: *TextHalftoneThreshold: 400
}
}
*%======== StartJob ========
*switch: Resolution
{
*case: 400dpi
{
*Command: CmdStartJob
{
*Order: JOB_SETUP.1
*Cmd: "<1B>c1<1C>&400.<1C>d240."
}
}
*case: 240dpi
{
*Command: CmdStartJob
{
*Order: JOB_SETUP.1
*Cmd: "<1B>c1<1C>&240.<1C>d240."
}
}
}
*%======== StartDoc ========
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1C>R"
}
*%======== CopyCmd ========
*Command: CmdCopies
{
*Order: DOC_SETUP.2
*Cmd: "<1C>x" %d[1,99]{NumOfCopies }",C."
}
*%======== StartPage ========
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*CallbackID: =CMD_INIT_COORDINATE
}
*%======== EndPage ========
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "" *% Reserved
}
*%======== EndDoc ========
*Command: CmdEndDoc
{
*Order: DOC_FINISH.1
*Cmd: "" *% Reserved
}
*%======== EndJob ========
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1C>fPC1.<1C>&0.<1B>c1"
}
*%======== Capabilities ========
*RotateCoordinate?: FALSE
*RotateRaster?: TRUE
*RotateFont?: TRUE
*TextCaps: LIST(TC_OP_CHARACTER,TC_CR_90,TC_SF_X_YINDEP,TC_SA_DOUBLE,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
*%======== Cursor Control ========
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*switch: Resolution
{
*case: 400dpi
{
*XMoveUnit: 400
*YMoveUnit: 400
}
*case: 240dpi
{
*XMoveUnit: 240
*YMoveUnit: 240
}
}
*Command: CmdXMoveAbsolute
{
*CallbackID: =CMD_MOVE_X
*Params: LIST(DestX,DestY,TextXRes,TextYRes)
}
*Command: CmdYMoveAbsolute
{
*CallbackID: =CMD_MOVE_Y
*Params: LIST(DestX,DestY,TextXRes,TextYRes)
}
*EjectPageWithFF?: TRUE
*Command: CmdCR { *CallbackID: =CMD_CR }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *CallbackID: =CMD_FF }
*Command: CmdSetSimpleRotation
{
*CallbackID: =CMD_PC_PRN_DIRECTION
*Params: LIST(PrintDirInCCDegrees)
}
*%======== Raster Data ========
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
*CursorYAfterSendBlockData: NO_MOVE
*Command: CmdSendBlockData
{
*CallbackID: =CMD_SEND_BLOCK_DATA
*Params: RasterDataWidthInBytes
}
*Command: CmdBeginRaster
{
*% *CallbackID: =CMD_BEGIN_RASTER
*CallbackID: =CMD_BEGIN_RASTER_NO_COMP
}
*%======== Device Font ========
*DefaultFont: =RC_FONT_MINCHO
*DefaultCTT: 1
*CharPosition: BASELINE
*DeviceFonts: LIST(=RC_FONT_COURIER,=RC_FONT_SANSERIF,=RC_FONT_ROMAN,
+ =RC_FONT_MINCHO,=RC_FONT_MINCHOV,=RC_FONT_GOTHIC,
+ =RC_FONT_GOTHICV)
*%======== Font Subsitution ========
*TTFS: Mincho
{
*rcTTFontNameID: =RC_STR_MSMINCHO
*rcDevFontNameID: =RC_STR_MINCHO
}
*TTFS: Gothic
{
*rcTTFontNameID: =RC_STR_MSGOTHIC
*rcDevFontNameID: =RC_STR_GOTHIC
}
*TTFSEnabled?: FALSE
*%======== Font Simulation ========
*Command: CmdBoldOn { *CallbackID: =CMD_BOLD_ON }
*Command: CmdItalicOn { *CallbackID: =CMD_ITALIC_ON }
*Command: CmdClearAllFontAttribs { *CallbackID: =CMD_CLEAR_ATTRIB }
*Command: CmdWhiteTextOn { *CallbackID: =CMD_WHITE_ON }
*Command: CmdWhiteTextOff { *CallbackID: =CMD_WHITE_OFF }
*%========== RectFill ==========
*MinGrayFill: 1
*MaxGrayFill: 100
*Command: CmdSetRectWidth
{
*CallbackID: =CMD_RECTWIDTH
*Params: LIST(RectXSize)
}
*Command: CmdSetRectHeight
{
*CallbackID: =CMD_RECTHEIGHT
*Params: LIST(RectYSize)
}
*Command: CmdRectWhiteFill { *CallbackID: =CMD_RECTWHITE }
*Command: CmdRectBlackFill { *CallbackID: =CMD_RECTBLACK }
*Command: CmdRectGrayFill
{
*CallbackID: =CMD_RECTGRAY
*Params: LIST(GrayPercentage)
}