DirectBrowserPrint has an easy JavaScript API / Library that enables printing files / blobs directly to a printer.
This API supports files / blobs in PDF, JPG, GIF and PNG formats and works on all major browsers.
For the API to work, it needs to be connected to the DirectBrowserPrint App on Windows or Mac.
To get started, check our API documentation:
Are you developing webapps / modules for sale or use it is on public website?
Then please register as affiliate before making public: