How to print using Hpeprint in Android
Posted By : Piyush Dubey | 22-Jun-2017
Today I am going to write blog on how to get print from printer dirctly using HPeprint.
Following steps are needed to achieve this task:
1. First of all provide internet access and read external storage permission in android manifest file.
2. Design a UI for printing.
3. For using hpeprint you need to know the email address of your printer.
To know email address of your printer follow the below steps:
a) Go to web browser and enter the ip address of your printer.
b) After that Select web services tab.
c) Then select print information sheet.On the information sheet you will get the email address of your printer.
d) For more info you can visit:
https://h30434.www3.hp.com/t5/HP-Connected-Mobile-Printing-and-Cloud-Printing/Add-your-printer-to-your-ePC-account-Print-Web-Services-Info/td-p/572615
4. After that You can fire intent to open the user's gmail app and attach the particular file which needs to be send.
on sending the email your attached file will get printed from anywhere at any time.
Complete implementation of the code can be found here:
Following steps are needed to achieve this task:
1. First of all provide internet access and read external storage permission in android manifest file.
2. Design a UI for printing.
3. For using hpeprint you need to know the email address of your printer.
To know email address of your printer follow following steps:
a) Go to web browser and enter the ip address of your printer.
b) After that Select web services tab.
c) Then select print information sheet.On the information sheet you will get the email address of your printer.
d) For more info you can vist: https://h30434.www3.hp.com/t5/HP-Connected-Mobile-Printing-and-Cloud-Printing/Add-your-printer-to-your-ePC-account-Print-Web-Services-Info/td-p/572615
4. After that You can fire intent to open the user's gmail app and attach the particular file which needs to be send. on sending the email your attached file will get printed from anywhere at any time. Complete implementation of the code can be found here: https://github.com/piyushdubey529/hpeprint"
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Piyush Dubey
Piyush is a good learner & innovative. He is passionate about coding and likes to watch cricket & listening music. He has worked on projects like ZipPosRepots, ZipOrdering.