Method and system for previewing printing data of printer by Android device

By building a printing interaction space, collecting printer data and defining virtual paper format, the problem of insufficient accuracy in preview pictures in the interaction between Android devices and printers is solved, and the accurate display and scene integration of virtual paper is achieved.

CN119002842AActive Publication Date: 2024-11-22ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411463978.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2024-11-22
Estimated Expiration
2044-10-21

AI Technical Summary

Technical Problem

When existing Android devices interact with the printer, they cannot fully integrate the printer's virtual paper scenes and application scenarios, resulting in insufficient accuracy and rationality of previewing pictures.

Method used

By building a printing interactive space, collecting printer print data and format information, defining the format and content area of ​​virtual paper, and multi-dimensional control based on the format of virtual paper, ensuring the accuracy of format and content area, and realizing the overall virtual paper The content is presented in pictures.

Benefits of technology

It realizes the accurate and reasonable display of virtual paper, fully integrates the application scenarios of Android devices and the printing scenarios of printers, and ensures the accuracy and rationality of preview pictures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002842A_ABST
    Figure CN119002842A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for previewing printing data of a printer by an Android device, and the method comprises the steps: defining the format of virtual paper according to the printing data, a previous printing record and the model of the printer in a printing interaction space; and defining a format area and a content area in the virtual paper according to the format of the virtual paper, the capacity of the printing data and the analysis content of the printing data. Furthermore, the overall content of the virtual paper is constructed based on the second layer of content and the first layer of content, and the preview picture presented by the Android device is constructed based on the overall content of the virtual paper and the picture mode, so that the overall application of the overall content of the virtual paper and the picture mode is ensured; the overall content of the virtual paper is presented in the form of the picture, the application scene of the Android device and the printing scene of the printer are fully integrated, and the accuracy and rationality of the preview picture are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of previewing content of an Android device, and in particular to a method and system for previewing print data of a printer by an Android device. Background Art

[0002] With the development of science and technology, Android devices are applied to people's lives, and Android devices interact dynamically with printers. In the prior art, the printer prints printing consumables, and the Android device outputs the corresponding printing data to the printer. At the same time, the Android device previews based on the printing data and presents the corresponding preview picture. However, the preview picture is presented along the preset picture frame, and is not compatible with the virtual paper stored in the printer. It is impossible to fully integrate the application scenarios of the Android device and the printing scenarios of the printer, and the accuracy of the preview picture cannot be guaranteed. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a method and system for previewing the print data of a printer by an Android device, associates the Android device and the printer, and constructs a print interaction space according to the association path between the Android device and the printer; in the print interaction space, the print data received by the printer is collected, the corresponding format information is matched according to the print data received by the printer and the model of the printer, and the previous print records are filtered according to the format information; the format of the virtual paper is defined according to the print data, the previous print records and the model of the printer, and the format area and the content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, so as to perform multi-dimensional control based on the format of the virtual paper, the capacity of the print data and the parsed content of the print data, and accurately control the format area and the content area in the virtual paper to ensure the accuracy of the format area and the content area.

[0004] Furthermore, the preview instructions of the Android device are collected, and the format data is defined according to the analysis of the preview instructions of the Android device; the format content is defined according to the matching of the format data and the print data; the first layer of content presented by the virtual paper is defined based on the format content and the format area; the preview instructions of the Android device are collected, and the data to be previewed is defined according to the analysis of the preview instructions of the Android device; the content to be previewed is defined according to the matching of the data to be previewed and the print data; the second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area; the overall content of the virtual paper is constructed based on the second layer content and the first layer content, and the preview picture presented by the Android device is constructed based on the overall content of the virtual paper and the picture method, thereby ensuring the overall content of the virtual paper and the overall application of the picture method, realizing the overall content of the virtual paper to be presented in the form of a picture, fully integrating the application scenario of the Android device and the printing scenario of the printer, and ensuring the accuracy and rationality of the preview picture.

[0005] The embodiment of the present invention provides a method for previewing print data of a printer by an Android device, which is applied to a scenario in which an Android device previews print data of a printer; The method for previewing the print data of the printer by the Android device includes: Associating the Android device and the printer, and building a printing interaction space according to the association path between the Android device and the printer; In the printing interaction space, the printing data received by the printer is collected, the corresponding format information is matched according to the printing data received by the printer and the printer model, and the previous printing records are filtered according to the format information; The format of the virtual paper is defined according to the print data, the previous print records and the model of the printer, and the format area and the content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data; Collecting preview instructions of the Android device, and defining format data according to the analysis of the preview instructions of the Android device; defining format content according to the matching of the format data and the print data; and defining the first layer of content presented by the virtual paper based on the format content and the format area; Collecting preview instructions of the Android device, and defining the data to be previewed according to the analysis of the preview instructions of the Android device; defining the content to be previewed according to the matching of the data to be previewed and the print data; and defining the second layer of content presented by the virtual paper based on the content to be previewed and the content area; The overall content of the virtual paper is constructed based on the second-layer content and the first-layer content, and the preview image presented by the Android device is constructed based on the overall content of the virtual paper and the image method. At the same time, the overall content of the virtual paper and the remaining paper of the printer are associated, and the print list of the printer is defined. The printing status of the overall content of the virtual paper is presented based on the print list of the printer.

[0006] Optionally, associating the Android device and the printer, and constructing a print interaction space according to an association path between the Android device and the printer, includes: Locate the Android device and the printer, and collect the dynamic distance between the Android device and the printer; Define distance levels based on the dynamic distance between the Android device and the printer; The association mode is defined according to the distance level, the model of the Android device and the model of the printer. At this time, the association mode is adjusted according to the dynamic distance and the dynamic adjustment of the distance level; An association path is constructed based on the association mode, the response signal of the Android device and the response signal of the printer. A print interaction space is constructed based on the association path, the model of the Android device and the model definition of the printer. At this time, the print interaction space is dedicated to the printing stage of the Android device and the printer, and includes multiple printing data and status control logic.

