*% Common Macros

*PrintSchemaPrivateNamespaceURI:"http://schema.epson.net/printschema/laser/v100"

*Macros: FeatureResourceIDs
{
	RC_STR_DISP_ORIENTATION				:	501		*% 'Orientation'
	RC_STR_DISP_INPUTBIN				:	502		*% 'Paper Source'
	RC_STR_DISP_OUTPUTBIN				:	503		*% 'Output Tray'
	RC_STR_DISP_MEDIATYPE				:	504		*% 'Paper Type'
	RC_STR_DISP_AUTOMODE				:	505		*% 'Auto Mode' ( not appear on UI )
	RC_STR_DISP_RESOLUTION				:	506		*% 'Resolution'
	RC_STR_DISP_PAPERSIZE				:	507		*% 'Paper Size'
	RC_STR_DISP_PRINTERMODE				:	508		*% 'Printing Mode'
	RC_STR_DISP_MANUALFEED				:	509		*% 'Manual Feed'
	RC_STR_DISP_QUALITYPRESET			:	510		*% 'Print Quality'
	RC_STR_DISP_ZOOM					:	511		*% 'Zoom Mode' ( not appear on UI )
	RC_STR_DISP_ZOOMRATE				:	512		*% 'Zoom Rate' ( not appear on UI )
	RC_STR_DISP_PHYSICALPAPERSIZE		:	513		*% 'Output Paper'
	RC_STR_DISP_SHIFTPRINTING			:	514		*% 'Offset Stacking'
	RC_STR_DISP_SCREENMODE				:	515		*% 'Screen'
	RC_STR_DISP_TONERSAVE				:	516		*% 'Toner Save'
	RC_STR_DISP_RIT						:	517		*% 'RITech'
	RC_STR_DISP_FLIPHORIZONTAL			:	518		*% 'Flip Horizontal'
	RC_STR_DISP_MONOGRAPHICMODE			:	519		*% 'Graphics'
	RC_STR_DISP_HALFTONEDENSITY			:	520		*% 'Halftone Density' ( not appear on UI )
	RC_STR_DISP_HALFTONEBRIGHTNESS		:	521		*% 'Halftone Brightness' ( not appear on UI )
	RC_STR_DISP_ROTATE180				:	522		*% 'Rotate by 180'
	RC_STR_DISP_DUPLEXMARGINFRONT		:	523		*% 'Front' ( not appear on UI )
	RC_STR_DISP_DUPLEXMARGINBACK		:	524		*% 'Back' ( not appear on UI )
	RC_STR_DISP_DUPLEXSTARTPAGE			:	525		*% 'Start Page'
	RC_STR_DISP_DUPLEXBINDINGPOSITION	:	527		*% 'Binding'
	RC_STR_DISP_USEDRIVERSETTING		:	528		*% 'Use Driver Setting'
	RC_STR_DISP_TOPOFFSET				:	529		*% 'Top'
	RC_STR_DISP_LEFTOFFSET				:	530		*% 'Left'
	RC_STR_DISP_TOPOFFSET_FRONT			:	531		*% 'Front Top'
	RC_STR_DISP_LEFTOFFSET_FRONT		:	532		*% 'Front Left'
	RC_STR_DISP_TOPOFFSET_BACK			:	533		*% 'Back Top'
	RC_STR_DISP_LEFTOFFSET_BACK			:	534		*% 'Back Left'
	RC_STR_DISP_DENSITY					:	535		*% 'Density'
	RC_STR_DISP_IGNOREPAPERSIZE			:	536		*% 'Ignore the selected paper size'
	RC_STR_DISP_MONOCHROMEPRIORITY		:	539		*% 'Conserve color photoconductors'
	RC_STR_DISP_AVOIDPAGEERROR			:	540		*% 'Avoid Page Error'
	RC_STR_DISP_ENLARGEPATTERNBRUSH		:	541		*% 'Enlargement of pattern brushes'
	RC_STR_DISP_MEMORY					:	542		*% 'Installed Memory'
	RC_STR_DISP_DUPLEXUNIT				:	543		*% 'Duplex Print Unit'
	RC_STR_DISP_DUPLEX					:	544		*% 'Duplex'
	RC_STR_DISP_HARDDISKUNIT			:	545		*% 'Optional HDD Unit'
	RC_STR_DISP_COLORMODE				:	546		*% 'Color'
	RC_STR_DISP_COL_ADJ_MOTHOD			:	547		*% 'Color Management'
	RC_STR_DISP_GAMMA					:	548		*% 'Gamma'
	RC_STR_DISP_COLOR_ADJUSTMENT		:	549		*% 'Color Adjustment' ( not appear on UI )
	RC_STR_DISP_BRIGHTNESS				:	550		*% 'Brightness'
	RC_STR_DISP_CONTRAST				:	551		*% 'Contrast'
	RC_STR_DISP_SATURATION				:	552		*% 'Saturation'
	RC_STR_DISP_CYAN					:	553		*% 'Cyan'
	RC_STR_DISP_MAGENTA					:	554		*% 'Magenta'
	RC_STR_DISP_YELLOW					:	555		*% 'Yellow'
	RC_STR_DISP_DATACOMPRESSLEVEL		:	556		*% 'Data Compression Lebel'
	RC_STR_DISP_APF_TONE				:	557		*% 'Tone'
	RC_STR_DISP_APF_EFFECT				:	558		*% 'Effect'
	RC_STR_DISP_APF_EFFECT_LEVEL		:	559		*% 'Effect Level'
	RC_STR_DISP_APF_DCAMERA				:	560		*% 'Image Purelyzer'
	RC_STR_DISP_APF_MEMORY				:	561		*% 'APF Maximum Memory'
	RC_STR_DISP_SKIP_BLANK_PAGE			:	562		*% 'Blank page detection'
	RC_STR_DISP_AUTO_COLOR				:	563		*% 'Monochrome page detection'
	RC_STR_DISP_NUP						:	564		*% 'Nup'
	RC_STR_DISP_BORDER_PRINT			:	565		*% 'Print the Frame'
	RC_STR_DISP_NUP_ORDER				:   568		*% 'Page Order'
	RC_STR_DISP_OPTIONALOUTPUTBIN		:	569		*% 'Optional Output Trays'
	RC_STR_DISP_COPIES					:	570		*% 'Copies'
	RC_STR_DISP_COLLATE					:	571		*% 'Collate'
}

