1

I have two components in my project:

  • One Raspberry Pi 3 running Jessie, being used as a CUPS print server for a single attached printer.

  • One Raspberry Pi 3 running Android Things. Has a connected screen, but no touch screen.

I'd like to send photos from my Android Things device to my printer. The problem is that all the Android Framework APIs for printing involve going through Android's printing UI (which would require touch screen). So I need a programmatic way to send the photo to the printer via CUPS. Both would be on the same network. Is there a way to send a photo to an IPP URL using an HTTP POST request? Or a better way I haven't found yet?

callingshotgun
  • 763
  • 2
  • 8
  • 17
  • Some time ago I was involved in a project with customized Android (not Things) where no system UI were allowed, so no printing API. We successfully integrated CUPS and sent byte buffers to a printer... As you understand, it doesn't matter where a byte array comes from (a photo or smth else). Can the same approach be applied to your case? Can you send byte buffers to the server?... – Onik May 16 '17 at 20:21

0 Answers0