CN102501642A - Printing method and system as well as singlechip and printer - Google Patents

Printing method and system as well as singlechip and printer Download PDF

Info

Publication number
CN102501642A
CN102501642A CN2011103122952A CN201110312295A CN102501642A CN 102501642 A CN102501642 A CN 102501642A CN 2011103122952 A CN2011103122952 A CN 2011103122952A CN 201110312295 A CN201110312295 A CN 201110312295A CN 102501642 A CN102501642 A CN 102501642A
Authority
CN
China
Prior art keywords
printer
chip microcomputer
characteristic information
control protocol
mimeograph documents
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103122952A
Other languages
Chinese (zh)
Inventor
张文权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Beny Wave Science and Technology Co Ltd
Original Assignee
Beijing Beny Wave Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Beny Wave Science and Technology Co Ltd filed Critical Beijing Beny Wave Science and Technology Co Ltd
Priority to CN2011103122952A priority Critical patent/CN102501642A/en
Publication of CN102501642A publication Critical patent/CN102501642A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a printing method and system as well as a singlechip and a printer, wherein the method comprises the following steps that: the singlechip establishes a connection with the printer through a management control protocol so as to obtain characteristic information of the printer; and the singlechip obtains a print document from a user terminal according to the characteristic information so as to generate printer data and send the printer data to the printer, and the printer carries out printing treatment on the print document according to the printer data. The printing method and system as well as the singlechip and the printer which are provided by the invention can be used for realizing carrying out printing service on the print document in the user terminal without printer driving software through utilizing the singlechip to control the printer, and have certain compatibility with the user terminal requiring the document printing, thereby avoiding a complicated procedure of installing a printer drive at the user terminal.

Description

