Virtual printer that forwards print jobs to Dinero Regnskab
- Install GhostScript via HomeBrew
brew install ghostscript
-
Download binary from lastest releases
-
Add
Dinero Printer
in OSX'sPrinters & Scanners
settings by clickingAdd
-
Click the Dinero logo in your toolbar, go to
Preferences
and enter your API key + organization id. -
Bam, ready to print to Dinero.
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
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!
npm install
npm start