connectPrinter method

Future<void> connectPrinter(
  1. String identifier,
  2. String interfaceType
)

Connects to a Star Micronics printer using the provided identifier and interface type.

  • identifier: A unique identifier for the printer.
  • interfaceType: The connection interface type (e.g., USB, Bluetooth).

Throws an UnimplementedError if the method is not implemented by the platform.

Implementation

Future<void> connectPrinter(String identifier, String interfaceType) {
  throw UnimplementedError('connectPrinter() has not been implemented.');
}