Best way to print to ESCPOS printer from Meteor

I am developing a POS app, and I need to print a receipt.
I have no clue on how to integrate a ESCPOS printer int the app. Or a way to parse the information.
What do you recommend?

I would like it to print in a similar format to:


<table width="100%">
  <tr>
    <td colspan="6">{{format_datesm totales.fecha}}</td>
  </tr>
  <tr>
    <td colspan="6">
      <h5>
        <center>
          Note {{cliente totales.cliente}}
          <p><small>{{totales._id}}</small></p>
        </center>
      </h5>
    </td>
  </tr>
  <tr>
    <td colspan="6">
      <h3>
        <center>Detail</center>
      </h3>
    </td>
  </tr>
  <tr>
    <td colspan="6">
      <table border="1" width="100%">
        <tbody>
          <each>detail
            <tr>
              <td colspan="3">Model:</td>
              <td>Qty:</td>
              <td>Price:</td>

What steps do you reccomend?

Use an npm library for that specific feature, e.g.: https://www.npmjs.com/package/escpos

Thanks,

but if I do that how can I use cordova printer plugin