*Macros: OptionResourceIDs
{
	RC_STR_PORTRAIT						:	1001	*% 'Portrait'
	RC_STR_LANDSCAPE					:	1002	*% 'Landscape'
	
	RC_STR_OFF							:	1005	*% 'Off'
	RC_STR_ON							:	1006	*% 'On'
	
	RC_STR_INSTALLED					:	1007	*% 'Installed'
	RC_STR_NOTINSTALLED					:	1008	*% 'Not Installed'
	
	RC_STR_NONE							:	1009	*% 'None'
	
	RC_STR_MPTRAY						:	1010	*% 'MP Tray'
	RC_STR_CST1							:	1011	*% 'Lower Cassette 1'
	RC_STR_CST2							:	1012	*% 'Lower Cassette 2'
	RC_STR_CST3							:	1013	*% 'Lower Cassette 3'
	RC_STR_CST4							:	1014	*% 'Lower Cassette 4'
	RC_STR_CST5							:	1015	*% 'Lower Cassette 5'
	RC_STR_AUTOSEL						:	1021	*% 'Auto Selection'
	RC_STR_ENVELOPE_FEEDER				:	1024	*% 'Envelope Feeder'
	
	RC_STR_FACEDOWN						:	1040	*% 'Face Down Tray'
	RC_STR_FACEUP						:	1041	*% 'Face Up Tray'
	RC_STR_MAILBOX1						:	1042	*% 'Mailbox 1'
	RC_STR_MAILBOX2						:	1043	*% 'Mailbox 2'
	RC_STR_MAILBOX3						:	1044	*% 'Mailbox 3'
	RC_STR_MAILBOX4						:	1045	*% 'Mailbox 4'
	RC_STR_MAILBOX5						:	1046	*% 'Mailbox 5'
	RC_STR_MAILBOX6						:	1047	*% 'Mailbox 6'
	RC_STR_MAILBOX7						:	1048	*% 'Mailbox 7'
	RC_STR_MAILBOX8						:	1049	*% 'Mailbox 8'
	RC_STR_MAILBOX9						:	1050	*% 'Mailbox 9'
	RC_STR_MAILBOX10					:	1051	*% 'Mailbox 10'
	RC_STR_SORTER						:	1052	*% 'Sorter'
	RC_STR_MSORTER						:	1053	*% 'Multi Sorter'
	RC_STR_STACKER						:	1054	*% 'Stacker'
	RC_STR_4BIN							:	1055	*% '4Bin Mailbin Unit'
	RC_STR_10BIN						:	1056	*% '10-Bin Multi-Purpose Unit'
	RC_STR_SHIFTER						:	1057	*% 'Shifter'
	RC_STR_NO_OPTION_OUTPUT				:	1058	*% 'No Optional Paper Tray'
	
	RC_STR_MD_UNSPECIFIED				:	1070	*% 'Unspecified'
	RC_STR_MD_PLAIN						:	1071	*% 'Plain'
	RC_STR_MD_PLAIN_BACK				:	1072	*% 'Plain(Back)'
	RC_STR_MD_LETTERHEAD				:	1074	*% 'Letterhead'
	RC_STR_MD_RECYCLED					:	1077	*% 'Recycled'
	RC_STR_MD_COLOR						:	1078	*% 'Color'
	RC_STR_MD_TRANSPARENCY				:	1079	*% 'Transparency'
	RC_STR_MD_LABELS					:	1080	*% 'Labels'
	RC_STR_MD_THICK						:	1081	*% 'Thick'
	RC_STR_MD_THICK_NARROW				:	1082	*% 'Thick Narrow'
	RC_STR_MD_THICK_NARROW_BACK			:	1083	*% 'Thick(Narrow, Back)'
	RC_STR_MD_THICK_WIDE				:	1084	*% 'Thick Wide'
	RC_STR_MD_THICK_BACK				:	1085	*% 'Thick (Back)'
	RC_STR_MD_HEAVY_THICK				:	1086	*% 'Extra Thick'
	RC_STR_MD_HEAVY_THICK_BACK			:	1087	*% 'Extra Thick (Back)'
	RC_STR_MD_COATED					:	1088	*% 'Coated'
	RC_STR_MD_COATED_BACK				:	1089	*% 'Coated (Back)'
	RC_STR_MD_POSTCARD_BACK				:	1090	*% 'Postcard(Back)'
	RC_STR_MD_ENVELOPE					:	1091	*% 'Envelope'
	RC_STR_MD_HIGH_QUALITY				:	1092	*% 'High Quality'
	RC_STR_MD_HIGH_QUALITY_BACK			:	1093	*% 'High Quality(Back)'
	RC_STR_MD_NORMAL					:	1094	*% 'Normal'
	RC_STR_MD_ROUGH						:	1095	*% 'Rough'
	RC_STR_MD_COATED_GLOSS				:	1096	*% 'Coated Gloss'
	RC_STR_MD_COATED_GLOSS_BACK			:	1097	*% 'Coated Gloss(Back)'
	
	RC_STR_AUTO							:	1003	*% 'Auto'
	RC_STR_MANUAL						:	1004	*% 'Manual'
	
	RC_STR_RESOLUTION_300				:	1110	*% '300 x 300 dots per inch'
	RC_STR_RESOLUTION_600				:	1111	*% '600 x 600 dots per inch'
	RC_STR_RESOLUTION_1200				:	1112	*% '1200 x 1200 dots per inch'

	RC_STR_DRIVER_PAGE					:	1120	*% 'DriverPage'
	RC_STR_PRINTER_PAGE					:	1121	*% 'PrinterPage'
	RC_STR_IMAGE_MODE					:	1122	*% 'Image Mode'
	
	RC_STR_AUTO_STANDARD				:	1130	*% 'Auto Standard'
	RC_STR_TEXT_GRAPH					:	1131	*% 'Text, Graph'
	RC_STR_GRAPHICS_CAD					:	1132	*% 'Graphics, CAD'
	RC_STR_PHOTO						:	1133	*% 'Photo'
	RC_STR_PHOTOENHANCE					:	1134	*% 'PhotoEnhance'
	RC_STR_SRGB							:	1135	*% 'sRGB'
	RC_STR_AUTO_HIGH_QUALITY			:	1136	*% 'Auto High Quality'
	RC_STR_ADV_TEXTGRAPH				:	1137	*% 'Advanced Text, Graph'
	RC_STR_ADV_GRAPHICCAD				:	1138	*% 'Advanced Graphics, CAD'
	RC_STR_ADV_PHOTO					:	1139	*% 'Advanced Photo'
	RC_STR_HIGH_SPEED					:	1140	*% 'High Speed'
	RC_STR_HIGH_QUALITY					:	1141	*% 'High Quality'
	RC_STR_BEST_QUALITY					:	1142	*% 'Best Quality'
	RC_STR_300DPI						:	1143	*% '300 dpi'
	RC_STR_600DPI						:	1144	*% '600 dpi'
	RC_STR_CLASS_600DPI					:	1145	*% 'Class 600 dpi'
	RC_STR_CLASS_1200DPI				:	1146	*% 'Class 1200 dpi'
	RC_STR_TRUE_1200DPI					:	1147	*% 'True 1200 dpi'
	
	RC_STR_FREEZOOM						:	1160	*% 'Free Zoom' ( Added by ynaito )
	RC_STR_FITPAGE						:	1161	*% 'Fit to Page' ( Added by ynaito )
	
	RC_STR_BOOKLET						:	1165	*% 'Booklet'
	
	RC_STR_GRADATION					:	1170	*% 'Gradation'
	RC_STR_DEFINITION					:	1171	*% 'Definition'
	RC_STR_AUTO_GRADATION				:	1172	*% 'Auto (Gradation)'
	RC_STR_AUTO_DEFINITION				:	1173	*% 'Auto (Definition)'
	
	RC_STR_HALFTONE						:	1180	*% 'HalfTone'
	RC_STR_PGI							:	1181	*% 'PGI'
	
	RC_STR_FROM_FRONT					:	1190	*% 'Front'
	RC_STR_FROM_BACK					:	1191	*% 'Back'
	
	RC_STR_LEFT							:	1200	*% 'Left'
	RC_STR_TOP							:	1201	*% 'Top'
	
	RC_STR_VERTICAL						:	1210	*% 'Vertical'
	RC_STR_HORIZONTAL					:	1211	*% 'Horizontal'
	
	RC_STR_COLOR						:	1220	*% 'Color'
	RC_STR_MONOCHROME					:	1221	*% 'Monochrome'
	
	RC_STR_BY_DRIVER					:	1230	*% 'By Driver'
	RC_STR_NO_COLOR						:	1231	*% 'No Color Adjustment'
	
	RC_STR_PHOTOREALACCGRAY				:	1240	*% 'Auto (Natural)'
	RC_STR_VIVID_ACC					:	1241	*% 'Auto (Vivid)'
	RC_STR_NATURAL						:	1242	*% 'Natual'
	RC_STR_VIVID						:	1243	*% 'Vivid'
	
	RC_STR_HIGHER_QUALITY				:	1250	*% 'Low(Higher Quality)'
	RC_STR_STANDARD						:	1251	*% 'Standard'
	RC_STR_SHORTER_PRINTTIME			:	1252	*% 'High(Shorter Print Time'
	
	RC_STR_APF_TONE_NORMAL				:	1260	*% 'Normal'
	RC_STR_APF_TONE_HARD				:	1261	*% 'Hard'
	RC_STR_APF_TONE_VIVID				:	1262	*% 'Vivid'
	RC_STR_APF_TONE_SEPIA				:	1263	*% 'Sepia'
	RC_STR_APF_TONE_MONOCHROME			:	1264	*% 'Monochrome'
	
	RC_STR_APF_EFFECT_SHARPNESS			:	1270	*% 'Sharpness'
	RC_STR_APF_EFFECT_SOFTFOCUS			:	1271	*% 'Soft Focus'
	RC_STR_APF_EFFECT_CANVAS			:	1272	*% 'Canvas'
	RC_STR_APF_EFFECT_PARCHMENT			:	1273	*% 'Parchment'
	
	RC_STR_LOW							:	1280	*% 'Low'
	RC_STR_MIDDLE						:	1281	*% 'Middle'
	RC_STR_HIGH							:	1282	*% 'High'
	
	RC_STR_UNLIMITED					:	1290	*% 'Unlimited'
	RC_STR_APF_MEM_128MB				:	1291	*% '128'
	RC_STR_APF_MEM_256MB				:	1292	*% '256'
	RC_STR_APF_MEM_512MB				:	1293	*% '512'
	
	RC_STR_GLT							:	2009
	RC_STR_A3W							:	2020
	RC_STR_A3P							:	2021
	RC_STR_A3F							:	2023
	RC_STR_YENV0						:	2026
	RC_STR_YENV6						:	2028
	RC_STR_QPOST						:	2034
	RC_STR_USER_DEFINED_SIZE			:	2037

	RC_STR_L_TO_R						:	2038
	RC_STR_R_TO_L						:	2039
	RC_STR_T_TO_B						:	2040
	RC_STR_Z_ORDER						:	2041
	RC_STR_REV_N_ORDER					:	2042
	RC_STR_REV_Z_ORDER					:	2043
	RC_STR_N_ORDER						:	2044
}

*Macros: OEMCallbackIDs
{
    SET_LCID_J              :  10            *% 10 + 0x00000000(=LCID_JPN)
    SET_LCID_C              : 65546          *% 10 + 0x00010000(=LCID_CHT)
    SET_LCID_H              : 196618         *% 10 + 0x00030000(=LCID_KOR)
    SET_LCID_K              : 131082         *% 10 + 0x00020000(=LCID_CHS)
    SET_LCID_U              :  16777226      *% 10 + 0x01000000(=LCID_USA)

    XMOVE_ABS               :  11            *% (DestX)
    XMOVE_REL_RT            :  12            *% (DestXRel)
    XMOVE_REL_LF            :  13            *% (DestXRel)
    YMOVE_ABS               :  14            *% (DestY)
    YMOVE_REL_DN            :  15            *% (DestYRel)
    YMOVE_REL_UP            :  16            *% (DestYRel)

    TEXT_PRN_DIRECTION      :  20            *% (PrintDirInCCDegrees)
    TEXT_SINGLE_BYTE        :  21            *% (FontBold,FontItalic)
    TEXT_DOUBLE_BYTE        :  22            *% (FontBold,FontItalic)
    TEXT_BOLD               :  23            *% (FontBold)
    TEXT_ITALIC             :  24            *% (FontItalic)
    TEXT_HORIZONTAL         :  25            *% ()
    TEXT_VERTICAL           :  26            *% ()
    TEXT_NO_VPADJUST        :  27            *% ()
    DOWNLOAD_SELECT_FONT_ID :  30            *% (CurrentFontID)
    DOWNLOAD_DELETE_FONT    :  31            *% (CurrentFontID)
    DOWNLOAD_DELETE_ALLFONT :  32            *% ()
    DOWNLOAD_SET_FONT_ID    :  33            *% (CurrentFontID)
    DOWNLOAD_SET_CHAR_CODE  :  34            *% (NextGlyph)

    SEND_BLOCK_DATA         :  40            *% (NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
    SET_SRC_BMP_WIDTH       :  41            *% (RasterDataWidthInBytes)
    SET_SRC_BMP_HEIGHT      :  42            *% (RasterDataHeightInPixels)
    DEFINE_PALETTE_ENTRY    :  43            *% (PaletteIndexToProgram,RedValue,GreenValue,BlueValue)
    SELECT_PALETTE_ENTRY    :  44            *% (CurrentPaletteIndex)
    SET_RECT_WIDTH          :  45            *% (RectXSize)
    SET_RECT_HEIGHT         :  46            *% (RectYSize)
    COMPRESS_OFF            :  50            *% ()
    COMPRESS_ON             :  51            *% ()

    IMG_CB_COLOR            : 100            *% (Imagemode Color Call Back ID)
    IMG_CB_MONO             : 101            *% (Imagemode Monochrome Call Back ID)
}

*Macros: TTFDownloadCtrls
{
    DOWNLOAD_MIN_FONT_ID         :  512
    DOWNLOAD_MIN_FONT_ID_0       :    0
    DOWNLOAD_MIN_FONT_ID_NO_DBCS : 1536      *% 512 + 1024
    DOWNLOAD_MAX_FONT_ID         :  535
    DOWNLOAD_MAX_FONT_ID_10      :  521      *% 512 + 10 - 1
    DOWNLOAD_MAX_FONT_ID_5       :  516      *% 512 + 5 - 1
    DOWNLOAD_MAX_FONT_ID_0       :    0
    DOWNLOAD_MAX_FONT_ID_NO_DBCS : 1559      *% 535 + 1024
    DOWNLOAD_MAX_FONTS           :   24
    DOWNLOAD_MAX_FONTS_10        :   10
    DOWNLOAD_MAX_FONTS_5         :    5
    DOWNLOAD_MAX_FONTS_0         :    0
    DOWNLOAD_MIN_GLYPH_ID        :   32
    DOWNLOAD_MAX_GLYPH_ID        :  543
}
*Macros: TTFSubstCtrls
{
    TTFS_ENABLED  : TRUE
}


*% BlockMacros for PaperSize feature -- non DMS ----
*BlockMacro: BM_PS_A2
{
    *rcNameID: =A2_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(19360, 27584)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(19360, 27584)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 27824)
        }
    }
}

*BlockMacro: BM_PS_A3
{
    *rcNameID: =A3_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(13552, 19360)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(13552, 19360)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 19600)
        }
    }
}
*BlockMacro: BM_PS_A4
{
    *rcNameID: =A4_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9440, 13552)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9440, 13552)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 13792)
        }
    }
}
*BlockMacro: BM_PS_A5
{
    *rcNameID: =A5_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(6512, 9440)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(6512, 9440)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 9680)
        }
    }
}
*BlockMacro: BM_PS_B5
{
    *rcNameID: =B5_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(8120, 11664)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(8120, 11664)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 11904)
        }
    }
}
*BlockMacro: BM_PS_LT
{
    *rcNameID: =LETTER_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9720, 12720)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9720, 12720)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 12960)
        }
    }
}
*BlockMacro: BM_PS_HLT
{
    *rcNameID: =STATEMENT_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(6120, 9720)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(6120, 9720)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 9960)
        }
    }
}
*BlockMacro: BM_PS_LGL
{
    *rcNameID: =LEGAL_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9720, 16320)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9720, 16320)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 16560)
        }
    }
}
*BlockMacro: BM_PS_EXE
{
    *rcNameID: =EXECUTIVE_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(8220, 12120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(8220, 12120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 12360)
        }
    }
}
*BlockMacro: BM_PS_GLG
{
    *rcNameID: =FOLIO_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9720, 15120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9720, 15120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 15360)
        }
    }
}
*BlockMacro: BM_PS_GLT
{
    *rcNameID: =RC_STR_GLT
    *PageDimensions: PAIR(9600, 12600)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9120, 12120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9120, 12120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 12360)
        }
    }
}
*BlockMacro: BM_PS_F4
{
    *rcNameID: =A4_PLUS_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9440, 15112)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9440, 15112)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 15352)
        }
    }
}
*BlockMacro: BM_PS_MON
{
    *rcNameID: =ENV_MONARCH_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4168, 8520)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4168, 8520)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 8760)
        }
    }
}
*BlockMacro: BM_PS_C10
{
    *rcNameID: =ENV_10_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4468, 10920)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4468, 10920)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 11160)
        }
    }
}
*BlockMacro: BM_PS_DL
{
    *rcNameID: =PENV_5_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4716, 9912)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4716, 9912)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 10152)
        }
    }
}
*BlockMacro: BM_PS_C5
{
    *rcNameID: =ENV_C5_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(7172, 10336)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(7172, 10336)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 10576)
        }
    }
}
*BlockMacro: BM_PS_LEDGER_PORTRAIT
{
    *rcNameID: =TABLOID_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(12720, 19920)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(12720, 19920)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 20160)
        }
    }
}
*BlockMacro: BM_PS_B4
{
    *rcNameID: =B4_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(11664, 16720)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(11664, 16720)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 16960)
        }
    }
}
*BlockMacro: BM_PSB_CTM
{
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *CustCursorOriginX:  %d{240}
            *CustCursorOriginY:   %d{240}
            *CustPrintableOriginX:  %d{240}
            *CustPrintableOriginY:  %d{240}
            *CustPrintableSizeX:   %d{ PhysPaperWidth - 480 }
            *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
        }
        *case: LANDSCAPE_CC90
        {
            *CustCursorOriginX:  %d{240}
            *CustCursorOriginY:   %d{PhysPaperLength - 240}
            *CustPrintableOriginX:  %d{240}
            *CustPrintableOriginY:  %d{240}
            *CustPrintableSizeX:   %d{ PhysPaperWidth - 480 }
            *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
        }
    }
}


