starxpandprinter 0.0.3 copy "starxpandprinter: ^0.0.3" to clipboard
starxpandprinter: ^0.0.3 copied to clipboard

StarXpandPrinter

StarXpandPrinter #

Gendroid Impresoras Star Micronics

GEN Seleccionado nota original y copia de la nota y reimpresion.

Emulation SM-T300i 2.4 or later Bluetooth EscPosMobile

  • Agregar texto;
    String _texto = "        Star Clothing Boutique\n" +
      "             123 Star Road\n" +
      "           City, State 12345\n" +
      "\n" +
      "Date:MM/DD/YYYY          Time:HH:MM PM\n" +
      "--------------------------------------\n" +
      "SALE\n" +
      "SKU            Description       Total\n" +
      "300678566      PLAIN T-SHIRT     10.99\n" +
      "300692003      BLACK DENIM       29.99\n" +
      "300651148      BLUE DENIM        29.99\n" +
      "300642980      STRIPED DRESS     49.99\n" +
      "30063847       BLACK BOOTS       35.99\n" +
      "\n" +
      "Subtotal                        156.95\n" +
      "Tax                               0.00\n" +
      "--------------------------------------\n" +
      "Total                           156.95\n" +
      "--------------------------------------\n" +
      "\n" +
      "Charge\n" +
      "156.95\n" +
      "Visa XXXX-XXXX-XXXX-0123\n" +
      "Refunds and Exchanges\n" +
      "Within 30 days with receipt\n" +
      "And tags attached\n";

    StarXpand.imprimir(texto: texto, asistencia: true, reimpresion: false);

  • Agregar Permission manifest de tu proyecto
    <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
    <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
    <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" />
    <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"android:maxSdkVersion="30" />
  • Agregar PermissionHandler
  final resultados = await [
      Permission.bluetooth,
      Permission.bluetoothScan,
      Permission.bluetoothConnect,
      Permission.bluetoothAdvertise,
      Permission.location,
      Permission.manageExternalStorage,
      Permission.requestInstallPackages,
      Permission.storage,
    ].request();
0
likes
130
pub points
23%
popularity

Publisher

unverified uploader

StarXpandPrinter

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on starxpandprinter