[0007] Optionally, in the printing interaction space, collecting the printing data received by the printer, matching the corresponding format information according to the printing data received by the printer and the model of the printer, and filtering the previous printing records according to the format information, including: In the printing interaction space, the printing data received by the printer is collected; Associating the print data received by the printer with the model of the printer; Defining format information matched by the print data according to the print data received by the printer and the model of the printer; Building a corresponding format set based on multiple format information; A print record space is defined based on a primary match between a format set and a library stored in the printer, and past print records are screened based on a high-level match between the print record space and the format set.

[0008] Optionally, defining the format of the virtual paper according to the print data, previous print records and the model of the printer, and defining the format area and the content area in the virtual paper according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, includes: Freeze previous printing records; Associating the previous printing records and the printing data, and defining the first format parameter according to the previous printing records and the printing data; Associating the previous printing records with the printer model, and defining the second format parameter according to the previous printing records and the printer model; defining a format of the virtual paper based on the second format parameter, the first format parameter, and the virtual paper matching table; Associating the format of virtual paper, the capacity of print data and the parsed content of print data; A format part is defined according to the format of the virtual paper, the capacity of the print data, and the parsed content of the print data, and a format area in the virtual paper is defined according to the format part and the virtual paper. At the same time, a content part is defined according to the format of the virtual paper, the capacity of the print data, and the parsed content of the print data, and a content area in the virtual paper is defined according to the content part and the virtual paper, and the format area and the content area in the virtual paper are fixed.

[0009] Optionally, the collecting of preview instructions of the Android device and defining format data according to the analysis of the preview instructions of the Android device; defining format content according to the matching of the format data and the print data; and defining the first layer of content presented by the virtual paper based on the format content and the format area include: Monitor the dynamic interaction between the Android device and the printer in real time, and collect the preview instructions of the Android device during the dynamic interaction between the Android device and the printer; Freeze the preview instruction of the Android device and trigger the parsing of the preview instruction of the Android device; Defining format data based on the analysis of preview instructions of the Android device; Associating format data and print data, and dynamically matching the format data and print data; Defining format contents based on matching of format data and print data; The first layer of content presented by the virtual paper is defined based on the format content and the format area. At this time, the first layer of content serves as the bottom layer of the virtual paper, and is positioned and configured for the format area of ​​the virtual paper, and is dynamically adapted based on the first layer of content and the format area.

[0010] Optionally, the collecting of preview instructions of the Android device, and defining the data to be previewed according to the analysis of the preview instructions of the Android device; defining the content to be previewed according to the matching of the data to be previewed and the print data; and defining the second layer of content presented by the virtual paper based on the content to be previewed and the content area include: Monitor the dynamic interaction between the Android device and the printer in real time, and collect the preview instructions of the Android device during the dynamic interaction between the Android device and the printer; Freeze the preview instruction of the Android device and trigger the parsing of the preview instruction of the Android device; The data to be previewed is defined according to the analysis of the preview instruction of the Android device.

[0011] Optionally, the method of collecting preview instructions of an Android device, defining data to be previewed according to the analysis of the preview instructions of the Android device; defining content to be previewed according to the matching of the data to be previewed and the print data; and defining the second layer of content presented by the virtual paper based on the content to be previewed and the content area, further includes: Associating the data to be previewed and the data to be printed, and dynamically matching the data to be previewed and the data to be printed; Defining the content to be previewed according to the matching between the data to be previewed and the print data; The second layer content presented by the virtual paper is defined based on the content to be previewed and the format area. At this time, the second layer content is used as the upper layer content of the virtual paper, and is positioned and configured for the content area of ​​the virtual paper, and dynamically adapted based on the second layer content and the content area.

[0012] Optionally, constructing the overall content of the virtual paper based on the second layer content and the first layer content, and constructing a preview image presented by the Android device based on the overall content of the virtual paper and the image mode, and at the same time, associating the overall content of the virtual paper with the remaining paper of the printer, and defining a print list of the printer, and presenting the printing status of the overall content of the virtual paper based on the print list of the printer, includes: Freeze the second-layer content and the first-layer content, and dynamically combine the second-layer content and the first-layer content; Constructing the overall content of the virtual paper based on the dynamic combination of the second layer content and the first layer content; Collect the model of the Android device and the model of the printer, and define the image format according to the printer status, the model of the Android device and the model of the printer; The overall content and the image mode of the virtual paper are associated, and a preview image presented by the Android device is constructed based on the overall content and the image mode of the virtual paper. At this time, the overall content of the virtual paper is adapted to the virtual paper along the logic of the image mode, and the position of the overall content and the position of the virtual paper are controlled to perform autonomous matching based on the overall content and the image mode of the virtual paper.

[0013] Optionally, the overall content of the virtual paper is constructed based on the second layer content and the first layer content, and a preview image presented by the Android device is constructed based on the overall content of the virtual paper and the image mode, and at the same time, the overall content of the virtual paper and the remaining paper of the printer are associated, and a print list of the printer is defined, and the printing status of the overall content of the virtual paper is presented based on the print list of the printer, and further includes: Collect the overall content of the virtual paper and the remaining paper in the printer; The printer's print list is defined based on the overall content of the virtual paper and the remaining paper of the printer, the printing status of the overall content of the virtual paper is presented based on the printer's print list, and the unprinted content in the overall content of the virtual paper is marked based on the printer's print list.

