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.
 
 
 
 
 
 

497 lines
15 KiB

*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*GPDSpecVersion: "1.0"
*GPDFileVersion: "1.00"
*GPDFileName: "OKML40CJ.GPD"
*Include: "STDNAMES.GPD"
*CodePage: 1252
*ModelName: "OKI MICROLINE 400CL"
*MasterUnits: PAIR(600, 600)
*ResourceDLL: "okm4jres.dll"
*PrinterType: PAGE
*MaxCopies: 99
*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: 258
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>|<A0010001>"
}
}
*Option: Option2
{
*rcNameID: 259
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>|<A0010002>"
}
}
*Option: Option3
{
*rcNameID: 260
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>|<A0010003>"
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: "<1B>|<A0010004>"
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "600 x 600 dots per inch"
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>|<A5020002>X"
}
}
*Option: Option2
{
*Name: "300 x 300 dots per inch"
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>|<A5020001>,"
}
}
*Option: Option3
{
*Name: "150 x 150 dots per inch"
*DPI: PAIR(150, 150)
*TextDPI: PAIR(150, 150)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>|<A502000096>"
}
}
*Option: Option4
{
*Name: "75 x 75 dots per inch"
*DPI: PAIR(75, 75)
*TextDPI: PAIR(75, 75)
EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*SpotDiameter: 100
*Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*Cmd: "<1B>|<A5020000>K"
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(4720, 6776)
*PrintableOrigin: PAIR(120, 120)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010001>"
}
}
*Option: A5
{
*rcNameID: =A5_DISPLAY
*PrintableArea: PAIR(3256, 4720)
*PrintableOrigin: PAIR(120, 120)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010002>"
}
}
*Option: A6
{
*rcNameID: =A6_DISPLAY
*PrintableArea: PAIR(2240, 3256)
*PrintableOrigin: PAIR(120, 120)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010003>"
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(4060, 5832)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option4
{
*% Warning: the following printable width is adjusted (4060->4056) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(4056, 5832)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010004>"
}
}
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(4860, 6360)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option4
{
*% Warning: the following printable width is adjusted (4860->4856) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(4856, 6360)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010006>"
}
}
*Option: EXECUTIVE
{
*rcNameID: =EXECUTIVE_DISPLAY
*PrintableArea: PAIR(4110, 6060)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (4110->4108) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(4108, 6060)
}
*case: Option4
{
*% Warning: the following printable width is adjusted (4110->4104) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (6060->6056) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(4104, 6056)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010007>"
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =JAPANESE_POSTCARD_DISPLAY
*PrintableArea: PAIR(2122, 3256)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (2122->2120) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2120, 3256)
}
*case: Option4
{
*% Warning: the following printable width is adjusted (2122->2120) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2120, 3256)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010008>"
}
}
*Option: DBL_JAPANESE_POSTCARD_ROTATED
{
*rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
*PrintableArea: PAIR(3256, 4484)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option4
{
*% Warning: the following printable length is adjusted (4484->4480) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3256, 4480)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010009>"
}
}
*Option: JENV_CHOU3
{
*rcNameID: =JENV_CHOU3_DISPLAY
*PrintableArea: PAIR(2594, 5312)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (2594->2592) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2592, 5312)
}
*case: Option4
{
*% Warning: the following printable width is adjusted (2594->2592) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2592, 5312)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A101000A>"
}
}
*Option: JENV_CHOU4
{
*rcNameID: =JENV_CHOU4_DISPLAY
*PrintableArea: PAIR(1886, 4602)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (1886->1884) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4602->4600) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1884, 4600)
}
*case: Option4
{
*% Warning: the following printable width is adjusted (1886->1880) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4602->4600) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(1880, 4600)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A101000B>"
}
}
*Option: JENV_YOU4
{
*rcNameID: =JENV_YOU4_DISPLAY
*PrintableArea: PAIR(2240, 5312)
*PrintableOrigin: PAIR(120, 120)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A101000C>"
}
}
*Option: ENV_DL
{
*rcNameID: =ENV_DL_DISPLAY
*PrintableArea: PAIR(2358, 4956)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (2358->2356) so it is divisible by the resolution X scale.
*PrintableArea: PAIR(2356, 4956)
}
*case: Option4
{
*% Warning: the following printable width is adjusted (2358->2352) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4956->4952) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2352, 4952)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A101000E>"
}
}
*Option: ENV_C5
{
*rcNameID: =ENV_C5_DISPLAY
*PrintableArea: PAIR(3586, 5170)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option3
{
*% Warning: the following printable width is adjusted (3586->3584) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5170->5168) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3584, 5168)
}
*case: Option4
{
*% Warning: the following printable width is adjusted (3586->3584) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5170->5168) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(3584, 5168)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A101000F>"
}
}
*Option: ENV_10
{
*rcNameID: =ENV_10_DISPLAY
*PrintableArea: PAIR(2232, 5460)
*PrintableOrigin: PAIR(120, 120)
*switch: Resolution
{
*case: Option4
{
*% Warning: the following printable length is adjusted (5460->5456) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(2232, 5456)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: "<1B>|<A1010010>"
}
}
}
*InvalidCombination: LIST(InputBin.Option1, PaperSize.JAPANESE_POSTCARD)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.JENV_CHOU3)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.JENV_CHOU4)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.JENV_YOU4)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_10)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.A6)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.JENV_CHOU3)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.JENV_CHOU4)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.JENV_YOU4)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.ENV_DL)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.ENV_C5)
*InvalidCombination: LIST(InputBin.Option2, PaperSize.ENV_10)
*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: 5120KB
*Option: 5120KB
{
*Name: "5MB"
*MemoryConfigKB: PAIR(5120, 4700)
}
}
*Command: CmdStartDoc
{
*Order: DOC_SETUP.1
*Cmd: "<1B>/<F2>"
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>/<FE>"
}
*Command: CmdCopies
{
*Order: DOC_SETUP.2
*Cmd: "<1B>|<A20100>" %c[1,99]{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)
}
}
*MemoryUsage: LIST(FONT)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveThreshold: 0
*YMoveUnit: 300
*Command: CmdYMoveAbsolute { *Cmd : "<1B>|<A40400>" %m{(DestY / 2) }"<0000>" }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*Command: CmdEnableTIFF4 { *Cmd : "<1B>|<A6010002>" }
*Command: CmdDisableCompression { *Cmd : "<1B>|<A6010000>" }
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultCTT: -1