# Ionic 2 print logo via blutooth on small thermal printer?

**URL:** <https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462>\
**Category:** Ionic Native\
**Created:** [August 6, 2018, 6:26am UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462 "2018-08-06T06:26:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sedar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sedar](https://forum.ionicframework.com/u/sedar)\
**Post date:** [August 6, 2018, 6:26am UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462/1 "2018-08-06T06:26:27Z")

</div>

I have a [small blutooth printer](http://www.issyzonepos.com/IMP001-Bluetooth-Thermal-Printer-For-Android-and-iOS-50mm-Diameter-New_p348.html). i want to print sales receipt on this printer with logo image via app. How to do that?

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 6, 2018, 8:28am UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462/2 "2018-08-06T08:28:07Z")

</div>

One of [https://ionicframework.com/docs/native/bluetooth-serial/](https://ionicframework.com/docs/native/bluetooth-serial/) or [https://ionicframework.com/docs/native/ble/](https://ionicframework.com/docs/native/ble/) probably. Maybe also just [https://ionicframework.com/docs/native/printer/](https://ionicframework.com/docs/native/printer/)

---

<div class="post-metadata">

**Author:** ![sedar](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sedar](https://forum.ionicframework.com/u/sedar)\
**Post date:** [August 6, 2018, 8:32am UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462/3 "2018-08-06T08:32:45Z")

</div>

i tried [bluetooth-serial](https://ionicframework.com/docs/native/bluetooth-serial/).  
It can print string . I want to print logo also. How to use this plugin to print logo? @richardshergold can you please help us?

```auto
 testPrint(address)
  {
    let printData="<img src=assets/img/logo.png> \n\n Test hello this is a test \n\n\n\n Hello Test 123 123 123\n\n\n"

    
    let xyz=this.connectBT(address).subscribe(data=>{
      this.btSerial.write(printData).then(dataz=>{
        console.log("WRITE SUCCESS",dataz);

        let mno=this.alertCtrl.create({
          title:"Print SUCCESS!",
          buttons:['Dismiss']
        });
        mno.present();

        xyz.unsubscribe();
      },errx=>{
        console.log("WRITE FAILED",errx);
        let mno=this.alertCtrl.create({
          title:"ERROR "+errx,
          buttons:['Dismiss']
        });
        mno.present();
      });
      },err=>{
        console.log("CONNECTION ERROR",err);
        let mno=this.alertCtrl.create({
          title:"ERROR "+err,
          buttons:['Dismiss']
        });
        mno.present();
      });

  }

```

---

<div class="post-metadata">

**Author:** ![najihah154](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@najihah154](https://forum.ionicframework.com/u/najihah154)\
**Post date:** [November 13, 2018, 4:59am UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462/4 "2018-11-13T04:59:07Z")

</div>

did u already know how to print image using bluetooth-serial?

---

<div class="post-metadata">

**Author:** ![test-nikko](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/test-nikko/32/127979_2.png) [@test-nikko](https://forum.ionicframework.com/u/test-nikko)\
**Post date:** [November 13, 2018, 5:02am UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462/5 "2018-11-13T05:02:16Z")

</div>

You can try using the plugin DatecsPrinter.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:26pm UTC](https://forum.ionicframework.com/t/ionic-2-print-logo-via-blutooth-on-small-thermal-printer/137462/6 "2021-07-19T21:26:02Z")

</div>

Closed on July 19, 2021, 9:26pm UTC