[0014] In addition, an embodiment of the present invention further provides a preview system for print data of a printer by an Android device, and the preview system for print data of a printer by an Android device comprises: An association module, used to associate an Android device with a printer, and to construct a printing interaction space according to an association path between the Android device and the printer; A screening module, used for collecting the printing data received by the printer in the printing interaction space, matching the corresponding format information according to the printing data received by the printer and the model of the printer, and screening the previous printing records according to the format information; The area module is used to define the format of the virtual paper according to the printing data, the previous printing records and the model of the printer, and to define the format area and the content area in the virtual paper according to the format of the virtual paper, the capacity of the printing data and the parsed content of the printing data; The first layer content module is used to collect preview instructions of the Android device and define format data according to the analysis of the preview instructions of the Android device; define format content according to the matching of the format data and the print data; and define the first layer content presented by the virtual paper based on the format content and the format area; The second layer content module is used to collect preview instructions of the Android device and define the data to be previewed according to the analysis of the preview instructions of the Android device; define the content to be previewed according to the matching of the data to be previewed and the print data; and define the second layer content presented by the virtual paper based on the content to be previewed and the content area; The preview module is used to construct the overall content of the virtual paper based on the second-layer content and the first-layer content, and to construct a preview image presented by the Android device based on the overall content of the virtual paper and the image method. At the same time, the overall content of the virtual paper and the remaining paper of the printer are associated, and the print list of the printer is defined, and the printing status of the overall content of the virtual paper is presented based on the print list of the printer.

[0015] In an embodiment of the present invention, through the method in the embodiment of the present invention, an Android device and a printer are associated, and a printing interaction space is constructed according to the association path between the Android device and the printer; in the printing interaction space, the print data received by the printer is collected, the corresponding format information is matched according to the print data received by the printer and the model of the printer, and the previous printing records are filtered according to the format information; the format of the virtual paper is defined according to the print data, previous printing records and the model of the printer, and the format area and content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, so as to perform multi-dimensional control based on the format of the virtual paper, the capacity of the print data and the parsed content of the print data, and accurately control the format area and content area in the virtual paper, so as to ensure the accuracy of the format area and the content area.

[0016] Furthermore, the preview instructions of the Android device are collected, and the format data is defined according to the analysis of the preview instructions of the Android device; the format content is defined according to the matching of the format data and the print data; the first layer of content presented by the virtual paper is defined based on the format content and the format area; the preview instructions of the Android device are collected, and the data to be previewed is defined according to the analysis of the preview instructions of the Android device; the content to be previewed is defined according to the matching of the data to be previewed and the print data; the second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area; the overall content of the virtual paper is constructed based on the second layer content and the first layer content, and the preview picture presented by the Android device is constructed based on the overall content of the virtual paper and the picture method, thereby ensuring the overall content of the virtual paper and the overall application of the picture method, realizing the overall content of the virtual paper to be presented in the form of a picture, fully integrating the application scenario of the Android device and the printing scenario of the printer, and ensuring the accuracy and rationality of the preview picture. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 is a flowchart of a method for previewing print data of a printer using an Android device in an embodiment of the present invention; Figure 2 is a flowchart of S11 in the method for previewing print data of a printer by an Android device in an embodiment of the present invention; Figure 3is a flowchart of S12 in the method for previewing print data of a printer by an Android device in an embodiment of the present invention; Figure 4 is a flowchart of S13 in the method for previewing print data of a printer by an Android device in an embodiment of the present invention; Figure 5 is a flowchart of S14 in the method for previewing print data of a printer by an Android device in an embodiment of the present invention; Figure 6 is a flowchart of S15 in the method for previewing print data of a printer by an Android device in an embodiment of the present invention; Figure 7 is a flowchart of S16 in the method for previewing print data of a printer by an Android device in an embodiment of the present invention; Figure 8 It is a schematic diagram of the structure of a preview system for print data of a printer by an Android device in an embodiment of the present invention; Fig. 9 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] See also Figures 1 to 9 A method for previewing print data of a printer by an Android device is applied to a preview scenario of print data of a printer by an Android device; the method for previewing print data of a printer by an Android device comprises: Step S11: Associating the Android device and the printer, and constructing a printing interaction space according to the association path between the Android device and the printer; Step S12: In the printing interaction space, the printing data received by the printer is collected, corresponding format information is matched according to the printing data received by the printer and the model of the printer, and previous printing records are filtered according to the format information; Step S13: defining the format of the virtual paper according to the print data, the previous print records and the model of the printer, and defining the format area and the content area in the virtual paper according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data; Step S14: collecting the preview instruction of the Android device, and defining the format data according to the analysis of the preview instruction of the Android device; defining the format content according to the matching of the format data and the print data; and defining the first layer content presented by the virtual paper based on the format content and the format area; Step S15: collecting preview instructions of the Android device, and defining the data to be previewed according to the analysis of the preview instructions of the Android device; defining the content to be previewed according to the matching of the data to be previewed and the print data; and defining the second layer of content presented by the virtual paper based on the content to be previewed and the content area; Step S16: construct the overall content of the virtual paper based on the second layer content and the first layer content, and construct a preview image presented by the Android device based on the overall content of the virtual paper and the image method. At the same time, associate the overall content of the virtual paper with the remaining paper of the printer, define the print list of the printer, and present the printing status of the overall content of the virtual paper based on the print list of the printer.

[0021] In an embodiment of the present invention, through the method in the embodiment of the present invention, an Android device and a printer are associated, and a printing interaction space is constructed according to the association path between the Android device and the printer; in the printing interaction space, the print data received by the printer is collected, the corresponding format information is matched according to the print data received by the printer and the model of the printer, and the previous printing records are filtered according to the format information; the format of the virtual paper is defined according to the print data, previous printing records and the model of the printer, and the format area and content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, so as to perform multi-dimensional control based on the format of the virtual paper, the capacity of the print data and the parsed content of the print data, and accurately control the format area and content area in the virtual paper, so as to ensure the accuracy of the format area and the content area.

[0022] Furthermore, the preview instructions of the Android device are collected, and the format data is defined according to the analysis of the preview instructions of the Android device; the format content is defined according to the matching of the format data and the print data; the first layer of content presented by the virtual paper is defined based on the format content and the format area; the preview instructions of the Android device are collected, and the data to be previewed is defined according to the analysis of the preview instructions of the Android device; the content to be previewed is defined according to the matching of the data to be previewed and the print data; the second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area; the overall content of the virtual paper is constructed based on the second layer content and the first layer content, and the preview picture presented by the Android device is constructed based on the overall content of the virtual paper and the picture method, thereby ensuring the overall content of the virtual paper and the overall application of the picture method, realizing the overall content of the virtual paper to be presented in the form of a picture, fully integrating the application scenario of the Android device and the printing scenario of the printer, and ensuring the accuracy and rationality of the preview picture.

