ciontek 0.0.1+1 copy "ciontek: ^0.0.1+1" to clipboard
ciontek: ^0.0.1+1 copied to clipboard

PlatformAndroid

Wrapper for Ciontek SDK, with this package you can print text

A Flutter plugin to use the Ciontek built-in printer. This plugin is a wrapper around the Ciontek SDK for Android. Only works on Android devices, especially on Ciontek devices.

Installation #

flutter pub add ciontek

Tested Devices #

Ciontek CS50C

Exemple Code #

await _ciontekPlugin.print(
  lines: [
    CiontekPrintLine(
      text: 'Hello, World!',
      bold: true,
      increaseFontSize: true,
      textGray: TextGray.medium,
      underline: true,
    ),
    CiontekPrintLine(
      text: 'Good bye !',
      reverse: true,
      textGray: TextGray.highest,
    ),
    CiontekPrintLine.feedPaper(lines: 1),
    CiontekPrintLine(
      text: 'Welcome back ! \n \n',
      underline: true,
    ),
  ],
);
0
likes
140
points
7
downloads

Publisher

unverified uploader

Weekly Downloads

Wrapper for Ciontek SDK, with this package you can print text

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ciontek