m/a1/f1/r1JCZvD2_o.png" width="350" title="hover text">
</p>
<pre class="language-dart"><code class="language-dart">// import packages
import 'package:sunmi_printer/sunmi_printer_plus.dart';


// all method from sunmi printer need to async await
await SunmiPrinter.bindingPrinter(); // must bind the printer first. for more exmaple.. pls refer to example tab.

</code></pre>
<h2 id="example-code-when-use-for-transaction-printing">Example code when use for transaction printing</h2>
<pre class="language-dart"><c