Android USB Gadget Composite Device driver (printer) test method

Source: Internet
Author: User

  1. Start your Android printer device and connect your computer's console and Android printer with a USB cable.
  2. After the Android printer system starts, you can see the Android phone device and USB print support in Windows Device Manager.
  3. At the same time, the Generic/text only printer can be seen in the Print Management-print server-local-printer.
  4. Modify the properties of the Generic/text only printer, and the code page in font selection is set to Simplified Chinese (936).
  5. Enter the ADB shell in the terminal (such as Xshell) and enter the Cat/dev/ffan_printer.
    1. If the terminal (such as Xshell) displays only English characters and numbers and does not display Chinese, refer to step 4th to modify the code page in the printer properties font selection.
    2. If the terminal (such as Xshell) is displayed as garbled in Chinese, you need to set the terminal display encoding to Simplified Chinese.
    3. If you use the serial terminal to open the Ffan_printer device, you need to use the background to run the way, the command is Cat/dev/ffan_printer &, to avoid ctrl-c after the/dev/ffan_printer when the "Cat:/dev/ Ffan_printer:device or resource Busy "error.

Android USB Gadget Composite Device driver (printer) test method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.