Printing system based on transmission medium such as bluetooth on Android platform
暂无分享,去创建一个
The invention relates to a printing system based on transmission medium such as bluetooth on an Android platform, so as to transmit documents and photos to a printer through a network to complete printing. The system is characterized in that the system comprises a first stage, a second stage and a third stage, wherein the first stage comprises the steps that Android is firstly defaulted not to support bluetooth printing, an upper-layer application is required to be redeveloped and a printer daemon is created in a user space; the second stage comprises the steps that connection is firstly established by accessing a bluetooth drive through tty (teletypewriter) equipment, printer equipment is scanned according to a printer protocol and the state of the printer equipment is queried; and the third stage comprises the steps that after communication between the printer daemon and the printer is established, the corresponding state is reported to a framework layer to inform the upper layer of the current state of the printer, then the upper-layer application can transmit a command or information not limited to documents and pictures to the printer daemon, the printer daemon transmits relevant requirements to the printer according to the printing protocol and the printer executes relevant actions after the corresponding command is received.