[0023] refer to Figure 2 , in step S11, the Android device and the printer are associated, and a printing interaction space is constructed according to the association path between the Android device and the printer; In the specific implementation process of the present invention, the specific steps may be: S111: locating the Android device and the printer, and collecting a dynamic distance between the Android device and the printer; S112: defining a distance level according to a dynamic distance between the Android device and the printer; S113: defining an association mode according to the distance level, the model of the Android device and the model of the printer, wherein the association mode is adjusted according to the dynamic distance and the dynamic adjustment of the distance level; S114: constructing an association path based on the association mode, the response signal of the Android device, and the response signal of the printer; S115: Constructing a printing interaction space based on the association path, the model of the Android device and the model definition of the printer. At this time, the printing interaction space is dedicated to the printing stage of the Android device and the printer, and includes a plurality of printing data and state control logic.

[0024] In an embodiment of the present application, the Android device and the printer are located, and the dynamic distance between the Android device and the printer is collected, so as to dynamically control the distance between the Android device and the printer, thereby clarifying the dynamic distance between the Android device and the printer in real time, so as to define the distance level according to the dynamic distance between the Android device and the printer, introduce the corresponding distance level, and ensure further processing of the distance level.

[0025] At the same time, the association mode is defined according to the distance level, the model of the Android device and the model of the printer. At this time, the association mode is adjusted with the dynamic distance and the dynamic regulation of the distance level, so as to match the corresponding association mode through different distance levels, thereby ensuring the association effect of the association mode on the Android device and the printer. The multi-dimensional control of the distance level, the model of the Android device and the model of the printer is introduced to ensure the accuracy of the association mode.

[0026] Therefore, an association path is constructed based on the association mode, the response signal of the Android device and the response signal of the printer, and the signal is controlled through the association mode, the response signal of the Android device and the response signal of the printer, so as to realize multi-dimensional processing of the signal based on the association mode, the response signal of the Android device and the response signal of the printer, realize the construction of the association path, and ensure the response of the Android device and the printer.

[0027] Furthermore, a print interaction space is defined based on the associated path, the model of the Android device and the model of the printer. At this time, the print interaction space is dedicated to the printing stage of the Android device and the printer, and contains multiple print data and status control logic, thereby realizing the construction of the print interaction space, so as to facilitate the corresponding print interaction space as the associated path is extended, and is compatible with the model of the Android device and the model of the printer, thereby realizing efficient association between the Android device and the printer.

[0028] refer to Figure 3 , in step S12, in the printing interaction space, the printing data received by the printer is collected, the corresponding format information is matched according to the printing data received by the printer and the model of the printer, and the previous printing records are filtered according to the format information; In the specific implementation process of the present invention, the specific steps may be: S121: In the printing interaction space, collecting printing data received by the printer; S122: Associating the print data received by the printer with the printer model; S123: defining format information matched by the print data according to the print data received by the printer and the model of the printer; S124: constructing a corresponding format set based on the multiple format information; S125: Define a print record space based on a primary match between the format set and a database stored in the printer, and filter past print records based on a high-level match between the print record space and the format set.

[0029] In an embodiment of the present application, in the printing interaction space, the print data received by the printer is collected and introduced, and further control of the print data received by the printer is achieved. At the same time, control is performed on the print data received by the printer and the model of the printer to facilitate the association of the print data received by the printer and the model of the printer, and multi-dimensional consideration is performed on the print data received by the printer and the model of the printer.

[0030] At this time, the format information matching the print data is defined according to the print data received by the printer and the model of the printer, so as to introduce the format information matching the print data, further control the format information, and ensure multi-dimensional control of the print data received by the printer and the model of the printer.

[0031] Furthermore, a corresponding format set is constructed based on multiple format information to facilitate the introduction of the format set, associate the format set with the database stored in the printer, define the print record space based on the primary matching of the format set and the database stored in the printer, and filter previous print records based on the advanced matching of the print record space and the format set, introduce previous print records, and make consideration of previous print records compatible, thereby realizing further processing of previous print records.

[0032] refer to Figure 4 In step S13, the format of the virtual paper is defined according to the print data, the previous print records and the model of the printer, and the format area and the content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data; In the specific implementation process of the present invention, the specific steps may be: S131: freeze the previous printing record; S132: Associating the previous printing records and the printing data, and defining the first format parameter according to the previous printing records and the printing data; S133: Associating the previous printing records with the printer model, and defining the second format parameter according to the previous printing records and the printer model; S134: defining a format of the virtual paper based on the second format parameter, the first format parameter and the virtual paper matching table; S135: Associating the format of the virtual paper, the capacity of the print data, and the parsed content of the print data; S136: defining a format part according to the format of the virtual paper, the capacity of the print data, and the parsed content of the print data, and defining a format area in the virtual paper according to the format part and the virtual paper; at the same time, defining a content part according to the format of the virtual paper, the capacity of the print data, and the parsed content of the print data, and defining a content area in the virtual paper according to the content part and the virtual paper, and freezing the format area and the content area in the virtual paper.

[0033] In an embodiment of the present application, an Android device and a printer are associated, and a print interaction space is constructed according to the association path between the Android device and the printer; in the print interaction space, print data received by the printer is collected, corresponding format information is matched according to the print data received by the printer and the model of the printer, and previous print records are filtered according to the format information; the format of the virtual paper is defined according to the print data, previous print records and the model of the printer, and the format area and content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, so as to perform multi-dimensional control based on the format of the virtual paper, the capacity of the print data and the parsed content of the print data, and perform precise control on the format area and content area in the virtual paper to ensure the accuracy of the format area and the content area.