Method of printing and system, single-chip microcomputer and printer
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of Method of printing and system, single-chip microcomputer and printer.
Background technology
Develop rapidly along with informationization technology; The function of portable terminal such as mobile phone, palm PC is more and more diversified, except having basic function, and function such as also have bluetooth, take pictures; Thereby satisfied the multi-faceted demand of user, the user hopes the file printout in the portable terminal is come out in case of necessity.
With the mobile phone is example; The user can be connected to mobile phone on the computer with data wire through the USB port of mobile phone; And with needing typescripts to copy on the computer in the mobile phone; Connect through computer and printer again and install, can the file printout in the user terminal be come out specific to the printer driver software of computer operating system and printer.
Therefore; The user can only come out by the indirect file printout with in the portable terminal of computer that links to each other with printer and have a printer driver software through data wire in the prior art; If computer breaks down or obtains less than driving with printer and operating system printing matching machine; Can't print files stored in the portable terminal, have significant limitation.
Summary of the invention
To the above-mentioned defective of prior art, the embodiment of the invention provides a kind of Method of printing and system, single-chip microcomputer and printer.
The embodiment of the invention provides a kind of Method of printing, comprising:
Single-chip microcomputer is through managing the characteristic information that control protocol and printer connect and obtain said printer;
Said single-chip microcomputer will generate printer data according to said characteristic information and send to said printer from the mimeograph documents that user terminal obtains, according to said printer data said mimeograph documents are printed processing for said printer.
The embodiment of the invention provides a kind of Method of printing, comprising:
Printer is through the management control protocol and single-chip microcomputer connects and send characteristic information to said single-chip microcomputer;
Said printer receives the printer data of said single-chip microcomputer transmission and according to said printer data said mimeograph documents is printed processing.
The embodiment of the invention provides a kind of single-chip microcomputer, comprising: equipment body also comprises:
First communication module is used for through managing the characteristic information that control protocol and printer connect and obtain said printer;
Processing module is used for will generating printer data from the mimeograph documents that user terminal obtains according to said characteristic information and sends to said printer, according to said printer data said mimeograph documents is printed processing for said printer.
The embodiment of the invention provides a kind of printer, comprising: equipment body also comprises:
Second communication module is used for through the management control protocol and single-chip microcomputer connects and send characteristic information to said single-chip microcomputer;
Receiver module is used to receive the printer data that said single-chip microcomputer sends;
Print module is used for according to said printer data said mimeograph documents being printed processing.
The embodiment of the invention provides a kind of print system, comprises above-mentioned single-chip microcomputer and printer, and user terminal, and wherein, said user terminal sends mimeograph documents to said single-chip microcomputer.
Method of printing that the embodiment of the invention provides and system, single-chip microcomputer and printer; Can on single-chip microcomputer and printer, embed the management control protocol in advance; Make single-chip microcomputer connect and obtain the characteristic information of printer through management control protocol and printer; Single-chip microcomputer will generate printer data according to characteristic information and send to printer from the mimeograph documents that user terminal obtains; Printer prints processing according to printer data to mimeograph documents; Realized through the Single-chip Controlling printer mimeograph documents in the user terminal that printer driver software is not installed being printed service, the user terminal that needs is carried out file printout has certain compatibility, has avoided user terminal that the complicated processes of printer driver is installed.
Description of drawings
Fig. 1 is the flow chart of an embodiment of Method of printing of the present invention;
Fig. 2 is the flow chart of another embodiment of Method of printing of the present invention;
Fig. 3 is the flow chart of the another embodiment of Method of printing of the present invention;
Fig. 4 is the Method of printing of the present invention flow chart of an embodiment again;
Fig. 5 is the structural representation of an embodiment of single-chip microcomputer of the present invention;
Fig. 6 is the structural representation of another embodiment of single-chip microcomputer of the present invention;
Fig. 7 is the structural representation of the another embodiment of single-chip microcomputer of the present invention;
Fig. 8 is the structural representation of an embodiment of printer of the present invention;
Fig. 9 is the structural representation of another embodiment of printer of the present invention;
Figure 10 is the structural representation of the another embodiment of printer of the present invention;
Figure 11 is the structural representation of an embodiment of printer system of the present invention.
The specific embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the flow chart of an embodiment of Method of printing of the present invention, and as shown in Figure 1, this method comprises:
After step 100, single-chip microcomputer are obtained mimeograph documents from user terminal, through managing the characteristic information that control protocol and printer connect and obtain said printer;
Single-chip microcomputer and printer embed the management control protocol respectively; Through the management control protocol realized the single-chip microcomputer printer search and and printer between connect, single-chip microcomputer and printer connect afterwards just can realize and printer between transfer of data.It will be appreciated by persons skilled in the art that present embodiment does not limit concrete supervisory communications agreement, as long as can realize the identification of single-chip microcomputer printer and all can carry out the method in the present embodiment with the supervisory communications agreement that printer connects.Need to prove that the single-chip microcomputer in the present embodiment is selected according to the different of application scenarios with printer, present embodiment does not limit this.
The user sends to single-chip microcomputer through user terminal with mimeograph documents, thereby single-chip microcomputer obtains the mimeograph documents in the user terminal, can utilize that the application program of print service prints processing to mimeograph documents in the single-chip microcomputer.Single-chip microcomputer can be through management control protocol search for printers; Printer is through the search of management control protocol response single-chip microcomputer; Thereby the search listing that presents printer on the single-chip microcomputer; From the search listing of printer, select a printer and single-chip microcomputer to connect and print the print job of file, after the printer of single-chip microcomputer and selection connects, receive the characteristic information that printer sends.Specifically, the characteristic information of printer comprises that the printing medium information of printer, printing medium information comprise the size and the type (such as paper or photograph) of print media; The supporting information that also comprises printer; Whether supporting information comprises can duplex printing, the carry-out bit of use and the medium source of use, the file size of being supported, the resolution ratio that the color space that the version of the file format of being supported and the file format extension name of being supported, printer are supported, the bit depth that printer is supported and printer are supported.
To present embodiment; It will be understood by those skilled in the art that; User terminal no longer is limited to terminal as prior art, can also comprise mobile phone, digital camera, personal digital assistant, even gps system; Suchlike user terminal can also will need modes such as typescripts is perhaps infrared through the usb data line, bluetooth to send on the single-chip microcomputer through a large amount of picture character file of memory stores local or expansion; Given this, it will be appreciated by persons skilled in the art that the single-chip microcomputer and the communication mode of user terminal should look concrete application scenarios is configured relevant reception mimeograph documents to single-chip microcomputer interface.
Step 101, said single-chip microcomputer generates printer data according to said characteristic information with said mimeograph documents and sends to said printer, according to said printer data said mimeograph documents is printed processing for said printer.
After single-chip microcomputer obtains the characteristic information of printer; Characteristic information according to printer will send to printer from the mimeograph documents generation printer data that user terminal obtains; After the printer data that printer controller in the printer sends single-chip microcomputer converts the literal or image that can print into; Literal or view data after the conversion are sent to printhead, thereby printhead can print to the data of supply printing that print control unit sends on the print media.
Need to prove; It will be appreciated by those skilled in the art that the practical implementation process that mimeograph documents is generated printer data according to the characteristic information of printer; When the printer driver software of installing through this locality with user terminal in the prior art prints; The know-why of practical implementation process that driver generates mimeograph documents according to the characteristic information of printer printer data is the same, repeats no more here.
Above-mentioned implementation procedure by present embodiment can be found out; Compared with prior art, the characteristic information of the printer in the present embodiment is to obtain from printer after single-chip microcomputer connects through management control protocol and printer, and no longer the characteristic information as printer in the prior art is encapsulated in the static properties file of being created by printer manufacturer; Such as being encapsulated in printer control language (Printer Command Language; PCL) in the description document, therefore, the Method of printing that present embodiment provides no longer needs user terminal that printer driver software is installed in this locality earlier before printing; Wherein, Printer driver software is provided or is downloaded from the Internet by manufacturer, also must be complementary with the operating system of user terminal, otherwise also can't install at user terminal; In view of present great majority are to print processing through the printer driver software in the computer; Can only be connected on the computer through data wire so be similar to the user terminal of mobile phone and so on, print processing, very loaded down with trivial details inconvenience through the control of the printer driver software in computer printer.
The Method of printing that the embodiment of the invention provides; Can on single-chip microcomputer and printer, embed the management control protocol in advance; Make single-chip microcomputer connect and obtain the characteristic information of printer through management control protocol and printer; Single-chip microcomputer will generate printer data according to characteristic information and send to printer from the mimeograph documents that user terminal obtains; Printer prints processing according to printer data to mimeograph documents; Realized through the Single-chip Controlling printer mimeograph documents in the user terminal that printer driver software is not installed being printed service, the user terminal that needs is carried out file printout has certain compatibility, has avoided user terminal that the complicated processes of printer driver is installed.
To the single-chip microcomputer of carrying out method embodiment shown in Figure 1; Connect and the mode of obtaining the characteristic information of printer transmission specifically can comprise: wired mode and wireless mode through management control protocol and printer; For example; With the SPCE061A single-chip microcomputer is example; On SPCE061A single-chip microcomputer and printer, disposed USB port respectively or Bluetooth adapter carries out data interaction; The wire communication mode of USB port and the communication of Bluetooth adapter are applied in different occasions respectively, through Fig. 2 and method embodiment shown in Figure 3 the SPCE061A single-chip microcomputer are described in detail through the processing procedure that wired and wireless mode and printer communicate respectively below.
Fig. 2 is for the flow chart of another embodiment of Method of printing of the present invention, and is as shown in Figure 2, and present embodiment is elaborated through the processing procedure that Bluetooth adapter carries out data interaction to SPCE061A single-chip microcomputer and printer, and this method comprises:
Step 200, the SPCE061A single-chip microcomputer is opened Bluetooth adapter after user terminal obtains mimeograph documents, through managing the characteristic information that control protocol and printer connect through Bluetooth adapter and obtain said printer;
The SPCE061A single-chip microcomputer is a 16 single-chip microcomputers with digital processing function; This chip has 8 tunnel 10 high-precision adcs; The digital to analog converter of 10 precision of two-way, programmable serial line interface; And have a high efficiency cover instruction system and an IDE, support standard C language, can realize calling mutually of C Language And Assembly Language.Onboard flash memory and static memory have totally 32 A, two groups of I/O interfaces of B, and low-voltage detection and watchdog function, and central processing unit clock speed is the highest can to reach 49.5MHz.The SPCE061A single-chip microcomputer is supported Bluetooth communication through the configuration Bluetooth adapter.
After the SPCE061A single-chip microcomputer obtains the mimeograph documents of user terminal transmission through serial ports; Open Bluetooth adapter; And have Bluetooth adapter and embed the printer that the management control protocol is arranged through management control protocol search; Have the search of the printer response single-chip microcomputer of Bluetooth adapter, the LCD display on the SPCE061A single-chip microcomputer presents list of Printers.After from list of Printers, selecting a printer, the SPCE061A single-chip microcomputer connects through management control protocol and printer, and printer sends to the characteristic information of printer through Bluetooth adapter the Bluetooth adapter of SPCE061A single-chip microcomputer.
Step 201, the SPCE061A single-chip microcomputer is provided with and preview mimeograph documents according to the information that is provided with in the said characteristic information;
The SPCE061A single-chip microcomputer is provided with mimeograph documents according to the information that is provided with in the characteristic information of printer; Information is set specifically can be comprised; The number of pages of printing, the selection of print media and the form of mimeograph documents, according to application need to mimeograph documents finish be provided with after; Can print preview through lcd screen, thereby can before single-chip microcomputer generates printer data, adjust the relevant setting of mimeograph documents.
Step 202, the SPCE061A single-chip microcomputer generates printer data according to said characteristic information with mimeograph documents and sends to printer through Bluetooth adapter, according to printer data mimeograph documents is printed processing for printer.
After the SPCE061A single-chip microcomputer obtains the characteristic information of printer; Characteristic information according to printer will generate printer data sends to printer through Bluetooth adapter Bluetooth adapter from the mimeograph documents that user terminal obtains; The Bluetooth adapter of printer sends to print control unit with after converting the literal or image that can print into printer data; Literal or view data after print control unit will be changed send to printhead, thereby printhead can print to the data of supply printing that print control unit sends on the print media.
Step 203, the SPCE061A single-chip microcomputer starts the buzzer alarm according to the status information in the characteristic information, and said status information comprises ending message and the print fault information printed.
The status information that has comprised printer in the characteristic information of the printer that the SPCE061A single-chip microcomputer obtains; Status information specifically comprises: whether printer off-line; Whether printer accomplishes printing; Whether printer information such as print media occur lacking, and printer sends to these status informations on the Bluetooth adapter of SPCE061A single-chip microcomputer through Bluetooth adapter in real time, and the Bluetooth adapter of SPCE061A single-chip microcomputer starts buzzer according to status information to be alarmed.
The Method of printing that the embodiment of the invention provides; Can on single-chip microcomputer and printer, embed the management control protocol in advance and be furnished with Bluetooth adapter; Make single-chip microcomputer connect through Bluetooth adapter and obtain the characteristic information of printer through management control protocol and printer; Single-chip microcomputer will generate printer data according to characteristic information and send to printer through Bluetooth adapter from the mimeograph documents that user terminal obtains; Printer prints processing according to printer data to mimeograph documents, has realized through the Single-chip Controlling printer mimeograph documents in the user terminal that printer driver software is not installed being printed service, and the user terminal that needs is carried out file printout has certain compatibility; Avoided user terminal that the complicated processes of printer driver is installed; And communicating by letter between printer and the single-chip microcomputer is based on Bluetooth adapter, do not need the configuration data line, practiced thrift resource and made layout more flexible.
Fig. 3 is for the flow chart of the another embodiment of Method of printing of the present invention, and is as shown in Figure 3, and present embodiment is elaborated through the processing procedure that USB port carries out data interaction to SPCE061A single-chip microcomputer and printer, and this method comprises:
After step 300, SPCE061A single-chip microcomputer are obtained mimeograph documents from user terminal, through managing the characteristic information that control protocol and printer connect through USB port and obtain said printer;
The SPCE061A single-chip microcomputer is connected with the USB port of printer with USB port; After the SPCE061A single-chip microcomputer obtains the mimeograph documents of user terminal transmission through serial ports; Realize shaking hands contact with the I/OB15 among the SPCE061A I/OB and I/OB14 and printer; And have through management control protocol search and to embed the printer that the management control protocol is arranged, the search of the printer response single-chip microcomputer of supported protocol, the LCD display on the SPCE061A single-chip microcomputer presents list of Printers.After from list of Printers, selecting a printer, the SPCE061A single-chip microcomputer connects through USB port through management control protocol and printer, and printer sends to the characteristic information of printer through USB port the USB port of SPCE061A single-chip microcomputer.
Step 301, the SPCE061A single-chip microcomputer is provided with and preview mimeograph documents according to the information that is provided with in the said characteristic information;
The SPCE061A single-chip microcomputer is provided with mimeograph documents according to the information that is provided with in the characteristic information of printer; Information is set specifically can be comprised; The number of pages of printing, the selection of print media and the form of mimeograph documents, according to application need to mimeograph documents finish be provided with after; Can print preview through lcd screen, thereby can before single-chip microcomputer generates printer data, adjust the relevant setting of mimeograph documents.
Step 302, the SPCE061A single-chip microcomputer generates printer data according to said characteristic information with mimeograph documents and sends to the USB port of printer through USB port, according to printer data mimeograph documents is printed processing for printer.
After the SPCE061A single-chip microcomputer obtains the characteristic information of printer; Characteristic information according to printer will generate printer data sends to printer through USB port USB port from the mimeograph documents that user terminal obtains; The USB port of printer sends to print control unit with after converting the literal or image that can print into printer data; Literal or view data after print control unit will be changed send to printhead, thereby printhead can print to the data of supply printing that print control unit sends on the print media.
Step 303, the SPCE061A single-chip microcomputer starts the buzzer alarm according to the status information in the characteristic information, and said status information comprises ending message and the print fault information printed.
The status information that has comprised printer in the characteristic information of the printer that the SPCE061A single-chip microcomputer obtains; Status information specifically comprises: whether printer off-line; Whether printer accomplishes printing; Whether printer information such as print media occur lacking, and printer sends to these status informations on the USB port of SPCE061A single-chip microcomputer through USB port in real time, and the USB port of SPCE061A single-chip microcomputer starts buzzer according to status information to be alarmed.
The Method of printing that the embodiment of the invention provides; Can on single-chip microcomputer and printer, embed the management control protocol in advance and be furnished with USB port; Make single-chip microcomputer connect through USB port and obtain the characteristic information of printer through management control protocol and printer; Single-chip microcomputer will generate printer data according to characteristic information and send to printer through USB port from the mimeograph documents that user terminal obtains; Printer prints processing according to printer data to mimeograph documents; Realized through the Single-chip Controlling printer mimeograph documents in the user terminal that printer driver software is not installed being printed service, the user terminal that needs is carried out file printout has certain compatibility, has avoided user terminal that the complicated processes of printer driver is installed.
Fig. 4 is the Method of printing of the present invention flow chart of an embodiment again, and as shown in Figure 4, this method comprises:
Step 400, printer is according to the management control protocol and single-chip microcomputer connects and send characteristic information to said single-chip microcomputer;
Step 401, said printer receive the printer data of said single-chip microcomputer transmission and according to said printer data said mimeograph documents are printed processing.
Concrete handling process in the Method of printing that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 1, and its realization principle and technique effect are similar, repeat no more here.
To the printer of carrying out method embodiment shown in Figure 4; Through the management control protocol with single-chip microcomputer connects and specifically can comprise to the mode of single-chip microcomputer transmission characteristic information: wired mode and wireless mode; For example; With the SPCE061A single-chip microcomputer is example; On SPCE061A single-chip microcomputer and printer, disposed USB port respectively or Bluetooth adapter carries out data interaction; The wire communication mode of USB port and the communication of Bluetooth adapter are applied in different occasions respectively, specifically can be described in detail through the processing procedure that wired and wireless mode and printer communicate the SPCE061A single-chip microcomputer referring to above-mentioned Fig. 2 and method embodiment shown in Figure 3, repeat no more here.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 5 is the structural representation of an embodiment of single-chip microcomputer of the present invention; As shown in Figure 5, this single-chip microcomputer comprises: equipment body 1 also comprises: acquisition module 11, first communication module 12 and processing module 13; Wherein, acquisition module 11 is used for obtaining mimeograph documents from user terminal; First communication module 12 is used for according to managing the characteristic information that control protocol and printer connect and receive the printer transmission; Processing module 13 is used for according to characteristic information mimeograph documents being generated printer data and sends to printer, according to printer data mimeograph documents is printed processing for printer.Need to prove that present embodiment does not limit this equipment body and specifically comprised which unit and parts, present embodiment is only described to the required unit of improvement.
The function of each module and handling process in the single-chip microcomputer that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 1, and its realization principle and technique effect are similar, repeat no more here.
To single-chip microcomputer shown in Figure 5; Connect and the mode of obtaining the characteristic information of printer transmission specifically can comprise: wired mode and wireless mode through management control protocol and printer; Be applied in different occasions respectively, be described in detail through the processing procedure that wired and wireless mode and printer communicate through Fig. 6 and single-chip microcomputer embodiment shown in Figure 7 respectively below.
Fig. 6 is the structural representation of another embodiment of single-chip microcomputer of the present invention; As shown in Figure 6; Present embodiment is elaborated through the processing procedure that wireless mode carries out data interaction to single-chip microcomputer and printer; Based on embodiment shown in Figure 5, first communication module 12 comprises: first wireless communication unit 121 is used for according to managing the characteristic information that control protocol connects through wireless mode and printer and receives said printer transmission.Need explanation to be, first wireless communication unit 121 specifically can be Bluetooth adapter, and infrared module etc. should be selected according to concrete application scenarios, and present embodiment does not limit concrete communication.
Further, equipment body 1 is provided with buzzer 14, and processing module 13 also is used for starting buzzer 14 alarms according to the status information of characteristic information, and status information comprises ending message and the print fault information printed.
Further, processing module 13 also is used for according to the information that is provided with of characteristic information mimeograph documents being provided with and preview.
The function of each module and handling process in the single-chip microcomputer that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 2, and its realization principle and technique effect are similar, repeat no more here.
Fig. 7 is the structural representation of the another embodiment of single-chip microcomputer of the present invention; As shown in Figure 7; Present embodiment is elaborated to the processing procedure that single-chip microcomputer and printer carry out data interaction through wired mode; Based on embodiment shown in Figure 5, first communication module 12 comprises: the first wire communication unit 122 is used for according to managing the characteristic information that control protocol connects through wired mode and printer and receives said printer transmission.Need explanation to be, the first wire communication unit 122 specifically can be USB port, and parallel transmission-line etc. should be selected according to concrete application scenarios, and present embodiment does not limit concrete wire communication mode.
Further, equipment body 1 is provided with buzzer 14, and processing module 13 also is used for starting buzzer 14 alarms according to the status information of characteristic information, and status information comprises ending message and the print fault information printed.
Further, processing module 13 also is used for according to the information that is provided with of characteristic information mimeograph documents being provided with and preview.
The function of each module and handling process in the single-chip microcomputer that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 3, and its realization principle and technique effect are similar, repeat no more here.
Fig. 8 is the structural representation of an embodiment of printer of the present invention; As shown in Figure 8; Comprise: equipment body 2; Also comprise: second communication module 21, receiver module 22 and print module 23, wherein, second communication module 21 is used for according to the management control protocol and single-chip microcomputer connects and send characteristic information to single-chip microcomputer; Receiver module 22 is used to receive the printer data that single-chip microcomputer sends; Print module 23 is used for according to printer data mimeograph documents being printed processing.Need to prove that present embodiment does not limit this equipment body and specifically comprised which unit and parts, present embodiment is only described to the required unit of improvement.
The function of each module and handling process in the printer that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 1, and its realization principle and technique effect are similar, repeat no more here.
To printer shown in Figure 8; Through the management control protocol with single-chip microcomputer connects and specifically can comprise to the mode of single-chip microcomputer transmission characteristic information: wired mode and wireless mode; Be applied in different occasions respectively, be described in detail through the processing procedure that wired and wireless mode and single-chip microcomputer communicate through Fig. 9 and printer embodiment shown in Figure 10 respectively below.
Fig. 9 is the structural representation of another embodiment of printer of the present invention; As shown in Figure 9; Present embodiment is elaborated through the processing procedure that wireless mode carries out data interaction to single-chip microcomputer and printer; Based on embodiment shown in Figure 8, second communication module 21 comprises: second wireless communication unit 211 is used for connecting through wireless mode and single-chip microcomputer and to said single-chip microcomputer transmission characteristic information according to the management control protocol.Need explanation to be, second wireless communication unit 211 specifically can be Bluetooth adapter, and infrared module etc. should be selected according to concrete application scenarios, and present embodiment does not limit concrete communication.
Further, second communication module 21 also is used for sending to single-chip microcomputer the status information of characteristic information, and status information comprises ending message and the print fault information printed.
The function of each module and handling process in the printer that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 2, and its realization principle and technique effect are similar, repeat no more here.
Figure 10 is the structural representation of the another embodiment of printer of the present invention; Shown in figure 10; Present embodiment is elaborated to the processing procedure that single-chip microcomputer and printer carry out data interaction through wired mode; Based on embodiment shown in Figure 8, second communication module 21 comprises: the second wire communication unit 212 is used for according to the management control protocol through wired mode with single-chip microcomputer connects and to said single-chip microcomputer transmission characteristic information.Need explanation to be, the second wire communication unit 212 specifically can should be selected according to concrete application scenarios for USB port, parallel transmission-line etc., and present embodiment does not limit concrete wire communication mode.
Further, second communication module 21 also is used for sending to single-chip microcomputer the status information of characteristic information, and status information comprises ending message and the print fault information printed.
The function of each module and handling process in the printer that present embodiment provides can be referring to above-mentioned method embodiment shown in Figure 3, and its realization principle and technique effect are similar, repeat no more here.
Figure 11 is for the structural representation of an embodiment of printer system of the present invention, and is shown in figure 11, comprises single-chip microcomputer 1, printer 2, and user terminal 3, and wherein, user terminal 3 sends mimeograph documents to single-chip microcomputer 1.Single-chip microcomputer 1 and printer 2 single-chip microcomputer and the printer that can adopt the foregoing description to provide wherein, said user terminal 3 is a related user terminal among above-mentioned each embodiment.Concrete structure and function and handling process of each device in the print system that present embodiment provides can be referring to the method embodiment shown in above-mentioned, and its realization principle and technique effect are similar, repeat no more here.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (17)

