BixolonPrinterConstants class
Package-wide constants for Bixolon printer operations.
This class provides constants used throughout the package for printer configuration and default values.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createDoubleSeparator(
int length) → String - Create a double line separator of specified length
-
createSeparator(
int length, [String char = '-']) → String - Create a line separator of specified length
Constants
- CHAR_WIDTH_2_INCH → const int
- Default character width (columns) for 2-inch printer.
- CHAR_WIDTH_3_INCH → const int
- Default character width (columns) for 3-inch printer.
- CHAR_WIDTH_4_INCH → const int
- Default character width (columns) for 4-inch printer.
- DEFAULT_BARCODE_HEIGHT → const int
- Default barcode height (in dots).
- DEFAULT_BARCODE_WIDTH → const int
- Default barcode width (in dots).
- DEFAULT_CHAR_WIDTH → const int
- Default character width to use if not specified.
- DEFAULT_CUT_PAPER → const bool
- Default value for whether to cut paper after printing.
- DEFAULT_FONT_FAMILY → const String
- Standard font family to use for printing.
- DEFAULT_FONT_SIZE → const double
- Default font size for receipt text.
- DEFAULT_HEADER_FONT_SIZE → const double
- Default font size for receipt headers.
- DEFAULT_LINE_SPACING → const double
- Default line spacing as a multiplier.
- DEFAULT_OPTIMIZE_ASCII → const bool
- Default value for whether to optimize ASCII text printing.
- DEFAULT_PADDING → const double
- Default padding value (in dots).
- DEFAULT_PRINTER_WIDTH → const int
- Default printer width to use if not specified.
- DEFAULT_QR_SIZE → const int
- QR code default size (in dots).
-
DEFAULT_RECEIPT_STYLES
→ const Map<
String, Map< String, dynamic> > - Default receipt text styles.
- DEFAULT_TIMEOUT → const int
- Default timeout for printer operations (in milliseconds).
- DOUBLE_LINE_SEPARATOR → const String
- Double line separator style.
- ERROR_TEXT → const String
- Placeholder text for errors.
- LINE_SEPARATOR → const String
- Line separator style.
- MAX_COLUMNS → const int
- Maximum number of columns in a standard receipt.
- PRINTER_WIDTH_2_INCH → const int
- Default printer width in dots (for 2-inch printer).
- PRINTER_WIDTH_3_INCH → const int
- Default printer width in dots (for 3-inch printer).
- PRINTER_WIDTH_4_INCH → const int
- Default printer width in dots (for 4-inch printer).
-
SUPPORTED_MODELS
→ const List<
String> - Supported Bixolon printer models.