[0034] At this time, freeze the previous printing records, control the previous printing records and printing data, associate the previous printing records and printing data, define the first format parameters according to the previous printing records and printing data, and perform multi-dimensional control based on the previous printing records and printing data to introduce the first format parameters and ensure the accuracy of the first format parameters.

[0035] Furthermore, by associating previous printing records and printer models, and defining second format parameters based on previous printing records and printer models, multi-dimensional control of previous printing records and printer models is achieved, and overall consideration of previous printing records and printer models is compatible, thereby ensuring the accuracy of the second format parameters. At this time, the second format parameters and the first format parameters are controlled based on different dimensions, thereby achieving further processing of the second format parameters and the first format parameters.

[0036] Therefore, the format of the virtual paper is defined based on the second format parameter, the first format parameter and the virtual paper matching table, and the second format parameter, the first format parameter and the virtual paper matching table are matched, so as to introduce the format of the virtual paper, clarify the format of the virtual paper, and further control the virtual paper.

[0037] Furthermore, the format of the virtual paper, the capacity of the print data and the parsed content of the print data are associated, so that the format part is defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, and the format area in the virtual paper is defined according to the format part and the virtual paper, and the format area in the virtual paper is further controlled to ensure deep interaction between the format part and the virtual paper.

[0038] At the same time, the content part is defined according to the format of the virtual paper, the capacity of the printing data and the parsed content of the printing data, and the content area in the virtual paper is defined according to the content part and the virtual paper, and the content area in the virtual paper is introduced to ensure the accuracy of the content area in the virtual paper. Furthermore, the format area and the content area in the virtual paper are frozen, and the corresponding virtual paper is presented through the format area and the content area, so as to facilitate further processing of the format area and the content area.

[0039] refer to Figure 5 , S14: collecting preview instructions of the Android device, and defining format data according to the analysis of the preview instructions of the Android device; defining format content according to the matching of the format data and the print data; defining the first layer of content presented by the virtual paper based on the format content and the format area; In the specific implementation process of the present invention, the specific steps may be: S141: monitoring the dynamic interaction between the Android device and the printer in real time, and collecting preview instructions of the Android device in the dynamic interaction between the Android device and the printer; S142: Freeze the preview instruction of the Android device, and trigger parsing of the preview instruction of the Android device; S143: defining format data according to the analysis of the preview instruction of the Android device; S144: Associating the format data with the print data, and dynamically matching the format data with the print data; S145: defining format content according to the matching of the format data and the print data; S146: defining the first layer of content presented by the virtual paper based on the format content and the format area. At this time, the first layer of content is used as the bottom layer of the virtual paper, and is positioned and configured for the format area of ​​the virtual paper, and is dynamically adapted based on the first layer of content and the format area.

[0040] In an embodiment of the present application, the dynamic interaction between the Android device and the printer is monitored in real time, and the preview instructions of the Android device are collected during the dynamic interaction between the Android device and the printer, the preview instructions of the Android device are introduced, and the preview instructions of the Android device are further processed.

[0041] At this time, the preview instruction of the Android device is frozen, and the parsing of the preview instruction of the Android device is triggered, so as to parse the preview instruction of the Android device, thereby defining format data according to the parsing of the preview instruction of the Android device, and realizing the introduction of format data, so as to facilitate further processing of the format data.

[0042] Therefore, the format data and the print data are associated, dynamically matched, and controlled, so that the format content is defined according to the matching of the format data and the print data, the format content is introduced, the control of the format content is achieved, and the accuracy of the format content is guaranteed.

[0043] Furthermore, the first layer of content presented by the virtual paper is defined based on the format content and the format area. At this time, the first layer of content serves as the underlying content of the virtual paper, and is positioned and configured for the format area of ​​the virtual paper. Dynamic adaptation is performed based on the first layer of content and the format area to facilitate the writing of the first layer of content to the format area, thereby ensuring accurate filling of the content of the format area.

[0044] refer to Figure 6 , S15: collecting preview instructions of the Android device, and defining the data to be previewed according to the analysis of the preview instructions of the Android device; defining the content to be previewed according to the matching of the data to be previewed and the print data; defining the second layer of content presented by the virtual paper based on the content to be previewed and the content area; In the specific implementation process of the present invention, the specific steps may be: S151: monitoring the dynamic interaction between the Android device and the printer in real time, and collecting preview instructions of the Android device in the dynamic interaction between the Android device and the printer; S152: Freeze the preview instruction of the Android device, and trigger parsing of the preview instruction of the Android device; S153: defining data to be previewed according to the analysis of the preview instruction of the Android device; S154: Associating the data to be previewed and the print data, and dynamically matching the data to be previewed and the print data; S155: defining the content to be previewed according to the matching between the data to be previewed and the print data; S156: defining the second layer content presented by the virtual paper based on the content to be previewed and the format area. At this time, the second layer content is used as the upper layer content of the virtual paper, and the positioning configuration is performed for the content area of ​​the virtual paper. Dynamic adaptation is performed based on the second layer content and the content area. In an embodiment of the present application, the dynamic interaction between the Android device and the printer is monitored in real time, and the preview instructions of the Android device are collected during the dynamic interaction between the Android device and the printer, so as to introduce the preview instructions of the Android device and further control the preview instructions of the Android device.

[0045] At this time, the preview instruction of the Android device is frozen, and the parsing of the preview instruction of the Android device is triggered, so as to define the data to be previewed according to the parsing of the preview instruction of the Android device, thereby introducing the data to be previewed and realizing further processing of the data to be previewed.

[0046] Therefore, the data to be previewed and the print data are associated, and the data to be previewed and the print data are dynamically matched, so as to realize overall control of the data to be previewed and the print data, and realize dynamic matching of the data to be previewed and the print data.

[0047] Furthermore, the content to be previewed is defined based on the matching of the data to be previewed and the print data, and the second-layer content presented by the virtual paper is defined based on the content to be previewed and the format area. At this time, the second-layer content serves as the upper-layer content of the virtual paper, and is positioned and configured for the content area of ​​the virtual paper. Dynamic adaptation is performed based on the second-layer content and the content area, so as to facilitate the writing of the second-layer content to the content area, thereby ensuring the accurate filling of the content of the content area.

