Giter Site home page Giter Site logo

dinero-printer's Introduction


logo
dinero-printer

Virtual printer that forwards print jobs to Dinero Regnskab

Travis Electron

Getting started

  1. Install GhostScript via HomeBrew
brew install ghostscript
  1. Download binary from lastest releases

  2. Add Dinero Printer in OSX's Printers & Scanners settings by clicking Add

  3. Click the Dinero logo in your toolbar, go to Preferences and enter your API key + organization id.

  4. Bam, ready to print to Dinero.

How it Works

Dinero Printer works by emulating a local PostScript compatible printer that's announced on the local network via Bonjour/MDNS which allows super easy setup on Mac and Windows computers. When the virtual printer receives a print job it takes the received PostScript document and converts it to PDF via GhostScript. Once converted to PDF it connects to Dinero via their API emulating being the official Dinero iOS app (via dinero-js) and stores the PDF as a new draft Voucher, just like the Dinero iOS app does. There's no difference for Dinero between the offical app and Dinero Printer

Perspective

Dinero printer is a generic PostScript printer implemented in Node.js, that can be embedded and run everywhere. An interesting aspect could be to offer the Dinero Printer as a device any company could buy, plug-into their network, and that way enable everyone to send Voucers to the book keeper that sits in the other end of Dinero. In the future such bookkeeper could be an AI. Dinero would then be the platform the connects the parties, but is fully transparent to everyone. Bam!

Development

npm install
npm start

dinero-printer's People

Contributors

auchenberg avatar haroenv 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.