*% BlockMacros for PaperSize feature:Japanese
*BlockMacro: BM_PS_POST
{
    *rcNameID: =JAPANESE_POSTCARD_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4244, 6512)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4244, 6512)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 6752)
        }
    }
}
*BlockMacro: BM_PS_A3W
{
    *rcNameID: =RC_STR_A3W
    *PageDimensions: PAIR(15496, 21400)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(15016, 20920)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(15016, 20920)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 21160)
        }
    }
}
*BlockMacro: BM_PS_A3P
{
    *rcNameID: =RC_STR_A3P
    *PageDimensions: PAIR(15540, 22816)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(15060, 22336)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(15060, 22336)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 22576)
        }
    }
}

*BlockMacro: BM_PS_A3F
{
    *rcNameID: =RC_STR_A3F
    *PageDimensions: PAIR(14700, 21600)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(14220, 21120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(14220, 21120)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 21360)
        }
    }
}

*BlockMacro: BM_PS_IB5
{
    *rcNameID: =ENV_B5_DISPLAY
    *PageDimensions: PAIR(8312, 11810)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(7832, 11330)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(7832, 11330)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 11570)
        }
    }
}

*BlockMacro: BM_PS_ENV_C6
{
    *rcNameID: =ENV_C6_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4904, 7172)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4904, 7172)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 7412)
        }
    }
}

*BlockMacro: BM_PS_YOU0
{
    *rcNameID: =RC_STR_YENV0
    *PageDimensions: PAIR(5668, 11100)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(5188, 10620)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(5188, 10620)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 10860)
        }
    }
}

*BlockMacro: BM_PS_YOU4
{
    *rcNameID: =JENV_YOU4_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4480, 10620)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4480, 10620)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 10860)
        }
    }
}

*BlockMacro: BM_PS_YOU6
{
    *rcNameID: =RC_STR_YENV6
    *PageDimensions: PAIR(4628, 8976)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(4148, 8496)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(4148, 8496)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 8736)
        }
    }
}

*BlockMacro: BM_PS_CHO3           *% choukei 3
{
    *rcNameID: =JENV_CHOU3_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(5188, 10620)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(5188, 10620)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 10860)
        }
    }
}

*BlockMacro: BM_PS_CHO4           *% choukei 4
{
    *rcNameID: =JENV_CHOU4_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(3772, 9204)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(3772, 9204)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 9444)
        }
    }
}

*BlockMacro: BM_PS_KAKU2          *% kakukei 2
{
    *rcNameID: =JENV_KAKU2_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(10860, 15204)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(10860, 15204)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 15444)
        }
    }
}

*BlockMacro: BM_PS_KAKU3          *% kakukei 3
{
    *rcNameID: =JENV_KAKU3_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(9724, 12608)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(9724, 12608)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 12848)
        }
    }
}

*BlockMacro: BM_PS_RPOST          *% return postcard
{
    *rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(6512, 8968)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(6512, 8968)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 9208)
        }
    }
}

*BlockMacro: BM_PS_QPOST          *% quad postcard
{
    *rcNameID: =RC_STR_QPOST
    *PageDimensions: PAIR(9448, 13984)
    *switch: Orientation
    {
        *case: PORTRAIT
        {
            *PrintableArea: PAIR(8968, 13504)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 240)
        }
        *case: LANDSCAPE_CC90
        {
            *PrintableArea: PAIR(8968, 13504)
            *PrintableOrigin: PAIR(240, 240)
            *CursorOrigin: PAIR(240, 13744)
        }
    }
}


*% BlockMacros for features that takes numeric values...
*BlockMacro: BM_OPTION_DUPLEX_MARGIN
{
	*% Option data for 'DuplexMarginFront' & 'DuplexMarginBack'
	*DefaultOption: 0
	*Option: 0 { *Name: "0" }
	*Option: 1 { *Name: "1" }
	*Option: 2 { *Name: "2" }
	*Option: 3 { *Name: "3" }
	*Option: 4 { *Name: "4" }
	*Option: 5 { *Name: "5" }
	*Option: 6 { *Name: "6" }
	*Option: 7 { *Name: "7" }
	*Option: 8 { *Name: "8" }
	*Option: 9 { *Name: "9" }
}

*BlockMacro: BM_OPTION_ZOOM_RATE
{
	*% Option data for 'ZoomRate'
	*DefaultOption: 100
	*Option: 50 { *Name: "50" }
	*Option: 51 { *Name: "51" }
	*Option: 52 { *Name: "52" }
	*Option: 53 { *Name: "53" }
	*Option: 54 { *Name: "54" }
	*Option: 55 { *Name: "55" }
	*Option: 56 { *Name: "56" }
	*Option: 57 { *Name: "57" }
	*Option: 58 { *Name: "58" }
	*Option: 59 { *Name: "59" }
	*Option: 60 { *Name: "60" }
	*Option: 61 { *Name: "61" }
	*Option: 62 { *Name: "62" }
	*Option: 63 { *Name: "63" }
	*Option: 64 { *Name: "64" }
	*Option: 65 { *Name: "65" }
	*Option: 66 { *Name: "66" }
	*Option: 67 { *Name: "67" }
	*Option: 68 { *Name: "68" }
	*Option: 69 { *Name: "69" }
	*Option: 70 { *Name: "70" }
	*Option: 71 { *Name: "71" }
	*Option: 72 { *Name: "72" }
	*Option: 73 { *Name: "73" }
	*Option: 74 { *Name: "74" }
	*Option: 75 { *Name: "75" }
	*Option: 76 { *Name: "76" }
	*Option: 77 { *Name: "77" }
	*Option: 78 { *Name: "78" }
	*Option: 79 { *Name: "79" }
	*Option: 80 { *Name: "80" }
	*Option: 81 { *Name: "81" }
	*Option: 82 { *Name: "82" }
	*Option: 83 { *Name: "83" }
	*Option: 84 { *Name: "84" }
	*Option: 85 { *Name: "85" }
	*Option: 86 { *Name: "86" }
	*Option: 87 { *Name: "87" }
	*Option: 88 { *Name: "88" }
	*Option: 89 { *Name: "89" }
	*Option: 90 { *Name: "90" }
	*Option: 91 { *Name: "91" }
	*Option: 92 { *Name: "92" }
	*Option: 93 { *Name: "93" }
	*Option: 94 { *Name: "94" }
	*Option: 95 { *Name: "95" }
	*Option: 96 { *Name: "96" }
	*Option: 97 { *Name: "97" }
	*Option: 98 { *Name: "98" }
	*Option: 99 { *Name: "99" }
	*Option: 100 { *Name: "100" }
	*Option: 101 { *Name: "101" }
	*Option: 102 { *Name: "102" }
	*Option: 103 { *Name: "103" }
	*Option: 104 { *Name: "104" }
	*Option: 105 { *Name: "105" }
	*Option: 106 { *Name: "106" }
	*Option: 107 { *Name: "107" }
	*Option: 108 { *Name: "108" }
	*Option: 109 { *Name: "109" }
	*Option: 110 { *Name: "110" }
	*Option: 111 { *Name: "111" }
	*Option: 112 { *Name: "112" }
	*Option: 113 { *Name: "113" }
	*Option: 114 { *Name: "114" }
	*Option: 115 { *Name: "115" }
	*Option: 116 { *Name: "116" }
	*Option: 117 { *Name: "117" }
	*Option: 118 { *Name: "118" }
	*Option: 119 { *Name: "119" }
	*Option: 120 { *Name: "120" }
	*Option: 121 { *Name: "121" }
	*Option: 122 { *Name: "122" }
	*Option: 123 { *Name: "123" }
	*Option: 124 { *Name: "124" }
	*Option: 125 { *Name: "125" }
	*Option: 126 { *Name: "126" }
	*Option: 127 { *Name: "127" }
	*Option: 128 { *Name: "128" }
	*Option: 129 { *Name: "129" }
	*Option: 130 { *Name: "130" }
	*Option: 131 { *Name: "131" }
	*Option: 132 { *Name: "132" }
	*Option: 133 { *Name: "133" }
	*Option: 134 { *Name: "134" }
	*Option: 135 { *Name: "135" }
	*Option: 136 { *Name: "136" }
	*Option: 137 { *Name: "137" }
	*Option: 138 { *Name: "138" }
	*Option: 139 { *Name: "139" }
	*Option: 140 { *Name: "140" }
	*Option: 141 { *Name: "141" }
	*Option: 142 { *Name: "142" }
	*Option: 143 { *Name: "143" }
	*Option: 144 { *Name: "144" }
	*Option: 145 { *Name: "145" }
	*Option: 146 { *Name: "146" }
	*Option: 147 { *Name: "147" }
	*Option: 148 { *Name: "148" }
	*Option: 149 { *Name: "149" }
	*Option: 150 { *Name: "150" }
	*Option: 151 { *Name: "151" }
	*Option: 152 { *Name: "152" }
	*Option: 153 { *Name: "153" }
	*Option: 154 { *Name: "154" }
	*Option: 155 { *Name: "155" }
	*Option: 156 { *Name: "156" }
	*Option: 157 { *Name: "157" }
	*Option: 158 { *Name: "158" }
	*Option: 159 { *Name: "159" }
	*Option: 160 { *Name: "160" }
	*Option: 161 { *Name: "161" }
	*Option: 162 { *Name: "162" }
	*Option: 163 { *Name: "163" }
	*Option: 164 { *Name: "164" }
	*Option: 165 { *Name: "165" }
	*Option: 166 { *Name: "166" }
	*Option: 167 { *Name: "167" }
	*Option: 168 { *Name: "168" }
	*Option: 169 { *Name: "169" }
	*Option: 170 { *Name: "170" }
	*Option: 171 { *Name: "171" }
	*Option: 172 { *Name: "172" }
	*Option: 173 { *Name: "173" }
	*Option: 174 { *Name: "174" }
	*Option: 175 { *Name: "175" }
	*Option: 176 { *Name: "176" }
	*Option: 177 { *Name: "177" }
	*Option: 178 { *Name: "178" }
	*Option: 179 { *Name: "179" }
	*Option: 180 { *Name: "180" }
	*Option: 181 { *Name: "181" }
	*Option: 182 { *Name: "182" }
	*Option: 183 { *Name: "183" }
	*Option: 184 { *Name: "184" }
	*Option: 185 { *Name: "185" }
	*Option: 186 { *Name: "186" }
	*Option: 187 { *Name: "187" }
	*Option: 188 { *Name: "188" }
	*Option: 189 { *Name: "189" }
	*Option: 190 { *Name: "190" }
	*Option: 191 { *Name: "191" }
	*Option: 192 { *Name: "192" }
	*Option: 193 { *Name: "193" }
	*Option: 194 { *Name: "194" }
	*Option: 195 { *Name: "195" }
	*Option: 196 { *Name: "196" }
	*Option: 197 { *Name: "197" }
	*Option: 198 { *Name: "198" }
	*Option: 199 { *Name: "199" }
	*Option: 200 { *Name: "200" }
}