[0048] refer to Figure 7 , S16: constructing the overall content of the virtual paper based on the second layer content and the first layer content, and constructing a preview image presented by the Android device based on the overall content of the virtual paper and the image mode, and at the same time, associating the overall content of the virtual paper and the remaining paper of the printer, and defining the print list of the printer, and presenting the printing status of the overall content of the virtual paper based on the print list of the printer; In the specific implementation process of the present invention, the specific steps may be: S161: freeze the second layer content and the first layer content, and dynamically combine the second layer content and the first layer content; S162: constructing the overall content of the virtual paper based on the dynamic combination of the second layer content and the first layer content; S163: collecting the model of the Android device and the model of the printer, and defining the image format according to the state of the printer, the model of the Android device and the model of the printer; S164: associating the overall content and the image mode of the virtual paper, and constructing a preview image presented by the Android device based on the overall content and the image mode of the virtual paper. At this time, the overall content of the virtual paper is adapted to the virtual paper according to the logic of the image mode, and the position of the overall content and the position of the virtual paper are controlled to perform autonomous matching based on the overall content and the image mode of the virtual paper. S165: Collecting the overall content of the virtual paper and the remaining paper of the printer; defining a print list of the printer based on the overall content of the virtual paper and the remaining paper of the printer, presenting the printing status of the overall content of the virtual paper based on the print list of the printer, and marking the unprinted content in the overall content of the virtual paper based on the print list of the printer.

[0049] In the specific implementation process of the present invention, the preview instruction of the Android device is collected, and the format data is defined according to the analysis of the preview instruction of the Android device; the format content is defined according to the matching of the format data and the print data; the first layer of content presented by the virtual paper is defined based on the format content and the format area; the preview instruction of the Android device is collected, and the data to be previewed is defined according to the analysis of the preview instruction of the Android device; the content to be previewed is defined according to the matching of the data to be previewed and the print data; the second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area; the overall content of the virtual paper is constructed based on the second layer content and the first layer content, and the preview picture presented by the Android device is constructed based on the overall content of the virtual paper and the picture method, which ensures the overall content of the virtual paper and the overall application of the picture method, realizes the overall content of the virtual paper to be presented in the form of a picture, fully integrates the application scenario of the Android device and the printing scenario of the printer, and ensures the accuracy and rationality of the preview picture.

[0050] At this time, the second layer content and the first layer content are frozen, and the second layer content and the first layer content are dynamically combined, thereby ensuring the overall consideration of the second layer content and the first layer content, and then constructing the overall content of the virtual paper based on the dynamic combination of the second layer content and the first layer content, introducing the overall content of the virtual paper, and ensuring the dynamic combination of the second layer content and the first layer content, thereby realizing further processing of the overall content of the virtual paper.

[0051] Therefore, the model of the Android device and the model of the printer are collected, and the image format is defined according to the status of the printer, the model of the Android device and the model of the printer; the overall content of the virtual paper and the image mode are associated, and the preview image presented by the Android device is constructed based on the overall content of the virtual paper and the image mode, which ensures the overall application of the overall content of the virtual paper and the image mode, realizes the presentation of the overall content of the virtual paper in the form of a picture, fully integrates the application scenario of the Android device and the printing scenario of the printer, and ensures the accuracy and rationality of the preview image.

[0052] At this time, the overall content of the virtual paper is adapted to the virtual paper along the logic of the picture mode, and the position of the overall content and the position of the virtual paper are controlled, so as to autonomously match the overall content of the virtual paper and the picture mode, thereby ensuring the coordination progress of the overall content of the virtual paper and the picture mode, so as to ensure the presentation effect of the preview image on the Android device.

[0053] Furthermore, the overall content of the virtual paper and the remaining paper of the printer are collected; based on the overall content of the virtual paper and the remaining paper of the printer, a print list of the printer is defined, and the printing status of the overall content of the virtual paper is presented based on the print list of the printer. At the same time, the unprinted content in the overall content of the virtual paper is marked based on the print list of the printer.

[0054] In an embodiment of the present invention, through the method in the embodiment of the present invention, an Android device and a printer are associated, and a printing interaction space is constructed according to the association path between the Android device and the printer; in the printing interaction space, the print data received by the printer is collected, the corresponding format information is matched according to the print data received by the printer and the model of the printer, and the previous printing records are filtered according to the format information; the format of the virtual paper is defined according to the print data, previous printing records and the model of the printer, and the format area and content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, so as to perform multi-dimensional control based on the format of the virtual paper, the capacity of the print data and the parsed content of the print data, and accurately control the format area and content area in the virtual paper, so as to ensure the accuracy of the format area and the content area.

[0055] Furthermore, the preview instructions of the Android device are collected, and the format data is defined according to the analysis of the preview instructions of the Android device; the format content is defined according to the matching of the format data and the print data; the first layer of content presented by the virtual paper is defined based on the format content and the format area; the preview instructions of the Android device are collected, and the data to be previewed is defined according to the analysis of the preview instructions of the Android device; the content to be previewed is defined according to the matching of the data to be previewed and the print data; the second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area; the overall content of the virtual paper is constructed based on the second layer content and the first layer content, and the preview picture presented by the Android device is constructed based on the overall content of the virtual paper and the picture method, thereby ensuring the overall content of the virtual paper and the overall application of the picture method, realizing the overall content of the virtual paper to be presented in the form of a picture, fully integrating the application scenario of the Android device and the printing scenario of the printer, and ensuring the accuracy and rationality of the preview picture.

[0056] See also Figure 8 , Figure 8 It is a schematic diagram of the structure of a preview system for print data of a printer by an Android device in an embodiment of the present invention.

