Time Frame: 1-4 Days. We will require this to be completed 1-4 days after accepting the offer.
We need a cross platform solution, built specifically for mac and windows.
The app has to be native or if posible built with xamarin.
The app has to contain a websocket server to comunicate with a browser through websockets.
The app has to access the PC's printers and send information to the browser through the websockets about the printers.
The app has to be able to get information from the browser. A url and printer will be sent. The url will point to a pdf file generated by a php script (test link will be supplied). The app will have to print that pdf to the selected printer.
The app will be tested on 2 types of printers, one that takes letter size and one that takes 40mm*200mm paper. The url can be customized if needed to generate the pdf on the necessary scale, based on the printer paper size.
Web sockets api functions needed:
getPrinters (get a list of printers available on the users pc)
getDefaultPrinter (returns only the default printer)
print (no print preview, print directly)
* if getPrinters supplies the default paper size, the url to the pdf will be generated to meet the printer page size
* get printer will return an array of printers (the default system printer will be marked in that array)
IMPORTANT: The source code has to be well organized and commented, spaghetti code will be rejected.
api to configure the printer (all config options)
ability to print raw text
installer for easy setup (including all extra software needed, like frameworks)