CN109597591B - Printing information synchronous display method, device, system, printer and user terminal - Google Patents

Printing information synchronous display method, device, system, printer and user terminal Download PDF

Info

Publication number
CN109597591B
CN109597591B CN201811241793.0A CN201811241793A CN109597591B CN 109597591 B CN109597591 B CN 109597591B CN 201811241793 A CN201811241793 A CN 201811241793A CN 109597591 B CN109597591 B CN 109597591B
Authority
CN
China
Prior art keywords
printing
sub
data set
printing data
user terminal
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.)
Active
Application number
CN201811241793.0A
Other languages
Chinese (zh)
Other versions
CN109597591A (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.)
Xiamen Hanyin Electronic Technology Co Ltd
Original Assignee
Xiamen Hanyin Electronic 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 Xiamen Hanyin Electronic Technology Co Ltd filed Critical Xiamen Hanyin Electronic Technology Co Ltd
Priority to CN201811241793.0A priority Critical patent/CN109597591B/en
Publication of CN109597591A publication Critical patent/CN109597591A/en
Application granted granted Critical
Publication of CN109597591B publication Critical patent/CN109597591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1211Improving printing performance
    • G06F3/1215Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
    • 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/1242Image or content composition onto a page
    • 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/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1256User feedback, e.g. print preview, test print, proofing, pre-flight checks
    • 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/1292Mobile client, e.g. wireless printing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method, a device and a system for synchronously displaying printing information, a printer and a user terminal, wherein the method comprises the following steps: receiving printing data of a file to be printed, which is sent by a user terminal connected at present; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence. When the currently received printing data is judged to form a complete sub-printing data set, printing is carried out according to the sub-printing data set, and printing information containing printing speed and paper outlet time is sent to the user terminal, so that the user terminal can render the sub-printing data set according to the printing information and generate a preview image. Wherein the preview image appears to be consistent with the printing progress of the sub print data set. The invention can realize synchronous printing data issuing and printing, real-time feedback of printing progress and generation of preview images, reduce printing time, improve efficiency, ensure more friendly interaction and save resources.

Description

