package com.kozen.printerlibrary;

public interface PrinterConsts {
    public final static String KEY_ALIGN 			= "key_attributes_align";
    public final static String KEY_TEXTSIZE 		= "key_attributes_textsize";
    public final static String KEY_TYPEFACE 		= "key_attributes_typeface";
    public final static String KEY_MARGINLEFT 		= "key_attributes_marginleft";
    public final static String KEY_MARGINRIGHT 		= "key_attributes_marginright";
    public final static String KEY_MARGINTOP 		= "key_attributes_margintop";
    public final static String KEY_MARGINBOTTOM 	= "key_attributes_marginbottom";
    public final static String KEY_LINESPACE 		= "key_attributes_linespace";
    public final static String KEY_WEIGHT 			= "key_attributes_weight";
    public final static String KEY_UNDERLINE        = "key_attributes_underline";

    public static final int ENABLE                  = 1;

    public static final int DISABLE                 = 2;

    /**
     * 文本倍宽
     */
    public static final int ENABLE_DOUBLE_WIDTH     = 1000;

    /**
     * 文本倍高
     */
    public static final int ENABLE_DOUBLE_HEIGHT    = 1001;

    /**
     * 文本加粗
     */
    public static final int ENABLE_BOLD             = 1002;

    /**
     * 文本下划线
     */
    public static final int ENABLE_UNDERLINE        = 1003;

    /**
     * 文本反白
     */
    public static final int ENABLE_ANTI_WHITE       = 1004;

    /**
     * 文本删除线
     */
    public static final int ENABLE_STRIKETHROUGH    = 1005;

    /**
     * 文本斜体
     */
    public static final int ENABLE_ILALIC           = 1006;

    /**
     * 文本倒影
     */
    public static final int ENABLE_INVERT           = 1007;

    /**
     * 设置文本左右间距
     */
    public static final int SET_TEXT_RIGHT_SPACING  = 2000;

    /**
     * 设置相对位置
     */
    public static final int SET_RELATIVE_POSITION   = 2001;

    /**
     * 设置绝对位置
     */
    public static final int SET_ABSOLUATE_POSITION  = 2002;

    /**
     * 设置行间距
     */
    public static final int SET_LINE_SPACING        = 2003;

    /**
     * 设置左边距
     */
    public static final int SET_LEFT_SPACING        = 2004;

    /**
     * 设置删除线的样式
     */
    public static final int SET_STRIKETHROUGH_STYLE = 2005;
}