*BlockMacro: BM_OPTION_COLOR_ITEM
{
	*% Option data for 'Brightness', 'Contrast', 'Saturation', 'Cyan', 'Magenta', and 'Yellow'
	*DefaultOption: 0
	*Option: Minus_25 { *Name: "-25" }
	*Option: Minus_24 { *Name: "-24" }
	*Option: Minus_23 { *Name: "-23" }
	*Option: Minus_22 { *Name: "-22" }
	*Option: Minus_21 { *Name: "-21" }
	*Option: Minus_20 { *Name: "-20" }
	*Option: Minus_19 { *Name: "-19" }
	*Option: Minus_18 { *Name: "-18" }
	*Option: Minus_17 { *Name: "-17" }
	*Option: Minus_16 { *Name: "-16" }
	*Option: Minus_15 { *Name: "-15" }
	*Option: Minus_14 { *Name: "-14" }
	*Option: Minus_13 { *Name: "-13" }
	*Option: Minus_12 { *Name: "-12" }
	*Option: Minus_11 { *Name: "-11" }
	*Option: Minus_10 { *Name: "-10" }
	*Option: Minus_9  { *Name: "-9" }
	*Option: Minus_8  { *Name: "-8" }
	*Option: Minus_7  { *Name: "-7" }
	*Option: Minus_6  { *Name: "-6" }
	*Option: Minus_5  { *Name: "-5" }
	*Option: Minus_4  { *Name: "-4" }
	*Option: Minus_3  { *Name: "-3" }
	*Option: Minus_2  { *Name: "-2" }
	*Option: Minus_1  { *Name: "-1" }
	*Option: 0        { *Name: "0" }
	*Option: Plus_1   { *Name: "1" }
	*Option: Plus_2   { *Name: "2" }
	*Option: Plus_3   { *Name: "3" }
	*Option: Plus_4   { *Name: "4" }
	*Option: Plus_5   { *Name: "5" }
	*Option: Plus_6   { *Name: "6" }
	*Option: Plus_7   { *Name: "7" }
	*Option: Plus_8   { *Name: "8" }
	*Option: Plus_9   { *Name: "9" }
	*Option: Plus_10  { *Name: "10" }
	*Option: Plus_11  { *Name: "11" }
	*Option: Plus_12  { *Name: "12" }
	*Option: Plus_13  { *Name: "13" }
	*Option: Plus_14  { *Name: "14" }
	*Option: Plus_15  { *Name: "15" }
	*Option: Plus_16  { *Name: "16" }
	*Option: Plus_17  { *Name: "17" }
	*Option: Plus_18  { *Name: "18" }
	*Option: Plus_19  { *Name: "19" }
	*Option: Plus_20  { *Name: "20" }
	*Option: Plus_21  { *Name: "21" }
	*Option: Plus_22  { *Name: "22" }
	*Option: Plus_23  { *Name: "23" }
	*Option: Plus_24  { *Name: "24" }
	*Option: Plus_25  { *Name: "25" }
}

*BlockMacro: BM_OPTION_OFFSET
{
	*% Option data for 'TopOffset', 'LeftOffset', 'BackTopOffset', 'BackLeftOffset'
	*DefaultOption: 0
	*Option: Minus_90 { *Name: "-9.0" }
	*Option: Minus_85 { *Name: "-8.5" }
	*Option: Minus_80 { *Name: "-8.0" }
	*Option: Minus_75 { *Name: "-7.5" }
	*Option: Minus_70 { *Name: "-7.0" }
	*Option: Minus_65 { *Name: "-6.5" }
	*Option: Minus_60 { *Name: "-6.0" }
	*Option: Minus_55 { *Name: "-5.5" }
	*Option: Minus_50 { *Name: "-5.0" }
	*Option: Minus_45 { *Name: "-4.5" }
	*Option: Minus_40 { *Name: "-4.0" }
	*Option: Minus_35 { *Name: "-3.5" }
	*Option: Minus_30 { *Name: "-3.0" }
	*Option: Minus_25 { *Name: "-2.5" }
	*Option: Minus_20 { *Name: "-2.0" }
	*Option: Minus_15 { *Name: "-1.5" }
	*Option: Minus_10 { *Name: "-1.0" }
	*Option: Minus_5  { *Name: "-0.5" }
	*Option: 0        { *Name: "0" }
	*Option: Plus_5   { *Name: "0.5" }
	*Option: Plus_10  { *Name: "1.0" }
	*Option: Plus_15  { *Name: "1.5" }
	*Option: Plus_20  { *Name: "2.0" }
	*Option: Plus_25  { *Name: "2.5" }
	*Option: Plus_30  { *Name: "3.0" }
	*Option: Plus_35  { *Name: "3.5" }
	*Option: Plus_40  { *Name: "4.0" }
	*Option: Plus_45  { *Name: "4.5" }
	*Option: Plus_50  { *Name: "5.0" }
	*Option: Plus_55  { *Name: "5.5" }
	*Option: Plus_60  { *Name: "6.0" }
	*Option: Plus_65  { *Name: "6.5" }
	*Option: Plus_70  { *Name: "7.0" }
	*Option: Plus_75  { *Name: "7.5" }
	*Option: Plus_80  { *Name: "8.0" }
	*Option: Plus_85  { *Name: "8.5" }
	*Option: Plus_90  { *Name: "9.0" }
}

*% BlockMacros for Orientation feature
*BlockMacro: BM_ORIENTATION
{
    *rcNameID: =RC_STR_DISP_ORIENTATION
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =RC_STR_PORTRAIT
    }
    *Option: LANDSCAPE_CC90
    {
        *rcNameID: =RC_STR_LANDSCAPE
    }
}


*% BlockMacros for AutoMode feature
*BlockMacro: BM_AUTOMODE
{
	*rcNameID: =RC_STR_DISP_AUTOMODE
    *FeatureType: JOB_PROPERTY
	*DefaultOption: AUTO
	*Option: AUTO
	{
		*rcNameID: =RC_STR_AUTO
	}
	*Option: MANUAL
	{
		*rcNameID: =RC_STR_MANUAL
	}
}	

*% BlockMacros for ManualFeed feature
*BlockMacro: BM_MANUALFEED
{
	*rcNameID: =RC_STR_DISP_MANUALFEED
    *FeatureType: JOB_PROPERTY
	*DefaultOption: OFF
	*Option: OFF
	{
		*rcNameID: =RC_STR_OFF
	}
	*Option: ManualFeedWithContinuous
	{
		*rcNameID: =RC_STR_ON
	}
}


