CN109669646A - Method of printing, device, computer equipment and storage medium - Google Patents

Method of printing, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109669646A
CN109669646A CN201811383341.6A CN201811383341A CN109669646A CN 109669646 A CN109669646 A CN 109669646A CN 201811383341 A CN201811383341 A CN 201811383341A CN 109669646 A CN109669646 A CN 109669646A
Authority
CN
China
Prior art keywords
printer
print
out task
print out
data
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.)
Granted
Application number
CN201811383341.6A
Other languages
Chinese (zh)
Other versions
CN109669646B (en
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.)
Shenzhen Qianhai Baidi Network Co Ltd
Original Assignee
Shenzhen Qianhai Baidi Network 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 Shenzhen Qianhai Baidi Network Co Ltd filed Critical Shenzhen Qianhai Baidi Network Co Ltd
Priority to CN201811383341.6A priority Critical patent/CN109669646B/en
Publication of CN109669646A publication Critical patent/CN109669646A/en
Application granted granted Critical
Publication of CN109669646B publication Critical patent/CN109669646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

This application involves a kind of Method of printing, device, computer equipment and storage mediums.The described method includes: obtaining print out task, the print out task carries printer identifier and the first print data;The print out task is sent to Cloud Server, and the printer identifier and the first print data are stored in the Cloud Server;The printer identifier is used to indicate the Cloud Server and the notification information of the print out task is sent to the corresponding network printer;The notification information is used to indicate the network printer and the type of printer of the network printer is uploaded to the Cloud Server, and obtains the second print data from the Cloud Server, prints to second print data;First print data is converted to obtain by the second print data Cloud Server according to the type of printer.It realizes and does not need to install different printing drivings for different printers, the printing of the first print data can be realized, printing effect is high.

Description