[0057] like Figure 8 As shown, a preview system of print data of a printer by an Android device, the preview system of print data of a printer by an Android device comprises: An association module 21, used to associate the Android device and the printer, and to construct a printing interaction space according to the association path between the Android device and the printer; The screening module 22 is used to collect the printing data received by the printer in the printing interaction space, match the corresponding format information according to the printing data received by the printer and the model of the printer, and screen the previous printing records according to the format information; The area module 23 is used to define the format of the virtual paper according to the print data, the previous print records and the model of the printer, and to define the format area and the content area in the virtual paper according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data; The first layer content module 24 is used to collect preview instructions of the Android device, and define format data according to the analysis of the preview instructions of the Android device; define format content according to the matching of the format data and the print data; and define the first layer content presented by the virtual paper based on the format content and the format area; The second layer content module 25 is used to collect preview instructions of the Android device, and define the data to be previewed according to the analysis of the preview instructions of the Android device; define the content to be previewed according to the matching of the data to be previewed and the print data; and define the second layer content presented by the virtual paper based on the content to be previewed and the content area; The preview module 26 is used to construct the overall content of the virtual paper based on the second layer content and the first layer content, and to construct a preview image presented by the Android device based on the overall content of the virtual paper and the image mode. At the same time, the overall content of the virtual paper and the remaining paper of the printer are associated, and the print list of the printer is defined, and the printing status of the overall content of the virtual paper is presented based on the print list of the printer.

[0058] See also Fig. 9 , refer to the following Fig. 9 The electronic device 40 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0059] like Fig. 9 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: at least one processing unit 41, at least one storage unit 42, and a bus 43 connecting different system components (including the storage unit 42 and the processing unit 41).

[0060] The storage unit stores program codes, which can be executed by the processing unit 41, so that the processing unit 41 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.

[0061] The storage unit 42 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .

[0062] The storage unit 42 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0063] Bus 43 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0064] The electronic device 40 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 40, and / or any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 44. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 45. Fig. 9 As shown, the network adapter 45 communicates with other modules of the electronic device 40 via the bus 43. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup planning systems.

[0065] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0066] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. In addition, it stores computer program instructions, and when the computer program instructions are executed by a computer, the computer executes the above method.

[0067] In addition, the above is a detailed introduction to the preview method and system of the print data of the printer by the Android device provided in the embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for previewing print data of a printer by an Android device, characterized in that: Applicable to the preview scenario of the print data of the printer on the Android device; The method for previewing the print data of the printer by the Android device includes: Associating the Android device and the printer, and building a printing interaction space according to the association path between the Android device and the printer; In the printing interaction space, the printing data received by the printer is collected, the corresponding format information is matched according to the printing data received by the printer and the printer model, and the previous printing records are filtered according to the format information; The format of the virtual paper is defined according to the print data, the previous print records and the model of the printer, and the format area and the content area in the virtual paper are defined according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data; Collecting preview instructions of the Android device, and defining format data according to the analysis of the preview instructions of the Android device; defining format content according to the matching of the format data and the print data; and defining the first layer of content presented by the virtual paper based on the format content and the format area; Collecting preview instructions of the Android device, and defining the data to be previewed according to the analysis of the preview instructions of the Android device; defining the content to be previewed according to the matching of the data to be previewed and the print data; and defining the second layer of content presented by the virtual paper based on the content to be previewed and the content area; The overall content of the virtual paper is constructed based on the second-layer content and the first-layer content, and the preview image presented by the Android device is constructed based on the overall content of the virtual paper and the image method. At the same time, the overall content of the virtual paper and the remaining paper of the printer are associated, and the print list of the printer is defined. The printing status of the overall content of the virtual paper is presented based on the print list of the printer.

2. The method for previewing print data of a printer using an Android device according to claim 1, characterized in that: The associating the Android device and the printer, and constructing a printing interaction space according to the association path between the Android device and the printer, includes: Locate the Android device and the printer, and collect the dynamic distance between the Android device and the printer; Define distance levels based on the dynamic distance between the Android device and the printer; The association mode is defined according to the distance level, the model of the Android device and the model of the printer. At this time, the association mode is adjusted according to the dynamic distance and the dynamic adjustment of the distance level; Building an association path based on the association mode, the response signal of the Android device, and the response signal of the printer; The print interaction space is constructed based on the association path, the model of the Android device and the model of the printer. At this time, the print interaction space is dedicated to the printing stage of the Android device and the printer, and contains multiple printing data and status control logic.

3. The method for previewing print data of a printer using an Android device according to claim 2, characterized in that: In the printing interaction space, the printing data received by the printer is collected, the corresponding format information is matched according to the printing data received by the printer and the model of the printer, and the previous printing records are filtered according to the format information, including: In the printing interaction space, the printing data received by the printer is collected; Associating the print data received by the printer with the model of the printer; Defining format information matched by the print data according to the print data received by the printer and the model of the printer; Building a corresponding format set based on multiple format information; A print record space is defined based on a primary match between a format set and a library stored in the printer, and past print records are screened based on a high-level match between the print record space and the format set.

4. The method for previewing print data of a printer using an Android device according to claim 3, characterized in that: The method of defining the format of the virtual paper according to the print data, the previous print records and the model of the printer, and defining the format area and the content area in the virtual paper according to the format of the virtual paper, the capacity of the print data and the parsed content of the print data, includes: Freeze previous printing records; Associating the previous printing records and the printing data, and defining the first format parameter according to the previous printing records and the printing data; Associating the previous printing records with the printer model, and defining the second format parameter according to the previous printing records and the printer model; defining a format of the virtual paper based on the second format parameter, the first format parameter, and the virtual paper matching table; Associating the format of virtual paper, the capacity of print data and the parsed content of print data; A format part is defined according to the format of the virtual paper, the capacity of the print data, and the parsed content of the print data, and a format area in the virtual paper is defined according to the format part and the virtual paper. At the same time, a content part is defined according to the format of the virtual paper, the capacity of the print data, and the parsed content of the print data, and a content area in the virtual paper is defined according to the content part and the virtual paper, and the format area and the content area in the virtual paper are fixed.