1. a Method of printing is characterized in that, comprising:
After single-chip microcomputer obtains mimeograph documents from user terminal, according to managing the characteristic information that control protocol and printer connect and receive said printer transmission;
Said single-chip microcomputer generates printer data according to said characteristic information with said mimeograph documents and sends to said printer, according to said printer data said mimeograph documents is printed processing for said printer.
2. Method of printing according to claim 1 is characterized in that, said connecting according to management control protocol and printer comprises:
Connect through wired mode or wireless mode and printer according to the management control protocol.
3. Method of printing according to claim 1 and 2 is characterized in that, also comprises:
Said single-chip microcomputer starts the buzzer alarm according to the status information in the said characteristic information, and said status information comprises ending message and the print fault information printed.
4. Method of printing according to claim 1 and 2 is characterized in that, before said generation printer data, also comprises:
Said single-chip microcomputer is provided with and preview said mimeograph documents according to the information that is provided with in the said characteristic information.
5. a Method of printing is characterized in that, comprising:
Printer is according to the management control protocol and single-chip microcomputer connects and send characteristic information to said single-chip microcomputer;
Said printer receives the printer data of said single-chip microcomputer transmission and according to said printer data said mimeograph documents is printed processing.
6. Method of printing according to claim 5 is characterized in that, said connecting according to management control protocol and single-chip microcomputer comprises:
Connect through wired mode or wireless mode and single-chip microcomputer according to the management control protocol.
7. according to claim 5 or 6 described Method of printings, it is characterized in that, also comprise:
Said printer sends the status information in the said characteristic information to said single-chip microcomputer, and said status information comprises ending message and the print fault information printed.
8. single-chip microcomputer comprises: equipment body, it is characterized in that, and also comprise:
Acquisition module is used for obtaining mimeograph documents from user terminal;
First communication module is used for according to managing the characteristic information that control protocol and printer connect and receive said printer transmission;
Processing module is used for according to said characteristic information said mimeograph documents being generated printer data and sends to said printer, according to said printer data said mimeograph documents is printed processing for said printer.
9. single-chip microcomputer according to claim 8 is characterized in that, said first communication module comprises:
The first wire communication unit is used for according to managing the characteristic information that control protocol connects through wired mode and printer and receives said printer transmission.
10. single-chip microcomputer according to claim 8 is characterized in that, said first communication module comprises:
First wireless communication unit is used for according to managing the characteristic information that control protocol connects through wireless mode and printer and receives said printer transmission.
11. to 10 each described single-chip microcomputers, it is characterized in that said equipment body is provided with buzzer according to Claim 8, said processing module also is used for:
Start said buzzer alarm according to the status information in the said characteristic information, said status information comprises ending message and the print fault information printed.
12. to 10 each described single-chip microcomputers, it is characterized in that said processing module also is used for according to Claim 8:
According to the information that is provided with in the said characteristic information said mimeograph documents are provided with and preview.
13. a printer comprises: equipment body, it is characterized in that, also comprise:
Second communication module is used for according to the management control protocol and single-chip microcomputer connects and send characteristic information to said single-chip microcomputer;
Receiver module is used to receive the printer data that said single-chip microcomputer sends;
Print module is used for according to said printer data said mimeograph documents being printed processing.
14. printer according to claim 13 is characterized in that, said second communication module comprises:
The second wire communication unit is used for according to the management control protocol through wired mode with single-chip microcomputer connects and to said single-chip microcomputer transmission characteristic information.
15. printer according to claim 13 is characterized in that, said second communication module comprises:
Second wireless communication unit is used for connecting through wireless mode and single-chip microcomputer and to said single-chip microcomputer transmission characteristic information according to the management control protocol.
16., it is characterized in that said second communication module also is used for according to each described printer of claim 13 to 15:
Send the status information in the said characteristic information to said single-chip microcomputer, said status information comprises ending message and the print fault information printed.
17. a print system is characterized in that, comprises like each described single-chip microcomputer of claim 8 to 12, and like each described printer of claim 13 to 16, and user terminal, wherein, said user terminal sends mimeograph documents to said single-chip microcomputer.
CN2011103122952A 2011-10-14 2011-10-14 Printing method and system as well as singlechip and printer Pending CN102501642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103122952A CN102501642A (en) 2011-10-14 2011-10-14 Printing method and system as well as singlechip and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103122952A CN102501642A (en) 2011-10-14 2011-10-14 Printing method and system as well as singlechip and printer