*% BlockMacros for ColorMode feature
*BlockMacro: BM_COLORMODE_COLOR
{
    *rcNameID: =RC_STR_DISP_COLORMODE
    *DefaultOption: 24bpp
    *Option: Mono
    {
        *rcNameID: =RC_STR_MONOCHROME
        *DevNumOfPlanes: 0
        *DevBPP: 0
        *DrvBPP: 24
        *IPCallbackID: =IMG_CB_MONO
        *Color? : FALSE
    }
    *Option: 24bpp
    {
        *rcNameID: =RC_STR_COLOR
        *DevNumOfPlanes: 0
        *DevBPP: 0
        *DrvBPP: 24
        *IPCallbackID: =IMG_CB_COLOR
        *PaletteSize: 16
        *PaletteProgrammable?: TRUE

        *Command: CmdDefinePaletteEntry
        {
            *CallbackID: =DEFINE_PALETTE_ENTRY
            *Params: LIST(PaletteIndexToProgram,RedValue,GreenValue,BlueValue)
        }
        *Command: CmdSelectPaletteEntry
        {
            *CallbackID: =SELECT_PALETTE_ENTRY
            *Params: LIST(CurrentPaletteIndex)
        }
        *Command: CmdSetSrcBmpWidth
        {
            *CallbackID: =SET_SRC_BMP_WIDTH
            *Params: LIST(RasterDataWidthInBytes)
        }
        *Command: CmdSetSrcBmpHeight
        {
            *CallbackID: =SET_SRC_BMP_HEIGHT
            *Params: LIST(RasterDataHeightInPixels)
        }
    }
}

*BlockMacro: BM_COLORMODE_MONO
{
    *rcNameID: =RC_STR_DISP_COLORMODE
    *DefaultOption: Mono
    *Option: Mono
    {
        *rcNameID: =RC_STR_MONOCHROME
        *DevNumOfPlanes: 0
        *DevBPP: 0
        *DrvBPP: 24
        *IPCallbackID: =IMG_CB_MONO
        *Color? : FALSE
    }
}


*% BlockMacros for NupOrder feature
*BlockMacro: BM_NUPORDER
{
	*rcNameID: =RC_STR_DISP_NUP_ORDER
    *FeatureType: JOB_PROPERTY
	*DefaultOption: LtoR
	*Option: LtoR
	{
		*rcNameID: =RC_STR_L_TO_R
	}
	*Option: RtoL
	{
		*rcNameID: =RC_STR_R_TO_L
	}
	*Option: TtoB
	{
		*rcNameID: =RC_STR_T_TO_B
	}
	*Option: ZOrder
	{
		*rcNameID: =RC_STR_Z_ORDER
	}
	*Option: RevNOrder
	{
		*rcNameID: =RC_STR_REV_N_ORDER
	}
	*Option: RevZOrder
	{
		*rcNameID: =RC_STR_REV_Z_ORDER
	}
	*Option: NOrder
	{
		*rcNameID: =RC_STR_N_ORDER
	}
}