5. The method for previewing print data of a printer using an Android device according to claim 4, characterized in that: The step of collecting preview instructions of the Android device and defining format data according to parsing the preview instructions of the Android device; Defining format contents based on matching of format data and print data; The first layer of content presented by the virtual paper is defined based on the format content and format area, including: Monitor the dynamic interaction between the Android device and the printer in real time, and collect the preview instructions of the Android device during the dynamic interaction between the Android device and the printer; Freeze the preview instruction of the Android device and trigger the parsing of the preview instruction of the Android device; Defining format data based on the analysis of preview instructions of the Android device; Associating format data and print data, and dynamically matching the format data and print data; Defining format contents based on matching of format data and print data; The first layer of content presented by the virtual paper is defined based on the format content and the format area. At this time, the first layer of content serves as the bottom layer of the virtual paper, and is positioned and configured for the format area of ​​the virtual paper, and is dynamically adapted based on the first layer of content and the format area.

6. The method for previewing print data of a printer using an Android device according to claim 5, characterized in that: The step of collecting preview instructions of the Android device and defining the data to be previewed according to the analysis of the preview instructions of the Android device; Defining the content to be previewed according to the matching between the data to be previewed and the print data; The second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area, including: Monitor the dynamic interaction between the Android device and the printer in real time, and collect the preview instructions of the Android device during the dynamic interaction between the Android device and the printer; Freeze the preview instruction of the Android device and trigger the parsing of the preview instruction of the Android device; The data to be previewed is defined according to the analysis of the preview instruction of the Android device.

7. The method for previewing print data of a printer using an Android device according to claim 6, characterized in that: The step of collecting preview instructions of the Android device and defining the data to be previewed according to the analysis of the preview instructions of the Android device; Defining the content to be previewed according to the matching between the data to be previewed and the print data; The second layer of content presented by the virtual paper is defined based on the content to be previewed and the content area, and also includes: Associating the data to be previewed and the data to be printed, and dynamically matching the data to be previewed and the data to be printed; Defining the content to be previewed according to the matching between the data to be previewed and the print data; The second layer content presented by the virtual paper is defined based on the content to be previewed and the format area. At this time, the second layer content is used as the upper layer content of the virtual paper, and is positioned and configured for the content area of ​​the virtual paper, and dynamically adapted based on the second layer content and the content area.

8. The method for previewing print data of a printer using an Android device according to claim 7, characterized in that: The method constructs the overall content of the virtual paper based on the second layer content and the first layer content, and constructs a preview image presented by the Android device based on the overall content of the virtual paper and the image mode, and at the same time, associates the overall content of the virtual paper with the remaining paper of the printer, defines the print list of the printer, and presents the print status of the overall content of the virtual paper based on the print list of the printer, including: Freeze the second-layer content and the first-layer content, and dynamically combine the second-layer content and the first-layer content; Constructing the overall content of the virtual paper based on the dynamic combination of the second layer content and the first layer content; Collect the model of the Android device and the model of the printer, and define the image format according to the printer status, the model of the Android device and the model of the printer; The overall content and the image mode of the virtual paper are associated, and a preview image presented by the Android device is constructed based on the overall content and the image mode of the virtual paper. At this time, the overall content of the virtual paper is adapted to the virtual paper along the logic of the image mode, and the position of the overall content and the position of the virtual paper are controlled to perform autonomous matching based on the overall content and the image mode of the virtual paper.

9. The method for previewing print data of a printer using an Android device according to claim 8, characterized in that: The method constructs the overall content of the virtual paper based on the second layer content and the first layer content, and constructs a preview image presented by the Android device based on the overall content of the virtual paper and the image mode, and at the same time, associates the overall content of the virtual paper with the remaining paper of the printer, defines the print list of the printer, and presents the print status of the overall content of the virtual paper based on the print list of the printer, and also includes: Collect the overall content of the virtual paper and the remaining paper of the printer; define the printer's print list based on the overall content of the virtual paper and the remaining paper of the printer, present the printing status of the overall content of the virtual paper based on the printer's print list, and at the same time, mark the unprinted content in the overall content of the virtual paper based on the printer's print list.

10. A preview system for print data of a printer by an Android device, characterized in that: The preview system of the print data of the printer by the Android device is applied to the preview method of the print data of the printer by the Android device as claimed in any one of claims 1 to 9, and the preview system of the print data of the printer by the Android device comprises: An association module, used to associate an Android device with a printer, and to construct a printing interaction space according to an association path between the Android device and the printer; A screening module, used for collecting the printing data received by the printer in the printing interaction space, matching the corresponding format information according to the printing data received by the printer and the model of the printer, and screening the previous printing records according to the format information; The area module is used to define the format of the virtual paper according to the printing data, the previous printing records and the model of the printer, and to define the format area and the content area in the virtual paper according to the format of the virtual paper, the capacity of the printing data and the parsed content of the printing data; The first layer content module is used to collect preview instructions of the Android device and define format data according to the analysis of the preview instructions of the Android device; define format content according to the matching of the format data and the print data; and define the first layer content presented by the virtual paper based on the format content and the format area; The second layer content module is used to collect preview instructions of the Android device and define the data to be previewed according to the analysis of the preview instructions of the Android device; define the content to be previewed according to the matching of the data to be previewed and the print data; and define the second layer content presented by the virtual paper based on the content to be previewed and the content area; The preview module is used to construct the overall content of the virtual paper based on the second-layer content and the first-layer content, and to construct a preview image presented by the Android device based on the overall content of the virtual paper and the image method. At the same time, the overall content of the virtual paper and the remaining paper of the printer are associated, and the print list of the printer is defined, and the printing status of the overall content of the virtual paper is presented based on the print list of the printer.

Citation Information

Patent Citations

  • Printing method based on Android mini-printer

    CN104536706A

  • Method, apparatus and system for printing document in virtual machine by using terminal device

    CN112313614A

  • Print control device, print control program, and print control method

    JP2018094772A