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.
 
 
 
 
 
 

701 lines
18 KiB

*GPDSpecVersion: "1.0"
*CodePage: 1252
*ModelName: "NEC PC-PR101/63"
*MasterUnits: PAIR(480, 480)
*ResourceDLL: "nc11jres.dll"
*PrinterType: SERIAL
*FontCartSlots: 1
*rcInstalledOptionNameID: 281
*rcNotInstalledOptionNameID: 282
*PrintRateUnit: CPS
*PrintRate: 94
*GPDFileName: "NC1163J.GPD"
*Include: "STDNAMES.GPD"
*GPDFileVersion: "1.000"
*HelpFile: "nc11jres.hlp"
*% *Macros: HelpIDs
*% {
*% PAPER SETTING */
*% POP_11_PAPSET :1150
*% PRINT QUALITIES */
*% POP_11_PQUALITIESNEW :1167
*% }
*%======== 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: SheetGuide
*Option: SheetGuide
{
*rcNameID: 260
*Constraints: PaperSize.10X11
}
*Option: SheetFeeder
{
*rcNameID: 263
*Constraints: PaperSize.10X11
*Constraints: PaperSize.B4
*Constraints: PaperSize.B5_JIS_ROTATED
*Installable?: TRUE
*rcInstallableFeatureNameID: 263
}
*Option: TracterFeeder
{
*rcNameID: 264
*Constraints: PaperSize.A4
*Constraints: PaperSize.A5
*Constraints: PaperSize.A5_ROTATED
*Constraints: PaperSize.B4
*Constraints: PaperSize.B5
*Constraints: PaperSize.B5_JIS_ROTATED
*Constraints: PaperSize.JAPANESE_POSTCARD
*Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
*Installable?: TRUE
*rcInstallableFeatureNameID: 264
}
*Option: PushTracter
{
*rcNameID: 266
*Constraints: PaperSize.A4
*Constraints: PaperSize.A5
*Constraints: PaperSize.A5_ROTATED
*Constraints: PaperSize.B4
*Constraints: PaperSize.B5
*Constraints: PaperSize.B5_JIS_ROTATED
*Constraints: PaperSize.JAPANESE_POSTCARD
*Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
}
}
*InvalidInstallableCombination: LIST(InputBin.SheetFeeder, InputBin.TracterFeeder)
*%======== Resolution ========
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "160 x 160 dots per inch"
*DPI: PAIR(160, 160)
*TextDPI: PAIR(160, 160)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 120
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>C0"
}
}
}
*%======== PaperSize ========
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A4
{
*rcNameID: =A4_DISPLAY
*switch: InputBin
{
*case: SheetGuide
{
*PrintableArea: PAIR(3537, 4650)
*PrintableOrigin: PAIR(216, 408)
}
*case: SheetFeeder
{
*PrintableArea: PAIR(3537, 5304)
*PrintableOrigin: PAIR(216, 117)
}
}
*switch: KyuusiIti
{
*case: Center
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L003" %v{(PhysPaperLength / 80) + 15}
}
}
*case: Left
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*switch: InputBin
{
*case: SheetGuide
{
*PrintableArea: PAIR(2364, 3009)
*PrintableOrigin: PAIR(216, 408)
}
*case: SheetFeeder
{
*PrintableArea: PAIR(2364, 3663)
*PrintableOrigin: PAIR(216, 117)
}
}
*switch: KyuusiIti
{
*case: Center
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L015" %v{(PhysPaperLength / 80) + 15}
}
}
*case: Left
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
}
}
*Option: A5_ROTATED
{
*rcNameID: =A5_ROTATED_DISPLAY
*switch: InputBin
{
*case: SheetGuide
{
*PrintableArea: PAIR(3537, 1836)
*PrintableOrigin: PAIR(216, 408)
}
*case: SheetFeeder
{
*PrintableArea: PAIR(3537, 2490)
*PrintableOrigin: PAIR(216, 117)
}
}
*switch: KyuusiIti
{
*case: Center
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L003" %v{(PhysPaperLength / 80) + 15}
}
}
*case: Left
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
}
}
*Option: B4
{
*rcNameID: =B4_DISPLAY
*PrintableArea: PAIR(3840, 5916)
*PrintableOrigin: PAIR(507, 408)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*switch: InputBin
{
*case: SheetGuide
{
*PrintableArea: PAIR(3009, 3897)
*PrintableOrigin: PAIR(216, 408)
}
*case: SheetFeeder
{
*PrintableArea: PAIR(3009, 4551)
*PrintableOrigin: PAIR(216, 117)
}
}
*switch: KyuusiIti
{
*case: Center
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L008" %v{(PhysPaperLength / 80) + 15}
}
}
*case: Left
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
}
}
*Option: B5_JIS_ROTATED
{
*rcNameID: =B5_JIS_ROTATED_DISPLAY
*PrintableArea: PAIR(3840, 2481)
*PrintableOrigin: PAIR(507, 408)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*PrintableArea: PAIR(1479, 2304)
*PrintableOrigin: PAIR(216, 183)
*switch: KyuusiIti
{
*case: Center
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
}
}
*case: Left
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
}
}
*Option: JAPANESE_POSTCARD_ROTATED
{
*rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
*PrintableArea: PAIR(2385, 1404)
*PrintableOrigin: PAIR(216, 183)
*switch: KyuusiIti
{
*case: Center
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
}
}
*case: Left
{
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
}
}
}
}
*Option: 10X11
{
*rcNameID: =10X11_DISPLAY
*PrintableArea: PAIR(3840, 4386)
*PrintableOrigin: PAIR(480, 447)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(960, 960)
*MaxSize: PAIR(4857, 10224)
*MaxPrintableWidth: 3840
*MinLeftMargin: 0
*CenterPrintable?: FALSE
*switch: InputBin
{
*case: SheetGuide
{
*CustCursorOriginX: %d{0}
*CustCursorOriginY: %d{408}
*CustPrintableOriginX: %d{0}
*CustPrintableOriginY: %d{408}
*CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
*CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
}
*case: SheetFeeder
{
*CustCursorOriginX: %d{0}
*CustCursorOriginY: %d{117}
*CustPrintableOriginX: %d{0}
*CustPrintableOriginY: %d{117}
*CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
*CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
}
*case: TracterFeeder
{
*CustCursorOriginX: %d{0}
*CustCursorOriginY: %d{0}
*CustPrintableOriginX: %d{0}
*CustPrintableOriginY: %d{0}
*CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
*CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
}
*case: PushTracter
{
*CustCursorOriginX: %d{0}
*CustCursorOriginY: %d{0}
*CustPrintableOriginX: %d{0}
*CustPrintableOriginY: %d{0}
*CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
*CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: %v{(PhysPaperLength / 80) }
}
}
}
*%======== Paperfeed Pos ========
*Feature: KyuusiIti
{
*rcNameID: 283
*DefaultOption: Center
*HelpIndex: 1150
*Option: Center
{
*rcNameID: 258
*Constraints: PaperSize.CUSTOMSIZE
}
*Option: Left
{
*rcNameID: 259
}
}
*%======== PrintQuality ========
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option2
*HelpIndex: 1167
*Option: Option1
{
*rcNameID: 268
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>d1<1B><3E>"
}
}
*Option: Option2
{
*rcNameID: 269
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>d1<1B>]"
}
}
*Option: Option3
{
*rcNameID: 270
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>d0<1B><3E>"
}
}
*Option: Option4
{
*rcNameID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>d0<1B>]"
}
}
}
*%======== TextHalftoneThreshold ========
*Feature: TextHalftoneThreshold
{
*rcNameID: =TEXTHALFTONE_DISPLAY
*DefaultOption: Option1
*HelpIndex: 1180
*Option: NONE
{
*rcNameID: =NONE_DISPLAY
}
*Option: Option1
{
*Name: "160"
EXTERN_GLOBAL: *TextHalftoneThreshold: 160
}
}
*%======== ColorMode ========
*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
*ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
*Command: CmdSendYellowData { *Cmd : "<1B>C6" }
*Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
*Command: CmdSendCyanData { *Cmd : "<1B>C5" }
*Command: CmdSendBlackData { *Cmd : "<1B>C0" }
*Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
*Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
*Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
*Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
*Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
*Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
*Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
*Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
}
}
*%======== 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
}
}
*%======== StartJob ========
*Command: CmdStartJob
{
*Order: JOB_SETUP.1
*Cmd: "<180F><1B>$<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>M<1B>2"
+ "<1B>/080<1B>h0<1C>A<1B>f"
}
*%======== StartDoc ========
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>H<1B>e11<1B221B>Y<1B>L000<1B>A<1B>O0<1C>c,,0."
}
*%======== StartPage ========
*switch: InputBin
{
*case: SheetGuide
{
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D><1B>H<FF><0D>"
}
}
*case: SheetFeeder
{
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D><1B>a"
}
}
*case: TracterFeeder
{
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
}
*case: PushTracter
{
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
}
}
*%======== EndPage ========
*switch: InputBin
{
*case: SheetGuide
{
*EjectPageWithFF?: TRUE
}
*case: SheetFeeder
{
*EjectPageWithFF?: FALSE
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: "<1B>b"
}
}
*case: TracterFeeder
{
*EjectPageWithFF?: TRUE
}
*case: PushTracter
{
*EjectPageWithFF?: TRUE
}
}
*%======== capabilities ========
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_RA_ABLE)
}
}
*ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE)
*%======== Cursor Control ========
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
*MaxLineSpacing: 396
*XMoveThreshold: 0
*XMoveUnit: 160
*AbsXMovesRightOnly?: TRUE
*Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,1280]{max_repeat((DestX / 3) )} }
*LineSpacingMoveUnit: 120
*Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0D0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*%======== Raster Data ========
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*UseExpColorSelectCmd?: TRUE
*MoveToX0BeforeSetColor?: TRUE
*MirrorRasterByte?: TRUE
*%======== Device Font ========
*DefaultFont: 1
*DefaultCTT: 1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,9,17,18,19,20,21,22,23,24,25,26,27,28,29,30,
+ 31,32,33,34,35,36)
}
*case: LANDSCAPE_CC270
{
*DeviceFonts: LIST()
}
}
*FontCartridge: FC1
{
*rcCartridgeNameID: 274
*PortraitFonts: LIST(5,13)
*LandscapeFonts: LIST()
}
*FontCartridge: FC2
{
*rcCartridgeNameID: 275
*PortraitFonts: LIST(6,14)
*LandscapeFonts: LIST()
}
*FontCartridge: FC3
{
*rcCartridgeNameID: 276
*PortraitFonts: LIST(7,15)
*LandscapeFonts: LIST()
}
*FontCartridge: FC4
{
*rcCartridgeNameID: 277
*PortraitFonts: LIST(8,16)
*LandscapeFonts: LIST()
}
*%======== Font Simulation ========
*Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
*Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
*Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
*Command: CmdUnderlineOn { *Cmd : "<1B>X" }
*Command: CmdUnderlineOff { *Cmd : "<1B>Y" }