*% *% Copyright (c) 1997-2003 Microsoft Corporation *% All Rights Reserved. *% *GPDSpecVersion: "1.0" *GPDFileVersion: "1.00" *GPDFileName: "st586pls.GPD" *Include: "STDNAMES.GPD" *CodePage: 1252 *ModelName: "STONE 5860SP+" *MasterUnits: PAIR(360, 360) *ResourceDLL: "st586pl.dll" *PrinterType: SERIAL *PrintRateUnit: CPS *PrintRate: 220 *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: MANUAL *Option: MANUAL { *rcNameID: =MANUAL_FEED_DISPLAY } *Option: TRACTOR { *rcNameID: =TRACTOR_DISPLAY } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option1 *Option: Option1 { *Name: "180 x 180 " =DOTS_PER_INCH *DPI: PAIR(180, 180) *TextDPI: PAIR(180, 180) *PinsPerLogPass: 24 *PinsPerPhysPass: 24 *MinStripBlankPixels: 180 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 120 *Command: CmdSendBlockData { *Cmd : "<1B>%%1" %m{(NumOfDataBytes / 3) } } } } *% ========== PaperSize ========== *Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: A4 *Option: A4 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(2833, 4208) *PrintableOrigin: PAIR(58, 7) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (2833->2832) so it is divisible by the resolution X scale. *PrintableArea: PAIR(2832, 4208) } } } *case: TRACTOR { *PrintableArea: PAIR(2833, 4208) *PrintableOrigin: PAIR(72, 0) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (2833->2832) so it is divisible by the resolution X scale. *PrintableArea: PAIR(2832, 4208) } } *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<09><03>" } } } } *Option: LETTER { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(2944, 3960) *PrintableOrigin: PAIR(58, 7) } *case: TRACTOR { *PrintableArea: PAIR(2916, 3960) *PrintableOrigin: PAIR(72, 0) *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<08><08>" } } } } *Option: LEGAL { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(2944, 5040) *PrintableOrigin: PAIR(58, 7) } *case: TRACTOR { *PrintableArea: PAIR(2916, 5040) *PrintableOrigin: PAIR(72, 0) *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<0B><02>" } } } } *Option: A5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(1982, 2977) *PrintableOrigin: PAIR(58, 7) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (1955->1954) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (2649->2648) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(1954, 2977) } } } *case: TRACTOR { *PrintableArea: PAIR(1955, 2977) *PrintableOrigin: PAIR(72, 0) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (1955->1954) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(1954, 2976) } } *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<06><06>" } } } } *Option: B5 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(2464, 3643) *PrintableOrigin: PAIR(58, 7) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (2437->2436) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (3315->3314) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(2464, 3643) } } } *case: TRACTOR { *PrintableArea: PAIR(2437, 3643) *PrintableOrigin: PAIR(72, 0) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (2437->2436) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(2436, 3642) } } *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<08><00>" } } } } *Option: FANFOLD_US { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(5239, 3960) *PrintableOrigin: PAIR(58, 7) } *case: TRACTOR { *PrintableArea: PAIR(4896, 3960) *PrintableOrigin: PAIR(0, 0) *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<08><08>" } } } } *Option: A3 { *rcNameID: =RCID_DMPAPER_SYSTEM_NAME *switch: InputBin { *case: MANUAL { *PrintableArea: PAIR(4094, 5954) *PrintableOrigin: PAIR(58, 7) } *case: TRACTOR { *PrintableArea: PAIR(4212, 5954) *PrintableOrigin: PAIR(0, 0) *Command: CmdSelect { *Order: DOC_SETUP.3 *Cmd: "<1B>F<08><08>" } } } } *Option: CUSTOMSIZE { *rcNameID: =USER_DEFINED_SIZE_DISPLAY *MinSize: PAIR(936, 180) *MaxSize: PAIR(4212, 7920) *MaxPrintableWidth: 4212 *MinLeftMargin: 0 *CenterPrintable?: FALSE *CustCursorOriginX: %d{0} *CustCursorOriginY: %d{0} *CustPrintableOriginX: %d{0} *CustPrintableOriginY: %d{0} *CustPrintableSizeX: %d{min(4212,PhysPaperWidth)} *CustPrintableSizeY: %d{PhysPaperLength} *switch: InputBin { *case: MANUAL { *TopMargin: 0 *BottomMargin: 0 } *case: TRACTOR { *TopMargin: 120 *BottomMargin: 225 } } *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>6<1B>J" %m[180,7920]{(PhysPaperLength / 3)} } } } *Feature: PrintQuality { *rcNameID: =TEXT_QUALITY_DISPLAY *DefaultOption: LETTER_QUALITY *Option: DRAFT_QUALITY { *rcNameID: =DRAFT_QUALITY_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.2 *Cmd: "<1B>D" } } *Option: LETTER_QUALITY { *rcNameID: =LETTER_QUALITY_DISPLAY *Command: CmdSelect { *Order: DOC_SETUP.2 *Cmd: "<1B>I" } } } *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>r<04>" } *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" } *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" } *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" } *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" } *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" } *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" } *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" } *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" } *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" } *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" } } } *Feature: MediaType { *rcNameID: =MEDIA_TYPE_DISPLAY *DefaultOption: USER_STD *Option: USER_STD { *rcNameID: 5001 *OptionID: 5001 *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>|<11010002>" } } *Option: USER_THIN { *rcNameID: 5003 *OptionID: 5003 *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>|<11010004>" } } *Option: USER_TKPB { *rcNameID: 5006 *OptionID: 5006 *Command: CmdSelect { *Order: DOC_SETUP.4 *Cmd: "<1B>|<110E0003>" } } *Option: USER_NONTYPE { *rcNameID: 5004 *OptionID: 5004 } } *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 } } *UseExpColorSelectCmd?: TRUE *RotateCoordinate?: FALSE *RotateFont?: FALSE *RotateRaster?: FALSE *switch: Orientation { *case: PORTRAIT { *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE) } *case: LANDSCAPE_CC270 { *TextCaps: LIST(TC_RA_ABLE) } } *CursorXAfterCR: AT_CURSOR_X_ORIGIN *EjectPageWithFF?: TRUE *MaxLineSpacing: 255 *XMoveThreshold: 0 *XMoveUnit: 360 *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF) *YMoveThreshold: * *YMoveUnit: 360 *DefaultFont: 19 *DefaultCTT: -1 *CursorXAfterSendBlockData: AT_GRXDATA_END *CursorYAfterSendBlockData: NO_MOVE *OptimizeLeftBound?: FALSE *OutputDataFormat: V_BYTE *Command: CmdStartDoc { *Order: DOC_SETUP.1 *Cmd: "<18><1B><25420A>" } *CursorXAfterCR: AT_CURSOR_X_ORIGIN *YMoveAttributes: LIST(SEND_CR_FIRST) *MaxLineSpacing: 255 *XMoveThreshold: * *YMoveThreshold: * *XMoveUnit: 180 *YMoveUnit: 120 *Command: CmdXMoveRelRight { *Cmd : "<1B>%%3" %m[0,255]{max_repeat((DestXRel / 2) )} } *Command: CmdXMoveRelLeft { *Cmd : "<1B>%%4" %m[0,255]{max_repeat((DestXRel / 2) )} } *Command: CmdYMoveRelDown { *Cmd : "<1B>%%5" %c[0,255]{max_repeat((DestYRel / 3) )} } *Command: CmdSetLineSpacing { *Cmd : "<1B>%%9" %m[0,255]{(LinefeedSpacing / 3) } } *Command: CmdCR { *Cmd : "<0D>" } *Command: CmdLF { *Cmd : "<0A>" } *Command: CmdFF { *Cmd : "<0C>" } *Command: CmdBackSpace { *Cmd : "<08>" } *Command: CmdUniDirectionOn { *Cmd : "<1B><2555>" } *Command: CmdUniDirectionOff { *Cmd : "<1B><2542>" } *EjectPageWithFF?: TRUE *OutputDataFormat: V_BYTE *OptimizeLeftBound?: FALSE *CursorXAfterSendBlockData: AT_GRXDATA_END *CursorYAfterSendBlockData: NO_MOVE *DefaultCTT: 1 *Command: CmdBoldOn { *Cmd : "<1B>i" } *Command: CmdBoldOff { *Cmd : "<1B>j" } *Command: CmdItalicOn { *Cmd : "<1B>X" } *Command: CmdItalicOff { *Cmd : "<1B>Y" }