Printing information synchronous display method, device, system, printer and user terminal
Technical Field
The invention relates to the technical application field of printers, in particular to a method and a device for synchronously displaying printing information, a printer and a user terminal.
Background
In the traditional manufacturing industry, the 3D model usually adopts a mold casting process, and often has a certain technical bottleneck. Nowadays, 3D printing is one of the hottest technologies in this century, the working principle of a 3D printer is basically the same as that of a traditional plane printer, a 3D model is sliced through a computer, printing consumables are overlapped layer by layer, and finally the 3D model on the computer is made into a real object. The method is a technical revolution which overturns the traditional manufacturing process, so that the investment risk of a product designer is greatly reduced, and the social resource waste can be reduced. At present, 3D printers have been successfully applied in many industrial and production fields, such as aerospace, industrial design, medical treatment, and the like. With the increasing maturity of 3D printing technology and the substantial reduction in 3D printer manufacturing cost, 3D printers have begun to gradually enter consumer fields such as school education and family life use. However, most printers in the market are mainly developed by professional technicians or enthusiasts, and the operating system of the printers is difficult to operate and use, so that users are required to have professional knowledge. The most common FDM 3D printers in the market, such as Ultimaker, prussa I3 and Kossel, have no WIFI function, and can only be connected with an SD card, a U disk or a computer for real-time data transmission or interaction. A button and a character type LCD display of the 3D printer are used for selecting a print file to start printing, and common family users feel that the operation and the use are difficult and the human-computer interface is too professional. The contradiction that the user is inconvenient to operate is more prominent, which becomes one of the main obstacles for the 3D printer to enter the life consumption field.
A few 3D printers that have used to carry out WIFI connection on the market have following characteristics: first, the printer is limited to receive control commands in one direction. Secondly, the printing working state of the 3D printer can only be displayed on a liquid crystal screen and cannot be timely and accurately fed back to a user who operates remotely. Moreover, for a printer manager, if the printer manager is far away from the printer, the printer manager cannot know whether the 3D printer is used by others, and further cannot know whether the printing content is legal. Finally, if the 3D printer fails, the user cannot know in time and cannot adjust, stop, fine tune, etc. the printer in time. So the existing 3D printer cannot effectively interact with the user.
Disclosure of Invention
The embodiment of the invention provides a method and a device for synchronously displaying printing information, a printer and a user terminal. The printing data issuing and the printing are synchronously carried out, the printing time is shortened, the efficiency is improved, and in the printing process, the user terminal simultaneously prepares the simulation printing progress according to the printing notification and generates the preview image according to the printing information, so that the interaction is more friendly, and the resources are saved.
In a first aspect, an embodiment of the present invention provides a method for synchronously displaying print information, including:
receiving printing data of a file to be printed, which is sent by a currently connected user terminal; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence;
when judging that the currently received printing data form a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal, so that the user terminal can render the sub-printing data set according to the printing information and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
Further, when it is determined that the currently received print data constitutes a complete sub-print data set, after printing according to the sub-print data set and sending print information including a print speed and a paper output time to the user terminal, the method further includes:
judging whether the currently received sub-printing data set is the last sub-printing data set;
if not, after printing of the current sub-printing data set is finished, the printed drawing is controlled to be withdrawn, so that when the next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing;
and if so, outputting the printed drawing.
Further, the file to be printed can be analyzed into 3 data sets by the user terminal according to a preset sequence; wherein, the 3 data sets are sequentially a Y data set, an M data set and a C data set.
In a second aspect, an embodiment of the present invention provides a print information synchronous display method, including:
analyzing a file to be printed, and sending print data generated by analysis to a printer connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
receiving printing information sent by the printer connected currently; the printing information is generated by the printer when judging that the currently received printing data forms a complete sub-printing data set, and the printing information comprises printing speed and paper outlet time;
rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
Further, after the rendering according to the printing information and the sub-printing data set and generating the preview image, the method further includes:
judging whether the generated preview image exists or not;
if so, rendering the sub-printing data set and the generated preview according to the printing information to generate an updated preview image;
and if not, rendering the sub-printing data set directly according to the printing information, and generating a preview image.
Further, the rendering according to the printing information and the sub-printing data set, and generating a preview image specifically includes:
acquiring the display height H of the printer and the printing time average T of each sub-printing data set counted by the printer to calculate the average speed of theoretical rendering;
obtaining the simulation time dtime = N/speed of each rendering according to the preset line number N increased by each rendering and the average speed;
when the actual rendering time rtime is judged to be less than or equal to the simulation time dtime, after each rendering is completed, the next rendering is started after the preset waiting time;
when the rendering actual time rtime is judged to be larger than the simulation time dtime, modifying the simulation time of each rendering of the rest part to be dtime = surfuseTime/(count-1); wherein, count is the remaining number of times of rendering.
Further, the N is 5.
In a third aspect, an embodiment of the present invention provides a print information synchronous display method, including:
the user terminal analyzes the file to be printed and sends the print data generated by analysis to the printer connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
the printer receives printing data of a file to be printed, which is sent by a user terminal connected currently; when judging that the currently received printing data forms a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal;
the user terminal receives the printing information sent by the printer connected currently; rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
In a fourth aspect, an embodiment of the present invention provides a printing information synchronous display device based on a sublimation printer, including:
the printing data receiving module is used for receiving the printing data of the file to be printed, which is sent by the currently connected user terminal; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence;
the judging module is used for printing according to the sub-printing data set and sending printing information containing printing speed and paper outlet time to the user terminal when judging that the currently received printing data forms a complete part of the sub-printing data set, so that the user terminal can render the sub-printing data set according to the printing information and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
In a fifth aspect, an embodiment of the present invention provides a printing information synchronous display device, including:
the analysis module is used for analyzing the file to be printed and sending the print data generated by analysis to the printer connected at present; the file to be printed can be analyzed into at least two parts of sub-printing data sets according to a preset sequence;
the printing information receiving module is used for receiving the printing information which is sent by the currently connected printer and used for printing a part of complete sub-printing data sets; the printing information is generated by the printer when judging that the currently received printing data forms a complete sub-printing data set, and the printing information comprises printing speed and paper outlet time;
the rendering module is used for rendering the sub-printing data set according to the printing information and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub print data set.
In a sixth aspect, an embodiment of the present invention provides a print information synchronous display system, including a user terminal and a printer;
the user terminal is used for analyzing the file to be printed and sending the print data generated by analysis to the printer connected currently; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
the printer is used for receiving the printing data of the file to be printed, which is sent by the user terminal connected at present; when judging that the currently received printing data forms a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal;
the user terminal is also used for receiving the printing information sent by the printer connected currently; rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
In a seventh aspect, an embodiment of the present invention provides a printer, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, where the processor executes the computer program to implement the print information synchronous display method according to the first aspect.
In an eighth aspect, an embodiment of the present invention provides a user terminal, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processing, where the processor implements the print information synchronous display method according to the second aspect when executing the computer program.
The embodiment of the invention has the following beneficial effects:
1. the file to be printed is processed into the printing data which can be directly executed by the printer through the user terminal, so that the processing time is shortened and the printing efficiency is improved compared with the method for processing the file to be printed by the printer.
2. The invention realizes the simultaneous execution of the printing data sending and the printing process, can effectively shorten the whole printing time and improve the printing efficiency.
3. The invention only needs to inform the mobile phone when each sub-printing data set starts to be printed during printing, thereby reducing the real-time interaction with the user terminal and the interaction risk. The user terminal simulates the printing animation with the same real printing effect according to the printing color and the printing speed, and the interaction is more visual and friendly.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a print information synchronous display method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a print information synchronous display method according to a second embodiment of the present invention.
Fig. 3 is a flowchart illustrating a print information synchronous display method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a printing information synchronous display device according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a print information synchronous display device according to a fifth embodiment of the present invention.
Fig. 6 is a schematic diagram of interaction between a printer and a user terminal according to a sixth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment of the present invention:
referring to fig. 1, a first embodiment of the present invention provides a print information synchronous display method, including:
s1, a user terminal analyzes a file to be printed and sends print data generated by analysis to a printer connected at present; wherein the document to be printed can be parsed into at least two sub-print data sets according to a predetermined order.
In this embodiment, the user terminal refers to a mobile phone, and may also be a desktop computer, a notebook, a palmtop computer, and the like, and may also be other intelligent terminal devices, such as a PDA and the like, which are not limited in this specification. In this embodiment, the printer is a sublimation printer, which operates on the principle that pigments of three colors (cyan, magenta, and yellow, CMY for short) are disposed on one ribbon, and when the temperature of a heating element is raised to a certain degree, the pigments are directly converted into a gaseous state and then the gas is ejected onto a printing medium. Therefore, when a photo is printed, there are three times of entering and exiting of the printing medium, which are divided into three times of printing, the first time of printing Y color, the second time of printing M color, and the third time of printing C color.
In the present embodiment, the sub print data set is a set of all print data, including one or more print data. In this embodiment, the file to be printed can be parsed into at least two sub-print data sets by the user terminal according to a predetermined sequence, where the predetermined sequence is, in turn, a Y data set and an M data set, and may also be an M data set and a C data set, and the present invention is not limited specifically. Preferably, the file to be printed can be parsed into 3 data sets by the user terminal according to a predetermined sequence; wherein, the 3 data sets are sequentially a Y data set, an M data set and a C data set.
S2, the printer receives the printing data of the file to be printed, which is sent by the user terminal connected at present; and when judging that the currently received printing data forms a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal.
In this embodiment, when receiving the print data sent by the user terminal, the printer does not need to wait for the complete reception of all the print data before printing, and only after receiving the print data in a complete sub-print data set, the printer can start printing the partial complete sub-print data set and notify the user terminal of the message of starting printing, and simultaneously, the printer synchronously receives the print data in the remaining sub-print data sets during printing. For example, when the printer receives only the complete Y data set, the user terminal is notified to start printing the Y data set, and the remaining M data set and C data set are received simultaneously.
S3, the user terminal receives the printing information sent by the printer connected currently; rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
In this embodiment, the print information is generated by the printer when it is determined that the currently received print data constitutes a complete set of sub-print data. Rendering according to the printing information and the sub-printing data set, and generating a preview image specifically comprises: acquiring the display height H of the printer and the printing time average T of each sub-printing data set counted by the printer to calculate the average speed of theoretical rendering; obtaining the simulation time dtime = N/speed of each rendering according to the preset line number N increased by each rendering and the average speed; when the actual rendering time rtime is judged to be less than or equal to the simulation time dtime, after each rendering is completed, the next rendering is started after the preset waiting time; when the rendering actual time rtime is judged to be larger than the simulation time dtime, the simulation time of each rendering of the rest part is modified to be dtime = suprpluetime/(count-1); wherein, count is the remaining number of times of rendering. In particular, in the present embodiment, because the resolutions of different user terminals may be different, the heights of the generated preview images displayed on the user terminals are not uniform. Therefore, to simulate a complete display process image, different resolutions must be adapted, that is, in the case of consistent printing time, the display height H is different according to different user terminals, and therefore, the height rendering speed for generating preview images on different user terminals by users is different. Specifically, the printing time mean value T of each sub-printing data set is obtained according to actual statistics of the printer, and the average speed of theoretical rendering on the user terminal is calculated to be speed = H/T. Of course, it should be noted that, since the cpu rendering speed is related to the amount of picture data, the small data rendering speed is fast, and the large data rendering speed is slow, when the image is highly rendered, the waiting time is increased to ensure the consistency of the rendering time visually. Thus, the simulation time dtime = N/speed per rendering is obtained according to the predetermined number of lines N added per rendering and the average speed. Of course, it should be noted that the predetermined number of lines increased for each rendering is N, and the number of times of performing rendering is count = H/N. Preferably, said N is 5. It will be appreciated that H may not be divisible by 5, so when the display height of the last increase rendering is not 5, which should be the actual unfinished rendering height, the simulated print time should be dtime =5/speed, according to the average speed. Of course, it should be noted that when the time for rendering the predetermined line number N is increased to be less than or equal to the simulation time dtime, the time for rendering the predetermined line number N actually increased by the user terminal is obtained as rtime, and in order to ensure that the time for the predetermined line number N to be increased each time is consistent with the actual printing time, after the rendering is completed, a waiting time is increased to wait for dtime-rtime, so as to ensure that the height time for rendering the predetermined line number N each time is consistent visually. When the time of the increased predetermined line number N rendering is greater than the analog time dtime, the predetermined line number N rendering time actually increased by the user terminal is rtime, because the actual printing time is fixed, the time of the remaining unrendered portion that needs to be corrected is suprplus time = time-rtime, the predetermined line number N of the remaining unrendered portion that is increased each time cannot be rendered again in accordance with the time of dtime, the rendering time of the predetermined line number N that is increased on average for the remaining portion is modified to be timedtime = suprpluetime/(count-1), and it is noted that dtime = suprplue is rendered last when count = 1. According to the two conditions, the pictures are rendered by the circularly increased preset line number N, the rendering speed and the rendering time of the rest unprinted parts are corrected each time, and the effect that the picture rendering time and the printing time of the user terminal are consistent through visual inspection is achieved finally.
The file to be printed is processed into the printing data which can be directly executed by the printer at the user terminal and then is sent to the printer for printing, and the CPU of the user terminal has stronger processing capacity than the CPU of the printer, so that the processing efficiency can be improved, and the photo printing time can be reduced. The printer receives the printing data sent by the user terminal, then carries out heating processing printing, and feeds the printing progress of the printer back to the user terminal in real time, the user terminal prepares to simulate the printing progress and print information to generate a preview image according to the printing notification, so that the interaction between the user terminal and the printer is more friendly, visual and convenient, the interaction risk is reduced, the resource is saved, and the printing efficiency is improved.
Second embodiment of the invention:
referring to fig. 2, a second embodiment of the present invention provides a print information synchronous display method, including:
s10, receiving printing data of a file to be printed, which is sent by a user terminal connected at present; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence.
S20, when judging that the currently received printing data form a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal, so that the user terminal can render the sub-printing data set according to the printing information and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub print data set.
On the basis of the first embodiment, in a preferred embodiment of the present invention, when it is determined that the currently received print data constitutes a complete sub print data set, after printing according to the sub print data set and sending print information including a print speed and a paper discharge time to the user terminal, the method further includes:
judging whether the currently received sub-printing data set is the last sub-printing data set;
if not, after printing of the current sub-printing data set is finished, controlling to withdraw the printed drawing, so that when a next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing; and if so, outputting the printed drawing.
For the understanding of the present invention, the following describes the application of the present embodiment in a practical application scenario:
after the printer has received the Y data set, the remaining M and C data sets continue to be received. And before the printer prints the Y data set, sending a notification to the user terminal to start printing the Y data set, and when the user terminal receives the notification of starting printing the Y data set, rendering and displaying the Y data set on a screen by combining the printing speed and paper outlet time of the printer, so as to simulate the image effect of printing the Y data set. After the Y data set is printed and the M data set is received, the notification for printing the M data set is still sent to the user terminal before the M data set is printed. Printing of the M data sets is started. And when the user terminal receives the notice of starting to print the M data set, the user terminal combines the printing speed of the printer and the paper output time, and renders and displays the M data set on a screen on the basis of rendering the previous Y data set, so as to simulate the image effect of printing the YM data set combination. And after printing the YM data set, after receiving the C data set and before printing the C data set, sending a notice for printing the C data set to the user terminal, and starting to print the C data set. When the user terminal receives the notice of starting to print the C data set, the C data set is rendered and displayed on a screen on the basis of the previous YM data set combination rendering by combining the printing speed and the paper outlet time of the printer, the image effect of printing the YMC data set combination is simulated, and then the final preview image is generated. The invention enables the data issuing and the printing to be carried out synchronously, reduces the printing time and improves the efficiency. The printer does not wait for all data to be completely received before printing when receiving the CMY data sets.
The third embodiment of the present invention:
referring to fig. 3, a third embodiment of the present invention provides a print information synchronous display method, including:
s100, analyzing a file to be printed, and sending print data generated by analysis to a printer connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
s200, receiving printing information sent by the printer connected currently; the printing information is generated by the printer when judging that the currently received printing data forms a complete sub-printing data set, and the printing information comprises printing speed and paper outlet time;
s300, rendering is carried out according to the printing information and the sub-printing data set, and a preview image is generated; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
On the basis of the third embodiment, in a preferred embodiment of the present invention, the rendering according to the printing information and the sub-printing data set, and generating the preview image specifically includes:
judging whether the generated preview image exists or not;
if so, rendering the sub-printing data set and the generated preview according to the printing information to generate an updated preview image; and if not, rendering the sub-printing data set directly according to the printing information, and generating a preview image.
Preferably, the rendering according to the printing information and the sub-printing data set, and generating the preview image specifically include:
and acquiring the display height H of the printer and the printing time average T of each sub-printing data set obtained by the statistics of the printer so as to calculate the average speed of theoretical rendering.
And obtaining the simulation time dtime = N/speed of each rendering according to the preset line number N increased by each rendering and the average speed.
And when the actual rendering time rtime is judged to be less than or equal to the simulation time dtime, after each rendering is completed, the next rendering is carried out after the preset waiting time.
When the rendering actual time rtime is judged to be larger than the simulation time dtime, modifying the simulation time of each rendering of the rest part to be dtime = surfuseTime/(count-1); wherein, count is the remaining number of times of rendering.
Preferably, said N is 5.
The fourth embodiment of the present invention:
referring to fig. 4, a fourth embodiment of the present invention provides a printing information synchronous display device based on a thermal sublimation printer, including:
a print data receiving module 10, configured to receive print data of a file to be printed, where the print data is sent by a currently connected user terminal; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence;
the judging module 20 is configured to, when it is judged that the currently received print data forms a part of a complete sub-print data set, print according to the sub-print data set, and send print information including a print speed and a paper output time to the user terminal, so that the user terminal can render the sub-print data set according to the print information and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
The judging module 20 further includes:
judging whether the currently received sub-printing data set is the last sub-printing data set; if not, after printing of the current sub-printing data set is finished, controlling to withdraw the printed drawing, so that when a next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing; and if so, outputting the printed drawing.
The fifth embodiment of the present invention:
referring to fig. 5, a fifth embodiment of the present invention provides a printing information synchronous display device, including:
the analysis module 100 is configured to analyze a file to be printed and send print data generated by the analysis to a currently connected printer; wherein the file to be printed can be parsed into at least two partial sub-print data sets according to a predetermined order.
A printing information receiving module 200, configured to receive printing information that is sent by the currently connected printer and used to print a part of complete sub-printing data sets; the printing information is generated by the printer when judging that the currently received printing data forms a complete sub-printing data set, and the printing information comprises printing speed and paper outlet time.
A rendering module 300, configured to render the sub-print data set according to the print information, and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
Further, the rendering module 300 further includes:
judging whether the generated preview image exists or not; if so, rendering the sub-printing data set and the generated preview according to the printing information to generate an updated preview image; and if not, rendering the sub-printing data set directly according to the printing information, and generating a preview image.
Further, the rendering module 300 further includes:
acquiring the display height H of the printer and the printing time average T of each sub-printing data set counted by the printer to calculate the average speed of theoretical rendering; obtaining the simulation time dtime = N/speed of each rendering according to the preset line number N increased by each rendering and the average speed; when the actual rendering time rtime is judged to be less than or equal to the simulation time dtime, after each rendering is completed, the next rendering is started after the preset waiting time; when the rendering actual time rtime is judged to be larger than the simulation time dtime, modifying the simulation time of each rendering of the rest part to be dtime = surfuseTime/(count-1); wherein, count is the remaining number of times of rendering.
Sixth embodiment of the invention:
referring to fig. 6, a sixth embodiment of the present invention provides a print information synchronous display system, including a user terminal 1 and a printer 2;
the user terminal 1 is used for analyzing the file to be printed and sending the print data generated by analysis to the printer 2 connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
the printer 2 is used for receiving the printing data of the file to be printed, which is sent by the user terminal 1 connected at present; when judging that the currently received printing data forms a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal 1;
the user terminal 1 is further configured to receive printing information sent by the currently connected printer 2; rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set.
The seventh embodiment of the present invention:
a seventh embodiment of the present invention provides a printer, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the print information synchronous display method according to any one of the above embodiments.
Eighth embodiment of the present invention:
an eighth embodiment of the present invention provides a user terminal, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the print information synchronous display method according to any of the above embodiments when executing the computer program.
Illustratively, the computer programs described herein can be partitioned into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, the instruction segments describing the execution process of the computer program in the implementation server device. For example, the devices described in the third and fourth embodiments of the present invention.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an APPlication Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general processor can be a microprocessor or the processor can be any conventional processor, and the processor is a control center of the printing information synchronous display method, and various interfaces and lines are used for connecting all parts of the printing information synchronous display method.
The memory can be used for storing the computer program and/or the module, and the processor can realize various functions of the printing information synchronous display method by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the user terminal, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module for realizing the service device can be stored in a computer readable storage medium if it is realized in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described embodiments of the apparatus are merely illustrative, where the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (11)

1. A synchronous display method for printing information is characterized by comprising the following steps:
receiving printing data of a file to be printed, which is sent by a currently connected user terminal; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence;
when judging that the currently received printing data form a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal, so that the user terminal can render the sub-printing data set according to the printing information and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set;
judging whether the currently received sub-printing data set is the last sub-printing data set;
if not, after printing of the current sub-printing data set is finished, the printed drawing is controlled to be withdrawn, so that when the next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing;
and if so, outputting the printed drawing.
2. The printing information synchronous display method according to claim 1, wherein the file to be printed can be parsed into 3 data sets by the user terminal according to a predetermined order; wherein, the 3 data sets are sequentially a Y data set, an M data set and a C data set.
3. A synchronous display method for printing information is characterized by comprising the following steps:
analyzing a file to be printed, and sending print data generated by analysis to a printer connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
receiving printing information sent by the printer connected currently; the printing information is generated by the printer when judging that the currently received printing data forms a complete sub-printing data set, and the printing information comprises printing speed and paper outlet time;
rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set;
judging whether the generated preview image exists or not;
if so, rendering the sub-printing data set and the generated preview according to the printing information to generate an updated preview image;
and if not, rendering the sub-printing data set directly according to the printing information, and generating a preview image.
4. The method for synchronously displaying the printing information according to claim 3, wherein the rendering according to the printing information and the sub-printing data set and generating the preview image specifically comprises:
acquiring the display height H of the printer and the printing time average T of each sub-printing data set counted by the printer so as to calculate the average speed of theoretical rendering;
obtaining the simulation time dtime = N/speed of each rendering according to the preset line number N increased by each rendering and the average speed;
when the actual rendering time rtime is judged to be less than or equal to the simulation time dtime, after each rendering is completed, the next rendering is started after the preset waiting time;
when the rendering actual time rtime is judged to be larger than the simulation time dtime, modifying the simulation time of each rendering of the rest part to be dtime = surfuseTime/(count-1); wherein, count is the remaining number of times of rendering.
5. The print information synchronous display method according to claim 4, wherein said N is 5.
6. A synchronous display method for printing information is characterized by comprising the following steps:
the user terminal analyzes the file to be printed and sends the print data generated by analysis to the printer connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
the printer receives the printing data of a file to be printed, which is sent by a user terminal connected currently; when judging that the currently received printing data forms a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal;
the user terminal receives the printing information sent by the printer connected currently; rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set;
judging whether the currently received sub-printing data set is the last sub-printing data set;
if not, after printing of the current sub-printing data set is finished, controlling to withdraw the printed drawing, so that when a next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing;
and if so, outputting the printed drawing.
7. The utility model provides a synchronous display device of printing information based on thermal sublimation printer which characterized in that includes:
the printing data receiving module is used for receiving the printing data of the file to be printed, which is sent by the currently connected user terminal; the file to be printed can be analyzed into at least two sub-printing data sets by the user terminal according to a preset sequence;
the judging module is used for printing according to the sub-printing data set and sending printing information containing printing speed and paper outlet time to the user terminal when judging that the currently received printing data forms a complete part of the sub-printing data set, so that the user terminal can render the sub-printing data set according to the printing information and generate a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set;
judging whether the currently received sub-printing data set is the last sub-printing data set;
if not, after printing of the current sub-printing data set is finished, controlling to withdraw the printed drawing, so that when a next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing;
and if so, outputting the printed drawing.
8. A print information synchronous display device, comprising:
the analysis module is used for analyzing the file to be printed and sending the print data generated by analysis to the printer connected at present; wherein the document to be printed can be parsed into at least two sub-print data sets according to a predetermined order;
the printing information receiving module is used for receiving the printing information which is sent by the currently connected printer and used for printing a part of complete sub-printing data sets; the printing information is generated by the printer when judging that the currently received printing data forms a complete sub-printing data set, and the printing information comprises printing speed and paper outlet time;
the rendering module is used for rendering the sub-printing data set according to the printing information and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set;
judging whether the generated preview image exists or not;
if so, rendering the sub-printing data set and the generated preview according to the printing information to generate an updated preview image;
and if not, rendering the sub-printing data set directly according to the printing information, and generating a preview image.
9. A print information synchronous display system is characterized by comprising a user terminal and a printer;
the user terminal is used for analyzing the file to be printed and sending the print data generated by analysis to the printer connected at present; the file to be printed can be analyzed into at least two sub-printing data sets according to a preset sequence;
the printer is used for receiving the printing data of the file to be printed, which is sent by the currently connected user terminal; when judging that the currently received printing data forms a complete sub-printing data set, printing according to the sub-printing data set, and sending printing information containing printing speed and paper outlet time to the user terminal;
the user terminal is also used for receiving the printing information sent by the printer connected currently; rendering according to the printing information and the sub-printing data set, and generating a preview image; wherein the preview image appears to be consistent with the printing progress of the sub-print data set;
judging whether the currently received sub-printing data set is the last sub-printing data set;
if not, after printing of the current sub-printing data set is finished, controlling to withdraw the printed drawing, so that when a next complete sub-printing data set is received, printing is carried out according to the next complete sub-printing data set and the drawing;
and if so, outputting the printed drawing.
10. A printer comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the print information synchronous display method according to any one of claims 1 to 2 when executing the computer program.
11. A user terminal comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the print information synchronous display method according to any one of claims 3 to 5 when executing the computer program.
CN201811241793.0A 2018-10-24 2018-10-24 Printing information synchronous display method, device, system, printer and user terminal Active CN109597591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811241793.0A CN109597591B (en) 2018-10-24 2018-10-24 Printing information synchronous display method, device, system, printer and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811241793.0A CN109597591B (en) 2018-10-24 2018-10-24 Printing information synchronous display method, device, system, printer and user terminal

Publications (2)

Publication Number Publication Date
CN109597591A CN109597591A (en) 2019-04-09
CN109597591B true CN109597591B (en) 2023-04-07

Family

ID=65958060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811241793.0A Active CN109597591B (en) 2018-10-24 2018-10-24 Printing information synchronous display method, device, system, printer and user terminal

Country Status (1)

Country Link
CN (1) CN109597591B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147210A (en) * 2019-05-23 2019-08-20 宜春宜联科技有限公司 The playback method and system of print result
CN110515566B (en) * 2019-08-17 2020-12-29 深圳市汉森软件有限公司 Industrial ink-jet printing preview method, device, equipment and storage medium
CN115202597A (en) * 2020-06-24 2022-10-18 厦门汉印电子技术有限公司 Print preview method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067153A (en) * 2001-08-29 2003-03-07 Seiko Epson Corp Printer driver
CN102576297A (en) * 2009-09-28 2012-07-11 Csr技术公司 Preview of a document with printable components at a printing device based on its printing capability
CN107943426A (en) * 2017-10-13 2018-04-20 用友网络科技股份有限公司 Document page-by-page printing method, document print page system and computer installation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067153A (en) * 2001-08-29 2003-03-07 Seiko Epson Corp Printer driver
CN102576297A (en) * 2009-09-28 2012-07-11 Csr技术公司 Preview of a document with printable components at a printing device based on its printing capability
CN102574404A (en) * 2009-09-28 2012-07-11 Csr技术公司 Preview and modification of printable components of a document at a printing device
CN107943426A (en) * 2017-10-13 2018-04-20 用友网络科技股份有限公司 Document page-by-page printing method, document print page system and computer installation

