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.
 
 
 
 
 
 

255 lines
5.8 KiB

*%%% ======================
*%%% Features and Options
*%%% ======================
*%%% ======================
*%%% DOC_SETUP
*%%% ======================
*%%% ======================
*%%% DOC_SETUP.1
*%%% START PLJ JOB
*%%% PAGEPROTECT
*%%% TIMEOUT
*Feature: PageProtect
{
*rcNameID: =PAGE_PROTECTION_DISPLAY
*DefaultOption: OFF
*Option: ON
{
*rcNameID: =ON_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
}
}
*Option: OFF
{
*rcNameID: =OFF_DISPLAY
*Command: CmdSelect
{
*Order: DOC_SETUP.1
*Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
}
}
}
*%%% ======================
*%%% DOC_SETUP.2
*%%% ECONOMODE
*Feature: Economode
{
*rcNameID: =ECONOMODE_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: =ECONOMODE_DEFAULT
}
*Option: Option2
{
*rcNameID: =ECONOMODE_OFF
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: =PJL_ECONOMODE_OFF
}
}
*Option: Option3
{
*rcNameID: =ECONOMODE_ON
*Command: CmdSelect
{
*Order: DOC_SETUP.2
*Cmd: =PJL_ECONOMODE_ON
}
}
}
*%%% ======================
*%%% DOC_SETUP.3
*%%% RET
*Feature: RET
{
*rcNameID: =PRINT_QUALITY
*DefaultOption: Option1
*Option: Option1
{
*rcNameID: =PRINT_QUALITY_DEFAULT
}
*Option: Option2
{
*rcNameID: =PRINT_QUALITY_LIGHT
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: =PJL_RET_LIGHT
}
}
*Option: Option3
{
*rcNameID: =PRINT_QUALITY_MEDIUM
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: =PJL_RET_MEDIUM
}
}
*Option: Option4
{
*rcNameID: =PRINT_QUALITY_DARK
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: =PJL_RET_DARK
}
}
*Option: Option5
{
*rcNameID: =PRINT_QUALITY_OFF
*Command: CmdSelect
{
*Order: DOC_SETUP.3
*Cmd: =PJL_RET_OFF
}
}
}
*%%% ======================
*%%% DOC_SETUP.4
*%%% RESOLUTION
*%%% ENTER LANGUAGE=PCLXL
*%%% PCL XL Stream Header
*%%% BeginSession
*%%% CmdEndRaster
*%%% EndImage
*%%% CmdSendBlockData
*%%% EndImage
*Feature: Resolution
{
*rcNameID: =RESOLUTION_DISPLAY
*DefaultOption: Option1
*Option: Option1
{
*Name: "1200 x 1200 " =DOTS_PER_INCH
*DPI: PAIR(1200, 1200)
*TextDPI: PAIR(1200, 1200)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
*SpotDiameter: 120
*Command: CmdBeginRaster
{
*Cmd : =PCLXL_CmdBeginRaster
}
*Command: CmdSendBlockData
{
*Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
}
*% EndImage(0xb2)
*%
*Command: CmdEndBlockData { *Cmd : =EndImage}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200
}
}
*Option: Option2
{
*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 : =PCLXL_CmdBeginRaster
}
*Command: CmdEndRaster { *Cmd : =EndImage }
*Command: CmdSendBlockData
{
*Cmd: =PCLXL_CmdSendBlockData
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
}
}
*Option: Option3
{
*Name: "300 x 300 " =DOTS_PER_INCH
*DPI: PAIR(300, 300)
*TextDPI: PAIR(300, 300)
*MinStripBlankPixels: 32
EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
*SpotDiameter: 100
*Command: CmdBeginRaster
{
*Cmd : =PCLXL_CmdBeginRaster
}
*Command: CmdEndRaster { *Cmd : =EndImage }
*Command: CmdSendBlockData
{
*Cmd: =PCLXL_CmdSendBlockData
}
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
}
}
}
*%%% ======================
*%%% DOC_SETUP.5
*%%% OpenDataSource(0x48)
*%%% SourceType(ubyte) & DataOrg(ubyte)
*%%% 136(0x88) 130(0x82)
*Command: CmdStartDoc
{
*Order: DOC_SETUP.5
*Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
}
*Feature: Orientation
{
*rcNameID: =ORIENTATION_DISPLAY
*DefaultOption: PORTRAIT
*Option: PORTRAIT
{
*rcNameID: =PORTRAIT_DISPLAY
}
*Option: LANDSCAPE_CC90
{
*rcNameID: =LANDSCAPE_DISPLAY
}
}
*%%% ======================
*%%% PAGE_FINISH
*%%% ======================
*%%% ======================
*%%% PAGE_FINISH.3
*Command: CmdEndPage
{
*Order: PAGE_FINISH.1
*Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
}
*%%% ======================
*%%% JOB_FINISH.1
*%%% CmdEndJob
*Command: CmdEndJob
{
*Order: JOB_FINISH.1
*Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
}