public class PrinterAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_ALIGN
Printing alignment, value must be one of PrinterAttributes.VAL_ALIGN_CENTER,
PrinterAttributes.VAL_ALIGN_LEFT or PrinterAttributes.VAL_ALIGN_RIGHT
|
static java.lang.String |
KEY_LINE_SPACE
Spacing between consecutive lines, must be an integer value
|
static java.lang.String |
KEY_MARGIN_BOTTOM
Bottom margin, must be an integer value
|
static java.lang.String |
KEY_MARGIN_LEFT
Left margin, must be an integer value
|
static java.lang.String |
KEY_MARGIN_RIGHT
Right margin, must be an integer value
|
static java.lang.String |
KEY_MARGIN_TOP
Top margin, must be an integer value
|
static java.lang.String |
KEY_TEXT_SIZE
Text size, must be an integer value
|
static java.lang.String |
KEY_TYPEFACE
Text font, must be an integer between 0 and 8, where each value is a
different font
|
static java.lang.String |
KEY_WEIGHT
Used when printing multiple columns, to choose the weight of each column,
must be an integer value
|
static int |
VAL_ALIGN_CENTER |
static int |
VAL_ALIGN_LEFT |
static int |
VAL_ALIGN_RIGHT |
Constructor and Description |
---|
PrinterAttributes() |
public static final java.lang.String KEY_ALIGN
PrinterAttributes.VAL_ALIGN_CENTER
,
PrinterAttributes.VAL_ALIGN_LEFT
,
PrinterAttributes.VAL_ALIGN_RIGHT
,
Constant Field Valuespublic static final java.lang.String KEY_TEXT_SIZE
public static final java.lang.String KEY_TYPEFACE
public static final java.lang.String KEY_MARGIN_LEFT
public static final java.lang.String KEY_MARGIN_RIGHT
public static final java.lang.String KEY_MARGIN_TOP
public static final java.lang.String KEY_MARGIN_BOTTOM
public static final java.lang.String KEY_LINE_SPACE
public static final java.lang.String KEY_WEIGHT
public static final int VAL_ALIGN_CENTER
public static final int VAL_ALIGN_LEFT
public static final int VAL_ALIGN_RIGHT