简体   繁体   中英

How do I Building an Android application that can print files (PDF, photos, …) with a printer inside the network?

I am building an Android application that prints files with a printer inside the network, I have used network service discovery (NSD) and I already got an Ip and port and also a printer name, so now I need how to call this printer and send a print command to it, these are preliminary pictures of the application that I work on him:

My app: image before click Search Button

My app: image after click Search Button

So anyone can help me !!

The android documents are so clear about it. what kind of file do you want to print:

  1. Printing photos
  2. Printing a custom document
  3. Printing an HTML document

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM