The client calls the printer

1. Cloud printing

It is necessary to carry out adaptation development for each brand of cloud printer, and then allow users to register and configure according to each printer;
Principle of cloud printing
example of cloud printer printing

2. LAN printing

Mini-programs are not supported yet, and even apps need to install driver plug-ins corresponding to different brands before they can be invoked.
Scan for LAN printers

3. Bluetooth printing

Use the official bluetooth search and data transfer api to cooperate with the first user manual connection/secondary automatic connection to print.
An example of an applet calling a bluetooth device to transmit data interface
and an applet printing a small ticket

4. Back-end program printing

By directly sending the print command to the server back-end program, the back-end completes the connection and printing work, and the client is only responsible for passing the command. Similar to the third type, the adaptation and configuration work is reduced, but the back-end program developed by itself/third party is required.

Guess you like

Origin blog.csdn.net/u013102711/article/details/127707951