Giter Club home page Giter Club logo

tessel-fax-printer's Introduction

Twilio Tessel Fax

A project to print Twilio faxes with Tessel and a thermal printer.

Installation

This project requires Node.js 6 or greater.

Twilio Setup

You don't have a Twilio Account yet? Sign up on https://www.twilio.com/try-twilio and create one. To receive faxes you need a Twilio number with fax capability. Configure the number to handle incoming calls with receive-fax.xml that you find in the root folder of this project. One option is to host the TwiML file on Twilio, another option is to host it on your own server.

Install the Server

Navigate to the project directory in your terminal and run:

npm install

In order to run it you will need to set the following environment variables:

  • TWILIO_API_KEY_SID
  • TWILIO_API_KEY_SECRET
  • TWILIO_FAX_NUMBER

You can create your Twilio API Keys here.

Start the server

node app.js

Setup Tessel

Setup your Tessel, open tessel-printer-scheduler.js change the url and point it to http://<your_server>/

Store and run the Tessel code with

t2 push tessel-printer-scheduler.js

Note: Please check if Tessel can access your network and can request data from the server script.

This project supports the serial A2 micro panel thermal printer. The printer requires a seperate 5v - 9V, 2A power supply, Tessel can't power it. It should be easy to get other serial printers working with the project but this repository supports this printer only.

The module is based on the tessel-thermalprinter npm. The library was modified to support printing of images, if you consider printing barcodes or you want to use all available features of the printer please go with the original version, the included library was stripped-down in some aspects.

Questions?

Message [email protected]

License

MIT

Contributors

tessel-fax-printer's People

Watchers

James Cloos avatar Matthias Damm avatar Mauro Failli avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.