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.
494 lines
12 KiB
494 lines
12 KiB
*GPDSpecVersion: "1.0"
|
|
*CodePage: 1252
|
|
*ModelName: "NEC PC-PR602R"
|
|
*MasterUnits: PAIR(1200, 1200)
|
|
*ResourceDLL: "nc62jres.dll"
|
|
*PrinterType: PAGE
|
|
*MaxCopies: 99
|
|
*FontCartSlots: 1
|
|
*PrintRateUnit: PPM
|
|
*PrintRate: 8
|
|
*GPDFileName: "NC62RJ.GPD"
|
|
*Include: "STDNAMES.GPD"
|
|
*GPDFileVersion: "1.000"
|
|
|
|
*%======== Macros ========
|
|
*Macros: DeviceFontIDs
|
|
{
|
|
RC_FONT_MINCHO : 1
|
|
RC_FONT_MINCHOV : 2
|
|
RC_FONT_MINCHO_601 : 3
|
|
RC_FONT_MINCHOV_601 : 4
|
|
RC_FONT_MINCHO_602 : 5
|
|
RC_FONT_MINCHOV_602 : 6
|
|
RC_FONT_MINCHO_602R : 7
|
|
RC_FONT_MINCHOV_602R : 8
|
|
RC_FONT_MINCHO_OUT_SLT1 : 9
|
|
RC_FONT_MINCHOV_OUT_SLT1 : 10
|
|
RC_FONT_GOTHIC_ROM_SLT1 : 11
|
|
RC_FONT_GOTHICV_ROM_SLT1 : 12
|
|
RC_FONT_GOTHIC_OUT_SLT1 : 13
|
|
RC_FONT_GOTHICV_OUT_SLT1 : 14
|
|
RC_FONT_GOTHIC_602R : 15
|
|
RC_FONT_GOTHICV_602R : 16
|
|
RC_FONT_MINCHO_OUT_SLT2 : 17
|
|
RC_FONT_MINCHOV_OUT_SLT2 : 18
|
|
RC_FONT_GOTHIC_ROM_SLT2 : 19
|
|
RC_FONT_GOTHICV_ROM_SLT2 : 20
|
|
RC_FONT_GOTHIC_OUT_SLT2 : 21
|
|
RC_FONT_GOTHICV_OUT_SLT2 : 22
|
|
RC_FONT_COURIER : 23
|
|
RC_FONT_SANSERIF : 24
|
|
RC_FONT_ROMAN : 25
|
|
}
|
|
|
|
|
|
*Macros: OEMCallbackIDs
|
|
{
|
|
CMD_MOVE_X : 23
|
|
CMD_MOVE_Y : 24
|
|
CMD_BEGIN_RASTER : 26
|
|
CMD_RES_240 : 29 *% for PR601,602,602R
|
|
CMD_SEND_BLOCK_DATA : 30 *% for PR1000,1000/2,2000
|
|
CMD_RES_240NEW : 31 *% for PR1000,1000/2,2000
|
|
CMD_SEND_BLOCK_DATA2 : 32 *% for PR601,602,602R
|
|
CMD_INIT_COORDINATE : 33
|
|
CMD_PC_PRN_DIRECTION : 50
|
|
CMD_CR : 51
|
|
}
|
|
|
|
|
|
*%-----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: Hopper1
|
|
*Option: Hopper1
|
|
{
|
|
*rcNameID: 263
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.2
|
|
*Cmd: "<1C>fPC1."
|
|
}
|
|
}
|
|
*Option: Hopper2
|
|
{
|
|
*rcNameID: 264
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.2
|
|
*Cmd: "<1C>fPC2."
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
*%-----RESOLUTION-----
|
|
*Feature: Resolution
|
|
{
|
|
*rcNameID: =RESOLUTION_DISPLAY
|
|
*DefaultOption: 240dpi
|
|
*Option: 240dpi
|
|
{
|
|
*Name: "240 x 240 dots per inch"
|
|
*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
|
|
*CallbackID: =CMD_RES_240
|
|
}
|
|
|
|
*Command: CmdBeginRaster
|
|
{
|
|
*CallbackID: =CMD_BEGIN_RASTER
|
|
}
|
|
|
|
*Command: CmdSendBlockData
|
|
{
|
|
*CallbackID: =CMD_SEND_BLOCK_DATA2
|
|
*Params: LIST(RasterDataWidthInBytes,
|
|
+ RasterDataHeightInPixels, NumOfDataBytes)
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
*%-----PaperSize-----
|
|
*Feature: PaperSize
|
|
{
|
|
*rcNameID: =PAPER_SIZE_DISPLAY
|
|
*DefaultOption: A4
|
|
*Option: A4
|
|
{
|
|
*rcNameID: =A4_DISPLAY
|
|
*PrintableArea: PAIR(9355, 13550)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fPC0."
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: B4
|
|
{
|
|
*rcNameID: =B4_DISPLAY
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(11385, 16675)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fPC0."
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*PrintableArea: PAIR(11385, 16310)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: B5
|
|
{
|
|
*rcNameID: =B5_DISPLAY
|
|
*PrintableArea: PAIR(8035, 11620)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fPC0."
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: JAPANESE_POSTCARD
|
|
{
|
|
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(4060, 6595)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fPC0."
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*PrintableArea: PAIR(4060, 6470)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: B4toA4
|
|
{
|
|
*rcNameID: 258
|
|
*PageDimensions: PAIR(12144, 17196)
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*PrintableArea: PAIR(11385, 16675)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fPC0."
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*PrintableArea: PAIR(11385, 16310)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: A4x2toA4
|
|
{
|
|
*rcNameID: 259
|
|
*PageDimensions: PAIR(9924, 14028)
|
|
*PrintableArea: PAIR(9355, 13550)
|
|
*PrintableOrigin: PAIR(380, 240)
|
|
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fPC0."
|
|
}
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
*Option: LPtoA4
|
|
{
|
|
*rcNameID: 260
|
|
*Constraints: Orientation.PORTRAIT
|
|
*PageDimensions: PAIR(13200, 18000)
|
|
*PrintableArea: PAIR(13200, 16320)
|
|
*PrintableOrigin: PAIR(0, 840)
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
*Option: LPtoB4
|
|
{
|
|
*rcNameID: 261
|
|
*Constraints: Orientation.PORTRAIT
|
|
*PageDimensions: PAIR(13200, 18000)
|
|
*PrintableArea: PAIR(13200, 16320)
|
|
*PrintableOrigin: PAIR(0, 840)
|
|
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: DOC_SETUP.3
|
|
*Cmd: "<1C>fLC0."
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
*%-----INVALID COMBINATION-----
|
|
*InvalidCombination: LIST(InputBin.Hopper1, PaperSize.B4)
|
|
*InvalidCombination: LIST(InputBin.Hopper1, PaperSize.LPtoB4)
|
|
*InvalidCombination: LIST(InputBin.Hopper2, PaperSize.A4)
|
|
*InvalidCombination: LIST(InputBin.Hopper2, PaperSize.B5)
|
|
*InvalidCombination: LIST(InputBin.Hopper2, PaperSize.JAPANESE_POSTCARD)
|
|
*InvalidCombination: LIST(InputBin.Hopper2, PaperSize.B4toA4)
|
|
*InvalidCombination: LIST(InputBin.Hopper2, PaperSize.A4x2toA4)
|
|
*InvalidCombination: LIST(InputBin.Hopper2, PaperSize.LPtoA4)
|
|
|
|
|
|
*%-----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
|
|
}
|
|
}
|
|
|
|
*%======== TextHalftoneThreshold ========
|
|
*Feature: TextHalftoneThreshold
|
|
{
|
|
*rcNameID: =TEXTHALFTONE_DISPLAY
|
|
*DefaultOption: 240
|
|
*Option: NONE
|
|
{
|
|
*rcNameID: =NONE_DISPLAY
|
|
}
|
|
*Option: 240
|
|
{
|
|
*Name: "240"
|
|
EXTERN_GLOBAL: *TextHalftoneThreshold: 240
|
|
}
|
|
}
|
|
|
|
*%-----START DOC-----
|
|
*Command: CmdStartDoc
|
|
{
|
|
*Order: DOC_SETUP.1
|
|
*Cmd: "<1B>c1<1C>d240.<1B>K"
|
|
}
|
|
|
|
*%-----COPIES-----
|
|
*Command: CmdCopies
|
|
{
|
|
*Order: DOC_SETUP.4
|
|
*Cmd: "<1C>x" %d[1,99]{NumOfCopies}"."
|
|
}
|
|
|
|
*%-----START PAGE-----
|
|
*Command: CmdStartPage
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*CallbackID: =CMD_INIT_COORDINATE
|
|
}
|
|
|
|
*%-----END JOB-----
|
|
*Command: CmdEndJob
|
|
{
|
|
*Order: JOB_FINISH.1
|
|
*Cmd: "<1B>c1"
|
|
}
|
|
|
|
*%-----END PAGE-----
|
|
*Command: CmdEndPage
|
|
{
|
|
*Order: PAGE_FINISH.1
|
|
*Cmd: "<1C>R<1C>x" %d[1,99]{NumOfCopies}"."
|
|
}
|
|
|
|
*%-----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 MOVE-----
|
|
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
|
|
*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 { *Cmd : "<1C>R<0D0C>" }
|
|
|
|
*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
|
|
|
|
*%-----DEVICE FONT-----
|
|
*DefaultFont: =RC_FONT_MINCHO_602R
|
|
*DefaultCTT: 1
|
|
*CharPosition: BASELINE
|
|
*DeviceFonts: LIST(=RC_FONT_MINCHO_602R,=RC_FONT_MINCHOV_602R)
|
|
|
|
*FontCartridge: FC1 *%Gothic ROM Card
|
|
{
|
|
*rcCartridgeNameID: 271
|
|
*Fonts: LIST(=RC_FONT_GOTHIC_602R,=RC_FONT_GOTHICV_602R)
|
|
}
|
|
|
|
*%-----FONT SIMULATION-----
|
|
*Command: CmdBoldOn { *Cmd : "<1C>c,,1,7." }
|
|
*Command: CmdItalicOn { *Cmd : "<1C>c,,2,7." }
|
|
*Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0,7." }
|
|
|
|
*%========== RectFill ==========
|
|
*% *MinGrayFill: 1
|
|
*% *MaxGrayFill: 100
|
|
*% *Command: CmdSetRectWidth
|
|
*% {
|
|
*% *CallbackID: 60
|
|
*% *Params: LIST(RectXSize)
|
|
*% }
|
|
*% *Command: CmdSetRectHeight
|
|
*% {
|
|
*% *CallbackID: 61
|
|
*% *Params: LIST(RectYSize)
|
|
*% }
|
|
*% *Command: CmdRectBlackFill { *CallbackID: 63 }
|