370 lines
12 KiB
Plaintext
370 lines
12 KiB
Plaintext
*%
|
|
*% Copyright (c) 1997 - 1999 Microsoft Corporation
|
|
*% All Rights Reserved.
|
|
*%
|
|
*GPDSpecVersion: "1.0"
|
|
*GPDFileVersion: "1.00"
|
|
*GPDFileName: "TS31DP3J.GPD"
|
|
*Include: "STDNAMES.GPD"
|
|
*CodePage: 1252
|
|
*ModelName: "TOSHIBA J31DPR03"
|
|
*MasterUnits: PAIR(720, 720)
|
|
*ResourceDLL: "TSEPJRES.DLL"
|
|
*PrinterType: SERIAL
|
|
*PrintRate: 105
|
|
*PrintRateUnit: CPS
|
|
*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: MANUAL
|
|
*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.8
|
|
*Cmd: "<1B>C<0016>"
|
|
}
|
|
}
|
|
*Option: Option2
|
|
{
|
|
*rcNameID: 258
|
|
*Command: CmdSelect
|
|
{
|
|
*Order: PAGE_SETUP.8
|
|
*Cmd: "<1B19>4<1B>C<0016>"
|
|
}
|
|
}
|
|
}
|
|
*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} }
|
|
}
|
|
*Option: Option2
|
|
{
|
|
*Name: "360 x 360 dots per inch"
|
|
*DPI: PAIR(360, 360)
|
|
*TextDPI: PAIR(360, 360)
|
|
*PinsPerLogPass: 48
|
|
*PinsPerPhysPass: 48
|
|
*MinStripBlankPixels: 279
|
|
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
|
|
*SpotDiameter: 100
|
|
*Command: CmdSendBlockData { *Cmd : "<1B>*I" %l{NumOfDataBytes / 6} }
|
|
}
|
|
}
|
|
*Feature: PaperSize
|
|
{
|
|
*rcNameID: =PAPER_SIZE_DISPLAY
|
|
*DefaultOption: A4
|
|
*Option: B4
|
|
{
|
|
*rcNameID: =B4_DISPLAY
|
|
*PrintableArea: PAIR(6480, 9695)
|
|
*PrintableOrigin: PAIR(180, 283)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable length is adjusted (9695->9692) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(6480, 9692)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (9695->9694) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(6480, 9694)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
}
|
|
}
|
|
*Option: A4
|
|
{
|
|
*rcNameID: =A4_DISPLAY
|
|
*PrintableArea: PAIR(5630, 7794)
|
|
*PrintableOrigin: PAIR(180, 283)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable width is adjusted (5630->5628) so it is divisible by the resolution X scale.
|
|
*% Warning: the following printable length is adjusted (7794->7792) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(5628, 7792)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (7794->7792) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(5630, 7792)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
}
|
|
}
|
|
*Option: B5
|
|
{
|
|
*rcNameID: =B5_DISPLAY
|
|
*PrintableArea: PAIR(4838, 6663)
|
|
*PrintableOrigin: PAIR(180, 283)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable width is adjusted (4838->4836) so it is divisible by the resolution X scale.
|
|
*% Warning: the following printable length is adjusted (6663->6660) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(4836, 6660)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (6663->6662) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(4838, 6662)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
}
|
|
}
|
|
*Option: B5_JIS_ROTATED
|
|
{
|
|
*rcNameID: =B5_JIS_ROTATED_DISPLAY
|
|
*PrintableArea: PAIR(6480, 4539)
|
|
*PrintableOrigin: PAIR(180, 283)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable length is adjusted (4539->4536) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(6480, 4536)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (4539->4538) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(6480, 4538)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
}
|
|
}
|
|
*Option: A5
|
|
{
|
|
*rcNameID: =A5_DISPLAY
|
|
*PrintableArea: PAIR(3874, 5331)
|
|
*PrintableOrigin: PAIR(180, 283)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable width is adjusted (3874->3872) so it is divisible by the resolution X scale.
|
|
*% Warning: the following printable length is adjusted (5331->5328) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(3872, 5328)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (5331->5330) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(3874, 5330)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
}
|
|
}
|
|
*Option: A5_ROTATED
|
|
{
|
|
*rcNameID: =A5_ROTATED_DISPLAY
|
|
*PrintableArea: PAIR(5630, 3575)
|
|
*PrintableOrigin: PAIR(180, 283)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable width is adjusted (5630->5628) so it is divisible by the resolution X scale.
|
|
*% Warning: the following printable length is adjusted (3575->3572) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(5628, 3572)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (3575->3574) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(5630, 3574)
|
|
*% Warning: the following printable origin Y is adjusted (283->284) so it is divisible by the resolution Y scale.
|
|
*PrintableOrigin: PAIR(180, 284)
|
|
}
|
|
}
|
|
}
|
|
*Option: JAPANESE_POSTCARD
|
|
{
|
|
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
|
|
*PrintableArea: PAIR(2513, 3478)
|
|
*PrintableOrigin: PAIR(180, 420)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable width is adjusted (2513->2512) so it is divisible by the resolution X scale.
|
|
*% Warning: the following printable length is adjusted (3478->3476) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(2512, 3476)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable width is adjusted (2513->2512) so it is divisible by the resolution X scale.
|
|
*PrintableArea: PAIR(2512, 3478)
|
|
}
|
|
}
|
|
}
|
|
*Option: JAPANESE_POSTCARD_ROTATED
|
|
{
|
|
*rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
|
|
*PrintableArea: PAIR(3874, 2201)
|
|
*PrintableOrigin: PAIR(180, 336)
|
|
*switch: Resolution
|
|
{
|
|
*case: Option1
|
|
{
|
|
*% Warning: the following printable width is adjusted (3874->3872) so it is divisible by the resolution X scale.
|
|
*% Warning: the following printable length is adjusted (2201->2200) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(3872, 2200)
|
|
}
|
|
*case: Option2
|
|
{
|
|
*% Warning: the following printable length is adjusted (2201->2200) so it is divisible by the resolution Y scale.
|
|
*PrintableArea: PAIR(3874, 2200)
|
|
}
|
|
}
|
|
}
|
|
*Option: CUSTOMSIZE
|
|
{
|
|
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
|
|
*MinSize: PAIR(2834, 2834)
|
|
*MaxSize: PAIR(7286, 11909)
|
|
*MaxPrintableWidth: 6480
|
|
*MinLeftMargin: 180
|
|
*CenterPrintable?: FALSE
|
|
}
|
|
}
|
|
*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: "<1B>@<181B>t<031B>R<081B>U<01>"
|
|
}
|
|
*Command: CmdStartPage
|
|
{
|
|
*Order: PAGE_SETUP.1
|
|
*Cmd: "<0D>"
|
|
}
|
|
*Command: CmdEndJob
|
|
{
|
|
*Order: JOB_FINISH.1
|
|
*Cmd: "<1B>@"
|
|
}
|
|
*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: 6
|
|
*DefaultCTT: -1
|
|
*switch: Orientation
|
|
{
|
|
*case: PORTRAIT
|
|
{
|
|
*DeviceFonts: LIST(1,2,3,4,5,6,10,16,53,54,55,56,57,59)
|
|
}
|
|
*case: LANDSCAPE_CC270
|
|
{
|
|
*DeviceFonts: LIST()
|
|
}
|
|
}
|
|
*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>" }
|