• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android HP Printing

Dear everyone.
Thanks for viewing of this post.
I am a new in Android development.
Now I am developing an Android app. In the app, I am supposed to select a bitmap picture and print it by HP printer connected by USB OTG cable. For its purpose, I downloaded and installed HP PrintShare.
Now it works as following. When I click the print button, preview page is displayed. There I choose paper size. Clicking print button guides me to the Printshare app. There printing is taking place finally. Now I am facing two problems.
  1. I need to print picture in its own size. But on android print preview page there is no option of own size for paper. So now I AM NOT ABLE TO PRINT PICTURE IN ITS OWN SIZE.
  2. I'd like to print pictures directly without displaying preview pages(one of Android and the other one of PrintShare). I saw an Android device. There clicking print button directly prints image in its own size without displaying preview displays. IS THERE ANYWAY TO PRINT DIRECTLY WHILE AVOIDING PREVIEW VIEWS?
I need your urgent help. Because I have to finish the development before new year begins.
Thank you for carefully reading and any suggestion in advance.
 
If you are using a bitmap - they don't stretch and enlarge too well. If you use a vector image, it will enlarge. You would have to enlarge the picture. Some printers have the software to to this with inkjets. HP did have it with some models of inkjets. Look in the HP printing apps to see. You might just have the part of the app that sends the pictures code to the printer and not the full app. If it's an inkjet and has standalone settings, then you should be able to do what you want. Doublecheck your drivers for the printer, too.

I use Samsung lasers, both color and greyscale. I have 2 printer apps since they confuse me, too.
One does enlarge to page size and print, and I think the other just sends whatever you are printing as is.

I'd keep the page previews. I've found HP to be extremely hammerheaded as to how I wanted it to print from Adobe Illustrator. It was an office color printer.

If you are using a laser printer, the vector images look better.
 
Back
Top Bottom