*% BlockMacros for BorderPrint feature
*BlockMacro: BM_BORDERPRINT
{
	*rcNameID: =RC_STR_DISP_BORDER_PRINT
    *FeatureType: JOB_PROPERTY
	*DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for Collate feature
*BlockMacro: BM_COLLATE
{
	*rcNameID: =RC_STR_DISP_COLLATE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ON
    *Option: ON  { *rcNameID: =RC_STR_ON  }
    *Option: OFF { *rcNameID: =RC_STR_OFF }
}


*% BlockMacros for QualityPreset feature
*BlockMacro: BM_QUALITYPRESET_COLOR
{
	*rcNameID: =RC_STR_DISP_QUALITYPRESET
    *FeatureType: JOB_PROPERTY
    *DefaultOption: Auto_STD
    *Option: Auto_STD
    {
		*rcNameID: =RC_STR_AUTO_STANDARD
    }
    *Option: Auto_HighQuality
    {
		*rcNameID: =RC_STR_AUTO_HIGH_QUALITY
    }
     *Option: TextGraph
    {
		*rcNameID: =RC_STR_TEXT_GRAPH
    }
    *Option: GraphicCAD
    {
		*rcNameID: =RC_STR_GRAPHICS_CAD
    }
    *Option: Photo
    {
		*rcNameID: =RC_STR_PHOTO
    }
*%    *Option: AutoPhotoFine
*%    {
*%		*rcNameID: =RC_STR_PHOTOENHANCE
*%    }
    *Option: sRGB
    {
		*rcNameID: =RC_STR_SRGB
    }
    *Option: ADV_TextGraph
    {
		*rcNameID: =RC_STR_ADV_TEXTGRAPH
    }
    *Option: ADV_GraphicCAD
    {
		*rcNameID: =RC_STR_ADV_GRAPHICCAD
    }
    *Option: ADV_Photo
    {
		*rcNameID: =RC_STR_ADV_PHOTO
    }
    *Option: Auto_STD_MONO
    {
		*rcNameID: =RC_STR_AUTO_STANDARD
    }
    *Option: Auto_HighQuality_MONO
    {
		*rcNameID: =RC_STR_AUTO_HIGH_QUALITY
    }
}


*% BlockMacros for Zoom feature
*BlockMacro: BM_ZOOM
{
	*rcNameID: =RC_STR_DISP_ZOOM
	*FeatureType: JOB_PROPERTY
	*DefaultOption: OFF
	*Option: OFF
	{
		*rcNameID: =RC_STR_OFF
	}
	*Option: FreeZoom
	{
		*rcNameID: =RC_STR_FREEZOOM
	}
	*Option: FitPage
	{
		*rcNameID: =RC_STR_FITPAGE
	}
}


*% BlockMacros for ZoomRate feature
*BlockMacro: BM_ZOOMRATE
{
	*rcNameID: =RC_STR_DISP_ZOOMRATE
	*FeatureType: JOB_PROPERTY

	*InsertBlock: =BM_OPTION_ZOOM_RATE
}


*% BlockMacros for PrinterMode feature
*BlockMacro: BM_PRINTERMODE_HOSTBASE
{
    *rcNameID: =RC_STR_DISP_PRINTERMODE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: DriverPage
    *Option: DriverPage
    {
		*rcNameID: =RC_STR_DRIVER_PAGE
    }
    *Option: ImageMode
    {
		*rcNameID: =RC_STR_IMAGE_MODE
    }
}

*BlockMacro: BM_PRINTERMODE_EMULATION
{
    *rcNameID: =RC_STR_DISP_PRINTERMODE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: DriverPage
    *Option: DriverPage
    {
		*rcNameID: =RC_STR_DRIVER_PAGE
    }
    *Option: PrinterPage
    {
		*rcNameID: =RC_STR_PRINTER_PAGE
    }
    *Option: ImageMode
    {
		*rcNameID: =RC_STR_IMAGE_MODE
    }
}

*BlockMacro: BM_PRINTERMODE_EMULATION_OLD
{
    *rcNameID: =RC_STR_DISP_PRINTERMODE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: DriverPage
    *Option: DriverPage
    {
        *rcNameID: =RC_STR_DRIVER_PAGE
    }
    *Option: PrinterPage
    {
        *rcNameID: =RC_STR_PRINTER_PAGE
    }
    *Option: ImageMode
    {
        *rcNameID: =RC_STR_IMAGE_MODE
    }
}

*% BlockMacros for TonerSave feature
*BlockMacro: BM_TONERSAVE
{
	*rcNameID: =RC_STR_DISP_TONERSAVE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for RIT feature
*BlockMacro: BM_RIT
{
	*rcNameID: =RC_STR_DISP_RIT
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ON
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for FlipHorizontal feature
*BlockMacro: BM_FLIPHORIZONTAL
{
    *rcNameID: =RC_STR_DISP_FLIPHORIZONTAL
    *FeatureType: JOB_PROPERTY
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON
    {
        *rcNameID: =RC_STR_ON
        *Constraints: LIST(ColorMode.Mono,PrinterMode.PrinterPage,PrinterMode.ImageMode)
    }
}


*% BlockMacros for PageColorAdjustmentMode feature
*BlockMacro: BM_PAGECOLORADJUSTMENTMODE
{
	*rcNameID: =RC_STR_DISP_COL_ADJ_MOTHOD
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ByDriver
    *Option: ByDriver
    {
		*rcNameID: =RC_STR_BY_DRIVER
    }
    *Option: AutoPhotoFine
    {
		*rcNameID: =RC_STR_PHOTOENHANCE
    }
    *Option: NoColor
    {
		*rcNameID: =RC_STR_NO_COLOR
    }
    *Option: SRGB
    {
		*rcNameID: =RC_STR_SRGB
    }
}


*% BlockMacros for Gamma feature
*BlockMacro: BM_GAMMA
{
	*rcNameID: =RC_STR_DISP_GAMMA
    *FeatureType: JOB_PROPERTY
    *DefaultOption: 18
    *Option: 15 { *Name: "1.5" }
    *Option: 18 { *Name: "1.8" }
    *Option: 22 { *Name: "2.2" }
}


*% BlockMacros for ColorAdjustment feature
*BlockMacro: BM_COLORADJUSTMENT
{
	*rcNameID: =RC_STR_DISP_COLOR_ADJUSTMENT
    *FeatureType: JOB_PROPERTY
    *DefaultOption: PhotoRealAccGray
    *Option: PhotoRealAccGray
    {
		*rcNameID: =RC_STR_PHOTOREALACCGRAY
    }
    *Option: VividAcc
    {
		*rcNameID: =RC_STR_VIVID_ACC
    }
    *Option: Natural
    {
		*rcNameID: =RC_STR_NATURAL
    }
    *Option: Vivid
    {
		*rcNameID: =RC_STR_VIVID
    }
}

*BlockMacro: BM_COLORADJUSTMENT_OLD_COLORHOSTBASE
{
	*rcNameID: =RC_STR_DISP_COLOR_ADJUSTMENT
    *FeatureType: JOB_PROPERTY
	*DefaultOption: PhotoRealAcc
	*Option: PhotoRealAcc
	{
		*rcNameID: =RC_STR_PHOTOREALACCGRAY
	}
	*Option: VividAcc
	{
		*rcNameID: =RC_STR_VIVID_ACC
	}
	*Option: Natural
	{
		*rcNameID: =RC_STR_NATURAL
	}
	*Option: Vivid
	{
		*rcNameID: =RC_STR_VIVID
	}
}


*% BlockMacros for Brightness feature
*BlockMacro: BM_BRIGHTNESS
{
	*rcNameID: =RC_STR_DISP_BRIGHTNESS
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for Contrast feature
*BlockMacro: BM_CONTRAST
{
	*rcNameID: =RC_STR_DISP_CONTRAST
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for Saturation feature
*BlockMacro: BM_SATURATION
{
	*rcNameID: =RC_STR_DISP_SATURATION
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for Cyan feature
*BlockMacro: BM_CYAN
{
	*rcNameID: =RC_STR_DISP_CYAN
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for Magenta feature
*BlockMacro: BM_MAGENTA
{
	*rcNameID: =RC_STR_DISP_MAGENTA
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for Yellow feature
*BlockMacro: BM_YELLOW
{
	*rcNameID: =RC_STR_DISP_YELLOW
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for MonoGraphicMode feature
*BlockMacro: BM_MONOGRAPHICMODE_MONOHOST
{
	*rcNameID: =RC_STR_DISP_MONOGRAPHICMODE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: HalfTone
    *Option: HalfTone
    {
		*rcNameID: =RC_STR_HALFTONE
    }
    *Option: None
    {
		*rcNameID: =NONE_DISPLAY
    }
}

*BlockMacro: BM_MONOGRAPHICMODE_EMULATION
{
	*rcNameID: =RC_STR_DISP_MONOGRAPHICMODE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: HalfTone
    *Option: HalfTone
    {
		*rcNameID: =RC_STR_HALFTONE
    }
    *Option: PGI
    {
		*rcNameID: =RC_STR_PGI
    }
    *Option: None
    {
		*rcNameID: =RC_STR_NONE
    }
}


*% BlockMacros for HalftoneDensity feature
*BlockMacro: BM_HALFTONEDENSITY_2
{
	*rcNameID: =RC_STR_DISP_HALFTONEDENSITY
    *FeatureType: JOB_PROPERTY
    *DefaultOption: 2
    *Option: 1 { *Name: "1" }
    *Option: 2 { *Name: "2" }
}

*BlockMacro: BM_HALFTONEDENSITY_4
{
	*rcNameID: =RC_STR_DISP_HALFTONEDENSITY
    *FeatureType: JOB_PROPERTY
    *DefaultOption: 3
    *Option: 1 { *Name: "1" }
    *Option: 2 { *Name: "2" }
    *Option: 3 { *Name: "3" }
    *Option: 4 { *Name: "4" }
}

*% for ColorHostbase
*BlockMacro: BM_HALFTONEDENSITY_51
{
	*rcNameID: =RC_STR_DISP_HALFTONEDENSITY
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for HalftoneBrightness feature
*BlockMacro: BM_HALFTONEBRIGHTNESS_5
{
	*rcNameID: =RC_STR_DISP_HALFTONEBRIGHTNESS
    *FeatureType: JOB_PROPERTY
    *DefaultOption: 3
    *Option: 1 { *Name: "1" }
    *Option: 2 { *Name: "2" }
    *Option: 3 { *Name: "3" }
    *Option: 4 { *Name: "4" }
    *Option: 5 { *Name: "5" }
}

*% for ColorHostbase
*BlockMacro: BM_HALFTONEBRIGHTNESS_51
{
	*rcNameID: =RC_STR_DISP_HALFTONEBRIGHTNESS
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_COLOR_ITEM
}


*% BlockMacros for Rotate180 feature
*BlockMacro: BM_ROTATE180
{
	*rcNameID: =RC_STR_DISP_ROTATE180
    *FeatureType: JOB_PROPERTY
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for DuplexMarginFront feature
*BlockMacro: BM_DUPLEXMARGINFRONT
{
	*rcNameID: =RC_STR_DISP_DUPLEXMARGINFRONT
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_DUPLEX_MARGIN
}


*% BlockMacros for DuplexMarginBack feature
*BlockMacro: BM_DUPLEXMARGINBACK
{
	*rcNameID: =RC_STR_DISP_DUPLEXMARGINBACK
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_DUPLEX_MARGIN
}


*% BlockMacros for DuplexStartPage feature
*BlockMacro: BM_DUPLEXSTARTPAGE
{
    *rcNameID: =RC_STR_DISP_DUPLEXSTARTPAGE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: Front
    *Option: Front
    {
        *rcNameID: =RC_STR_FROM_FRONT
    }
    *Option: Back
    {
        *rcNameID: =RC_STR_FROM_BACK
        *Constraints: Duplex.NONE
    }
}


*% BlockMacros for DuplexBindingPosition feature
*BlockMacro: BM_DUPLEXBINDINGPOSITION
{
	*rcNameID: =RC_STR_DISP_DUPLEXBINDINGPOSITION
    *FeatureType: JOB_PROPERTY
    *DefaultOption: Left
    *Option: Left
    {
		*rcNameID: =RC_STR_LEFT
    }
	*Option: Top
    {
		*rcNameID: =RC_STR_TOP
    }
}


*% BlockMacros for UseDriverSettings feature
*BlockMacro: BM_USEDRIVERSETTINGS
{
	*rcNameID: =RC_STR_DISP_USEDRIVERSETTING
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ON
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for TopOffset feature
*BlockMacro: BM_TOPOFFSET
{
	*rcNameID: =RC_STR_DISP_TOPOFFSET_FRONT
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_OFFSET
}


*% BlockMacros for LeftOffset feature
*BlockMacro: BM_LEFTOFFSET
{
	*rcNameID: =RC_STR_DISP_LEFTOFFSET_FRONT
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_OFFSET
}


*% BlockMacros for BackPageTopOffset feature
*BlockMacro: BM_BACKPAGETOPOFFSET
{
	*rcNameID: =RC_STR_DISP_TOPOFFSET_BACK
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_OFFSET
}


*% BlockMacros for BackPageLeftOffset feature
*BlockMacro: BM_BACKPAGELEFTOFFSET
{
	*rcNameID: =RC_STR_DISP_LEFTOFFSET_BACK
    *FeatureType: JOB_PROPERTY
    
    *InsertBlock: =BM_OPTION_OFFSET
}


*% BlockMacros for Density feature
*BlockMacro: BM_DENSITY
{
	*rcNameID: =RC_STR_DISP_DENSITY
    *FeatureType: JOB_PROPERTY
    *DefaultOption: 3
    *Option: 1 { *Name: "1" }
    *Option: 2 { *Name: "2" }
    *Option: 3 { *Name: "3" }
    *Option: 4 { *Name: "4" }
    *Option: 5 { *Name: "5" }
}


*% BlockMacros for IgnorePaperSize feature
*BlockMacro: BM_IGNOREPAPERSIZE
{
	*rcNameID: =RC_STR_DISP_IGNOREPAPERSIZE
    *FeatureType: JOB_PROPERTY
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for AvoidPageError feature
*BlockMacro: BM_AVOIDPAGEERROR
{
	*rcNameID: =RC_STR_DISP_AVOIDPAGEERROR
    *FeatureType: JOB_PROPERTY
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}

*BlockMacro: BM_AVOIDPAGEERROR_MONOHOST
{
	*rcNameID: =RC_STR_DISP_AVOIDPAGEERROR
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ON
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}

*% BlockMacros for DataCompressionMethod feature
*BlockMacro: BM_DATACOMPRESSIONLEVEL
{
	*rcNameID: =RC_STR_DISP_DATACOMPRESSLEVEL
    *FeatureType: JOB_PROPERTY
    *DefaultOption: Standard
    *Option: IncreaseQuality
    {
		*rcNameID: =RC_STR_HIGHER_QUALITY
    }
    *Option: Standard
    {
		*rcNameID: =RC_STR_STANDARD
    }
    *Option: DiminishDataSize
    {
		*rcNameID: =RC_STR_SHORTER_PRINTTIME
    }
}


*% BlockMacros for MonochromePriority feature
*BlockMacro: BM_MONOCHROMEPRIORITY
{
    *rcNameID: =RC_STR_DISP_MONOCHROMEPRIORITY
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ON
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON
    {
        *rcNameID: =RC_STR_ON
        *Constraints: PageMonochrome.OFF
    }
}


*% BlockMacros for PageAPFTone feature
*BlockMacro: BM_PAGEAPFTONE
{
	*rcNameID: =RC_STR_DISP_APF_TONE
    *FeatureType: JOB_PROPERTY
	*DefaultOption: Normal
	*Option: Normal
	{
		*rcNameID: =RC_STR_APF_TONE_NORMAL
	}
	*Option: Contra
	{
		*rcNameID: =RC_STR_APF_TONE_HARD
	}
	*Option: Sepia
	{
		*rcNameID: =RC_STR_APF_TONE_SEPIA
	}
	*Option: Vivid
	{
		*rcNameID: =RC_STR_APF_TONE_VIVID
	}
	*Option: Mono
	{
		*rcNameID: =RC_STR_APF_TONE_MONOCHROME
	}
	*Option: Nothing
	{
		*rcNameID: =RC_STR_NONE
	}
}


*% BlockMacros for PageAPFEffect feature
*BlockMacro: BM_PAGEAPFEFFECT
{
	*rcNameID: =RC_STR_DISP_APF_EFFECT
    *FeatureType: JOB_PROPERTY
	*DefaultOption: Nothing
	*Option: Nothing
	{
		*rcNameID: =RC_STR_NONE
	}
	*Option: Sharpness
	{
		*rcNameID: =RC_STR_APF_EFFECT_SHARPNESS
	}
	*Option: SoftFocus
	{
		*rcNameID: =RC_STR_APF_EFFECT_SOFTFOCUS
	}
	*Option: Canvas
	{
		*rcNameID: =RC_STR_APF_EFFECT_CANVAS
	}
	*Option: PaperCraft
	{
		*rcNameID: =RC_STR_APF_EFFECT_PARCHMENT
	}
}


*% BlockMacros for PageAPFEffectLevel feature
*BlockMacro: BM_PAGEAPFEFFECTLEVEL
{
	*rcNameID: =RC_STR_DISP_APF_EFFECT_LEVEL
    *FeatureType: JOB_PROPERTY
	*DefaultOption: Middle
	*Option: Soft
	{
		*rcNameID: =RC_STR_LOW
	}
	*Option: Middle
	{
		*rcNameID: =RC_STR_MIDDLE
	}
	*Option: Hard
	{
		*rcNameID: =RC_STR_HIGH
	}
}


*% BlockMacros for PageAPFDCamera feature
*BlockMacro: BM_PAGEAPFDCAMERA
{
	*rcNameID: =RC_STR_DISP_APF_DCAMERA
    *FeatureType: JOB_PROPERTY
	*DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for PageAPFMemory feature
*BlockMacro: BM_PAGEAPFMEMORY
{
	*rcNameID: =RC_STR_DISP_APF_MEMORY
    *FeatureType: JOB_PROPERTY
	*DefaultOption: Mem256
	*Option: Unlimited
	{
		*rcNameID: =RC_STR_UNLIMITED
	}
	*Option: Mem128
	{
		*rcNameID: =RC_STR_APF_MEM_128MB
	}
	*Option: Mem256
	{
		*rcNameID: =RC_STR_APF_MEM_256MB
	}
	*Option: Mem512
	{
		*rcNameID: =RC_STR_APF_MEM_512MB
	}
}


*% BlockMacros for PageBlankPage feature
*BlockMacro: BM_PAGEBLANKPAGE
{
	*rcNameID: =RC_STR_DISP_SKIP_BLANK_PAGE
    *FeatureType: JOB_PROPERTY
	*DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for PageMonochrome feature
*BlockMacro: BM_PAGEMONOCHROME
{
	*rcNameID: =RC_STR_DISP_AUTO_COLOR
    *FeatureType: JOB_PROPERTY
	*DefaultOption: ON
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for EpFeaFN_RendEngine feature
*BlockMacro: BM_EPFEAFN_RENDENGINE_COLOR
{
	*Name: "EpFeaFN_RendEngine"
	*FeatureType: PRINTER_PROPERTY
	*ConcealFromUI?: TRUE

 	*DefaultOption: ep0lvpz0.dll
	*Option: ep0lvpz0.dll
	{
		*Name: ""
	}
}

*BlockMacro: BM_EPFEAFN_RENDENGINE_MONO
{
    *Name: "Rendering Engine Name"
    *ConcealFromUI?: TRUE
    *DefaultOption: EP0LVPZA.DLL
    *Option: EP0LVPZA.DLL
    {
         *Name: "EP0LVPZA.DLL"
    }
}


*% BlockMacros for EnlargePatternBrush feature
*BlockMacro: BM_ENLARGEPATTERNBRUSH
{
	*rcNameID: =RC_STR_DISP_ENLARGEPATTERNBRUSH
    *FeatureType: JOB_PROPERTY
    *DefaultOption: ON
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON
    {
        *rcNameID: =RC_STR_ON
        *Constraints: PrinterMode.ImageMode
    }
}


*% BlockMacros for DuplexUnit feature
*BlockMacro: BM_DUPLEXUNIT
{
    *rcNameID: =RC_STR_DISP_DUPLEXUNIT
    *FeatureType: PRINTER_PROPERTY
    *DefaultOption: NotInstalled
    *Option: NotInstalled
    {
        *rcNameID: =RC_STR_NOTINSTALLED
        *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
    }
    *Option: Installed
    {
        *rcNameID: =RC_STR_INSTALLED
    }
}


*% BlockMacros for Duplex feature
*BlockMacro: BM_DUPLEX
{
    *rcNameID: =RC_STR_DISP_DUPLEX
    *DefaultOption: NONE
    *Option: NONE
    {
        *rcNameID: =RC_STR_NONE
    }
    *Option: VERTICAL
    {
        *rcNameID: =RC_STR_VERTICAL
    }
    *Option: HORIZONTAL
    {
        *rcNameID: =RC_STR_HORIZONTAL
    }
}


*% BlockMacros for EnvelopeFeeder feature
*BlockMacro: BM_ENVELOPEFEEDER
{
    *FeatureType: PRINTER_PROPERTY
    *rcNameID: =RC_STR_ENVELOPE_FEEDER
    *DefaultOption: NotInstalled
    *Option: NotInstalled { *rcNameID: =RC_STR_NOTINSTALLED }
    *Option: Installed    { *rcNameID: =RC_STR_INSTALLED    }
}


*% BlockMacros for ShiftPrinting feature
*BlockMacro: BM_SHIFTPRINTING
{
    *FeatureType: JOB_PROPERTY
    *rcNameID: =RC_STR_DISP_SHIFTPRINTING
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}


*% BlockMacros for HardDiskUnit feature
*BlockMacro: BM_HARDDISKUNIT
{
    *FeatureType: PRINTER_PROPERTY
    *rcNameID: =RC_STR_DISP_HARDDISKUNIT
    *DefaultOption: OFF
    *Option: OFF { *rcNameID: =RC_STR_OFF }
    *Option: ON  { *rcNameID: =RC_STR_ON  }
}
