A print preview method, device, equipment and storage medium
By generating a print preview page by acquiring the printer's real-time status parameters, the problem of not being able to predict the print effect in existing technologies is solved, enabling previewing the print effect before printing and improving the utilization rate of printing consumables and the print success rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XIAMEN HANIN CO LTD
- Filing Date
- 2020-06-24
- Publication Date
- 2026-05-08
AI Technical Summary
In existing technologies, the impact of the printer's real-time status and configuration parameters on the printing effect cannot be predicted before printing, making it impossible for users to judge whether the printing effect will meet their expectations. Usually, they can only obtain the actual effect after printing is completed.
By establishing a communication connection with the printer, the system obtains status parameters returned by the sensors, such as filament level, printhead temperature, and paper damage, and performs print preprocessing to generate a print preview page that simulates the real printing process and displays the print effect.
It improves the utilization rate of printing consumables, reduces printing errors, and allows users to adjust printing operations based on the preview effect, ensuring that the printing effect meets expectations.
Smart Images

Figure CN115202597B_ABST
Abstract
Description
[0001] (This application is a divisional application of 202010585813.7, which describes a method, apparatus, device, and storage medium for printing preview.) Technical Field
[0002] This invention relates to the field of printed image display technology, and more specifically, to a print preview method, apparatus, device, and storage medium. Background Technology
[0003] Printers are ubiquitous in daily life and have a wide range of uses. They can be broadly categorized into several types, including dot matrix, inkjet, laser, thermal, and thermal transfer printers. Regardless of the type, all printers face the challenge of delivering print quality that meets user expectations. Common print previews simply generate print data on a host computer (computer or mobile phone) and then send it to the printer for direct printing, only predicting the page layout.
[0004] In existing technologies, users cannot predict the impact of the printer's real-time status and configuration parameters on printing before printing, nor can they predict whether the printing effect will meet their expectations. They can only obtain the actual printing effect through the printer or the printed sample after the print job is completed, or speculate on the problems that have occurred with the printer. Summary of the Invention
[0005] In view of this, the purpose of this invention is to provide a print preview method, apparatus, device and storage medium for previewing and displaying print results based on status parameters returned by sensors.
[0006] This invention provides a print preview method, comprising the following steps:
[0007] Establish a communication connection with the printer;
[0008] When a print preview instruction is received, the content to be printed and the status parameters returned by the sensor are obtained; wherein, the status parameters include the real-time status of the printer and relevant parameters that affect the print preview;
[0009] Based on the status parameters, the content to be printed is preprocessed for printing, and a print preview page is generated;
[0010] The print preview page is displayed so that users can view the print results.
[0011] Preferably, the status parameter includes the remaining consumables; then, based on the status parameter, the content to be printed is preprocessed for printing, and a print preview page is generated, specifically including:
[0012] Determine the required amount of consumables based on the content to be printed;
[0013] Determine whether the remaining amount of consumables is greater than the required amount of consumables;
[0014] If so, the content to be printed will be fully displayed on the print preview page;
[0015] If not, then a portion of the content to be printed will be displayed on the print preview page according to the ratio of the remaining consumables to the required consumables.
[0016] Preferably, the status parameter includes the current temperature of the print head; then, based on the status parameter, the content to be printed is preprocessed for printing, and a print preview page is generated, specifically including:
[0017] Obtain the temperature range during normal printhead operation;
[0018] Determine whether the current temperature of the print head is within the temperature range;
[0019] If so, the content to be printed will be displayed at normal density on the print preview page;
[0020] If not, the concentration to be displayed is determined based on the difference between the current temperature and the temperature range, and the content to be printed is displayed on the print preview page at the concentration to be displayed.
[0021] Preferably, the status parameters include the working status of the heating points on the print head; then, based on the status parameters, preprocessing is performed on the content to be printed, and a print preview page is generated, specifically including:
[0022] Obtain the working status of each heating point on the print head;
[0023] Determine if any heating points are in a faulty state;
[0024] If so, retrieve the column corresponding to the heating point in the fault state, and render the corresponding column on the print preview page to generate a white line;
[0025] If not, the content to be printed will be displayed normally on the print preview page.
[0026] Preferably, the status parameters include the paper's damage status; then, based on the status parameters, the content to be printed is preprocessed for printing, and a print preview page is generated, specifically including:
[0027] Obtain a scanned image of the paper to be printed;
[0028] Determine whether the paper is damaged based on the scanned image;
[0029] If so, the missing parts in the scanned image will be displayed on the print preview page, and the content to be printed will be displayed according to the missing parts.
[0030] If not, the content to be printed will be displayed in full on the print preview page.
[0031] Preferably, it further includes:
[0032] When it is determined that the print preview page is abnormal;
[0033] A printing error message is displayed on the print preview page.
[0034] Preferably, it further includes:
[0035] Obtain the key information that needs to be displayed in a floating position;
[0036] A floating window containing the key information is generated based on the state parameters;
[0037] The floating window is displayed on the print preview page.
[0038] This invention also provides a print preview device, comprising:
[0039] A communication connection establishment unit is used to establish a communication connection with the printer;
[0040] The data acquisition unit is used to acquire the content to be printed and the status parameters returned by the sensor when a print preview instruction is received; wherein, the status parameters include the real-time status of the printer and relevant parameters affecting the print preview;
[0041] A print preview page generation unit is used to perform print preprocessing on the content to be printed based on the status parameters and generate a print preview page;
[0042] The first display unit is used to display the print preview page so that the user can view the print result.
[0043] This invention also provides a print error preview device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the print preview method described above.
[0044] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the print preview method described above.
[0045] In the above embodiments, by performing preprocessing on the content to be printed based on the printer's real-time status and relevant parameters affecting the print preview, and displaying the generated print preview page, the real printing process can be simulated. The real-time status of the printer and the impact of relevant parameters affecting the print preview on the printing effect can be previewed. Based on the print preview page, it can be seen whether the expected printing effect can be obtained, so as to decide whether to further perform the printing operation, thereby improving the utilization rate of printing consumables. Attached Figure Description
[0046] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a flowchart illustrating a print preview method provided in the first embodiment of the present invention.
[0048] Figure 2 This is a preview page diagram of a preferred embodiment of the first embodiment of the present invention.
[0049] Figure 3 This is a preview page diagram of another preferred embodiment of the first embodiment of the present invention.
[0050] Figure 4 This is a preview page diagram of yet another preferred embodiment of the first embodiment of the present invention.
[0051] Figure 5 This is a schematic diagram of a print preview device provided in the second embodiment of the present invention.
[0052] Icons: 201 - Communication connection establishment unit; 202 - Data acquisition unit; 203 - Print preview page generation unit; 204 - First display unit. Detailed Implementation
[0053] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0054] To better understand the technical solution of the present invention, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0055] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0056] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0057] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0058] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0059] The terms "first" and "second" used in the embodiments are merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first" and "second" can be interchanged in a specific order or sequence where permissible. It should be understood that the objects distinguished by "first" and "second" can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein.
[0060] like Figure 1 As shown, the first embodiment of the present invention provides a print preview method, which can be executed by a print preview device, and includes at least the following steps:
[0061] S101 establishes a communication connection with the printer.
[0062] S102, when a print preview instruction is received, the content to be printed and the status parameters returned by the sensor are obtained; wherein, the status parameters include the real-time status of the printer and relevant parameters affecting the print preview.
[0063] In this embodiment, the print preview device can be a smart terminal device with a display interface, such as a mobile phone, tablet computer, laptop, or computer. It can establish a communication connection with the printer via wired or wireless means (e.g., Bluetooth, Wi-Fi, USB) to obtain status parameters transmitted from the sensor. The sensor can be built into the printer or originate from a device connected to the printer, such as a camera, scanning component, or the print preview device itself.
[0064] The real-time status of the printer refers to the actual working status of the printer, which may include consumable balance, printhead working status, printhead temperature, print queue workload, etc.
[0065] The parameters affecting print preview can be printer resolution, printable colors, print quality, paper color, paper damage, ribbon color, preview display brightness, etc. These can be the printer's own printing parameter configurations or parameters detected by sensors from related devices connected to the printer. They can affect the actual printing quality, and this invention does not impose any specific limitations.
[0066] In this embodiment, the print preview device is equipped with common office software such as Office, WPS, Adobe Reader, and iReader, which can preview the content to be printed.
[0067] S103, perform print preprocessing on the content to be printed based on the status parameters, and generate a print preview page.
[0068] Unlike typical print preview methods, in this embodiment, different printer status parameters correspond to different print preprocessing methods. Therefore, the print preview page generated after print preprocessing based on the status parameters can simulate the real printing effect, thereby predicting the impact of the status parameters returned by the sensor on the printing result, facilitating timely adjustments, and reducing the occurrence of printing errors.
[0069] S104, The print preview page is displayed so that the user can view the print result.
[0070] In this embodiment, displaying the print preview result on the print preview device's display interface facilitates the user's judgment on whether the print effect meets expectations. Therefore, when the print effect meets expectations, the content to be printed can be sent to the printer for printing; otherwise, the user can anticipate printer malfunctions based on the print effect and make necessary adjustments before printing.
[0071] In summary, by preprocessing the content to be printed based on the printer's real-time status and relevant parameters affecting the print preview, and then displaying the generated print preview page, the real printing process can be simulated. This allows for a preview of the printer's real-time status and the impact of relevant parameters on the print preview on the printing effect. Based on the print effect, a decision can be made on whether to proceed with the printing operation, thus improving the utilization rate of printing consumables.
[0072] Please see Figure 2 As shown, based on the above embodiments, in a preferred embodiment, the status parameter includes the remaining consumable quantity; then step 103 specifically includes:
[0073] Determine the required amount of consumables based on the content to be printed;
[0074] Determine whether the remaining amount of consumables is greater than the required amount of consumables;
[0075] If so, the content to be printed will be fully displayed on the print preview page;
[0076] If not, then a portion of the content to be printed will be displayed on the print preview page according to the ratio of the remaining consumables to the required consumables.
[0077] The consumables can be ribbons, toner, printing paper, etc., which are consumables in the printing process, and the remaining consumables will continuously decrease as printing continues.
[0078] In this embodiment, when the remaining consumables amount is greater than the required amount, it indicates that the consumables are sufficient and will not affect the printing effect. At this time, the complete content to be printed can be obtained. When the remaining consumables amount is less than the required amount, the consumables are insufficient to print the current content to be printed. The content to be printed needs to be partially displayed according to the ratio of the remaining consumables amount to the required amount. For example, when the ratio of the remaining consumables amount to the required amount is 1:2, half of the content to be printed is displayed on the print preview page.
[0079] Based on the above embodiments, in a preferred embodiment, the status parameter includes the current temperature of the printhead; then step 103 specifically includes:
[0080] Obtain the temperature range during normal printhead operation;
[0081] Determine whether the current temperature of the print head is within the temperature range;
[0082] If so, the content to be printed will be displayed at normal density on the print preview page;
[0083] If not, the concentration to be displayed is determined based on the difference between the current temperature and the temperature range, and the content to be printed is displayed on the print preview page at the concentration to be displayed.
[0084] In this embodiment, when the printhead temperature is too low or too high, unclear printing and poor quality are likely to occur.
[0085] When the current temperature of the printhead is outside the specified temperature range, it indicates that the printhead is either underheating or overheating. The concentration to be displayed needs to be determined based on the difference between the current temperature and the specified temperature range. Specifically, when the current temperature is greater than the maximum value of the specified temperature range, the concentration to be displayed is greater than the normal concentration, and the larger the difference between the two, the greater the concentration to be displayed. When the current temperature is less than the minimum value of the specified temperature range, the concentration to be displayed is less than the normal concentration, and the larger the difference between the two, the smaller the concentration to be displayed.
[0086] Please see Figure 3 Based on the above embodiments, in a preferred embodiment, the state parameter includes the working state of the heating point on the print head; then step 103 specifically includes:
[0087] Obtain the working status of each heating point on the print head;
[0088] Determine if any heating points are in a faulty state;
[0089] If so, retrieve the column corresponding to the heating point in the fault state, and render the corresponding column on the print preview page to generate a white line;
[0090] If not, the content to be printed will be displayed normally on the print preview page.
[0091] In this embodiment, when the heating point on the print head is in a faulty state (such as short circuit or malfunction), the corresponding column on the print preview page cannot be printed normally. It is necessary to render the column corresponding to the faulty heating point as a white line to obtain a realistic printing effect.
[0092] Based on the above embodiments, in a preferred embodiment, the status parameters include the paper damage status; then, based on the status parameters, the content to be printed is preprocessed for printing, and a print preview page is generated, specifically including:
[0093] Obtain a scanned image of the paper to be printed;
[0094] Determine whether the paper is damaged based on the scanned image;
[0095] If so, the missing parts in the scanned image will be displayed on the print preview page, and the content to be printed will be displayed according to the missing parts.
[0096] If not, the content to be printed will be displayed in full on the print preview page.
[0097] In this embodiment, the printer can be connected to a matching scanning component. The scanning component has a built-in sensor that can acquire a scanned image of the paper and transmit it back to the print preview device. When the print preview device determines that the paper is damaged, it can display the damaged area on the print preview page to approximate the actual printing effect.
[0098] Of course, in some other embodiments, the printer can be connected to a matching camera component, which can acquire the paper color and ribbon color, and display the corresponding paper background and font colors on the print preview page. In other embodiments, the printer can also be connected to the print preview device itself and acquire the status parameters of the print preview device, such as if the current phone brightness is low or the screen is from a different supplier, and adjust the original image according to the current brightness and supplier color rendering, so that the preview result presented on the print preview page is always as close as possible to the actual printing effect.
[0099] Based on the above embodiments, in a preferred embodiment, it further includes:
[0100] When it is determined that the print preview page is abnormal;
[0101] A printing error message is displayed on the print preview page.
[0102] In this embodiment, the printer's real-time status is constantly changing, and abnormal situations often occur, such as insufficient consumables, overheating of heating elements, malfunction, or nozzle blockage. These abnormalities will result in incomplete display, low density, white lines, and other issues on the print preview page. Corresponding printing error messages can be displayed on the print preview page to remind the user of these abnormalities.
[0103] Please see Figure 2 As shown, in one specific implementation, when the print page is not fully displayed, a corresponding print error message can be displayed on the print preview page: "Due to insufficient ribbon, the mask area cannot be printed."
[0104] Please see Figure 3 As shown, in another specific implementation, when white or black lines appear on the printed page, a corresponding printing error message can be displayed on the print preview page: "White / black line areas cannot be printed normally due to printhead damage."
[0105] It should be noted that when a printing error message appears on the print preview page, users can decide whether to continue printing based on the print quality: for example, if the print preview page displays a "low ribbon" error message, but there is no printout in the corresponding area, or the user finds it unacceptable, printing can continue. Similarly, if the print preview page displays a "black line" error message, but the printout in the corresponding area is minimal, or the impact on print quality is minor, printing can continue.
[0106] Please see Figure 4 In a preferred embodiment, based on the above embodiments, the method further includes:
[0107] Obtain the key information that needs to be displayed in a floating position;
[0108] A floating window containing the key information is generated based on the state parameters;
[0109] The floating window is displayed on the print preview page.
[0110] The key information may include one or more of the status parameters, which can be pre-defined and are not specifically limited in this invention.
[0111] For example, you can pre-set key information to be displayed in a floating manner, such as the printer's remaining battery power, printing progress, and consumables remaining, so that the printing status can be obtained in real time during the printing process.
[0112] In this embodiment, the print preview device can actively query the status parameters returned by the sensors in real time and display the pre-set key information on the print preview page in real time. This allows users to easily make timely adjustments to the print process based on the key information on the print preview page.
[0113] Please see Figure 5 The second embodiment of the present invention provides a print preview device, comprising:
[0114] The communication connection establishment unit 201 is used to establish a communication connection with the printer.
[0115] The data acquisition unit 202 is used to acquire the content to be printed and the status parameters returned by the sensor when a print preview instruction is received; wherein, the status parameters include the real-time status of the printer and relevant parameters affecting the print preview;
[0116] The print preview page generation unit 203 is used to perform print preprocessing on the content to be printed based on the status parameters and generate a print preview page;
[0117] The first display unit 204 is used to display the print preview page so that the user can view the print effect.
[0118] Preferably, the status parameter includes consumable balance; then the print preview page generation unit 203 specifically includes:
[0119] The consumable quantity acquisition module is used to determine the required consumable quantity based on the content to be printed;
[0120] The consumable quantity determination module is used to determine whether the remaining consumable quantity is greater than the required consumable quantity;
[0121] The first display module is used to fully display the content to be printed on the print preview page when the remaining consumables amount is greater than the required consumables amount.
[0122] The second display module is used to display part of the content to be printed on the print preview page according to the ratio of the remaining consumables to the required consumables when the remaining consumables are less than the required amount of consumables.
[0123] Preferably, the status parameter includes the current temperature of the print head; then the print preview page generation unit 203 specifically includes:
[0124] Temperature range acquisition module, used to acquire the temperature range when the printhead is working normally;
[0125] A temperature range determination module is used to determine whether the current temperature of the print head is within the temperature range.
[0126] The third display module is used to display the content to be printed at normal density on the print preview page when the current temperature of the print head is within the temperature range;
[0127] The fourth display module is used to determine the density to be displayed based on the difference between the current temperature and the temperature range when the current temperature of the print head is not within the temperature range, and to display the content to be printed on the print preview page at the density to be displayed.
[0128] Preferably, the status parameters include the working status of the heating points on the print head; then the print preview page generation unit 203 specifically includes:
[0129] The working status acquisition module is used to acquire the working status of each heating point on the print head;
[0130] The fault heating point detection module is used to determine whether there are any heating points in a faulty state.
[0131] The fifth display module is used to obtain the column corresponding to the heating point that is in a faulty state when there is a heating point in a faulty state, and render the corresponding column on the print preview page to generate a white line.
[0132] The sixth display module is used to display the content to be printed normally on the print preview page when there are no heating points in a faulty state.
[0133] Preferably, the status parameters include the paper damage status; then the print preview page generation unit 203 specifically includes:
[0134] The image acquisition unit is used to acquire a scanned image of the paper to be printed.
[0135] The defect determination unit is used to determine whether the paper is damaged based on the scanned image;
[0136] The seventh display module is used to display the missing part in the scanned image on the print preview page when there is a defect, and to display the content to be printed according to the missing part.
[0137] The eighth display module is used to display the content to be printed in its entirety on the print preview page when there are no defects.
[0138] Preferably, it further includes:
[0139] An anomaly detection unit is used to determine whether there is an anomaly in the print preview page;
[0140] An error message unit is used to display printing error message information on the print preview page.
[0141] Preferably, it further includes:
[0142] The key information acquisition unit is used to acquire key information that needs to be displayed in a floating manner.
[0143] A floating window generation unit is used to generate a floating window containing the key information based on the state parameters;
[0144] A floating window display unit is used to display the floating window on the print preview page.
[0145] The third embodiment of the present invention provides a print error preview device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the print preview method as described above.
[0146] The fourth embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the print preview method as described above.
[0147] Exemplarily, the computer program of the present invention can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the implementation device. For example, the apparatus described in the second embodiment of the present invention.
[0148] The processor referred to can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the printing method, connecting all parts of the document printing method through various interfaces and lines.
[0149] The memory can be used to store the computer program and / or modules. The processor implements various functions of the printing method by running or executing the computer program and / or modules stored in the memory and by calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, text conversion function, etc.), etc.; the data storage area may store data created according to the use of the user terminal (such as audio data, text message data, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0150] If the module implementing the user terminal is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0151] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0152] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A print preview method, applied to a print preview device, characterized in that, Includes the following steps: Establish a communication connection with the printer; When a print preview instruction is received, the content to be printed and the status parameters returned by the sensor are obtained; wherein, the status parameters include the real-time status of the printer and relevant parameters that affect the print preview; Based on the status parameters, the content to be printed is preprocessed for printing, and a print preview page is generated; wherein, the status parameters include the working status of the heating points on the print head; specifically, it includes: obtaining the working status of each heating point on the print head; determining whether there is a heating point in a faulty state; if so, obtaining the column corresponding to the heating point in a faulty state, and rendering the corresponding column of the print preview page into a white line; if not, displaying the content to be printed normally on the print preview page; The print preview page is displayed so that users can view the printing effect. The printer connects to the print preview device itself and obtains the status parameters of the print preview device, including the brightness of the print preview device or the screen supplier. The original image is adjusted according to the current brightness and the supplier's color rendering so that the preview result presented on the print preview page is close to the actual printing effect.
2. The print preview method according to claim 1, characterized in that, The status parameters include the remaining consumables; based on the status parameters, the content to be printed is preprocessed for printing, and a print preview page is generated, specifically including: Determine the required amount of consumables based on the content to be printed; Determine whether the remaining amount of consumables is greater than the required amount of consumables; If so, the content to be printed will be fully displayed on the print preview page; If not, a portion of the content to be printed will be displayed on the print preview page according to the ratio of the remaining consumables to the required consumables.
3. The print preview method according to claim 1, characterized in that, The status parameters include the current temperature of the print head; based on the status parameters, preprocessing is performed on the content to be printed, and a print preview page is generated, specifically including: Obtain the temperature range during normal printhead operation; Determine whether the current temperature of the print head is within the temperature range; If so, the content to be printed will be displayed at normal density on the print preview page; If not, the concentration to be displayed is determined based on the difference between the current temperature and the temperature range, and the content to be printed is displayed on the print preview page at the concentration to be displayed.
4. The print preview method according to claim 1, characterized in that, The status parameters include the paper's damage condition; based on the status parameters, the content to be printed is preprocessed for printing, and a print preview page is generated, specifically including: Obtain a scanned image of the paper to be printed; Determine whether the paper is damaged based on the scanned image; If so, the missing parts in the scanned image are displayed on the print preview page, and the content to be printed is displayed according to the missing parts; If not, the content to be printed will be fully displayed on the print preview page.
5. The print preview method according to claim 1, characterized in that, Also includes: When an error is detected in the print preview page, a print error message is displayed on the print preview page.
6. The print preview method according to claim 1, characterized in that, Also includes: Obtain the key information that needs to be displayed in a floating position; A floating window containing the key information is generated based on the state parameters; The floating window is displayed on the print preview page.
7. A print preview device, applied to a print preview equipment, characterized in that, include: A communication connection establishment unit is used to establish a communication connection with the printer; The data acquisition unit is used to acquire the content to be printed and the status parameters returned by the sensor when a print preview instruction is received; wherein, the status parameters include the real-time status of the printer and relevant parameters affecting the print preview; A print preview page generation unit is used to perform print preprocessing on the content to be printed based on the status parameters and generate a print preview page; wherein, the status parameters include the working status of the heating points on the print head; the print preview page generation unit is specifically used to: obtain the working status of each heating point on the print head; determine whether there is a heating point in a faulty state; if so, obtain the column corresponding to the heating point in a faulty state and render the corresponding column of the print preview page as a white line; if not, display the content to be printed normally on the print preview page. The first display unit is used to display the print preview page for users to view the printing effect; wherein, the printer is connected to the print preview device itself and obtains the status parameters of the print preview device, including the brightness of the print preview device or the screen supplier, and adjusts the original image according to the current brightness and supplier color rendering, so that the preview result presented on the print preview page is close to the real printing effect.
8. A print error preview device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the print preview method as described in any one of claims 1-7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the print preview method according to any one of claims 1-7.
Citation Information
Patent Citations
Print system and information processing device
CN104070828A
Image display method and device
CN108153499A
Image forming apparatus, and program for print setting
JP2009031921A
Consumable availability with print preview
US20040066525A1