Publications (1)

Publication Number Publication Date
CN102501642A true CN102501642A (en) 2012-06-20

Family

ID=46213800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103122952A Pending CN102501642A (en) 2011-10-14 2011-10-14 Printing method and system as well as singlechip and printer

Country Status (1)

Country Link
CN (1) CN102501642A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055288A (en) * 2016-06-02 2016-10-26 施志荣 Printing system and method based on printer externally connected with Android intelligent terminal
CN107415498A (en) * 2016-05-24 2017-12-01 精工爱普生株式会社 The control method of printing equipment and printing equipment
CN112148240A (en) * 2020-09-29 2020-12-29 上海汉图科技有限公司 File printing method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2498657Y (en) * 2001-02-13 2002-07-03 赵俊华 Real time network cashier
JP2005138500A (en) * 2003-11-07 2005-06-02 Seiko Epson Corp Printing system, printing apparatus, printing controlling apparatus, program and printing method
US20050286077A1 (en) * 2004-05-27 2005-12-29 Seiko Epson Corporation Printing device and print management method
JP2007008177A (en) * 2005-03-15 2007-01-18 Seiko Epson Corp Printer, printer controlling program, printer controlling method, apparatus for generating data for printing, program for generating data for printing and method for generating data for printing
CN201174150Y (en) * 2008-01-11 2008-12-31 北京博世金信科技有限公司 Controller of magnetic number printer for check
CN101349727A (en) * 2007-09-29 2009-01-21 罗炎平 Ultra-low frequency high-pressure generator
CN201255905Y (en) * 2008-09-23 2009-06-10 大贺传媒股份有限公司 Self-assistant device for advertisement promotion special discount voucher
CN101763694A (en) * 2010-03-12 2010-06-30 张永建 Multi-functional pos all-in-one machine with multiple transmission modes
CN101770350A (en) * 2009-01-05 2010-07-07 鸿富锦精密工业(深圳)有限公司 Printing system and printing method
CN201910097U (en) * 2010-12-23 2011-07-27 南宁全讯通科技咨询服务有限公司 Gprs wireless intelligent payment terminal
CN202008693U (en) * 2011-04-18 2011-10-12 颜浩 Information acquisition system for ticket selling
CN102211792A (en) * 2011-03-23 2011-10-12 中交第一公路勘察设计研究院有限公司 Intelligent terminal water purifier capable of realizing on-line monitoring and printing

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2498657Y (en) * 2001-02-13 2002-07-03 赵俊华 Real time network cashier
JP2005138500A (en) * 2003-11-07 2005-06-02 Seiko Epson Corp Printing system, printing apparatus, printing controlling apparatus, program and printing method
US20050286077A1 (en) * 2004-05-27 2005-12-29 Seiko Epson Corporation Printing device and print management method
JP2007008177A (en) * 2005-03-15 2007-01-18 Seiko Epson Corp Printer, printer controlling program, printer controlling method, apparatus for generating data for printing, program for generating data for printing and method for generating data for printing
CN101349727A (en) * 2007-09-29 2009-01-21 罗炎平 Ultra-low frequency high-pressure generator
CN201174150Y (en) * 2008-01-11 2008-12-31 北京博世金信科技有限公司 Controller of magnetic number printer for check
CN201255905Y (en) * 2008-09-23 2009-06-10 大贺传媒股份有限公司 Self-assistant device for advertisement promotion special discount voucher
CN101770350A (en) * 2009-01-05 2010-07-07 鸿富锦精密工业(深圳)有限公司 Printing system and printing method
CN101763694A (en) * 2010-03-12 2010-06-30 张永建 Multi-functional pos all-in-one machine with multiple transmission modes
CN201910097U (en) * 2010-12-23 2011-07-27 南宁全讯通科技咨询服务有限公司 Gprs wireless intelligent payment terminal
CN102211792A (en) * 2011-03-23 2011-10-12 中交第一公路勘察设计研究院有限公司 Intelligent terminal water purifier capable of realizing on-line monitoring and printing
CN202008693U (en) * 2011-04-18 2011-10-12 颜浩 Information acquisition system for ticket selling

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苗新法: "基于USB接口的彩票终端打印系统设计", 《自动化与仪器仪表》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107415498A (en) * 2016-05-24 2017-12-01 精工爱普生株式会社 The control method of printing equipment and printing equipment
CN107415498B (en) * 2016-05-24 2019-06-18 精工爱普生株式会社 The control method of printing equipment and printing equipment
CN106055288A (en) * 2016-06-02 2016-10-26 施志荣 Printing system and method based on printer externally connected with Android intelligent terminal
CN112148240A (en) * 2020-09-29 2020-12-29 上海汉图科技有限公司 File printing method and device

