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.
 
 
 
 
 
 

404 lines
9.9 KiB

*GPDSpecVersion: "1.0"
*GPDFileName: "ALMD201.GPD"
*Include: "STDNAMES.GPD"
*ModelName: "ALPS MD-2010J"
*MasterUnits: PAIR(1200, 1200)
*ResourceDLL: "almd2res.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: AUTO
*Option: AUTO
{
*rcNameID: =AUTO_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*CallbackID: 70
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: MANUAL
{
*rcNameID: =MANUAL_FEED_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*CallbackID: 71
*% Error: you must check if this command callback requires any parameters!
}
}
}
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option2
*Option: Option1
{
*Name: "600 x 600 " =DOTS_PER_INCH
*DPI: PAIR(600, 600)
*TextDPI: PAIR(600, 600)
*MinStripBlankPixels: 10
*% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
*SpotDiameter: 100
*Command: CmdSendBlockData { *CallbackID: 13 }
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*CallbackID: 11
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option2
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 10
*% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
*SpotDiameter: 100
*Command: CmdSendBlockData { *CallbackID: 13 }
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*CallbackID: 12
*% Error: you must check if this command callback requires any parameters!
}
}
}
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: A4
*Option: LETTER
{
*rcNameID: =LETTER_DISPLAY
*PrintableArea: PAIR(9600, 11836)
*PrintableOrigin: PAIR(300, 568)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 5
}
}
*Option: LEGAL
{
*rcNameID: =LEGAL_DISPLAY
*PrintableArea: PAIR(9600, 15422)
*PrintableOrigin: PAIR(300, 568)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable length is adjusted (15422->15420) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(9600, 15420)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 4
}
}
*Option: EXECUTIVE
{
*rcNameID: =EXECUTIVE_DISPLAY
*PrintableArea: PAIR(8380, 11238)
*PrintableOrigin: PAIR(160, 568)
*switch: Resolution
{
*case: Option2
{
*% Warning: the following printable length is adjusted (11238->11236) so it is divisible by the resolution Y scale.
*PrintableArea: PAIR(8380, 11236)
}
}
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 3
}
}
*Option: A4
{
*rcNameID: =A4_DISPLAY
*PrintableArea: PAIR(9600, 12660)
*PrintableOrigin: PAIR(160, 568)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 1
}
}
*Option: B5
{
*rcNameID: =B5_DISPLAY
*PrintableArea: PAIR(8284, 10784)
*PrintableOrigin: PAIR(160, 568)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 2
}
}
*Option: JAPANESE_POSTCARD
{
*rcNameID: =9X11_DISPLAY
*PrintableArea: PAIR(4408, 5656)
*PrintableOrigin: PAIR(160, 568)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 6
}
}
*Option: DBL_JAPANESE_POSTCARD
{
*rcNameID: =A6_DISPLAY
*PrintableArea: PAIR(9124, 5656)
*PrintableOrigin: PAIR(160, 568)
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*CallbackID: 7
}
}
}
*InvalidCombination: LIST(InputBin.AUTO, PaperSize.DBL_JAPANESE_POSTCARD)
*Feature: MediaType
{
*rcNameID: =MEDIA_TYPE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 259
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 40
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option2
{
*rcNameID: 260
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 41
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option3
{
*rcNameID: 261
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 42
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option4
{
*rcNameID: 263
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 46
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option5
{
*rcNameID: 264
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 48
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option6
{
*rcNameID: 265
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 49
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option7
{
*rcNameID: 266
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 50
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option8
{
*rcNameID: 267
*Command: CmdSelect
{
*Order: DOC_SETUP.5
*CallbackID: 51
*% Error: you must check if this command callback requires any parameters!
}
}
}
*Feature: PrintQuality
{
*rcNameID: =TEXT_QUALITY_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 268
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*CallbackID: 30
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option2
{
*rcNameID: 269
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*CallbackID: 31
*% Error: you must check if this command callback requires any parameters!
}
}
*Option: Option3
{
*rcNameID: 270
*Command: CmdSelect
{
*Order: DOC_SETUP.6
*CallbackID: 32
*% Error: you must check if this command callback requires any parameters!
}
}
}
*Feature: ImageControl
{
*rcNameID: =IMAGECONTROL_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: 271
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B1A0000>S"
}
}
*Option: Option2
{
*rcNameID: 272
*Command: CmdSelect
{
*Order: DOC_SETUP.7
*Cmd: "<1B1A0100>S"
}
}
}
*Feature: ColorMode
{
*rcNameID: =COLOR_PRINTING_MODE_DISPLAY
*DefaultOption: 24bpp
*Option: Mono
{
*rcNameID: =MONO_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 1
*Color? : FALSE
}
*Option: 24bpp
{
*rcNameID: =24BPP_DISPLAY
*DevNumOfPlanes: 1
*DevBPP: 24
*DrvBPP: 24
*PaletteSize: 256
*PaletteProgrammable? : TRUE
}
}
*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
*CallbackID: 61
*% Error: you must check if this command callback requires any parameters!
}
*Command: CmdStartPage
{
*Order: PAGE_SETUP.1
*CallbackID: 62
*% Error: you must check if this command callback requires any parameters!
}
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: "<1B>%%<00>X"
}
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*CallbackID: 63
*% Error: you must check if this command callback requires any parameters!
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*TextCaps: LIST(TC_RA_ABLE)
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveThreshold: *
*YMoveUnit: 1200
*Command: CmdYMoveRelDown { *CallbackID: 20 }
*Command: CmdFF { *Cmd : "<0C>" }
*EjectPageWithFF?: TRUE
*OutputDataFormat: H_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: AUTO_INCREMENT
*DefaultCTT: 0