Also Published As

Publication number Publication date
CN109597591A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
CN109597591B (en) Printing information synchronous display method, device, system, printer and user terminal
JP5353933B2 (en) Information processing program, information processing apparatus, and information processing method
US20130016389A1 (en) System to enable use of pdl metadata to drive printing outcomes
US8018618B2 (en) Information processing apparatus that outputs images having same size to single page of recording sheet and computer readable medium
JP2007172164A (en) Digital content preparation system, program, and storage medium
EP3476081B1 (en) Providing service according to user authority
JP2005243003A (en) Image processing method and image processor
EP1906648A2 (en) Image forming system
CN114253664A (en) Method, device, equipment and storage medium for generating configuration template of virtualization system
CN115495030A (en) Job exception handling method, job exception handling device, image forming apparatus, and storage medium
JP2011128755A (en) Image forming apparatus, control method and program thereof
JP2018055186A (en) Image forming apparatus and program
CN108495172A (en) Data load method, device and mobile terminal
CN111444452A (en) Conversion method, device and storage medium of webpage
WO2007135807A1 (en) Image processing system and image processing program
EP2852142B1 (en) Printing control apparatus and program
US20030016230A1 (en) System and method for colour management of colour devices and colour spaces
JP2005018524A (en) Method for controlling printing
CN112652035B (en) Ballot drawing method, electronic equipment and medium
JP5678559B2 (en) Information processing apparatus and information processing program
JP5556462B2 (en) Document creation support apparatus, document creation support method, program, and recording medium
JP7151248B2 (en) SNS server device and SNS system
JP2011186835A (en) Image processing apparatus and image processing program
CN117459928A (en) Low-power consumption chest card content replacement method, device, medium and terminal equipment
CN115599320A (en) Printing imposition method, printed matter manufacturing method and related product

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