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.
 
 
 
 
 
 

418 lines
11 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "LN6CC.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "Legend LJ6C"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "pcl5zres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*FontCartSlots: 2
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&l0o1E"
}
}
*Option: LANDSCAPE_CC270
{
*rcNameID: =LANDSCAPE_DISPLAY
*Command: CmdSelect
{
*Order: PAGE_SETUP.8
*Cmd: "<1B>&l1o1E<1B03>"
}
}
}
*Feature: InputBin
{
*rcNameID: =PAPER_SOURCE_DISPLAY
*DefaultOption: UPPER
*Option: UPPER
{
*rcNameID: =UPPER_TRAY_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l1H"
}
}
*Option: ENVMANUAL
{
*rcNameID: =ENV_MANUAL_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l3H"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: "<1B>&l2H"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "600 x 600 dots per inch"
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>*t600R"
}
}
*Option: Option2
{
*Name: "300 x 300 dots per inch"
*DPI: PAIR(300, 300)
*TextDPI: PAIR(600, 600)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>*t300R"
}
}
*Option: Option3
{
*Name: "150 x 150 dots per inch"
*DPI: PAIR(150, 150)
*TextDPI: PAIR(600, 600)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
*Command: CmdEndRaster { *Cmd : "<1B>*rB" }
*Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>*t150R"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(4362, 6414)
*PrintableOrigin: PAIR(300, 300)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (4362->4360) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6414->6412) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(4360, 6412)
}
}
*CursorOrigin: PAIR(142, 135)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l26a4d45F"
}
}
*Option: A3
{
*rcNameID: =A3_DISPLAY
*PrintableArea: PAIR(6414, 9324)
*PrintableOrigin: PAIR(300, 300)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (6414->6412) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(6412, 9324)
}
}
*CursorOrigin: PAIR(142, 135)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l27a4d45F"
}
}
*Option: B4
{
*rcNameID: =B4_DISPLAY
*PrintableArea: PAIR(5472, 7998)
*PrintableOrigin: PAIR(300, 300)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable length is adjusted (7998->7996) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(5472, 7996)
}
}
*CursorOrigin: PAIR(142, 135)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l101a4d45F"
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(3902, 5672)
*PrintableOrigin: PAIR(200, 200)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (3902->3900) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(3900, 5672)
}
}
*CursorOrigin: PAIR(142, 135)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l100A"
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(4500, 6000)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l2a4d42F"
}
}
*Option: EXECUTIVE
{
*rcNameID: =EXECUTIVE_DISPLAY
*PrintableArea: PAIR(3750, 5700)
*PrintableOrigin: PAIR(300, 300)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (3750->3748) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(3748, 5700)
}
}
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l1a4d40F"
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*PrintableArea: PAIR(4500, 7800)
*PrintableOrigin: PAIR(300, 300)
*CursorOrigin: PAIR(150, 150)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l3a4d54F"
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*PrintableArea: PAIR(1964, 3098)
*PrintableOrigin: PAIR(200, 200)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable length is adjusted (3098->3096) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1964, 3096)
}
}
*CursorOrigin: PAIR(120, 130)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l71A"
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*PrintableArea: PAIR(3098, 4562)
*PrintableOrigin: PAIR(200, 200)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (3098->3096) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4562->4560) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3096, 4560)
}
}
*CursorOrigin: PAIR(120, 130)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l13A"
}
}
*Option: ENV_10
{
*rcNameID: =ENV_10_DISPLAY
*PrintableArea: PAIR(2078, 5300)
*PrintableOrigin: PAIR(200, 200)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (2078->2076) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2076, 5300)
}
}
*CursorOrigin: PAIR(120, 130)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l81a4d1E"
}
}
*Option: ENV_MONARCH
{
*rcNameID: =ENV_MONARCH_DISPLAY
*PrintableArea: PAIR(1928, 4100)
*PrintableOrigin: PAIR(200, 200)
*CursorOrigin: PAIR(120, 130)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>&l80a4d1E"
}
}
}
*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
}
}
*Feature: Memory
{
*rcNameID: =PRINTER_MEMORY_DISPLAY
*DefaultOption: 5632KB
*Option: 5632KB
{
*Name: "5632KB"
*MemoryConfigKB: PAIR(5632, 5518)
}
*Option: 2560KB
{
*Name: "2560KB"
*MemoryConfigKB: PAIR(2560, 2417)
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>E<1B>&u600D<1B>&l1x0L"
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*Cmd: "<1B0C>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>E"
}
*Command: CmdCopies
{
*Order: PAGE_SETUP.6
*Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
}
*RotateCoordinate?: FALSE
*RotateRaster?: TRUE
*RotateFont?: FALSE
*TextCaps: LIST(TC_UA_ABLE)
*MemoryUsage: LIST(FONT, RASTER, VECTOR)
*CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
*XMoveThreshold: 0
*XMoveUnit: 600
*YMoveUnit: 600
*Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
*Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
*Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
*Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
*EjectPageWithFF?: TRUE
*Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
*Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
*Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: TRUE
*CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultCTT: 0
*MaxFontUsePerPage: 16
*CharPosition: BASELINE
*Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
*Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
*MinGrayFill: 1
*MaxGrayFill: 100
*Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
*Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
*Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }