public enum PrinterPrintType extends java.lang.Enum<PrinterPrintType>
Enum Constant and Description |
---|
IMAGE
Is possible print as Base64 encoded string entered in dataToPrint parameter
All images are aligned on center |
QR_LARGE
Text what is expected print as QR code need to be entered in dataToPrint
All QR codes are aligned on center QR_LARGE - 300x300px |
QR_MEDIUM
Text what is expected print as QR code need to be entered in dataToPrint
All QR codes are aligned on center QR_MEDIUM - 200x200px |
QR_SMALL
Text what is expected print as QR code need to be entered in dataToPrint
All QR codes are aligned on center QR_SMALL - 100x100px |
TEXT
Is possible to print single line or multiline.
For multi line you need separate new line by newline separator '\n' All texts are aligned on left side |
Modifier and Type | Field and Description |
---|---|
byte |
value |
Modifier and Type | Method and Description |
---|---|
static PrinterPrintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrinterPrintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrinterPrintType TEXT
public static final PrinterPrintType IMAGE
public static final PrinterPrintType QR_SMALL
public static final PrinterPrintType QR_MEDIUM
public static final PrinterPrintType QR_LARGE
public static PrinterPrintType[] values()
for (PrinterPrintType c : PrinterPrintType.values()) System.out.println(c);
public static PrinterPrintType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null