• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Do you need the WPS PIN to connect your printer? Click here for tips and tricks!
HP Recommended
Android 6.0 - 6.0.1 Marshmallow

Dear all,

 

I want to enable HP print feature on my special android device, which base on android 6.0.

below is my steps:

1) Download and instell HP Print Service Plugin which version is 4.8.1-3.1.3-16-8.3.80-773

2)Connect the hp printer(HP Laserr Jet Pro M104w), I founded that this printer shouble be support " Printing WIth a USB OTG Cable(Android) "https://support.hp.com/hr-en/document/c05384190#FAQs

3) 

Plug the micro-USB connector of the OTG cable into the micro-USB port on your Android device.
An HP Print Service Plugin window displays on the Android device. 
4) Tap OK to activate the HP Print Service Plugin.
 
The HP Print Service can found the printer, But it can't work, When i try to print a pdf file, The USB printer can't selected to print.
 
I make sure that i have enable usb printer support in my android's kernel (CONFIGURE_USB_PRINTER=y).
Do you can give me some suggestiones?
 
Thanks,
6 REPLIES 6
HP Recommended

@gilpin_li,

 

Welcome to the HP Forums 🙂 I would like to take a moment and thank you for using this forum, it is a great place to find answers. For you to have the best experience on the HP forum, you could also visit our HP Forums Guide for First Time Here? Learn How to Post and More. I see from your post you need information and assistance related on printing from android device through USB OTG. No worries, I'll be glad to help you.

 

To provide you with an accurate solution, I'll need a few more details:

What is the exact product number of the printer? Use this link to find it:  https://support.hp.com/in-en/document/c03754824  (Ensure you do not share any of your personal information such as serial, phone number, email ID, etc...).

Are you trying to set it up for the first time or when was the last time it worked?

Have you checked if your Android device supports printing from a USB OTG cable? Have you tried to use a different OTG Cable.

Have you checked if your printer support USB OTG? If you haven't checked it yet, Here's a support document: HP Printers - Printing With a USB OTG Cable (Android)

 

Could you please respond to this post with the details as this will help me in further assisting you.

 

Eagerly waiting for your response!

Regards,

 

Jeet_Singh
I am an HP Employee

HP Recommended

Hi Jeet_Singh,

 

Thanks a lot for your help. There are more detail information:

1)What is the exact product number of the printer? 

   The product name is LaserJet Pro M104w, The product number of the printer is Q3Q37A, And it's serial No is VNF4D10087.

 

2) Are you trying to set it up for the first time or when was the last time it worked?

  I am trying to set up for the first time.

 

3) Have you checked if your Android device supports printing from a USB OTG cable? Have you tried to use a different OTG Cable.

    Can you tell me how to check if my android device support printing from a USB OTG Cable? I have enabled CONFIG_USB_PRINTER in the kernel. and after I have connected the printer to my android device, I can see the /dev/usb/usbmsic node in my android device.

 

4) Have you checked if your printer support USB OTG? If you haven't checked it yet, Here's a support document: HP Printers - Printing With a USB OTG Cable (Android)

   I have checked my printer (LaserJet Pro M104w) that it is not in the "don't support list".

 

Thanks,

Gilpin

HP Recommended

@gilpin_li,

 

It's great to have you back and your patience is greatly appreciated.

 

After reviewing your post thoroughly, I would suggest couple of things that you could try here: 

 

1. Try to use a different USB OTG cable

 

2. Install HP Smart App on your android device. For more details, please go through this link: HP Printers - Using the HP Smart App (Android, Apple iOS)

 

Let me know how it goes for further assistance. 

Take care now and do have a fabulous week ahead. 🙂
Regards,

Jeet_Singh
I am an HP Employee

HP Recommended

Hi Jeet_Singh,

 

Thanks a lot for your help firstly,

1)I have tried to use a different USB OTG cable.

