PrinterInfo class
Constructors
- PrinterInfo({Model? printerModel, Port port = Port.BLUETOOTH, String ipAddress = "", String macAddress = "", dynamic localName = "", dynamic lastConnectedAddress = "", PaperSize paperSize = PaperSize.A4, Orientation orientation = Orientation.PORTRAIT, int numberOfCopies = 1, Halftone halftone = Halftone.PATTERNDITHER, PrintMode printMode = PrintMode.FIT_TO_PAGE, Align align = Align.LEFT, VAlign valign = VAlign.TOP, Margin margin = const Margin(top: 0, left: 0), bool pjCarbon = false, int pjDensity = 5, PjFeedMode pjFeedMode = PjFeedMode.PJ_FEED_MODE_FIXEDPAGE, int customPaperWidth = 0, int customPaperLength = 0, int customFeed = 0, int rjDensity = 0, bool rotate180 = false, bool peelMode = false, bool mirrorPrint = false, Align paperPosition = Align.CENTER, bool isAutoCut = true, bool isCutAtEnd = true, bool mode9 = true, bool skipStatusCheck = false, CheckPrintEnd checkPrintEnd = CheckPrintEnd.CPE_CHECK, PjRollCase rollPrinterCase = PjRollCase.PJ_ROLLCASE_OFF, int pjSpeed = 2, int thresholdingValue = 127, bool dashLine = false, String savePrnPath = "", bool overwrite = true, bool isHalfCut = false, bool isSpecialTape = false, int labelNameIndex = -1, String customPaper = "", ACustomPaper? binCustomPaper = null, CustomPaperInfo? customPaperInfo = null, bool isLabelEndCut = false, PrintQuality printQuality = PrintQuality.NORMAL, int labelMargin = 0, double scaleValue = 1.0, bool isCutMark = false, bool softFocusing = false, bool trimTapeAfterData = false, bool enabledTethering = false, bool rawMode = false, String workPath = "", PjPaperKind pjPaperKind = PjPaperKind.PJ_CUT_PAPER, bool useLegacyHalftoneEngine = false, bool banishMargin = false, bool useCopyCommandInTemplatePrint = false})
Properties
- align ↔ Align
-
getter/setter pair
- banishMargin ↔ bool
-
getter/setter pair
- binCustomPaper ↔ ACustomPaper?
-
getter/setter pair
- checkPrintEnd ↔ CheckPrintEnd
-
getter/setter pair
- customFeed ↔ int
-
getter/setter pair
- customPaper ↔ String
-
getter/setter pair
- customPaperInfo ↔ CustomPaperInfo?
-
getter/setter pair
- customPaperLength ↔ int
-
getter/setter pair
- customPaperWidth ↔ int
-
getter/setter pair
- dashLine ↔ bool
-
getter/setter pair
- enabledTethering ↔ bool
-
getter/setter pair
- halftone ↔ Halftone
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ipAddress ↔ String
-
getter/setter pair
- isAutoCut ↔ bool
-
getter/setter pair
- isCutAtEnd ↔ bool
-
getter/setter pair
- isCutMark ↔ bool
-
getter/setter pair
- isHalfCut ↔ bool
-
getter/setter pair
- isLabelEndCut ↔ bool
-
getter/setter pair
- isSpecialTape ↔ bool
-
getter/setter pair
- labelMargin ↔ int
-
getter/setter pair
- labelNameIndex ↔ int
-
getter/setter pair
- macAddress ↔ String
-
getter/setter pair
- margin ↔ Margin
-
getter/setter pair
- mirrorPrint ↔ bool
-
getter/setter pair
- mode9 ↔ bool
-
getter/setter pair
- numberOfCopies ↔ int
-
getter/setter pair
- orientation ↔ Orientation
-
getter/setter pair
- overwrite ↔ bool
-
getter/setter pair
- paperPosition ↔ Align
-
getter/setter pair
- paperSize ↔ PaperSize
-
getter/setter pair
- peelMode ↔ bool
-
getter/setter pair
- pjCarbon ↔ bool
-
getter/setter pair
- pjDensity ↔ int
-
getter/setter pair
- pjFeedMode ↔ PjFeedMode
-
getter/setter pair
- pjPaperKind ↔ PjPaperKind
-
getter/setter pair
- pjSpeed ↔ int
-
getter/setter pair
- port ↔ Port
-
getter/setter pair
- printerModel ↔ Model
-
getter/setter pair
- printMode ↔ PrintMode
-
getter/setter pair
- printQuality ↔ PrintQuality
-
getter/setter pair
- rawMode ↔ bool
-
getter/setter pair
- rjDensity ↔ int
-
getter/setter pair
- rollPrinterCase ↔ PjRollCase
-
getter/setter pair
- rotate180 ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- savePrnPath ↔ String
-
getter/setter pair
- scaleValue ↔ double
-
getter/setter pair
- skipStatusCheck ↔ bool
-
getter/setter pair
- softFocusing ↔ bool
-
getter/setter pair
- thresholdingValue ↔ int
-
getter/setter pair
- timeout ↔ TimeoutSetting
-
getter/setter pair
- trimTapeAfterData ↔ bool
-
getter/setter pair
- useCopyCommandInTemplatePrint ↔ bool
-
getter/setter pair
- useLegacyHalftoneEngine ↔ bool
-
getter/setter pair
- valign ↔ VAlign
-
getter/setter pair
- workPath ↔ String
-
getter/setter pair
Methods
-
getCustomPaper(
) → ACustomPaper? -
getLastConnectedAddress(
) → String -
getLocalName(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLastConnectedAddress(
String setAddress) → void -
setLocalName(
String setName) → void -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map map) → PrinterInfo