Method of printing, device, computer equipment and storage medium
Technical field
This application involves printing technique fields, are situated between more particularly to a kind of Method of printing, device, computer equipment and storage Matter.
Background technique
It is frequently necessary in paper form be presented file content in people's work, be needed file thus through printing device Dump.Traditional printing type is to need to install printing driving at the terminal, and drive beating for specified model with the printing Print machine is communicated, and print out task is completed.
However, traditional printing type, which needs to install the corresponding printer of specific printing drive connection, to be printed, grasp Make cumbersome, printing effect is low.
Summary of the invention
Based on this, it is necessary to which, for the low problem of traditional printing type printing effect, providing one kind can be improved printing Method of printing, device, computer equipment and the storage medium of efficiency.
A kind of Method of printing, which comprises
Print out task is obtained, the print out task carries printer identifier and the first print data;
The print out task is sent to Cloud Server, and the printer identifier and the first print data are stored in institute State Cloud Server;
The printer identifier is used to indicate the Cloud Server and the notification information of the print out task is sent to correspondence The network printer;The notification information is used to indicate the network printer will be on the type of printer of the network printer The Cloud Server is passed to, and obtains the second print data from the Cloud Server, second print data is printed;Institute It states the second print data Cloud Server and converts to obtain by first print data according to the type of printer.
It is described in one of the embodiments, that the print out task is sent to Cloud Server, and by the printer mark Know and the first print data be stored in the Cloud Server, comprising:
Bitmap data is generated according to first print data;
The print out task for carrying the printer identifier and institute's bit-map data is sent to Cloud Server, to institute Bit-map data is parsed, and image data is generated, and the image data and printer identifier correspondence are stored in Cloud Server.
A kind of Method of printing, which comprises
Receive the print out task uploaded, and store the print out task, the print out task carry printer identifier and First print data;
Notification information is generated according to the print out task, it is corresponding that the notification information is sent to the printer identifier The network printer;
Receive the type of printer that the network printer responds the network printer that the notification information uploads;
Corresponding second print data is converted by first print data according to the type of printer;
Second print data is sent to the network printer.
It is described in one of the embodiments, to receive the print out task uploaded, and the print out task is stored, the printing Task carries printer identifier and the first print data, comprising:
The printer identifier and bitmap data uploaded is received, institute's bit-map data is to generate according to first print data 's;
Image data is converted by institute's bit-map data;
By printer identifier storage corresponding with the image data;
It is described to convert corresponding second print data for first print data according to the type of printer, packet It includes:
Corresponding second print data is converted by the image data according to the type of printer.
The print out task carries terminal iidentification in one of the embodiments,;
The method also includes:
The print out task of terminal iidentification having the same and printer identifier is merged;
The notification information for carrying the identical terminal iidentification is generated according to the print out task after merging;
It is corresponding that the notification information for carrying the identical terminal iidentification is sent to the identical printer identifier The network printer.
It is described in one of the embodiments, to close the print out task of terminal iidentification having the same and printer identifier And, comprising:
The print out task of the terminal iidentification and printer identifier having the same that receive in preset time is merged.
The print out task also carries terminal location in one of the embodiments,;
The method also includes:
The position for obtaining the corresponding network printer of the printer identifier, according to the position of the network printer and institute State the distance between terminal location;
The receiving time for obtaining print out task, beats according to the distance and receiving time what is identified with same printer Print task ranking.
A kind of printing equipment, described device include:
Request receiving module for receiving the print out task uploaded, and stores the print out task, and the print out task is taken With printer identifier and the first print data;
Generation module, for generating notification information according to the print out task;
Sending module is notified, for the notification information to be sent to the corresponding network printer of the printer identifier;
Type reception module responds the network printing that the notification information uploads for receiving the network printer The type of printer of machine;
Conversion module, for converting corresponding second printing for first print data according to the type of printer Data;
Data transmission blocks, for second print data to be sent to the network printer.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device realizes any of the above-described method and step when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Any of the above-described method and step is realized when row.
Above-mentioned Method of printing, device, computer equipment and storage medium, by by printer identifier and the first print data It uploads to Cloud Server to be stored, then Cloud Server sends notice letter to the corresponding network printer according to printer identifier Breath, the network printer upload the type of printer of itself according to the notification information, and Cloud Server is according to type of printer by first Print data is converted into the second print data suitable for the corresponding network printer printing of the printer identifier, realizes and is not required to Different printing drivings to be installed for different printers, the printing of the first print data can be realized, printing effect is high.Again Person, terminal do not need directly to connect with the network printer, can print the data for needing to print, Ke Yishi by the network printer Existing remote printing.
Detailed description of the invention
Fig. 1 is the applied environment figure of Method of printing in one embodiment;
Fig. 2 is the flow diagram of Method of printing in one embodiment;
Fig. 3 is the flow diagram of Method of printing in another embodiment;
Fig. 4 is the timing diagram of Method of printing in one embodiment;
Fig. 5 is the structural block diagram of printing equipment in one embodiment;
Fig. 6 is the structural block diagram of printing equipment in another embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Method of printing provided by the embodiments of the present application can be applied in application environment as shown in Figure 1.The application environment Including terminal 110, Cloud Server 120 and the network printer 130.Terminal 110 is communicated with Cloud Server 1120 by network. Cloud Server 120 is communicated with the network printer 130 by network.Cloud printing driving is installed in terminal 110, is printed by cloud The print out task for carrying printer identifier and the first print data is uploaded to Cloud Server 120 by driving, and Cloud Server 120 is deposited Store up printer identifier and the first print data.Cloud Server 120 generates notification information, and notification information is sent to printer identifier The corresponding network printer 130, the network printer 130 upload the type of printer of itself to Cloud Server 120.Cloud Server 120 convert corresponding second print data for the first print data according to type of printer, and the second print data is sent It is printed to the network printer 130.Wherein, terminal 110 can be, but not limited to be various personal computers, laptop, Smart phone, tablet computer and portable wearable device etc..Cloud Server 120 can be either multiple with independent server The server cluster of server composition is realized.
Fig. 2 is the flow chart of Method of printing in one embodiment.As shown in Fig. 2, a kind of Method of printing, to be applied to Fig. 1 In terminal 110 on for, comprising:
Step 202, print out task is obtained, which carries printer identifier and the first print data.
Wherein, print out task refers to the print request of initiation.Printer identifier is the character for unique identification printer String.Character string may include one or more kinds of in number, letter and character.Printer identifier can be printer MAC (Media Access Control Address, physical address) address.First print data refers to initial data to be printed.This is original Data can be the data such as word document, PDF document, picture or webpage.
Specifically, cloud printing driving is installed in terminal.Terminal obtains user in word document, PDF document, picture or webpage Word depghi is triggered Deng on and enters printing configuration interface, obtains the printer identifier in printing configuration interface input.Terminal obtains Printer identifier and the first print data are sent to Cloud Server by the printer identifier of input.
In addition, terminal can also obtain user in the print parameters of printing configuration interface input, print parameters include that single side is beaten Back gauge, antiquarian (A3, A4 etc.), the paper arrangement up and down of print/duplex printing, every edition number of print pages, the printing page number, paper (laterally or longitudinally) etc..Print parameters are also sent to Cloud Server by terminal.
Step 204, which is sent to Cloud Server, and the printer identifier and the first print data is stored In the Cloud Server;The printer identifier be used to indicate the Cloud Server notification information of the print out task is sent to it is corresponding The network printer;The notification information is used to indicate the network printer and the type of printer of the network printer is uploaded to the cloud Server, and the second print data is obtained from the Cloud Server, which is printed;Second print data is The Cloud Server converts first print data according to the type of printer.
Wherein, type of printer is used to characterize the print data type of printing function identification.Type of printer may include favour General printer, Canon printer, Epson printer etc..The print data type that different types of printer can identify is not Together.Cloud Server converts the first print data to suitable for the net according to the type of printer of itself that the network printer uploads Second print data of network printer printing.
Above-mentioned Method of printing is stored, so by the way that printer identifier and the first print data are uploaded to Cloud Server Cloud Server sends notification information to the corresponding network printer according to printer identifier afterwards, and the network printer is believed according to the notice Breath uploads the type of printer of itself, and Cloud Server converts the first print data to suitable for the printing according to type of printer Machine identifies the second print data of corresponding network printer printing, realizes and does not need for different printer installation differences Printing driving, can be realized the printing of the first print data, printing effect is high.Furthermore terminal does not need directly to beat with network The connection of print machine can print the data for needing to print by the network printer, remote printing may be implemented.
In one embodiment, which is sent to Cloud Server, and the printer identifier and first is printed Data are stored in the Cloud Server, comprising: generate bitmap data according to first print data;This is carried into the printer mark Know and the print out task of the bitmap data is sent to Cloud Server, which is parsed, image data is generated, by this Image data and printer identifier correspondence are stored in Cloud Server.
Wherein, the cloud printing driving in terminal parses the first print data, bitmap data is generated, then by bitmap Data and printer identifier send jointly to Cloud Server.Bitmap data is generated according to the first print data, data is facilitated to transmit.
By print out task with transmitted in data packet form, which includes packet header, data length, printer identifier and bitmap Data.Data length refers to the length of bitmap data.
In one embodiment, above-mentioned Method of printing further include: obtain terminal iidentification, which is added to printing Task;Print out task is sent to Cloud Server, and terminal iidentification, printer identifier and the first print data are stored in cloud clothes Business device.Terminal iidentification is used for unique identification terminal.Terminal iidentification can be MAC Address, the terminal device number etc. of terminal.By terminal Mark is added to print out task and uploads Cloud Server, facilitates tracking.
Fig. 3 is the flow chart of Method of printing in another embodiment.As shown in figure 3, a kind of Method of printing, to be applied to figure For on Cloud Server in 1, which includes:
Step 302, the print out task of upload is received, and stores the print out task, which carries printer mark Know and the first print data.
Wherein, printer identifier is the character string for the unique identification network printer.Character string may include number, letter With one or more in character.Printer identifier can be printer MAC Address.First print data refers to be printed original Data.The initial data can be the data such as word document, PDF document, picture or webpage.
Specifically, Cloud Server receives the print out task that terminal uploads, and stores the printer identifier in print out task Storage corresponding with the first print data.
Step 304, notification information is generated according to the print out task, it is corresponding which is sent to the printer identifier The network printer.
Specifically, notification information is for notifying printer to obtain print out task.Cloud Server is raw according to the print out task At notification information, notification information is sent to the corresponding network printer of printer identifier.
Step 306, the type of printer for the network printer that network printer response notification information uploads is received.
Wherein, type of printer is used to characterize the print data type of printing function identification.Type of printer may include favour General printer, Canon printer, Epson printer etc..The print data type that different types of printer can identify is not Together.
Specifically, Cloud Server receives the type of printer that network printer response notification information uploads.
Step 308, corresponding second print data is converted by first print data according to the type of printer.
Specifically, Cloud Server converts corresponding second print data for the first print data according to type of printer, Suitable for the corresponding network printer of the printer identifier.
Step 310, which is sent to the network printer.
Specifically, the second print data is sent to the network printer and printed by Cloud Server.
Above-mentioned Method of printing, what Cloud Server received terminal upload carries printer identifier and the first print data Print out task generates notification information, is sent to the corresponding network printer of the printer identifier, receives on the network printer The type of printer of biography converts the second print data for the first print data according to type of printer, by the second print data It is sent to the network printer to be printed, realizes and do not need to install different printing drivings for different printers Realize the printing of the first print data, printing effect is high.Terminal does not need directly to connect with the network printer, can pass through network The data that printer printing needs to print, may be implemented remote printing.
In one embodiment, the print out task which uploads, and the print out task is stored, which carries Printer identifier and the first print data, comprising: the printer identifier and bitmap data of upload are received, according to the bitmap data What first print data generated;Image data is converted by the bitmap data;By the printer identifier and the image data pair It should store.
Corresponding second print data should be converted by first print data according to the type of printer, comprising: according to The image data is converted corresponding second print data by the type of printer.
Specifically, the cloud printing driving in terminal parses the first print data, generates bitmap data.Cloud Server Receive printer identifier and bitmap data that terminal uploads, and convert image data for bitmap data, by printer identifier and The corresponding storage of image data.Image data is converted by bitmap data, convenient for storage, and arrangement is not susceptible to change.
In one embodiment, above-mentioned Method of printing further include: reached when receiving print out task corresponding with printer identifier When to preset quantity, sends notification information and give the printer identifier the corresponding network printer.Wherein, preset quantity is as needed Setting can reduce the frequency that Cloud Server sends notification information to the network printer, mitigate cloud clothes by the way that preset quantity is arranged Device be engaged in as burden, saves Internet resources.
In one embodiment, above-mentioned Method of printing further include: the print out task carries terminal iidentification;To have identical Terminal iidentification and printer identifier print out task merge;The identical end is carried according to the print out task generation after merging Hold the notification information of mark;The notification information for carrying the identical terminal iidentification is sent to the identical printer identifier pair The network printer answered.
Specifically, terminal iidentification is used for unique identification terminal.Terminal iidentification can be compiled for MAC Address, the terminal device of terminal Number etc..Cloud Server merges the print out task with same terminal mark and printer identifier.For example, terminal iidentification is 00- FF-AA-BA-CD-2C, printer identifier 10000, print out task ABC;Terminal is 00-FF-AA-BA-CD-2C, printer 10000 are identified as, print out task BCD;Terminal is 00-FF-AA-BA-CD-2C, printer identifier 10000, print out task For CDE;Terminal is 00-1F-AA-BA-CD-5B, printer identifier 10000, print out task EDF.There to be same terminal The print out task of mark and printer identifier merges, i.e., merges print out task ABC, BCD and CDE.Then according to merging after Print out task, which generates, carries the notification information of identical terminal iidentification, saves the quantity of notification information, and by same terminal The print out task of mark puts together printing, improves printing effect.
In one embodiment, Cloud Server receives the print out task of printer identifier having the same, obtains each The print out task of printer identifier having the same is stored in by the receiving time of print out task according to receiving time sequencing In print queue;The corresponding terminal iidentification of each print out task is obtained, by remaining print out task of terminal iidentification having the same It is merged at the print out task that receiving time is earliest in the print out task of terminal iidentification having the same.
For example, terminal iidentification is 00-FF-AA-BA-CD-2C, printer identifier 10000, print out task ABC, reception 10 divide 10 seconds when 15 days 10 November of 2018 time;Terminal is 00-1F-AA-BA-CD-5B, printer identifier 10000, printing Task is EDF, and 10 divide 20 seconds when receiving time 15 days 10 November in 2018;Terminal is 00-FF-AA-BA-CD-2C, printer mark Knowing is 10000, print out task BCD, and 10 divide 40 seconds when receiving time 15 days 10 November in 2018;Terminal is 00-FF-AA-BA- CD-2C, printer identifier 10000, print out task CDE, 11 divide 10 seconds when receiving time 15 days 10 November in 2018.It will beat Print task BCD and print out task CDE are merged at print out task ABC.
By the way that the print out task that there is same terminal to identify is merged at the earliest print out task of receiving time, Ke Yiti The printing effect of high same terminal mark avoids the print out task of same terminal iidentification initiation because operating time consumption is more, It sorts in print queue rearward, causes to wait the long period.
In one embodiment, this merges the print out task of terminal iidentification having the same and printer identifier, comprising: The print out task of the terminal iidentification and printer identifier having the same that receive in preset time is merged.
Specifically, preset time can be set as needed, such as 5 minutes, 10 minutes.Merged by setting time range Print out task with same terminal mark and printer identifier, avoided the print out task in long-time from being also merged, caused Reduce the printing effect of the corresponding print out task of other terminal iidentifications.
Cloud Server receives the print out task of printer identifier having the same in preset time, obtains each printing and appoints The print out task of printer identifier having the same is stored in printing team according to receiving time sequencing by the receiving time of business In column;The corresponding terminal iidentification of each print out task is obtained, remaining print out task of terminal iidentification having the same is merged into In the print out task of terminal iidentification having the same at the earliest print out task of receiving time.Merged by setting time range Print out task with same terminal mark and printer identifier, avoided the print out task in long-time from being also merged, caused Reduce the printing effect of the corresponding print out task of other terminal iidentifications.
In one embodiment, which also carries terminal location.Above-mentioned Method of printing further include: obtain this dozen Print machine identifies the position of the corresponding network printer, according to the distance between the position of the network printer and the terminal location; The receiving time for obtaining print out task arranges the print out task identified with same printer according to the distance and receiving time Sequence.
Specifically, geographical location locating for terminal when terminal location refers to initiation print out task, such as Shenzhen Futian.Cloud clothes Business device gets position and the terminal location of the network printer, calculates the distance between the network printer and terminal, and obtain and beat The receiving time of print task sorts to the print out task identified with same printer according to distance and receiving time.For distance Corresponding distance weighting value is configured, corresponding time weighting value is configured for receiving time, obtains distance weighting value and time weighting The sum of value from big to small or from small to large sorts the print out task identified with same printer according to the sum of weighted value.Its In, distance is bigger, and corresponding distance weighting value is bigger, and receiving time is more early, and corresponding time weighting value is bigger.So by distance Big and receiving time morning print out task sorts before most, improves the printing effect of the print out task.
Fig. 4 is the timing diagram of Method of printing in one embodiment.In Fig. 4, Cloud Server includes access server, file Server, conversion server and notice server.The Method of printing, comprising:
Step 402, terminal obtains print out task, is solved by cloud printing driving to the first print data in print out task Analysis generates bitmap data, and the print out task for carrying printer identifier and bitmap data is uploaded access server.
Step 404, access server carries out parsing to bitmap data and generates picture, and printer identifier and image data are sent out File server is given, and is stored in file server.
Step 406, access server sends print out task and notifies to give conversion server.
Wherein, access server can be Netty server.
Step 408, conversion server generates the notification information that printer obtains task, is sent to notice server.
Wherein, conversion server can be Tomcat server.
Step 410, notification information is sent to the corresponding network printer of printer identifier by notice server.
Step 412, it after the notified information of the network printer, uploads type of printer and gives conversion server.
Step 414, conversion server obtains the picture of corresponding print out task from file server according to type of printer Data convert the second print data corresponding with type of printer for image data, the second print data are sent to network Printer.
Step 416, the network printer receives the second print data and is printed.
Above-mentioned Method of printing, what access server received terminal upload carries beating for printer identifier and bitmap data Print task is converted into image data to bitmap data, and printer identifier and image data are sent to file server and deposited Storage, and generate print out task and notify to give conversion server, notification information is generated by conversion server and gives notice server, by logical Know that server sends notification information to the network printer, the network printer uploads type of printer, conversion clothes according to notification information Business device converts the second print data for image data according to type of printer, and the second print data is sent to the network printer It is printed, realizes and do not need to install different printing drivings for different printers, the first print data can be realized Printing, printing effect is high.Terminal does not need directly to connect with the network printer, can be printed by the network printer and need to beat The data of print, may be implemented remote printing.Image data is stored by file server, saves memory space.It is taken by conversion Business device converts image data, improves transformation efficiency, is configured by different server, completes corresponding function, reduces single The burden of a server, improves operation efficiency.
It should be understood that although each step in the flow chart of Fig. 2 to Fig. 4 is successively shown according to the instruction of arrow, But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, Fig. 2 is into Fig. 4 At least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily Be successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or Alternately execute.
Fig. 5 is the structural block diagram of printing equipment in one embodiment.As shown in figure 5, a kind of printing equipment, including request connect It receives module 502, generation module 504, notice sending module 506, type reception module 508, conversion module 510 and data and sends mould Block 512.
Request receiving module 502 is used to receive the print out task uploaded, and stores the print out task, which carries There are printer identifier and the first print data.
Generation module 504 is used to generate notification information according to the print out task.
Notice sending module 506 is used to the notification information being sent to the corresponding network printer of the printer identifier.
Type reception module 508 is used to receive the network printer that the network printer responds notification information upload Type of printer.
Conversion module 510 is used to convert corresponding second printing number for first print data according to the type of printer According to.
Data transmission blocks 512 are used to second print data being sent to the network printer.
Above-mentioned printing equipment, what Cloud Server received terminal upload carries printer identifier and the first print data Print out task generates notification information, is sent to the corresponding network printer of the printer identifier, receives on the network printer The type of printer of biography converts the second print data for the first print data according to type of printer, by the second print data It is sent to the network printer to be printed, realizes and do not need to install different printing drivings for different printers Realize the printing of the first print data, printing effect is high.Terminal does not need directly to connect with the network printer, can pass through network The data that printer printing needs to print, may be implemented remote printing.
Request receiving module 502 is also used to receive the printer identifier and bitmap data of upload, and institute's bit-map data is root It is generated according to first print data.
In one embodiment, above-mentioned printing equipment further include: notice sending module 506 is also used to when reception and printer When identifying corresponding print out task and reaching preset quantity, sends notification information and give the printer identifier the corresponding network printer. Wherein, preset quantity is set as needed, and by the way that preset quantity is arranged, can reduce Cloud Server and send to the network printer and lead to Know the frequency of information, mitigation Cloud Server is burden, saves Internet resources.
Above-mentioned printing equipment further includes memory module and merging module.
Conversion module 510 is also used to convert image data for institute's bit-map data.
Memory module is used for printer identifier storage corresponding with the image data.
Conversion module 510 is also used to convert corresponding second printing for the image data according to the type of printer Data.
In one embodiment, print out task carries terminal iidentification.
Merging module is used to merge the print out task of terminal iidentification having the same and printer identifier.
Generation module 504 is used to generate the notice for carrying the identical terminal iidentification according to the print out task after merging Information.
Notice sending module 506 is also used to the notification information for carrying the identical terminal iidentification being sent to this identical The corresponding network printer of printer identifier.
In one embodiment, merging module is also used to receive in preset time terminal iidentification having the same and The print out task of printer identifier merges.
In one embodiment, merging module is also used to receive the print out task of printer identifier having the same, obtains The receiving time for taking each print out task, by the print out task of printer identifier having the same according to receiving time sequencing It is stored in print queue;The corresponding terminal iidentification of each print out task is obtained, remaining by terminal iidentification having the same is beaten Print task merging is into the print out task of terminal iidentification having the same at the earliest print out task of receiving time.
In one embodiment, print out task also carries terminal location.Above-mentioned printing equipment further includes that distance calculates mould Block and sorting module.
Distance calculation module is used to obtain the position of the corresponding network printer of the printer identifier, according to the network The distance between the position of printer and the terminal location;
Sorting module is used to obtain the receiving time of print out task, beats according to the distance and receiving time with identical The print out task sequence of print machine mark.
Fig. 6 is the structural block diagram of printing equipment in another embodiment.As shown in fig. 6, the printing equipment includes that task obtains Modulus block 602 and task sending module 604.
For task acquisition module 602 for obtaining print out task, the print out task carries printer identifier and first dozen Printing evidence.
Task sending module 604 is used to the print out task being sent to Cloud Server, and by the printer identifier and the One print data is stored in the Cloud Server.
Printer identifier is used to indicate the Cloud Server and the notification information of the print out task is sent to corresponding net Network printer;The notification information is used to indicate the network printer and uploads to the type of printer of the network printer The Cloud Server, and the second print data is obtained from the Cloud Server, second print data is printed;Described First print data is converted to obtain by the two print datas Cloud Server according to the type of printer.
The printing equipment further includes bitmap generation module.Bitmap generation module is used to be generated according to first print data Bitmap data.
Task sending module 604 is also used to appoint the printing for carrying the printer identifier and institute's bit-map data Business is sent to Cloud Server, so that Cloud Server parses institute's bit-map data, image data is generated, by the picture number Cloud Server is stored according to corresponding with printer identifier.
In one embodiment, above-mentioned printing equipment further include: task sending module is also used to obtain terminal iidentification, by this Terminal iidentification is added to print out task, and print out task is sent to Cloud Server, and by terminal iidentification, printer identifier and first Print data is stored in Cloud Server.Terminal iidentification is used for unique identification terminal.
Specific about printing equipment limits the restriction that may refer to above for Method of printing, and details are not described herein. Modules in above-mentioned printing equipment can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can It is embedded in the form of hardware or independently of in the processor in computer equipment, computer can also be stored in a software form and set In memory in standby, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing data.The network interface of the computer equipment is used to pass through network connection with external terminal Communication.To realize a kind of Method of printing when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory The step of computer program, which realizes Method of printing in above-mentioned Fig. 2 when executing computer program.The computer equipment can For terminal.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory The step of computer program, which realizes the Method of printing in above-mentioned Fig. 3 when executing computer program.The computer equipment It can be Cloud Server.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated The step of machine program realizes above-mentioned Method of printing when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of Method of printing, which is characterized in that the described method includes:
Print out task is obtained, the print out task carries printer identifier and the first print data;
The print out task is sent to Cloud Server, and the printer identifier and the first print data are stored in the cloud Server;
The printer identifier is used to indicate the Cloud Server and the notification information of the print out task is sent to corresponding net Network printer;The notification information is used to indicate the network printer and uploads to the type of printer of the network printer The Cloud Server, and the second print data is obtained from the Cloud Server, second print data is printed;Described First print data is converted to obtain by the two print datas Cloud Server according to the type of printer.
2. the method according to claim 1, wherein described be sent to Cloud Server for the print out task, and The printer identifier and the first print data are stored in the Cloud Server, comprising:
Bitmap data is generated according to first print data;
The print out task for carrying the printer identifier and institute's bit-map data is sent to Cloud Server, to institute's rheme Diagram data is parsed, and image data is generated, and the image data and printer identifier correspondence are stored in Cloud Server.
3. a kind of Method of printing, which is characterized in that the described method includes:
The print out task uploaded is received, and stores the print out task, the print out task carries printer identifier and first Print data;
Notification information is generated according to the print out task, the notification information is sent to the corresponding network of the printer identifier Printer;
Receive the type of printer that the network printer responds the network printer that the notification information uploads;
Corresponding second print data is converted by first print data according to the type of printer;
Second print data is sent to the network printer.
4. according to the method described in claim 3, it is characterized in that, described receive the print out task uploaded, and storing described beat Print task, the print out task carry printer identifier and the first print data, comprising:
The printer identifier and bitmap data uploaded is received, institute's bit-map data is to generate according to first print data;
Image data is converted by institute's bit-map data;
By printer identifier storage corresponding with the image data;
It is described to convert corresponding second print data for first print data according to the type of printer, comprising:
Corresponding second print data is converted by the image data according to the type of printer.
5. according to the method described in claim 3, it is characterized in that, the print out task carries terminal iidentification;
The method also includes:
The print out task of terminal iidentification having the same and printer identifier is merged;
The notification information for carrying the identical terminal iidentification is generated according to the print out task after merging;
The notification information for carrying the identical terminal iidentification is sent to the corresponding network of the identical printer identifier Printer.
6. according to the method described in claim 5, it is characterized in that, described by terminal iidentification having the same and printer identifier Print out task merge, comprising:
The print out task of the terminal iidentification and printer identifier having the same that receive in preset time is merged.
7. according to the method described in claim 3, it is characterized in that, the print out task also carries terminal location;
The method also includes:
The position for obtaining the corresponding network printer of the printer identifier, according to the position of the network printer and the end The distance between end position;
The receiving time for obtaining print out task appoints the printing identified with same printer according to the distance and receiving time Business sequence.
8. a kind of printing equipment, which is characterized in that described device includes:
Request receiving module for receiving the print out task uploaded, and stores the print out task, and the print out task carries Printer identifier and the first print data;
Generation module, for generating notification information according to the print out task;
Sending module is notified, for the notification information to be sent to the corresponding network printer of the printer identifier;
Type reception module responds the network printer that the notification information uploads for receiving the network printer Type of printer;
Conversion module, for converting corresponding second printing number for first print data according to the type of printer According to;
Data transmission blocks, for second print data to be sent to the network printer.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811383341.6A 2018-11-20 2018-11-20 Printing method, printing device, computer equipment and storage medium Active CN109669646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811383341.6A CN109669646B (en) 2018-11-20 2018-11-20 Printing method, printing device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811383341.6A CN109669646B (en) 2018-11-20 2018-11-20 Printing method, printing device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109669646A true CN109669646A (en) 2019-04-23
CN109669646B CN109669646B (en) 2022-04-29

