*% *% Copyright (c) 1997 - 1999 Microsoft Corporation *% All Rights Reserved. *% *GPDSpecVersion: "1.0" *GPDFileVersion: "1.00" *GPDFileName: "TS31LB3J.GPD" *Include: "STDNAMES.GPD" *CodePage: 1252 *ModelName: "TOSHIBA J31LBP03" *MasterUnits: PAIR(720, 720) *ResourceDLL: "TSEPJRES.DLL" *PrinterType: SERIAL *PrintRate: 12 *PrintRateUnit: PPM *MaxCopies: 250 *FontCartSlots: 1 *Feature: Orientation { *rcNameID: =ORIENTATION_DISPLAY *DefaultOption: PORTRAIT *Option: PORTRAIT { *rcNameID: =PORTRAIT_DISPLAY } *Option: LANDSCAPE_CC270 { *rcNameID: =LANDSCAPE_DISPLAY } } *Feature: InputBin { *rcNameID: =PAPER_SOURCE_DISPLAY *DefaultOption: Option1 *Option: Option1 { *rcNameID: 263 *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: "<1A>ty,,,0." } } *Option: Option2 { *rcNameID: 264 *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: "<1A>ty,,,2." } } *Option: Option3 { *rcNameID: 265 *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: "<1A>ty,,,4." } } *Option: MANUAL { *rcNameID: =MANUAL_FEED_DISPLAY *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD. *Command: CmdSelect { *Order: PAGE_SETUP.3 *Cmd: "<1A>ty,,,1." } } } *Feature: Resolution { *rcNameID: =RESOLUTION_DISPLAY *DefaultOption: Option1 *Option: Option1 { *Name: "240 x 240 dots per inch" *DPI: PAIR(240, 240) *TextDPI: PAIR(240, 240) *PinsPerLogPass: 32 *PinsPerPhysPass: 32 *MinStripBlankPixels: 180 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 100 *Command: CmdSendBlockData { *Cmd : "<1B>~*<000300>" %l{NumOfDataBytes / 4} } } *Option: Option2 { *Name: "180 x 180 dots per inch" *DPI: PAIR(180, 180) *TextDPI: PAIR(180, 180) *PinsPerLogPass: 24 *PinsPerPhysPass: 24 *MinStripBlankPixels: 135 EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING) *SpotDiameter: 100 *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} } } } *Feature: PaperSize { *rcNameID: =PAPER_SIZE_DISPLAY *DefaultOption: A4 *Option: A3 { *rcNameID: =A3_DISPLAY *PrintableArea: PAIR(7992, 11343) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (7992->7989) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (11343->11340) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(7989, 11340) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (7992->7988) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (11343->11340) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(7988, 11340) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,9,9,.<1A>ms1.<1A>fls." } } *Option: B4 { *rcNameID: =B4_DISPLAY *PrintableArea: PAIR(6861, 9752) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (6861->6858) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (9752->9750) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(6858, 9750) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (6861->6856) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (9752->9748) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(6856, 9748) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,8,8,.<1A>ms1.<1A>fls." } } *Option: B4_JIS_ROTATED { *rcNameID: =B4_JIS_ROTATED_DISPLAY *PrintableArea: PAIR(9792, 6720) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (9792->9789) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (6720->6717) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9789, 6717) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (9792->9788) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (6720->6716) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(9788, 6716) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>tyl,8,8,.<1A>ms1.<1A>fls." } } *Option: A4 { *rcNameID: =A4_DISPLAY *PrintableArea: PAIR(5529, 7851) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (5529->5526) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (7851->7848) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5526, 7848) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (5529->5524) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (7851->7848) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5524, 7848) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,7,7,.<1A>ms1.<1A>fls." } } *Option: A4_ROTATED { *rcNameID: =A4_ROTATED_DISPLAY *PrintableArea: PAIR(7992, 5388) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (7992->7989) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (5388->5385) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(7989, 5385) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (7992->7988) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (5388->5384) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(7988, 5384) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>tyl,7,7,.<1A>ms1.<1A>fls." } } *Option: B5 { *rcNameID: =B5_DISPLAY *PrintableArea: PAIR(4737, 6720) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (4737->4734) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (6720->6717) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(4734, 6717) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (4737->4732) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (6720->6716) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(4732, 6716) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,6,6,.<1A>ms1.<1A>fls." } } *Option: B5_JIS_ROTATED { *rcNameID: =B5_JIS_ROTATED_DISPLAY *PrintableArea: PAIR(6861, 4596) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (6861->6858) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (4596->4593) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(6858, 4593) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (6861->6856) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (4596->4592) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(6856, 4592) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>tyl,6,6,.<1A>ms1.<1A>fls." } } *Option: A5 { *rcNameID: =A5_DISPLAY *PrintableArea: PAIR(3773, 5388) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (3773->3771) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (5388->5385) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(3771, 5385) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (3773->3768) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (5388->5384) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(3768, 5384) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,5,5,.<1A>ms1.<1A>fls." } } *Option: A5_ROTATED { *rcNameID: =A5_ROTATED_DISPLAY *PrintableArea: PAIR(5529, 3632) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (5529->5526) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (3632->3630) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5526, 3630) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (5529->5524) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (3632->3628) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5524, 3628) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>tyl,5,5,.<1A>ms1.<1A>fls." } } *Option: JAPANESE_POSTCARD { *rcNameID: =JAPANESE_POSTCARD_DISPLAY *PrintableArea: PAIR(2412, 3632) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (2412->2409) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (3632->3630) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(2409, 3630) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (2412->2408) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (3632->3628) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(2408, 3628) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,10,10,.<1A>ms1.<1A>fls." } } *Option: JAPANESE_POSTCARD_ROTATED { *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY *PrintableArea: PAIR(3773, 2271) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (3773->3771) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (2271->2268) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(3771, 2268) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (3773->3768) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (2271->2268) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(3768, 2268) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>tyl,10,10,.<1A>ms1.<1A>fls." } } *Option: LETTER { *rcNameID: =LETTER_DISPLAY *PrintableArea: PAIR(5695, 7354) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (5695->5691) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (7354->7350) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5691, 7350) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (5695->5692) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (7354->7352) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5692, 7352) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,11,11,.<1A>ms1.<1A>fls." } } *Option: LEGAL { *rcNameID: =LEGAL_DISPLAY *PrintableArea: PAIR(5695, 9514) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% Warning: the following printable width is adjusted (5695->5691) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (9514->9510) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5691, 9510) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->285) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 285) } *case: Option2 { *% Warning: the following printable width is adjusted (5695->5692) so it is divisible by the resolution X scale. *% Warning: the following printable length is adjusted (9514->9512) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(5692, 9512) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale. *PrintableOrigin: PAIR(144, 284) } } *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,12,12,.<1A>ms1.<1A>fls." } } } *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.A3) *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.B4) *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.B4_JIS_ROTATED) *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 } } *Command: CmdStartDoc { *Order: DOC_SETUP.1 *Cmd: "<1A>cw0.<1A>cp1.<1A>of2,100,600.<1B>@<181B>t<031B>R<00>" } *Command: CmdStartPage { *Order: PAGE_SETUP.1 *Cmd: "<0D>" } *Command: CmdEndJob { *Order: JOB_FINISH.1 *Cmd: "<1A>sr." } *Command: CmdCopies { *Order: PAGE_SETUP.6 *Cmd: "<1A>cp" %d[1,250]{NumOfCopies}"." } *RotateCoordinate?: FALSE *RotateRaster?: FALSE *RotateFont?: FALSE *switch: Orientation { *case: PORTRAIT { *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE) } *case: LANDSCAPE_CC270 { *TextCaps: LIST(TC_RA_ABLE) } } *CursorXAfterCR: AT_CURSOR_X_ORIGIN *YMoveAttributes: LIST(SEND_CR_FIRST) *MaxLineSpacing: 255 *XMoveThreshold: 0 *YMoveThreshold: * *XMoveUnit: 60 *YMoveUnit: 180 *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 12) )} } *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 4) )} } *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } } *Command: CmdCR { *Cmd : "<0D>" } *Command: CmdLF { *Cmd : "<0A>" } *Command: CmdFF { *Cmd : "<0C>" } *Command: CmdBackSpace { *Cmd : "<08>" } *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" } *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" } *EjectPageWithFF?: TRUE *OutputDataFormat: V_BYTE *OptimizeLeftBound?: FALSE *CursorXAfterSendBlockData: AT_GRXDATA_END *CursorYAfterSendBlockData: NO_MOVE *DefaultFont: 23 *DefaultCTT: -1 *switch: Orientation { *case: PORTRAIT { *DeviceFonts: LIST(23,25,35,36,37,38,39,41,44,45,46,47,48,50) } *case: LANDSCAPE_CC270 { *DeviceFonts: LIST(23,25,35,36,37,38,39,41,44,45,46,47,48,50) } } *FontCartridge: FC1 { *rcCartridgeNameID: 268 *PortraitFonts: LIST(27,29) *LandscapeFonts: LIST(27,29) } *Command: CmdBoldOn { *Cmd : "<1B>E" } *Command: CmdBoldOff { *Cmd : "<1B>F" } *Command: CmdItalicOn { *Cmd : "<1B>4" } *Command: CmdItalicOff { *Cmd : "<1B>5" } *Command: CmdUnderlineOn { *Cmd : "<1B>-<011C>-<01>" } *Command: CmdUnderlineOff { *Cmd : "<1B>-<001C>-<00>" } *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" } *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }