pos_ticket_b68 1.0.2 copy "pos_ticket_b68: ^1.0.2" to clipboard
pos_ticket_b68: ^1.0.2 copied to clipboard

PlatformAndroid

This is a printer product written by LocHV

sunmi_printer_easyticket #

I have implemented a lot of other features described below, the typeface is bolder #

I have updated version 1.0.7 with more features #

Important: #

THIS PACKAGE WILL WORK ONLY IN ANDROID! POSB68

  • ✅ Jump (n) lines
  • ✅ Bold mode on/off
  • ✅ Adjustable font size
  • ✅ Can print qrcode
  • ✅ Use SignikaNegative-Bold font as large font
  • ✅ Use OpenSans-Bold font as large font
  • ✅ Set font size 20 as center font size to separate two typefaces
  • ✅ Cut paper - Dedicated method just to cut the line

Tested Devices #

B68

import packages #

import 'package:pos_ticket_b68/pos_ticket_b68.dart.dart';

await PosTicket.bindPrinterService();// Initialize the printer

## Example of printing a parking ticket
   await PosTicket.bindPrinterService();/
   await PosTicket.printText(
      text: AppConst.addressConpany,
      posFormatText: PosFormatText(
       textSize: 18,
      ),
   );
   await PosTicket.printLine(3); // Jump (3) lines

## Example
   await PosTicket.bindPrinterService();
   await PosTicket.startPrinterExam();

## Example of printing qrcode
   await PosTicket.bindPrinterService();
   await PosTicket.setAlignment(1);
   await PosTicket.printQr(
     dataQRCode: "https://github.com/HVLoc",
     modulesize: 20,
     align: PosAlignment.ALIGN_CENTER,
   );
   await PosTicket.printLine(3);

## Set Font 
   await PosTicket.printText(
       text: "DEFAULT",
       posFormatText: PosFormatText(
           textFont: PosTextFont.DEFAULT,
       ),
   );
1
likes
130
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

This is a printer product written by LocHV

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

cupertino_icons, flutter, intl

More

Packages that depend on pos_ticket_b68

Packages that implement pos_ticket_b68