Family

ID=66142576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811383341.6A Active CN109669646B (en) 2018-11-20 2018-11-20 Printing method, printing device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109669646B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552611A (en) * 2020-04-17 2020-08-18 南阳柯丽尔科技有限公司 Printer state monitoring method and device, computer equipment and storage medium
CN112799617A (en) * 2021-01-27 2021-05-14 珠海奔图电子有限公司 Cloud printing server, cloud printing method, printing terminal and cloud printing system
CN113190190A (en) * 2021-05-25 2021-07-30 西安雷风电子科技有限公司 Printer setting modification method, device and system
CN113312014A (en) * 2021-06-04 2021-08-27 上海汉图科技有限公司 Printing method and device
CN113741831A (en) * 2021-09-07 2021-12-03 苏州博瑞凯德信息技术有限公司 Intelligent printing method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1367425A (en) * 2000-12-15 2002-09-04 佳能株式会社 Printing on internet
CN101807139A (en) * 2009-02-17 2010-08-18 鸿富锦精密工业(深圳)有限公司 Printing system and printing method thereof
CN104636092A (en) * 2014-12-30 2015-05-20 珠海赛纳打印科技股份有限公司 Image forming control system and method
CN106201377A (en) * 2016-07-05 2016-12-07 深圳市印点点科技有限公司 Multi-platform intelligent cloud print system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1367425A (en) * 2000-12-15 2002-09-04 佳能株式会社 Printing on internet
CN101807139A (en) * 2009-02-17 2010-08-18 鸿富锦精密工业(深圳)有限公司 Printing system and printing method thereof
CN104636092A (en) * 2014-12-30 2015-05-20 珠海赛纳打印科技股份有限公司 Image forming control system and method
CN106201377A (en) * 2016-07-05 2016-12-07 深圳市印点点科技有限公司 Multi-platform intelligent cloud print system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552611A (en) * 2020-04-17 2020-08-18 南阳柯丽尔科技有限公司 Printer state monitoring method and device, computer equipment and storage medium
CN112799617A (en) * 2021-01-27 2021-05-14 珠海奔图电子有限公司 Cloud printing server, cloud printing method, printing terminal and cloud printing system
CN113190190A (en) * 2021-05-25 2021-07-30 西安雷风电子科技有限公司 Printer setting modification method, device and system
CN113190190B (en) * 2021-05-25 2024-03-29 西安雷风电子科技有限公司 Printer setting modification method, device and system
CN113312014A (en) * 2021-06-04 2021-08-27 上海汉图科技有限公司 Printing method and device
CN113312014B (en) * 2021-06-04 2024-03-22 上海汉图科技有限公司 Printing method and device
CN113741831A (en) * 2021-09-07 2021-12-03 苏州博瑞凯德信息技术有限公司 Intelligent printing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109669646B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN109669646A (en) Method of printing, device, computer equipment and storage medium
US7952758B2 (en) Image forming system
CN109542366B (en) Printing method, device, equipment and storage medium based on browser
US9164709B2 (en) Printing apparatus and control method thereof
WO2021051664A1 (en) Printing method and apparatus, computer device and storage medium
US8896864B2 (en) Image processing system, image processing method, image processing server, and recording medium
CN101714215A (en) Image processing apparatus and image processing method
CN107728892A (en) picture display method, device, terminal and storage medium
CN109343802A (en) Declaration form printing data generating method, device, computer equipment and storage medium
CN109343803A (en) Print from the definition method, apparatus, computer equipment and storage medium
CN110020294A (en) Sheet disposal method, apparatus, system, storage medium and computer equipment
US10514871B2 (en) Print management method and print management apparatus
JP7172150B2 (en) Information processing device, communication system, image forming method, program
US10078479B2 (en) Printing process system and information processing apparatus
CN104348995A (en) Image output system and method
CN111488731A (en) File generation method and device, computer equipment and storage medium
CN108287672A (en) Server unit, recording medium, information processing system and image forming apparatus
US20220224802A1 (en) Image processing of form document
US7061649B2 (en) Page data processor, page data processing method and program
CN110442812B (en) Permission control method and system for foreground page
CN112232038A (en) Document output method, system, computer device and storage medium
CN112882669A (en) Object display method, terminal and server
US8451469B2 (en) Controller for printing device
JP5091914B2 (en) Image forming apparatus
US8279468B2 (en) Printing device and network printing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant