Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

487 lines
17 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.0"
*GPDFileName: "fue121gj.gpd"
*Include: "STDNAMES.GPD"
*ModelName: "FUJITSU FMP-PR121G"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "fuepjres.dll"
*PrinterType: SERIAL
*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: 272
*OptionID: 272
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B>O"
}
}
}
*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: 360
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 140
*Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
}
*Option: Option2
{
*Name: "120 x 180 " =DOTS_PER_INCH
*DPI: PAIR(120, 180)
*TextDPI: PAIR(120, 180)
*PinsPerLogPass: 24
*PinsPerPhysPass: 24
*MinStripBlankPixels: 240
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
}
*Option: Option3
{
*Name: "360 x 360 " =DOTS_PER_INCH
*DPI: PAIR(360, 360)
*TextDPI: PAIR(360, 360)
*PinsPerLogPass: 48
*PinsPerPhysPass: 48
*MinStripBlankPixels: 720
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: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(2893, 3896)
*PrintableOrigin: PAIR(42, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2892, 3896)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2892, 3896)
}
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*PrintableArea: PAIR(2015, 2665)
*PrintableOrigin: PAIR(42, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2014, 2664)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2665->2664) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2013, 2664)
}
}
}
*Option: A5_ROTATED
{
*rcNameID: =A5_ROTATED_DISPLAY
*PrintableArea: PAIR(2893, 1787)
*PrintableOrigin: PAIR(42, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2892, 1786)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2892, 1786)
}
}
}
*Option: A6
{
*rcNameID: =A6_DISPLAY
*PrintableArea: PAIR(1403, 1787)
*PrintableOrigin: PAIR(42, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1402, 1786)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1787->1786) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1401, 1786)
}
}
}
*Option: A6_ROTATED
{
*rcNameID: =A6_ROTATED_DISPLAY
*PrintableArea: PAIR(2015, 1175)
*PrintableOrigin: PAIR(42, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1175->1174) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2014, 1174)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1175->1174) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2013, 1174)
}
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(2497, 3331)
*PrintableOrigin: PAIR(42, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2496, 3330)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (3331->3330) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2496, 3330)
}
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(2878, 3648)
*PrintableOrigin: PAIR(91, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2878->2876) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2876, 3648)
*% Warning: the following printable origin X is adjusted (91->92) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(92, 120)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2878->2874) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2874, 3648)
*% Warning: the following printable origin X is adjusted (91->93) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(93, 120)
}
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*PrintableArea: PAIR(2878, 4728)
*PrintableOrigin: PAIR(91, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2878->2876) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2876, 4728)
*% Warning: the following printable origin X is adjusted (91->92) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(92, 120)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2878->2874) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2874, 4728)
*% Warning: the following printable origin X is adjusted (91->93) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(93, 120)
}
}
}
*Option: Option9
{
*rcNameID: 258
*OptionID: 258
*PageDimensions: PAIR(3642, 5159)
*PrintableArea: PAIR(2821, 4847)
*PrintableOrigin: PAIR(439, 120)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2821->2820) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4847->4846) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2820, 4846)
*% Warning: the following printable origin X is adjusted (439->440) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(440, 120)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2821->2817) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4847->4846) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2817, 4846)
*% Warning: the following printable origin X is adjusted (439->441) so it is divisible by the resolution X scale.
*PrintableOrigin: PAIR(441, 120)
}
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*PrintableArea: PAIR(1334, 1765)
*PrintableOrigin: PAIR(42, 142)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1334, 1764)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1332, 1764)
}
}
}
*Option: JAPANESE_POSTCARD_ROTATED
{
*rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
*PrintableArea: PAIR(2015, 1084)
*PrintableOrigin: PAIR(42, 142)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2014, 1084)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2013, 1084)
}
}
}
*Option: DBL_JAPANESE_POSTCARD
{
*rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
*PrintableArea: PAIR(2749, 1765)
*PrintableOrigin: PAIR(42, 142)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2748, 1764)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2749->2748) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (1765->1764) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2748, 1764)
}
}
}
*Option: DBL_JAPANESE_POSTCARD_ROTATED
{
*rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
*PrintableArea: PAIR(2015, 2499)
*PrintableOrigin: PAIR(42, 142)
*switch: Resolution
{
*case: Option1
{
*% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2499->2498) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2014, 2498)
}
*case: Option2
{
*% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (2499->2498) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2013, 2498)
}
}
}
*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(360, 360)
*MaxSize: PAIR(5400, 7920)
*MaxPrintableWidth: 4896
*MinLeftMargin: 0
*CenterPrintable?: FALSE
*TopMargin: 120
*BottomMargin: 192
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: LETTER_QUALITY
*Option: LETTER_QUALITY
{
*rcNameID: =LETTER_QUALITY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>x<011C>x<00>"
}
}
*Option: DRAFT_QUALITY
{
*rcNameID: =DRAFT_QUALITY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*Cmd: "<1B>x<001C>x<01>"
}
}
}
*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>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<0D>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>S<1B1B>SK"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
*case: PORTRAIT
{
*TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
}
*case: LANDSCAPE_CC270
{
*TextCaps: LIST(TC_RA_ABLE)
}
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*XMoveUnit: 60
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{LinefeedSpacing } }
*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>" }
*% Error: no Abs or Rel YMoveCommands found. Correct it manually.
*EjectPageWithFF?: TRUE
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 1
*DefaultCTT: -1
*switch: Orientation
{
*case: PORTRAIT
{
*DeviceFonts: LIST(1,3,5,6,7,8,9,10,11,12,14,15,16,17,18,19,
+ 20,21)
}
*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: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
*Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }