Michal Skop
Michal Skop

Reputation: 1399

Printing from a mobile with Firefox OS

Is it possible - and if so, how? - to print from a Firefox OS phone?

Looking for a real mobile solution - e.g., printing out a receipt using mobile phone and a small receipt printer (connected probably through usb or wifi tethering) at a marketplace, on a train, etc. (The mobile will communicate through internet with a server, so it will have an internet connection.)

Upvotes: 0

Views: 256

Answers (1)

kumar303
kumar303

Reputation: 684

If you can get the printer on the same network as the Firefox OS device then you could try running this pure JavaScript implementation of the Internet Printing Protocol to send a file to the printer from your app. It would definitely need some changes to use standard web APIs rather than Node JS APIs. It may be possible to implement it with XMLHttpRequest or perhaps something lower level like TCPSocket.

Upvotes: 1

Related Questions