Similar Documents

Publication Publication Date Title
US9503602B2 (en) Image forming apparatus, image formation method, and recording medium that execute application
CN103324451A (en) Apparatus for processing data based on setting conditions
CN1629792A (en) Image processing apparatus, control method, storing medium and program
KR20120134913A (en) Method and apparatus for developing application of image forming apparatus
CN107404714A (en) Communicator and its control method, storage medium
CN102055864B (en) Information processing method, information processing apparatus and information processing system
CN103562845B (en) The irrelevant driver of usage platform prints
CN102501642A (en) Printing method and system as well as singlechip and printer
JP2008211788A (en) Office equipment and program installation support method
EP1486866A1 (en) Image output system having multiple devices communication-connected in master-slave relation
EP2230630B1 (en) Printer, and program for its operation screen.
JP2004030280A (en) Portable terminal printing system
CN101117062A (en) Recoverable optical fiber tethered buoy assembly
CN104683399A (en) Equipment control system and equipment control method
KR100569818B1 (en) Mobile Printing Device in use Wireless Communication
CN100403766C (en) System and method for performing document processing operations
CN101115111A (en) Image forming apparatus having direct printing function and method of direct printing
JP2009181337A (en) Image forming system, management device, and image forming apparatus, method and program
KR20070087526A (en) Image source apparatus, method of acquiring information from printer, and computer-readable recording medium
US7404191B2 (en) Information processing apparatus, its control method and control program
JP2011054097A (en) Operation device
EP1480424B1 (en) Cellular phone, print system, and print method therefor
US10164787B1 (en) Print to eBook reader
JP2019074884A (en) Program, data communication method, and information processing apparatus
EP1484670A2 (en) Printer memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120620