2)I get some log from my android device side, Could you give me some suggestion or can you link me and HP's developmet team of "HP Print Service Plugin "

3)   I have check the "HP Smart" which you provide to me , It looks it's printer tool that using WIFI Printer, But I want to print document through USB Printer.

 

Below is the log which I get from my android device:

11-27 12:56:59.534 512 696 I ActivityManager: START u0 {act=android.print.PRINT_DIALOG dat=printjob:5f6b6e3b-b963-4adc-97b2-4c404adfb83c cmp=com.android.printspooler/.ui.PrintActivity (has extras)} from uid 1000 on display 0
11-27 12:56:59.730 1512 1531 E pox : Exception
11-27 12:56:59.730 1512 1531 E pox : java.lang.NullPointerException: Attempt to invoke interface method 'abgo abgw.ahY(java.lang.String)' on a null object reference
11-27 12:56:59.730 1512 1531 E pox : at ppi.a(Unknown Source)
11-27 12:56:59.730 1512 1531 E pox : at ppi.a(Unknown Source)
11-27 12:56:59.730 1512 1531 E pox : at pox.eyV(Unknown Source)
11-27 12:56:59.730 1512 1531 E pox : at nlt.dWH(Unknown Source)
11-27 12:56:59.730 1512 1531 E pox : at nlt$1.run(Unknown Source)
11-27 12:56:59.730 1512 1531 E pox : at android.os.Handler.handleCallback(Handler.java:739)
11-27 12:56:59.730 1512 1531 E pox : at android.os.Handler.dispatchMessage(Handler.java:95)
11-27 12:56:59.730 1512 1531 E pox : at android.os.Looper.loop(Looper.java:148)
11-27 12:56:59.730 1512 1531 E pox : at mfs.run(Unknown Source)
11-27 12:56:59.860 1025 1615 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
11-27 12:56:59.865 1025 1025 I imx6.gralloc: open gpu gralloc module!
11-27 12:57:00.085 1025 1615 I OpenGLRenderer: Initialized EGL, version 1.4
11-27 12:57:00.153 199 223 E BufferQueueProducer: [com.android.printspooler/com.android.printspooler.ui.PrintActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-27 12:57:01.017 665 665 D PrintServiceAnalytics: custom dimension(source-app):printservice
11-27 12:57:01.103 1025 1025 I Choreographer: Skipped 54 frames! The application may be doing too much work on its main thread.
11-27 12:57:01.795 665 665 D PrintServiceAnalytics: custom dimension(source-app):printservice
11-27 12:57:01.837 512 531 I ActivityManager: Displayed com.android.printspooler/.ui.PrintActivity: +2s119ms
11-27 12:57:01.920 665 665 D PrintServiceHelperBase: startPrinterTrackingTask() called with: localID = [/dev/bus/usb/001/003], printerType = [USB]
11-27 12:57:01.925 601 613 W art : Verification of void android.view.ViewRootImpl.performTraversals() took 103.586ms
11-27 12:57:02.021 665 1289 D PrintServiceHelperBase: doInBackground: wprintAddress: /dev/bus/usb/001/003
11-27 12:57:02.021 665 1289 D PrintServiceHelperBase: doInBackground: getCaps /dev/bus/usb/001/003
11-27 12:57:02.053 601 613 W art : Compilation of void android.view.ViewRootImpl.performTraversals() took 127.049ms
11-27 12:57:02.213 1284 1622 D b : buildConnectionParams(): Could not find NetworkDevice for address /dev/bus/usb/001/003, falling back to online port 0
11-27 12:57:02.375 1284 1623 D b : buildConnectionParams(): Could not find NetworkDevice for address /dev/bus/usb/001/003, falling back to online port 0
11-27 12:57:02.394 1284 1623 E l : isDeviceOnline(): Problem connecting to address on port 631: Host is unresolved: /dev/bus/usb/001/003
11-27 12:57:02.395 1284 1623 E l : isDeviceOnline(): Problem connecting to address on port 443: Host is unresolved: /dev/bus/usb/001/003
11-27 12:57:02.396 1284 1623 E l : isDeviceOnline(): Problem connecting to address on port 9100: Host is unresolved: /dev/bus/usb/001/003
11-27 12:57:02.412 1284 1623 D p : Creating new monitor for printer, /dev/bus/usb/001/003, using client: 69346727, statusID: -1427970928
11-27 12:57:02.412 1284 1623 D WPrintPrinterStatusMonitor: First client, starting printer status monitor for printer: /dev/bus/usb/001/003
11-27 12:57:02.419 665 665 D PrintServiceHelperBase: handleMessage: address(/dev/bus/usb/001/003): org.androidprinting.intent.ACTION_RETURN_PRINT_CAPABILITIES
11-27 12:57:02.501 1284 1623 D WPrintPrinterStatusMonitor: Adding new client, 69346727, to monitor printer: /dev/bus/usb/001/003
11-27 12:57:02.627 1072 1072 I KSO_STAT: App exit, update the end time and set all status as done
11-27 12:57:02.663 199 1528 E BufferQueueProducer: [cn.wps.moffice_eng/cn.wps.moffice.writer.multiactivity.Writer1] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-27 12:57:02.672 665 665 D PrintServiceHelperBase: handleMessage: address(/dev/bus/usb/001/003): org.androidprinting.intent.ACTION_RETURN_GET_PRINTER_STATUS
11-27 12:57:02.681 665 665 D PrintServiceHelperBase: onProgressUpdate: entry
11-27 12:57:02.681 665 665 D PrintServiceHelperBase: onProgressUpdate: mCapsInfo
11-27 12:57:02.681 665 665 D PrintServiceHelperBase: onProgressUpdate: after checking PrinterId{serviceName=com.hp.android.printservice/com.hp.android.printservice.ServiceAndroidPrint, localId=/dev/hpusb/VNF4D10087}
11-27 12:57:02.684 665 665 D PrintServiceHelperBase: onProgressUpdate: mCapsInfo , currentLocalId: /dev/hpusb/VNF4D10087, mCapsInfo: PrinterInfo{minMargins=Margins{leftMils: 200, topMils: 200, rightMils: 200, bottomMils: 200}, mediaSizes=[MediaSize{id: {"media-ready-used":false,"media-ready":"na_letter_8.5x11in","is-designjet":false,"password-required":false,"password-supported":false}, label: Letter, packageName: null, heightMils: 11000, widthMils: 8500, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_legal_8.5x14in","is-designjet":false,"password-required":false,"password-supported":false}, label: Legal, packageName: null, heightMils: 14000, widthMils: 8500, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_index-3x5_3x5in","is-designjet":false,"password-required":false,"password-supported":false}, label: Index Card 3x5, packageName: null, heightMils: 5000, widthMils: 3000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_index-4x6_4x6in","is-designjet":false,"password-required":false,"password-supported":false}, label: 4x6 in, packageName: null, heightMils: 6000, widthMils: 4000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_5x7_5x7in","is-designjet":false,"password-required":false,"password-supported":false}, label: 5x7 in, packageName: null, heightMils: 7000, widthMils: 5000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"iso_a4_210x297mm","is-designjet":false,"password-required":false,"password-supported":false}, label: ISO A4, packageName: null, heightMils: 11690, widthMils: 8270, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"om_small-photo_100x150mm","is-designjet":false,"password-required":false,"password-supported":false}, label: 100 x 150mm, packageName: null, heightMils: 6000, widthMils: 4000, labelResId: 0}], resolutions=[Resolution{id: 2131296300, label: 300dpi, horizontalDpi: 300, verticalDpi: 300}, Resolution{id: 2131296301, label: 600dpi, horizontalDpi: 600, verticalDpi: 600}], colorModes=[COLOR_MODE_MONOCHROME], duplexModes=[DUPLEX_MODE_NONE, DUPLEX_MODE_LONG_EDGE, DUPLEX_MODE_SHORT_EDGE]"}, oldInfo: PrinterInfo{id=PrinterId{serviceName=com.hp.android.printservice/com.hp.android.printservice.ServiceAndroidPrint, localId=/dev/hpusb/VNF4D10087}, name=USB: HP LaserJet M101-M106, status=3, description=USB, capabilities=null"}
11-27 12:57:02.694 665 665 D PrintServiceHelperBase: onProgressUpdate: not doing anything:
11-27 12:57:02.695 665 665 D PrintServiceHelperBase: onProgressUpdate: entry
11-27 12:57:02.695 665 665 D PrintServiceHelperBase: onProgressUpdate: mSupported
11-27 12:57:02.695 665 665 D PrintServiceHelperBase: onProgressUpdate: after checking PrinterId{serviceName=com.hp.android.printservice/com.hp.android.printservice.ServiceAndroidPrint, localId=/dev/hpusb/VNF4D10087}
11-27 12:57:02.697 665 665 D PrintServiceHelperBase: onProgressUpdate: mStatus: 1, currentLocalId: /dev/hpusb/VNF4D10087, mCapsInfo: PrinterInfo{minMargins=Margins{leftMils: 200, topMils: 200, rightMils: 200, bottomMils: 200}, mediaSizes=[MediaSize{id: {"media-ready-used":false,"media-ready":"na_letter_8.5x11in","is-designjet":false,"password-required":false,"password-supported":false}, label: Letter, packageName: null, heightMils: 11000, widthMils: 8500, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_legal_8.5x14in","is-designjet":false,"password-required":false,"password-supported":false}, label: Legal, packageName: null, heightMils: 14000, widthMils: 8500, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_index-3x5_3x5in","is-designjet":false,"password-required":false,"password-supported":false}, label: Index Card 3x5, packageName: null, heightMils: 5000, widthMils: 3000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_index-4x6_4x6in","is-designjet":false,"password-required":false,"password-supported":false}, label: 4x6 in, packageName: null, heightMils: 6000, widthMils: 4000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_5x7_5x7in","is-designjet":false,"password-required":false,"password-supported":false}, label: 5x7 in, packageName: null, heightMils: 7000, widthMils: 5000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"iso_a4_210x297mm","is-designjet":false,"password-required":false,"password-supported":false}, label: ISO A4, packageName: null, heightMils: 11690, widthMils: 8270, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"om_small-photo_100x150mm","is-designjet":false,"password-required":false,"password-supported":false}, label: 100 x 150mm, packageName: null, heightMils: 6000, widthMils: 4000, labelResId: 0}], resolutions=[Resolution{id: 2131296300, label: 300dpi, horizontalDpi: 300, verticalDpi: 300}, Resolution{id: 2131296301, label: 600dpi, horizontalDpi: 600, verticalDpi: 600}], colorModes=[COLOR_MODE_MONOCHROME], duplexModes=[DUPLEX_MODE_NONE, DUPLEX_MODE_LONG_EDGE, DUPLEX_MODE_SHORT_EDGE]"}, oldInfo: PrinterInfo{id=PrinterId{serviceName=com.hp.android.printservice/com.hp.android.printservice.ServiceAndroidPrint, localId=/dev/hpusb/VNF4D10087}, name=USB: HP LaserJet M101-M106, status=1, description=USB, capabilities=null"}
11-27 12:57:02.698 665 665 D PrintServiceHelperBase: onProgressUpdate: STATUS_UNAVAILABLE:
11-27 12:57:02.705 665 665 D PrintServiceHelperBase: onProgressUpdate: not doing anything:
11-27 12:57:02.705 665 665 D PrintServiceHelperBase: onProgressUpdate: entry
11-27 12:57:02.705 665 665 D PrintServiceHelperBase: onProgressUpdate: status
11-27 12:57:02.705 665 665 D PrintServiceHelperBase: onProgressUpdate: after checking PrinterId{serviceName=com.hp.android.printservice/com.hp.android.printservice.ServiceAndroidPrint, localId=/dev/hpusb/VNF4D10087}
11-27 12:57:02.707 665 665 D PrintServiceHelperBase: onProgressUpdate: mStatus: 2, currentLocalId: /dev/hpusb/VNF4D10087, mCapsInfo: PrinterInfo{minMargins=Margins{leftMils: 200, topMils: 200, rightMils: 200, bottomMils: 200}, mediaSizes=[MediaSize{id: {"media-ready-used":false,"media-ready":"na_letter_8.5x11in","is-designjet":false,"password-required":false,"password-supported":false}, label: Letter, packageName: null, heightMils: 11000, widthMils: 8500, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_legal_8.5x14in","is-designjet":false,"password-required":false,"password-supported":false}, label: Legal, packageName: null, heightMils: 14000, widthMils: 8500, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_index-3x5_3x5in","is-designjet":false,"password-required":false,"password-supported":false}, label: Index Card 3x5, packageName: null, heightMils: 5000, widthMils: 3000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_index-4x6_4x6in","is-designjet":false,"password-required":false,"password-supported":false}, label: 4x6 in, packageName: null, heightMils: 6000, widthMils: 4000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"na_5x7_5x7in","is-designjet":false,"password-required":false,"password-supported":false}, label: 5x7 in, packageName: null, heightMils: 7000, widthMils: 5000, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"iso_a4_210x297mm","is-designjet":false,"password-required":false,"password-supported":false}, label: ISO A4, packageName: null, heightMils: 11690, widthMils: 8270, labelResId: 0}, MediaSize{id: {"media-ready-used":false,"media-ready":"om_small-photo_100x150mm","is-designjet":false,"password-required":false,"password-supported":false}, label: 100 x 150mm, packageName: null, heightMils: 6000, widthMils: 4000, labelResId: 0}], resolutions=[Resolution{id: 2131296300, label: 300dpi, horizontalDpi: 300, verticalDpi: 300}, Resolution{id: 2131296301, label: 600dpi, horizontalDpi: 600, verticalDpi: 600}], colorModes=[COLOR_MODE_MONOCHROME], duplexModes=[DUPLEX_MODE_NONE, DUPLEX_MODE_LONG_EDGE, DUPLEX_MODE_SHORT_EDGE]"}, oldInfo: PrinterInfo{id=PrinterId{serviceName=com.hp.android.printservice/com.hp.android.printservice.ServiceAndroidPrint, localId=/dev/hpusb/VNF4D10087}, name=USB: HP LaserJet M101-M106, status=3, description=USB, capabilities=null"}
11-27 12:57:02.707 665 665 D PrintServiceHelperBase: onProgressUpdate: STATUS_UNAVAILABLE:
11-27 12:57:02.708 665 665 D PrintServiceHelperBase: onProgressUpdate: not doing anything:
11-27 12:57:02.996 199 1528 E BufferQueueProducer: [cn.wps.moffice_eng/cn.wps.moffice.writer.multiactivity.Writer1] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count

 

 

From the log, we can see that my android device have connected to the HP printer, But the status of the HP printer is STATUS_UNAVAILABLE. 

I'm looking forward to some help .

 

HP Recommended

@gilpin_li,

 

I am responding on behalf of @Jeet_singh as he is out for the day. It is great to have you back and your patience is greatly appreciated.

 

I am sending you a private message suggesting the next course of action.

 

Please check your private message icon in the upper right corner of your HP Forums profile.

 

Good day! Take care 🙂

 

Cheers!

The_Fossette
I am an HP Employee

HP Recommended

I can't get any help from  HP phone support ..........

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.