*% *% Copyright (c) 1997 - 1999 Microsoft Corporation *% All Rights Reserved. *% *GPDSpecVersion: "1.0" *GPDFileVersion: "1.00" *GPDFileName: "TS31LB1J.GPD" *Include: "STDNAMES.GPD" *CodePage: 1252 *ModelName: "TOSHIBA J31LBP01 ESC/P" *MasterUnits: PAIR(720, 720) *ResourceDLL: "TSEPJRES.DLL" *PrinterType: SERIAL *PrintRate: 11 *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: 262 *OptionID: 262 } *Option: MANUAL { *rcNameID: =MANUAL_FEED_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: 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: B4 { *rcNameID: =B4_DISPLAY *PrintableArea: PAIR(6861, 9752) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% 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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,8,8,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,8,8,1.<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->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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,8,8,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,8,8,1.<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->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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,7,7,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,7,7,1.<1A>ms1.<1A>fls." } } } } *Option: A4_ROTATED { *rcNameID: =A4_ROTATED_DISPLAY *PrintableArea: PAIR(7992, 5359) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% 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 (5359->5356) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(7988, 5356) *% 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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,7,7,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,7,7,1.<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->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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,6,6,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,6,6,1.<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->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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,6,6,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,6,6,1.<1A>ms1.<1A>fls." } } } } *Option: A5 { *rcNameID: =A5_DISPLAY *PrintableArea: PAIR(3773, 5359) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% 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 (5359->5356) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(3768, 5356) *% 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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,5,5,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,5,5,1.<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->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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,5,5,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,5,5,1.<1A>ms1.<1A>fls." } } } } *Option: JAPANESE_POSTCARD { *rcNameID: =JAPANESE_POSTCARD_DISPLAY *PrintableArea: PAIR(2412, 3518) *PrintableOrigin: PAIR(142, 340) *switch: Resolution { *case: Option1 { *% 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 (3518->3516) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(2408, 3516) *% Warning: the following printable origin X is adjusted (142->144) so it is divisible by the resolution X scale. *PrintableOrigin: PAIR(144, 340) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,10,10,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,10,10,1.<1A>ms1.<1A>fls." } } } } *Option: JAPANESE_POSTCARD_ROTATED { *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY *PrintableArea: PAIR(3773, 2186) *PrintableOrigin: PAIR(142, 283) *switch: Resolution { *case: Option1 { *% 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 (2186->2184) so it is divisible by the resolution Y scale. *PrintableArea: PAIR(3768, 2184) *% 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) } } *switch: InputBin { *case: Option1 { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,10,10,0.<1A>ms1.<1A>fls." } } *case: MANUAL { *Command: CmdSelect { *Order: PAGE_SETUP.4 *Cmd: "<1A>typ,10,10,1.<1A>ms1.<1A>fls." } } } } } *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>fp1.<1A>cw0.<1A>cp1.<1A>of2,0,150.<1B>@<181B>t<031B>R<00>" } *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 *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,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) } *case: LANDSCAPE_CC270 { *DeviceFonts: LIST(23,25,35,36,37,38,39,41) } } *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>" }