Abstract:
A method, computer program product and system are provided to enable communication between a browser on a user device, such as a mobile device or personal computer, and a local device, such as a printer. A host system may provide a host web application for generating data for display by a browser, and may also integrate with an application programming interface (API) to embed code into the host web application such that when executed by the browser, enables the communication between the browser and a local device communication application. The local device communication application may then control communication to the local device, such as causing the data to be printed on a printer. The provided methods may be implemented independently of the browser type and/or operating system type.