Enum cmdReceipt.BarcdeType
java.lang.Object
java.lang.Enum<cmdReceipt.BarcdeType>
com.datecs.fiscalprinter.SDK.model.UserLayerV2.cmdReceipt.BarcdeType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<cmdReceipt.BarcdeType>,java.lang.constant.Constable
- Enclosing class:
- cmdReceipt
public static enum cmdReceipt.BarcdeType extends java.lang.Enum<cmdReceipt.BarcdeType>
Printing of barcode
'1' - EAN8 barcode. {Data} must contain only 8 digits; '2' - EAN13 barcode. {Data} must contain only 13 digits; '3' - Code128 barcode. {Data} must contain symbols with ASCII codes between 32 and 127. {Data} length is between 3 and 31 symbols; '4' - QR code. {Data} must contain symbols with ASCII codes between 32 and 127. {Data} '5' - Interleave 2of5 barcode. Data must contain only digits, from 3 to 22 chars; Use Syntax 1; '6' - PDF417 truncated Data must contain symbols with ASCII codes between 32 and 127. Data length is between 3 and 400 symbols; '7' - PDF417 normal Data must contain symbols with ASCII codes between 32 and 127. Data length is between 3 and 400 symbols; length is between 3 and 279 symbols;
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Code128EAN13EAN8InterleavePDF417normalPDF417truncQRcode -
Method Summary
Modifier and Type Method Description static cmdReceipt.BarcdeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static cmdReceipt.BarcdeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-