CN111857611A - Print preview method, device, equipment and storage medium - Google Patents

Print preview method, device, equipment and storage medium Download PDF

Info

Publication number
CN111857611A
CN111857611A CN202010585813.7A CN202010585813A CN111857611A CN 111857611 A CN111857611 A CN 111857611A CN 202010585813 A CN202010585813 A CN 202010585813A CN 111857611 A CN111857611 A CN 111857611A
Authority
CN
China
Prior art keywords
print preview
print
printed
content
printing
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
CN202010585813.7A
Other languages
Chinese (zh)
Other versions
CN111857611B (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 CN202210874442.3A priority Critical patent/CN115202597A/en
Priority to CN202010585813.7A priority patent/CN111857611B/en
Publication of CN111857611A publication Critical patent/CN111857611A/en
Application granted granted Critical
Publication of CN111857611B publication Critical patent/CN111857611B/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/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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1207Improving or facilitating administration, e.g. print management resulting in the user being informed about print result after a job submission
    • 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/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • 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/1259Print job monitoring, e.g. job status

Abstract

The embodiment of the invention provides a print preview method, a print preview device, print preview equipment and a storage medium, wherein the method comprises the following steps: establishing a communication connection with a printer; when a print preview instruction is received, acquiring content to be printed and state parameters returned by a sensor; wherein the state parameters comprise real-time state of the printer and related parameters influencing print preview; performing printing pretreatment on the content to be printed based on the state parameters, and generating a printing preview page; and displaying the print preview page so that a user can check the print effect. The invention can preview the real-time state of the printer and the influence of relevant parameters influencing the printing preview on the printing effect, thereby checking whether the expected printing effect can be obtained according to the printing preview page.

Description

Print preview method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of printed image display, in particular to a print preview method, a print preview device, print preview equipment and a storage medium.
Background
Printers are widely available in daily life, and can be generally divided into needle type, ink jet type, laser type, thermal transfer type and the like. Any printer faces a challenge as to whether the print effect can satisfy the print effect expectation of the user. The common print preview is only that print data is generated for a print document in an upper computer (a computer or a mobile phone) and then is sent to a printer for direct printing, and only the typesetting of a print page can be judged in advance.
In the prior art, a user cannot predict the influence of the real-time state, configuration parameters and the like of the printer on printing, cannot predict whether the printing effect can meet the expectation of the user, and can only acquire the real printing effect through the printer or printed sample sheets after the printing task is finished or speculate the problem of the printer.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a print preview method, apparatus, device and storage medium, so as to preview and display a print result according to a status parameter returned by a sensor.
The embodiment of the invention provides a print preview method, which comprises the following steps:
establishing a communication connection with a printer;
when a print preview instruction is received, acquiring content to be printed and state parameters returned by a sensor; wherein the state parameters comprise real-time state of the printer and related parameters influencing print preview;
performing printing pretreatment on the content to be printed based on the state parameters, and generating a printing preview page;
and displaying the print preview page so that a user can check the print effect.
Preferably, the status parameter includes a consumable balance; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
Judging the required consumable amount according to the content to be printed;
judging whether the consumable allowance is larger than the required consumable amount or not;
if so, completely displaying the content to be printed on the print preview page;
if not, displaying part of the content to be printed on the print preview page according to the proportion of the consumable allowance to the required consumable amount.
Preferably, the status parameter comprises a current temperature of the print head; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
acquiring a temperature range of the printing head in normal work;
judging whether the current temperature of the printing head is in the temperature range;
if so, displaying the content to be printed on the print preview page in normal density;
if not, determining the concentration to be displayed according to the difference value between the current temperature and the temperature range, and displaying the content to be printed on the print preview page according to the concentration to be displayed.
Preferably, the status parameter comprises an operating status of a heating spot on the print head; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
Acquiring the working state of each heating point on the printing head;
judging whether a heating point in a fault state exists or not;
if so, acquiring a column corresponding to the heating point in the fault state, and rendering the corresponding column of the print preview page to generate a white line;
if not, normally displaying the content to be printed on the print preview page.
Preferably, the state parameter includes a defect condition of the paper; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
acquiring a scanned image of a paper to be printed;
judging whether the paper is defective or not according to the scanned image;
if so, displaying a defect part in the scanned image on the print preview page, and displaying the content to be printed according to the defect part;
and if not, completely displaying the content to be printed on the print preview page.
Preferably, the method further comprises the following steps:
when the print preview page is judged to be abnormal;
and displaying abnormal printing prompt information on the print preview page.
Preferably, the method further comprises the following steps:
acquiring key information needing suspension display;
Generating a floating window containing the key information based on the state parameters;
and displaying the floating window on the print preview page.
An embodiment of the present invention further provides a print preview apparatus, including:
a communication connection establishing unit for establishing a communication connection with the printer;
the data acquisition unit is used for acquiring the content to be printed and the state parameters returned by the sensor when a print preview instruction is received; wherein the state parameters comprise real-time state of the printer and related parameters influencing print preview;
the printing preview page generating unit is used for carrying out printing pretreatment on the content to be printed based on the state parameters and generating a printing preview page;
and the first display unit is used for displaying the print preview page so that a user can check the print effect.
The embodiment of the invention also provides a printing abnormity preview device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the printing preview method.
An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the print preview method as described above.
In the embodiment, the real-time state of the printer and the influence of the relevant parameters influencing the printing preview on the printing effect can be previewed by performing printing pretreatment on the content to be printed based on the real-time state of the printer and the relevant parameters influencing the printing preview, and the generated printing preview page is displayed, so that the real printing process can be simulated, the influence of the real-time state of the printer and the relevant parameters influencing the printing preview on the printing effect can be previewed, whether the expected printing effect can be obtained or not can be checked according to the printing preview page, whether the printing operation is further executed or not can be determined, and.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart illustrating a print preview method according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of a preview page in a preferred embodiment of the first embodiment of the present invention.
Fig. 3 is a schematic diagram of a preview page according to another preferred embodiment of the first embodiment of the present invention.
Fig. 4 is a schematic diagram of a preview page according to another preferred embodiment of the first embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a print preview apparatus according to a second embodiment of the present invention.
Icon: 201-a communication connection establishing unit; 202-a data acquisition unit; 203-print preview page generating unit; 204-first display unit.
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.
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all 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 terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments, the references to "first \ second" are merely to distinguish similar objects and do not represent a specific ordering for the objects, and it is to be understood that "first \ second" may be interchanged with a specific order or sequence, where permitted. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced in sequences other than those illustrated or described herein.
As shown in fig. 1, a first embodiment of the present invention provides a print preview method, executable by a print preview device, including at least the steps of:
s101, communication connection is established with the printer.
S102, when a print preview instruction is received, acquiring content to be printed and state parameters returned by a sensor; wherein the status parameters include a real-time status of the printer and related parameters affecting the print preview.
In this embodiment, the print preview device may be a mobile phone, a tablet computer, a notebook, a computer, or a like smart terminal device with a display interface, and may establish a communication connection with a printer in a wired or wireless manner (e.g., bluetooth, WIFI, USB, etc.) to obtain the status parameters returned by the sensor. The sensor may be built in the printer or may be derived from a device connected to the printer, such as a camera, a scanning component, a print preview device itself, or the like.
The real-time status of the printer refers to the actual working status of the printer, and may be consumable material allowance, printing head working status, printing head temperature, task amount of a printing queue, and the like.
The relevant parameters affecting print preview may be printer resolution, printable color, print effect, paper color, paper defect condition, ribbon color, preview display brightness, etc., and may be print parameter configuration of the printer itself, or parameters detected by a sensor by a relevant device connected to the printer, which may affect the real print effect, and the present invention is not limited in particular.
In this embodiment, the print preview device is installed with general Office software such as Office, WPS, Adobe Reader, ireader, and the like, and can preview and display the content to be printed.
S103, performing printing pretreatment on the content to be printed based on the state parameters, and generating a printing preview page.
Different from a general print preview mode, in the embodiment, different state parameters of the printer correspond to different print preprocessing modes, so that a print preview page generated after print preprocessing is performed on the basis of the state parameters can simulate a real print effect, the influence of the state parameters returned by the sensor on a print result can be judged in advance, timely adjustment is facilitated, and occurrence of print errors is reduced.
And S104, displaying the print preview page for the user to check the print effect.
In the embodiment, the print preview result is displayed on the display interface of the print preview device, so that the user can conveniently judge whether the print effect meets the print expectation. When the printing effect meets the printing expectation, the content to be printed can be sent to a printer for printing; otherwise, the abnormity of the printer can be judged in advance according to the printing effect so as to carry out printing after relevant adjustment.
In summary, the content to be printed is pre-processed by printing based on the real-time state of the printer and the relevant parameters influencing the printing preview, and the generated printing preview page is displayed, so that the real printing process can be simulated, the influence of the real-time state of the printer and the relevant parameters influencing the printing preview on the printing effect is previewed, whether the printing operation is further executed or not is determined according to the printing effect, and the utilization rate of printing consumables is improved.
Referring to fig. 2, based on the above embodiment, in a preferred embodiment, the status parameter includes a consumable balance; step 103 specifically includes:
judging the required consumable amount according to the content to be printed;
Judging whether the consumable allowance is larger than the required consumable amount or not;
if so, completely displaying the content to be printed on the print preview page;
if not, displaying part of the content to be printed on the print preview page according to the proportion of the consumable allowance to the required consumable amount.
The consumable can be a carbon ribbon, carbon powder, printing paper and the like, is a consumable in the printing process, and can continuously reduce the allowance of the consumable along with printing.
In this embodiment, when the remaining amount of consumable is greater than the required amount of consumable, it indicates that the consumable is sufficient and the printing effect is not affected, and then the complete content to be printed can be obtained; when the remaining amount of the consumable material is less than the required amount of the consumable material, the consumable material is not enough to print the current content to be printed, and the content to be printed needs to be partially displayed according to the ratio of the remaining amount of the consumable material to the required amount of the consumable material, for example, when the ratio of the remaining amount of the consumable material to the required amount of the consumable material is 1:2, the content to be printed of 1/2 is displayed on the print preview page.
On the basis of the above embodiment, in a preferred embodiment, the state parameter includes a current temperature of the print head; step 103 specifically includes:
Acquiring a temperature range of the printing head in normal work;
judging whether the current temperature of the printing head is in the temperature range;
if so, displaying the content to be printed on the print preview page in normal density;
if not, determining the concentration to be displayed according to the difference value between the current temperature and the temperature range, and displaying the content to be printed on the print preview page according to the concentration to be displayed.
In this embodiment, when the temperature of the print head is too low or too high, the situation of unclear printing and poor quality is likely to occur.
When the current temperature of the printing head is not within the temperature range, the printing head is in an under-temperature state or an over-temperature state, and the concentration to be displayed needs to be determined according to the difference value between the current temperature and the temperature range. Specifically, when the current temperature is greater than the maximum value of the temperature range, the concentration to be displayed is greater than the normal concentration, and the greater the difference between the two is, the greater the concentration to be displayed is. And when the current temperature is lower than the minimum value of the temperature range, the concentration to be displayed is lower than the normal concentration, and the larger the difference between the two is, the smaller the concentration to be displayed is.
Referring to fig. 3, based on the above embodiment, in a preferred embodiment, the status parameter includes an operating status of a heating point on the print head; step 103 specifically includes:
Acquiring the working state of each heating point on the printing head;
judging whether a heating point in a fault state exists or not;
if so, acquiring a column corresponding to the heating point in the fault state, and rendering the corresponding column of the print preview page to generate a white line;
if not, normally displaying the content to be printed on the print preview page.
In this embodiment, when the heating dots on the print head are in a failure state (e.g., short circuit or necrosis of the heating dots), the corresponding columns on the print preview page cannot be printed normally, and the columns corresponding to the heating dots in the failure state need to be rendered into white lines, so as to obtain a real printing effect.
On the basis of the above embodiment, in a preferred embodiment, the status parameter includes a defect condition of the paper; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
acquiring a scanned image of a paper to be printed;
judging whether the paper is defective or not according to the scanned image;
if so, displaying a defect part in the scanned image on the print preview page, and displaying the content to be printed according to the defect part;
And if not, completely displaying the content to be printed on the print preview page.
In this embodiment, the printer may be connected to a scanning assembly that is provided with a sensor, and the scanning assembly may acquire a scanned image of the paper and transmit the scanned image back to the print preview device. When the print preview device judges that the paper is defective, the defective part can be displayed on the print preview page to approximate the real printing effect.
Of course, in some other embodiments, the printer may be connected to a matching camera component, and the camera component may obtain the color of the paper and the color of the ribbon, and display the paper background and the font color of the corresponding color on the print preview page. In other embodiments, the printer may also be connected to the print preview device itself, and obtain the status parameter of the print preview device, for example, obtain that the current brightness of the mobile phone is reduced or the screen is from different suppliers, and adjust the original image according to the current brightness and the color developed by the suppliers, so that the preview result presented on the print preview page is always closest to the real print effect.
On the basis of the above embodiment, in a preferred embodiment, the method further includes:
when the print preview page is judged to be abnormal;
And displaying abnormal printing prompt information on the print preview page.
In this embodiment, the real-time status of printer constantly changes, and the printer often can the abnormal conditions appear, if the consumptive material is not enough, the hot spot is too warm, necrosis, shower nozzle block up etc. what correspond will lead to the print preview page to appear showing unusually such as incomplete, the concentration of display is low, white line, can be according to this unusually printing unusual prompt information that corresponds at the print preview page demonstration to remind the user.
Referring to fig. 2, in a specific embodiment, when the print page is not completely displayed, the corresponding print exception prompting information may be displayed on the print preview page: the mask area cannot be printed due to the insufficient carbon ribbon.
Referring to fig. 3, in another specific embodiment, when a printed page appears with a white line or a black line, a corresponding print exception prompting message may be displayed on the print preview page: the white/black line area cannot be normally printed due to the damage of the print head.
It should be noted that, when the print abnormality prompt information is displayed on the print preview page, the user may decide whether to further perform the printing operation according to the print effect: if abnormal prompt information of insufficient carbon ribbon appears on the print preview page, the corresponding position of the print preview page has no print content, or the user does not accept the abnormal prompt information, the printing can be continued. For another example: when the abnormal prompt information of the abnormal black line appears on the print preview page, the corresponding position of the print preview page has less print content or the influence of the print effect is not great, and the printing can be continued.
Referring to fig. 4, on the basis of the above embodiment, in a preferred embodiment, the method further includes:
acquiring key information needing suspension display;
generating a floating window containing the key information based on the state parameters;
and displaying the floating window on the print preview page.
The key information may include one or more of the state parameters, and may be set in a user-defined manner in advance, which is not limited in the present invention.
For example, the key information required to be displayed in a floating manner can be preset: the residual capacity of the printer, the printing progress, the consumable allowance and the like, so that the printing state can be acquired in real time in the printing process.
In this embodiment, the print preview device may actively query the status parameters returned by the sensor in real time, and display preset key information on a print preview page in real time. Therefore, in the printing process, a user can conveniently and timely perform printing adjustment according to the key information on the print preview page.
Referring to fig. 5, a print preview apparatus according to a second embodiment of the present invention includes:
a communication connection establishing unit 201 for establishing a communication connection with the printer;
The data acquisition unit 202 is used for acquiring the content to be printed and the state parameters returned by the sensor when a print preview instruction is received; wherein the state parameters comprise real-time state of the printer and related parameters influencing print preview;
a print preview page generating unit 203, configured to perform print preprocessing on the content to be printed based on the status parameter, and generate a print preview page;
and a first display unit 204, configured to display the print preview page, so that the user can view the print effect.
Preferably, the status parameter includes a consumable balance; the print preview page generating unit 203 specifically includes:
the consumable quantity acquisition module is used for judging the required consumable quantity according to the content to be printed;
the consumable amount judging module is used for judging whether the consumable allowance is larger than the required consumable amount or not;
the first display module is used for completely displaying the content to be printed on the print preview page when the consumable allowance is larger than the required consumable amount;
and the second display module is used for displaying part of the content to be printed on the print preview page according to the proportion of the consumable allowance to the required consumable amount when the consumable allowance is smaller than the required consumable amount.
Preferably, the status parameter comprises a current temperature of the print head; the print preview page generating unit 203 specifically includes:
the temperature range acquisition module is used for acquiring the temperature range of the printing head in normal work;
the temperature range judging module is used for judging whether the current temperature of the printing head is in the temperature range;
the third display module is used for displaying the content to be printed on the print preview page at a normal density when the current temperature of the printing head is within the temperature range;
and the fourth display module is used for determining the concentration to be displayed according to the difference value between the current temperature and the temperature range when the current temperature of the printing head is not in the temperature range, and displaying the content to be printed on the print preview page at the concentration to be displayed.
Preferably, the status parameter comprises an operating status of a heating spot on the print head; the print preview page generating unit 203 specifically includes:
the working state acquisition module is used for acquiring the working state of each heating point on the printing head;
the fault heating point judging module is used for judging whether a heating point in a fault state exists or not;
The fifth display module is used for acquiring a column corresponding to the heating point in the fault state when the heating point in the fault state exists, and rendering the corresponding column of the print preview page to generate a white line;
and the sixth display module is used for normally displaying the content to be printed on the print preview page when no heating point in a fault state exists.
Preferably, the state parameter includes a defect condition of the paper; the print preview page generating unit 203 specifically includes:
a scanned image acquiring unit for acquiring a scanned image of a sheet to be printed;
a defect condition judging unit for judging whether the paper is defective or not according to the scanned image;
a seventh display module, configured to display a defective portion in the scanned image on the print preview page when the scanned image is defective, and display the content to be printed according to the defective portion;
and the eighth display module is used for completely displaying the content to be printed on the print preview page when the content is not defective.
Preferably, the method further comprises the following steps:
an abnormality judgment unit configured to judge whether the print preview page is abnormal;
and the abnormity prompting unit is used for displaying printing abnormity prompting information on the printing preview page.
Preferably, the method further comprises the following steps:
the key information acquisition unit is used for acquiring key information needing suspension display;
the floating window generating unit is used for generating a floating window containing the key information based on the state parameter;
and the floating window display unit is used for displaying the floating window on the print preview page.
A third embodiment of the present invention provides a print exception preview device including a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the print preview method as described above when executing the program.
A fourth embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor, implements the print preview method as described above.
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 certain functions, which are used to describe the execution of the computer program in the implementation device. For example, the device described in the second embodiment 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 purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the printing method, and various interfaces and lines connecting the various parts throughout the implementation of the document printing method.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the printing method by executing or executing the computer programs and/or modules stored in the memory and calling 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 user terminal 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 device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the 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 shall be subject to the protection scope of the claims.

Claims (10)

1. A print preview method, comprising the steps of:
establishing a communication connection with a printer;
when a print preview instruction is received, acquiring content to be printed and state parameters returned by a sensor; wherein the state parameters comprise real-time state of the printer and related parameters influencing print preview;
performing printing pretreatment on the content to be printed based on the state parameters, and generating a printing preview page;
and displaying the print preview page so that a user can check the print effect.
2. The print preview method of claim 1, wherein the status parameter includes a consumable remaining amount; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
judging the required consumable amount according to the content to be printed;
judging whether the consumable allowance is larger than the required consumable amount or not;
if so, completely displaying the content to be printed on the print preview page;
if not, displaying part of the content to be printed on the print preview page according to the proportion of the consumable allowance to the required consumable amount.
3. The print preview method of claim 1, wherein the status parameter includes a current temperature of the print head; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
Acquiring a temperature range of the printing head in normal work;
judging whether the current temperature of the printing head is in the temperature range;
if so, displaying the content to be printed on the print preview page in normal density;
if not, determining the concentration to be displayed according to the difference value between the current temperature and the temperature range, and displaying the content to be printed on the print preview page according to the concentration to be displayed.
4. The print preview method of claim 1, wherein the status parameter includes an operating status of a heated dot on a print head; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
acquiring the working state of each heating point on the printing head;
judging whether a heating point in a fault state exists or not;
if so, acquiring a column corresponding to the heating point in the fault state, and rendering the corresponding column of the print preview page to generate a white line;
if not, normally displaying the content to be printed on the print preview page.
5. The print preview method of claim 1, wherein the status parameter includes a paper defect condition; performing printing preprocessing on the content to be printed based on the state parameter, and generating a print preview page, which specifically includes:
Acquiring a scanned image of a paper to be printed;
judging whether the paper is defective or not according to the scanned image;
if so, displaying a defect part in the scanned image on the print preview page, and displaying the content to be printed according to the defect part;
and if not, completely displaying the content to be printed on the print preview page.
6. The print preview method of claim 1, further comprising:
when the print preview page is judged to be abnormal;
and displaying abnormal printing prompt information on the print preview page.
7. The print preview method of claim 1, further comprising:
acquiring key information needing suspension display;
generating a floating window containing the key information based on the state parameters;
and displaying the floating window on the print preview page.
8. A print preview device characterized by comprising:
a communication connection establishing unit for establishing a communication connection with the printer;
the data acquisition unit is used for acquiring the content to be printed and the state parameters returned by the sensor when a print preview instruction is received; wherein the state parameters comprise real-time state of the printer and related parameters influencing print preview;
The printing preview page generating unit is used for carrying out printing pretreatment on the content to be printed based on the state parameters and generating a printing preview page;
and the first display unit is used for displaying the print preview page so that a user can check the print effect.
9. A print exception preview device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements a print preview method according to any of claims 1 to 7.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the print preview method of any one of claims 1 to 7.
CN202010585813.7A 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium Active CN111857611B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210874442.3A CN115202597A (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium
CN202010585813.7A CN111857611B (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010585813.7A CN111857611B (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210874442.3A Division CN115202597A (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111857611A true CN111857611A (en) 2020-10-30
CN111857611B CN111857611B (en) 2022-11-11

Family

ID=72988063

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010585813.7A Active CN111857611B (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium
CN202210874442.3A Pending CN115202597A (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210874442.3A Pending CN115202597A (en) 2020-06-24 2020-06-24 Print preview method, device, equipment and storage medium

Country Status (1)

Country Link
CN (2) CN111857611B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112571972A (en) * 2020-12-12 2021-03-30 深圳市捷诚技术服务有限公司 Thermal printer heating control method and device and thermal printer
CN112667173A (en) * 2020-12-23 2021-04-16 深圳开立生物医疗科技股份有限公司 Medical image printing method and device, medical equipment and readable storage medium
CN113031885A (en) * 2021-03-22 2021-06-25 珠海奔图电子有限公司 File printing preview method and device and file printing system
CN114953464A (en) * 2022-04-07 2022-08-30 深圳市猿人创新科技有限公司 Intelligent diagnosis method and device for 3D printer, electronic equipment and storage medium
CN115480717A (en) * 2022-09-21 2022-12-16 珠海华人智创科技有限公司 Man-machine interaction system and method for printer based on Internet of things
CN116954531A (en) * 2023-09-19 2023-10-27 德卡云创科技(西安)有限公司 Method and system for remote visual print preview

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001067347A (en) * 1999-06-23 2001-03-16 Canon Inc Information processor, information processing method and storage medium storing computer-readable program
US20030142325A1 (en) * 2002-01-31 2003-07-31 Leslie Sara Lynn True print preview method and apparatus
US20040066525A1 (en) * 2002-10-08 2004-04-08 Zerza Wendy L. Consumable availability with print preview
CN1538285A (en) * 2003-04-17 2004-10-20 ������������ʽ���� Informaton processing device and print prebrowsing display device
CN104070828A (en) * 2013-03-27 2014-10-01 精工爱普生株式会社 Print system and information processing device
CN105430213A (en) * 2014-09-11 2016-03-23 精工爱普生株式会社 Print image generation device, print system, and print image generation method
US20170118360A1 (en) * 2011-06-29 2017-04-27 Markem-Imaje Holding Dynamic user interface
CN109597591A (en) * 2018-10-24 2019-04-09 厦门汉印电子技术有限公司 Type information synchronous display method, device, system, printer and user terminal
CN110515566A (en) * 2019-08-17 2019-11-29 深圳市汉森软件有限公司 Industrial inkjet print preview method, device, equipment and storage medium
CN110936745A (en) * 2019-12-17 2020-03-31 杨勇志 Novel carbon ribbon type artistic name sticker processing method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001067347A (en) * 1999-06-23 2001-03-16 Canon Inc Information processor, information processing method and storage medium storing computer-readable program
US20030142325A1 (en) * 2002-01-31 2003-07-31 Leslie Sara Lynn True print preview method and apparatus
US20040066525A1 (en) * 2002-10-08 2004-04-08 Zerza Wendy L. Consumable availability with print preview
CN1538285A (en) * 2003-04-17 2004-10-20 ������������ʽ���� Informaton processing device and print prebrowsing display device
US20170118360A1 (en) * 2011-06-29 2017-04-27 Markem-Imaje Holding Dynamic user interface
CN104070828A (en) * 2013-03-27 2014-10-01 精工爱普生株式会社 Print system and information processing device
CN105430213A (en) * 2014-09-11 2016-03-23 精工爱普生株式会社 Print image generation device, print system, and print image generation method
CN109597591A (en) * 2018-10-24 2019-04-09 厦门汉印电子技术有限公司 Type information synchronous display method, device, system, printer and user terminal
CN110515566A (en) * 2019-08-17 2019-11-29 深圳市汉森软件有限公司 Industrial inkjet print preview method, device, equipment and storage medium
CN110936745A (en) * 2019-12-17 2020-03-31 杨勇志 Novel carbon ribbon type artistic name sticker processing method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112571972A (en) * 2020-12-12 2021-03-30 深圳市捷诚技术服务有限公司 Thermal printer heating control method and device and thermal printer
CN112667173A (en) * 2020-12-23 2021-04-16 深圳开立生物医疗科技股份有限公司 Medical image printing method and device, medical equipment and readable storage medium
CN113031885A (en) * 2021-03-22 2021-06-25 珠海奔图电子有限公司 File printing preview method and device and file printing system
CN113031885B (en) * 2021-03-22 2024-04-09 珠海奔图电子有限公司 File printing preview method and device and file printing system
CN114953464A (en) * 2022-04-07 2022-08-30 深圳市猿人创新科技有限公司 Intelligent diagnosis method and device for 3D printer, electronic equipment and storage medium
CN115480717A (en) * 2022-09-21 2022-12-16 珠海华人智创科技有限公司 Man-machine interaction system and method for printer based on Internet of things
CN116954531A (en) * 2023-09-19 2023-10-27 德卡云创科技(西安)有限公司 Method and system for remote visual print preview
CN116954531B (en) * 2023-09-19 2023-12-08 德卡云创科技(西安)有限公司 Method and system for remote visual print preview

Also Published As

Publication number Publication date
CN115202597A (en) 2022-10-18
CN111857611B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN111857611B (en) Print preview method, device, equipment and storage medium
CN101998026B (en) Image processing apparatus and image processing method
US8851593B1 (en) Image processing apparatus, image forming apparatus, non-transitory computer readable medium, and image processing method
US20130194595A1 (en) Information processing apparatus and computer readable storage medium storing instruction for setting number of pages to fit to single sheet
US20050206694A1 (en) System and method for detecting potential counterfeiting of print cartridges
CN111708499A (en) Printing management method, device, equipment and storage medium for printing pages
US20190056689A1 (en) System and method for printing with depleting toner or ink levels
US9597908B2 (en) Printer displays heating elements status and sets a check range to determine whether the heating elements is normal or abnormal
JP4725148B2 (en) Printing apparatus and program
US8988448B2 (en) Image generation method for performing color conversion on an image
US8705077B2 (en) Printing system and printing method
JP6917285B2 (en) Image forming device
JP6197487B2 (en) Printing device
KR101665661B1 (en) Automatic typesetting equipment and automated printing system comprising it
JP2002254770A (en) Image forming device
JP2011039160A (en) Information processor, image forming system, and program
JP2004148832A (en) Method and system for estimating print imaging material usage, and printing device
US11249697B2 (en) Printing system and printing method
US9360818B2 (en) Image forming apparatus and image formation method having toner saving mode
US20240075755A1 (en) Storage medium storing program, information processing apparatus, and control method
CN113448522B (en) Variable data printing output method and device, terminal equipment and readable storage medium
US11803721B2 (en) Methods and printing system using adaptive consumable estimation in printing operations
US20230037364A1 (en) Image forming apparatus, information processing apparatus, and non-transitory computer readable medium
US20240111979A1 (en) Information processing apparatus, image forming apparatus, and work estimating method that allows objective determination of estimation of work related to printing
US20230315359A1 (en) Methods and printing system using adaptive consumable estimation in printing operations

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