*GPDSpecVersion: "1.0" *GPDFileVersion: "1.00" *GPDFileName: "CSCP35WJ.GPD" *Include: "STDNAMES.GPD" *CodePage: 1252 *ModelName: "CASIO CP-3500GT" *MasterUnits: PAIR(1200, 1200) *ResourceDLL: "CSWINRES.DLL" *PrinterType: PAGE *MaxCopies: 255 *PrintRate: 16 *PrintRateUnit: PPM *Macros: CSWINCBID { RES_SENDBLOCK : 12 RES_SELECTRES_240 : 14 RES_SELECTRES_400 : 15 CM_XM_ABS : 20 CM_YM_ABS : 22 CM_REL_LEFT : 24 CM_REL_RIGHT : 25 CM_REL_UP : 26 CM_REL_DOWN : 27 CM_FE_RLE : 30 CM_DISABLECOMP : 31 WM_CR : 40 WM_COPY : 45 WM_FF : 47 WM_LF : 48 AUTOFEED : 49 PS_A3 : 60 PS_B4 : 61 PS_A4 : 62 PS_B5 : 63 PS_LETTER : 64 PS_POSTCARD : 65 PS_A5 : 66 PS_FREE : 67 PRN_3500GTWM : 110 SBYTE : 120 DBYTE : 121 CM_BOLD_ON : 122 CM_BOLD_OFF : 123 CM_ITALIC_ON : 124 CM_ITALIC_OFF : 125 CM_WHITE_ON : 126 CM_WHITE_OFF : 127 START_DOC : 130 END_DOC : 131 DRW_WHITE_RECT : 140 DRW_BLACK_RECT : 141 DRW_GRAY_RECT : 142 DRW_RECT_WIDTH : 143 DRW_RECT_HEIGHT : 144 OPT_NOSET : Option1 OPT_A3 : Option2 OPT_B4 : Option3 OPT_A4 : Option4 OPT_B5 : Option5 OPT_LETTER : Option6 OPT_POSTCARD : Option7 OPT_A5 : Option8 OPT_TS_NORMAL : Option1 OPT_TS_LV1 : Option2 OPT_TS_LV2 : Option3 OPT_TS_LV3 : Option4 OPT_TS_NOTSELECT : Option5 OPT_SMOOTH_OFF : Option1 OPT_SMOOTH_ON : Option2 OPT_SMOOTH_NOTSELECT : Option3 } *Command: CmdCopies { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% CP(Copy) 01h - FFh(1 - 255) *% OS(character Offset) 80h: All 0 *% Win mode IN *% Engine Resolution *% Clipping Area *Order: DOC_SETUP.60 *CallbackID: =WM_COPY *Params: LIST(NumOfCopies) } *Feature: Orientation { *rcNameID: =ORIENTATION_DISPLAY *DefaultOption: PORTRAIT *Option: PORTRAIT { *rcNameID: =PORTRAIT_DISPLAY *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *% PO(Paper Orientation) 01h: Portrait *Order: DOC_SETUP.50 *Cmd: "<01>" } } *% 2001/03/01 -> *% *Option: LANDSCAPE_CC270 *Option: LANDSCAPE_CC90 *% 2001/03/01 <- { *rcNameID: =LANDSCAPE_DISPLAY *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *% PO(Paper Orientation) 02h: Landscape *Order: DOC_SETUP.50 *Cmd: "<02>" } } } *Feature: InputBin { *rcNameID: =PAPER_SOURCE_DISPLAY *DefaultOption: AUTO *Option: Option2 { *rcNameID: 259 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *% PS(Paper feed Select) 01h: CPF1 *Order: DOC_SETUP.40 *Cmd: "<01>" } } *Option: Option3 { *rcNameID: 261 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *% PS(Paper feed Select) 02h: CPF2 *Order: DOC_SETUP.40 *Cmd: "<02>" } } *Option: Option4 { *rcNameID: 262 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *% PS(Paper feed Select) 03h: CPF2 *Order: DOC_SETUP.40 *Cmd: "<03>" } } *Option: MANUAL { *rcNameID: 265 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *% PS(Paper feed Select) 11h: MPF *Order: DOC_SETUP.40 *Cmd: "<11>" } } *Option: AUTO { *rcNameID: 263 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ *Order: DOC_SETUP.40 *CallbackID: =AUTOFEED } } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option2 *Option: Option1 { *Name: "240 x 240 dots per inch" *DPI: PAIR(240, 240) *TextDPI: PAIR(240, 240) EXTERN_GLOBAL: *XMoveUnit: 240 EXTERN_GLOBAL: *YMoveUnit: 240 *MinStripBlankPixels: 128 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING) EXTERN_GLOBAL: *SendMultipleRows?: TRUE *SpotDiameter: 100 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ ~~ *Order: DOC_SETUP.20 *CallbackID: =RES_SELECTRES_240 } } *Option: Option2 { *Name: "400 x 400 dots per inch" *DPI: PAIR(400, 400) *TextDPI: PAIR(400, 400) EXTERN_GLOBAL: *XMoveUnit: 400 EXTERN_GLOBAL: *YMoveUnit: 400 *MinStripBlankPixels: 64 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING) EXTERN_GLOBAL: *SendMultipleRows?: TRUE *SpotDiameter: 100 *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ ~~ *Order: DOC_SETUP.20 *CallbackID: =RES_SELECTRES_400 } } } *Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: A4 *Option: A3 { *rcNameID: =A3_DISPLAY *PrintableArea: PAIR(13550, 19360) *PrintableOrigin: PAIR(240, 240) *% 2001/03/01 -> *CursorOrigin: PAIR(240, 240) *% 2001/03/01 <- *switch: Resolution { *% 2001/03/01 -> *case: Option1 { *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 19600) } } } *% 2001/03/01 <- *case: Option2 { *% Warning: the following printable width is adjusted (13550->13548) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (19360->19359) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(13548, 19359) *% 2001/03/01 -> *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 19599) } } *% 2001/03/01 <- } } *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 1Fh: A3 | *Order: DOC_SETUP.30 *CallbackID: =PS_A3 } } *Option: B4 { *rcNameID: =B4_DISPLAY *PrintableArea: PAIR(11660, 16715) *PrintableOrigin: PAIR(240, 240) *% 2001/03/01 -> *CursorOrigin: PAIR(240, 240) *% 2001/03/01 <- *switch: Resolution { *% 2001/03/01 -> *case: Option1 { *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 16955) } } } *% 2001/03/01 <- *case: Option2 { *% Warning: the following printable width is adjusted (11660->11658) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (16715->16713) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(11658, 16713) *% 2001/03/01 -> *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 16953) } } *% 2001/03/01 <- } } *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 25h: B4 | *Order: DOC_SETUP.30 *CallbackID: =PS_B4 } } *Option: A4 { *rcNameID: =A4_DISPLAY *PrintableArea: PAIR(9440, 13550) *PrintableOrigin: PAIR(240, 240) *% 2001/03/01 -> *CursorOrigin: PAIR(240, 240) *% 2001/03/01 <- *switch: Resolution { *% 2001/03/01 -> *case: Option1 { *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 13790) } } } *% 2001/03/01 <- *case: Option2 { *% Warning: the following printable width is adjusted (9440->9438) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (13550->13548) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9438, 13548) *% 2001/03/01 -> *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 13788) } } *% 2001/03/01 <- } } *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 2Ah: A4 - *Order: DOC_SETUP.30 *CallbackID: =PS_A4 } } *Option: B5 { *rcNameID: =B5_DISPLAY *PrintableArea: PAIR(8115, 11660) *PrintableOrigin: PAIR(240, 240) *% 2001/03/01 -> *CursorOrigin: PAIR(240, 240) *% 2001/03/01 <- *switch: Resolution { *% 2001/03/01 -> *case: Option1 { *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 11900) } } } *% 2001/03/01 <- *case: Option2 { *% Warning: the following printable length is adjusted (11660->11658) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(8115, 11658) *% 2001/03/01 -> *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 11898) } } *% 2001/03/01 <- } } *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 2Ch: B5 - *Order: DOC_SETUP.30 *CallbackID: =PS_B5 } } *Option: A5 { *rcNameID: =A5_DISPLAY *% 2001/03/01 -> *% *PrintableArea: PAIR(6555, 9440) *% *PrintableOrigin: PAIR(240, 240) *PrintableArea: PAIR(6510, 9440) *PrintableOrigin: PAIR(240, 240) *CursorOrigin: PAIR(240, 240) *% 2001/03/01 <- *switch: Resolution { *% 2001/03/01 -> *case: Option1 { *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 9680) } } } *% 2001/03/01 <- *case: Option2 { *% Warning: the following printable length is adjusted (9440->9438) so it is divisible by the resolution Y scale. *% 2001/03/01 -> *% *PrintableArea: PAIR(6555, 9438) *PrintableArea: PAIR(6510, 9438) *switch: Orientation { *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 9678) } } *% 2001/03/01 <- } } *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 2Eh: A5 - *Order: DOC_SETUP.30 *CallbackID: =PS_A5 } } *Option: LETTER { *rcNameID: =LETTER_DISPLAY *PrintableArea: PAIR(9720, 12720) *PrintableOrigin: PAIR(240, 240) *% 2001/03/01 -> *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(240, 240) } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 12960) } } *% 2001/03/01 <- *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 28h: Letter - *Order: DOC_SETUP.30 *CallbackID: =PS_LETTER } } *Option: JAPANESE_POSTCARD { *rcNameID: =JAPANESE_POSTCARD_DISPLAY *PrintableArea: PAIR(4240, 6510) *PrintableOrigin: PAIR(240, 240) *% 2001/03/01 -> *switch: Orientation { *case: PORTRAIT { *CursorOrigin: PAIR(240, 240) } *case: LANDSCAPE_CC90 { *CursorOrigin: PAIR(240, 6750) } } *% 2001/03/01 <- *switch: Resolution { *case: Option2 { *% Warning: the following printable width is adjusted (4240->4239) so it is divisible by the resolution X scale. *PrintableArea: PAIR(4239, 6510) } } *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) Not Support Free *% MS(MPF paper Size) 31h: PostCard | *Order: DOC_SETUP.30 *CallbackID: =PS_POSTCARD } } *Option: CUSTOMSIZE { *rcNameID: =USER_DEFINED_SIZE_DISPLAY *switch: Resolution { *case: Option1 { *MinSize: PAIR(4250, 4250) *MaxSize: PAIR(14035, 20365) *MaxPrintableWidth: 13555 } *case: Option2 { *MinSize: PAIR(4251, 4251) *MaxSize: PAIR(14034, 20364) *MaxPrintableWidth: 13554 } } *MinLeftMargin: 240 *CenterPrintable?: FALSE *CustCursorOriginX: %d{240} *% 2001/03/01 -> *% *CustCursorOriginY: %d{240} *switch: Orientation { *case: PORTRAIT { *CustCursorOriginY: %d{240} } *case: LANDSCAPE_CC90 { *CustCursorOriginY: %d{PhysPaperLength - 240} } } *% 2001/03/01 <- *CustPrintableOriginX: %d{240} *CustPrintableOriginY: %d{240} *CustPrintableSizeX: %d{PhysPaperWidth - 480} *CustPrintableSizeY: %d{PhysPaperLength - 480} *Command: CmdSelect { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~ ~~ *% MF(MPF Free size) XSize,YSize mm (X[hi],X[lo],Y[hi],Y[lo]) *% MS(MPF paper Size) FFh: FreePaper | *Order: DOC_SETUP.30 *CallbackID: =PS_FREE *Params: LIST(PhysPaperWidth, PhysPaperLength) } } } *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 } } *Feature: Memory { *rcNameID: =PRINTER_MEMORY_DISPLAY *DefaultOption: 4096KB *Option: 4096KB { *Name: "4MB" *MemoryConfigKB: PAIR(4096, 2560) } } *Feature: MPFSetting { *FeatureType: DOC_PROPERTY *rcNameID: 5500 *DefaultOption: =OPT_NOSET *Option: =OPT_NOSET { *rcNameID: 5010 } *Option: =OPT_A3 { *rcNameID: =A3_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } *Option: =OPT_B4 { *rcNameID: =B4_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } *Option: =OPT_A4 { *rcNameID: =A4_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } *Option: =OPT_B5 { *rcNameID: =B5_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } *Option: =OPT_A5 { *rcNameID: =A5_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } *Option: =OPT_LETTER { *rcNameID: =LETTER_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } *Option: =OPT_POSTCARD { *rcNameID: =JAPANESE_POSTCARD_DISPLAY *Constraints: InputBin.MANUAL *Constraints: InputBin.Option2 *Constraints: InputBin.Option3 *Constraints: InputBin.Option4 } } *% 2001/03/01 -> *% *RotateCoordinate?: FALSE *RotateCoordinate?: TRUE *% 2001/03/01 <- *RotateRaster?: TRUE *RotateFont?: FALSE *TextCaps: LIST(TC_CR_90,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE) *MemoryUsage: LIST(FONT) *CursorXAfterCR: AT_CURSOR_X_ORIGIN *XMoveThreshold: 0 *YMoveThreshold: 0 *EjectPageWithFF?: TRUE *OutputDataFormat: H_BYTE *OptimizeLeftBound?: TRUE *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN *CursorYAfterSendBlockData: NO_MOVE *DefaultFont: 1 *DefaultCTT: 0 *CharPosition: UPPERLEFT *switch: Resolution { *case: Option1 { *DeviceFonts: LIST(1,2,3,4,5,6,7,8,13) } *case: Option2 { *DeviceFonts: LIST(1,2,3,4,9,10,11,12) } } *Command: CmdStartJob { *Order: JOB_SETUP.1 *CallbackID: =PRN_3500GTWM } *Command: CmdStartDoc { *% ESC i | RT PF AJ PM MF MS PS PO CP OS *% ~~~ ~ ~ ~~ *% RT(ResetLevel) 04h: SoftwareReset *Order: DOC_SETUP.10 *CallbackID: =START_DOC } *Command: CmdStartPage { *Order:PAGE_SETUP.10 *Cmd: "" } *Command: CmdEndPage { *Order: PAGE_FINISH.10 *Cmd: "" } *Command: CmdEndDoc { *Order: DOC_FINISH.10 *CallbackID: =END_DOC } *Command: CmdEndJob { *Order: JOB_FINISH.10 *Cmd: "<1B>i{<03>" } *Command: CmdXMoveAbsolute { *CallbackID: =CM_XM_ABS *Params: LIST(DestX, DestY) } *Command: CmdXMoveRelLeft { *CallbackID: =CM_REL_LEFT *Params: LIST(DestXRel) } *Command: CmdXMoveRelRight { *CallbackID: =CM_REL_RIGHT *Params: LIST(DestXRel) } *Command: CmdYMoveAbsolute { *CallbackID: =CM_YM_ABS *Params: LIST(DestX, DestY) } *Command: CmdYMoveRelUp { *CallbackID: =CM_REL_UP *Params: LIST(DestYRel) } *Command: CmdYMoveRelDown { *CallbackID: =CM_REL_DOWN *Params: LIST(DestYRel) } *Command: CmdCR { *CallbackID: =WM_CR } *Command: CmdLF { *CallbackID: =WM_LF } *Command: CmdFF { *CallbackID: =WM_FF } *Command: CmdSendBlockData { *CallbackID: =RES_SENDBLOCK *Params: LIST(NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels) } *Command: CmdEnableFE_RLE {*CallbackID: =CM_FE_RLE} *Command: CmdDisableCompression {*CallbackID: =CM_DISABLECOMP} *Command: CmdSelectSingleByteMode { *CallbackID: =SBYTE } *Command: CmdSelectDoubleByteMode { *CallbackID: =DBYTE } *Command: CmdBoldOn { *CallbackID: =CM_BOLD_ON } *Command: CmdBoldOff { *CallbackID: =CM_BOLD_OFF } *Command: CmdItalicOn { *CallbackID: =CM_ITALIC_ON } *Command: CmdItalicOff { *CallbackID: =CM_ITALIC_OFF } *Command: CmdWhiteTextOn { *CallbackID: =CM_WHITE_ON } *Command: CmdWhiteTextOff { *CallbackID: =CM_WHITE_OFF } *% *Command: CmdSetClipRect *% { *% *% For Test *% *CallbackID: 999 *% } *TTFSEnabled?: TRUE *TTFS: MINCHOUH { *rcTTFontNameID: 300 *rcDevFontNameID:301 } *TTFS: MINCHOUV { *rcTTFontNameID: 302 *rcDevFontNameID:303 } *TTFS: KGOTHIC { *rcTTFontNameID: 304 *rcDevFontNameID:305 } *TTFS: KGOTHICV { *rcTTFontNameID: 306 *rcDevFontNameID:307 } *TTFS: MINCHOUH_E { *rcTTFontNameID: 320 *rcDevFontNameID:301 } *TTFS: MINCHOUV_E { *rcTTFontNameID: 321 *rcDevFontNameID:303 } *TTFS: KGOTHIC_E { *rcTTFontNameID: 322 *rcDevFontNameID:305 } *TTFS: KGOTHICV_E { *rcTTFontNameID: 323 *rcDevFontNameID:307 } *Command: CmdSetRectWidth { *CallbackID: =DRW_RECT_WIDTH *Params: LIST(RectXSize) } *Command: CmdSetRectHeight { *CallbackID: =DRW_RECT_HEIGHT *Params: LIST(RectYSize) } *Command: CmdRectWhiteFill { *CallbackID: =DRW_WHITE_RECT *Params: LIST(DestX, DestY) } *% *Command: CmdRectBlackFill *% { *% *CallbackID: =DRW_BLACK_RECT *% *Params: LIST(DestX, DestY) *% } *MinGrayFill: 0 *MaxGrayFill: 0 *% *Command: CmdRectGrayFill *% { *% *CallbackID: =DRW_GRAY_RECT *% *Params: LIST(DestX, DestY, GrayPercentage) *% }