CN113377309A - Variable two-dimensional code image real-time printing method, device, equipment and medium - Google Patents

Variable two-dimensional code image real-time printing method, device, equipment and medium Download PDF

Info

Publication number
CN113377309A
CN113377309A CN202110770072.4A CN202110770072A CN113377309A CN 113377309 A CN113377309 A CN 113377309A CN 202110770072 A CN202110770072 A CN 202110770072A CN 113377309 A CN113377309 A CN 113377309A
Authority
CN
China
Prior art keywords
dimensional code
image
variable
data
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110770072.4A
Other languages
Chinese (zh)
Inventor
郭飞
钟兆科
雷增强
徐星
江洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Runtianzhi Digital Equipment Co Ltd
Original Assignee
Shenzhen Runtianzhi Digital Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Runtianzhi Digital Equipment Co Ltd filed Critical Shenzhen Runtianzhi Digital Equipment Co Ltd
Priority to CN202110770072.4A priority Critical patent/CN113377309A/en
Publication of CN113377309A publication Critical patent/CN113377309A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1247Job translation or job parsing, e.g. page banding by conversion to printer ready format

Abstract

The application discloses a method, a device, equipment and a medium for printing a variable two-dimensional code image in real time. The method comprises the following steps: generating variable two-dimensional code data by using a two-dimensional code encoding algorithm; carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data; and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data. Therefore, after the variable two-dimensional code data are generated through the encoding algorithm, format conversion is carried out on the variable two-dimensional code data to obtain a corresponding bitmap image, and then the bitmap image is added into raster dot matrix data of a target printing image to obtain image data to be printed containing the two-dimensional code image data, so that image printing is carried out based on the image data to be printed. Thereby, real-time continuous printing of variable two-dimensional code data can be achieved.

Description

Variable two-dimensional code image real-time printing method, device, equipment and medium
Technical Field
The invention relates to the technical field of printing, in particular to a method, a device, equipment and a medium for printing a variable two-dimensional code image in real time.
Background
At present, variable two-dimensional code is used extensively, all can be printed variable two-dimensional code on the outer package of many products, but can only satisfy among the prior art and print the image that does not contain variable content in succession, and the image that prints promptly does not contain any variable data, if want to print the image that contains variable two-dimensional code, need obtain the outer package that contains variable two-dimensional code and all the other patterns through PS software P picture, can't realize the real-time continuous printing of variable two-dimensional code image.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a device and a medium for real-time printing of a variable two-dimensional code image, which can realize real-time continuous printing of the variable two-dimensional code image. The specific scheme is as follows:
in a first aspect, the application discloses a method for printing a variable two-dimensional code image in real time, which comprises the following steps:
generating variable two-dimensional code data by using a two-dimensional code encoding algorithm;
carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data;
and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data.
Optionally, the performing format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data includes:
and carrying out format conversion on the variable two-dimensional code data according to a BMP format to obtain a bitmap image corresponding to the variable two-dimensional code data.
Optionally, the acquiring raster dot matrix data of the target print image includes:
acquiring a target printing image to be added with the two-dimensional code;
and obtaining raster dot matrix data corresponding to the target printing image by using a raster image processor based on the target printing image.
Optionally, the adding the bitmap image to the raster dot matrix data includes:
acquiring a preset two-dimensional code coordinate corresponding to the target printing image, and taking the preset two-dimensional code coordinate as a target position coordinate of the bitmap image;
and adding the bitmap image into the raster dot matrix data according to the preset two-dimensional code coordinate.
Optionally, the adding the bitmap image to the raster dot matrix data includes:
acquiring a preset two-dimensional code size parameter corresponding to the target printing image;
and adjusting the size of the bitmap image according to the preset two-dimension code size parameter, and adding the adjusted bitmap image to the grating dot matrix data.
Optionally, after obtaining the image data to be printed including the two-dimensional code image data, the method further includes:
and adding the image data to be printed containing the two-dimensional code image data to a pre-created printing queue so that the printing equipment can perform printing operation according to the printing queue.
In a second aspect, the present application discloses a real-time printing apparatus for a variable two-dimensional code image, comprising:
the variable two-dimensional code data generating module is used for generating variable two-dimensional code data by utilizing a two-dimensional code coding algorithm;
the bitmap image generation module is used for carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data;
and the adding module is used for acquiring raster dot matrix data of the target printing image and adding the bitmap image into the raster dot matrix data to obtain image data to be printed, which contains two-dimensional code image data.
Optionally, the adding module includes:
the position coordinate determination unit is used for acquiring a preset two-dimensional code coordinate corresponding to the target printing image and taking the preset two-dimensional code coordinate as a target position coordinate of the bitmap image;
and the bitmap image adding unit is used for adding the bitmap image into the raster dot matrix data according to the preset two-dimensional code coordinates.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the real-time printing method of the variable two-dimensional code image.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements the aforementioned variable two-dimensional code image real-time printing method.
In the application, variable two-dimensional code data are generated by a two-dimensional code coding algorithm; carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data; and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data. Therefore, after the variable two-dimensional code data are generated through the encoding algorithm, format conversion is carried out on the variable two-dimensional code data to obtain a corresponding bitmap image, and then the bitmap image is added into raster dot matrix data of a target printing image to obtain image data to be printed containing the two-dimensional code image data, so that image printing is carried out based on the image data to be printed. Thereby, real-time continuous printing of variable two-dimensional code data can be achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for printing a variable two-dimensional code image in real time according to the present application;
fig. 2 is a flowchart of a specific method for printing a variable two-dimensional code image in real time according to the present application;
FIG. 3 is a flowchart of another specific method for real-time printing a variable two-dimensional code image according to the present application;
fig. 4 is a schematic structural diagram of a variable two-dimensional code image real-time printing device provided in the present application;
fig. 5 is a block diagram of an electronic device provided in the present application.
Detailed Description
In the prior art, only images which do not contain variable content can be continuously printed, namely the printed images do not contain any variable data, if images containing variable two-dimensional codes are printed, outer packages containing the variable two-dimensional codes and other patterns need to be obtained through a PS software P image, and real-time continuous printing of the images of the variable two-dimensional codes cannot be realized. In order to overcome the technical problem, the application provides a real-time printing method of the variable two-dimensional code image, which can realize real-time continuous printing of the variable two-dimensional code data.
The embodiment of the application discloses a method for printing a variable two-dimensional code image in real time, which is shown in fig. 1 and can comprise the following steps:
step S11: and generating variable two-dimensional code data by using a two-dimensional code encoding algorithm.
In this embodiment, the variable two-dimensional code data is generated by using a two-dimensional code encoding algorithm. The variable two-dimensional code is a two-dimensional code image of an object-code. In addition, the two-dimensional code encoding algorithm is not limited in this embodiment, and any algorithm that can generate variable two-dimensional code data may be used.
Step S12: and carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data.
In this embodiment, after the variable two-dimensional code data is obtained, format conversion is performed on the variable two-dimensional code data according to a target format, so as to obtain a bitmap image corresponding to the variable two-dimensional code data. The target formats may include, but are not limited to, BMP (bitmap), PNG (Portable Network graphics), JPEG (Joint Photographic Experts group), and the like.
Step S13: and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data.
In this embodiment, raster dot matrix data of a target print image is acquired, and the bitmap image is added to the raster dot matrix data to obtain image data to be printed, which includes two-dimensional code image data; it is understood that the bitmap image corresponding to the variable two-dimensional code data is in pixel units, and the raster dot matrix data of the target print image is also in pixel units, so that the image data to be printed including the two-dimensional code image data can be obtained by adding the bitmap image to the raster dot matrix data.
In this embodiment, the acquiring raster dot matrix data of the target print image may include: acquiring a target printing image to be added with the two-dimensional code; and obtaining raster dot matrix data corresponding to the target printing image by using a raster image processor based on the target printing image. After the target print Image to which the two-dimensional code is to be added is acquired, the target print Image is converted into Raster dot matrix data by a Raster Image Processor (RIP).
As can be seen from the above, in the present embodiment, the variable two-dimensional code data is generated by using a two-dimensional code encoding algorithm; carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data; and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data. Therefore, after the variable two-dimensional code data are generated through the encoding algorithm, format conversion is carried out on the variable two-dimensional code data to obtain a corresponding bitmap image, and then the bitmap image is added into raster dot matrix data of a target printing image to obtain image data to be printed containing the two-dimensional code image data, so that image printing is carried out based on the image data to be printed. Thereby, real-time continuous printing of variable two-dimensional code data can be achieved.
The embodiment of the application discloses a specific method for printing a variable two-dimensional code image in real time, which is shown in fig. 2 and can comprise the following steps:
step S21: and generating variable two-dimensional code data by using a two-dimensional code encoding algorithm.
Step S22: and carrying out format conversion on the variable two-dimensional code data according to a BMP format to obtain a bitmap image corresponding to the variable two-dimensional code data.
In this embodiment, format conversion is performed on the variable two-dimensional code data according to a BMP format, and a two-dimensional code BMP image is obtained as a bitmap image corresponding to the variable two-dimensional code data. The BMP format, as a standard image file format in the Windows operating system, can be supported by various Windows applications, and contains rich image information.
Step S23: and acquiring a preset two-dimensional code coordinate corresponding to the target printing image, and taking the preset two-dimensional code coordinate as a target position coordinate of the bitmap image.
In this embodiment, a preset two-dimensional code coordinate corresponding to a target print image is obtained, and the preset two-dimensional code coordinate is used as a target position coordinate of the bitmap image. Namely, the position reserved for the two-dimensional code image in the target printing image is determined.
In this embodiment, the adding the bitmap image to the raster dot matrix data may include: acquiring a preset two-dimensional code size parameter corresponding to the target printing image; and adjusting the size of the bitmap image according to the preset two-dimension code size parameter, and adding the adjusted bitmap image to the grating dot matrix data. The size of the generated bitmap image is adjusted according to the size of the two-dimensional code image required by the target printing image, and then the adjusted bitmap image is added to the raster dot matrix data.
Step S24: and acquiring raster dot matrix data of a target printing image, and adding the bitmap image into the raster dot matrix data according to the preset two-dimensional code coordinate to obtain image data to be printed containing the two-dimensional code image data.
In this embodiment, a bitmap image is added to the raster dot matrix data according to the preset two-dimensional code coordinates. Namely, the data position corresponding to the preset two-dimensional code in the grating dot matrix data is positioned, and the bitmap image is added from the corresponding coordinate position.
Step S25: and adding the image data to be printed containing the two-dimensional code image data to a pre-created printing queue so that the printing equipment can perform printing operation according to the printing queue.
In this embodiment, the obtained image data to be printed, which includes the two-dimensional code image data, is added to a print queue created in advance, so that the printing device performs a printing operation according to the print queue. It can be understood that, in this embodiment, if the original image is printed without adding the variable two-dimensional code, the printing performance of the original image is not affected at all. When the two-dimensional code needs to be added, the printing of the real-time variable two-dimensional code image can be completely realized according to the running speed of a belt for actually conveying products. Therefore, the inkjet printer can add the variable two-dimensional code pattern to each image in real time in a mode of continuously printing multiple images.
For the specific process of the step S21, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
As can be seen from the above, in this embodiment, the bitmap image corresponding to the variable two-dimensional code data is obtained by performing format conversion on the variable two-dimensional code data according to the BMP format; and adding the image data to be printed containing the two-dimensional code image data to a pre-created printing queue so that the printing equipment can perform printing operation according to the printing queue. The high-quality variable two-dimensional code pattern can be added to each image in real time by the inkjet printer in a mode of continuously printing multiple images
Correspondingly, the embodiment of the present application further discloses a real-time printing apparatus for a variable two-dimensional code image, as shown in fig. 4, the apparatus includes:
the variable two-dimensional code data generating module 11 is used for generating variable two-dimensional code data by using a two-dimensional code coding algorithm;
the bitmap image generation module 12 is configured to perform format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data;
and the adding module 13 is configured to obtain raster dot matrix data of the target print image, and add the bitmap image to the raster dot matrix data to obtain image data to be printed, which includes two-dimensional code image data.
As can be seen from the above, in the present embodiment, the variable two-dimensional code data is generated by using a two-dimensional code encoding algorithm; carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data; and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data. Therefore, after the variable two-dimensional code data are generated through the encoding algorithm, format conversion is carried out on the variable two-dimensional code data to obtain a corresponding bitmap image, and then the bitmap image is added into raster dot matrix data of a target printing image to obtain image data to be printed containing the two-dimensional code image data, so that image printing is carried out based on the image data to be printed. Thereby, real-time continuous printing of variable two-dimensional code data can be achieved.
In some specific embodiments, the bitmap image generation module 12 may specifically include:
and the format conversion unit is used for carrying out format conversion on the variable two-dimensional code data according to a BMP format to obtain a bitmap image corresponding to the variable two-dimensional code data.
In some specific embodiments, the adding module 13 may specifically include:
the target printing image acquisition unit is used for acquiring a target printing image to be added with the two-dimensional code;
and the raster dot matrix data determining unit is used for obtaining the raster dot matrix data corresponding to the target printing image by using the raster image processor based on the target printing image.
In some specific embodiments, the adding module 13 may specifically include:
the position coordinate determination unit is used for acquiring a preset two-dimensional code coordinate corresponding to the target printing image and taking the preset two-dimensional code coordinate as a target position coordinate of the bitmap image;
and the bitmap image adding unit is used for adding the bitmap image into the raster dot matrix data according to the preset two-dimensional code coordinates.
In some specific embodiments, the adding module 13 may specifically include:
the size parameter determining unit is used for acquiring a preset two-dimensional code size parameter corresponding to the target printing image;
and the size adjusting unit is used for adjusting the size of the bitmap image according to the preset two-dimensional code size parameter and adding the adjusted bitmap image to the grating dot matrix data.
In some specific embodiments, the device for printing the variable two-dimensional code image in real time may specifically include:
and the printing queue updating unit is used for adding the image data to be printed containing the two-dimensional code image data to a pre-created printing queue so that the printing equipment can perform printing operation according to the printing queue.
Further, the embodiment of the present application also discloses an electronic device, which is shown in fig. 5, and the content in the drawing cannot be considered as any limitation to the application scope.
Fig. 5 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the method for printing a variable two-dimensional code image in real time disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon include an operating system 221, a computer program 222, data 223 including variable two-dimensional code data, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the method for real-time printing of a variable two-dimensional code image, which is disclosed in any of the foregoing embodiments and is executed by the electronic device 20. The data 223 may include variable two-dimensional code data acquired by the electronic device 20.
Further, an embodiment of the present application further discloses a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and when the computer-executable instructions are loaded and executed by a processor, the method for printing a variable two-dimensional code image in real time disclosed in any of the foregoing embodiments is implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The method, the device, the equipment and the medium for printing the variable two-dimensional code image in real time provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A real-time printing method of a variable two-dimensional code image is characterized by comprising the following steps:
generating variable two-dimensional code data by using a two-dimensional code encoding algorithm;
carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data;
and acquiring raster dot matrix data of the target printing image, and adding the bitmap image into the raster dot matrix data to obtain image data to be printed containing the two-dimensional code image data.
2. The method for printing the variable two-dimensional code image in real time according to claim 1, wherein the converting the format of the variable two-dimensional code data according to the target format to obtain the bitmap image corresponding to the variable two-dimensional code data comprises:
and carrying out format conversion on the variable two-dimensional code data according to a BMP format to obtain a bitmap image corresponding to the variable two-dimensional code data.
3. The method for printing the variable two-dimensional code image in real time according to claim 1, wherein the acquiring raster dot matrix data of the target print image comprises:
acquiring a target printing image to be added with the two-dimensional code;
and obtaining raster dot matrix data corresponding to the target printing image by using a raster image processor based on the target printing image.
4. The method for printing the variable two-dimensional code image in real time according to claim 1, wherein the adding the bitmap image to the raster dot matrix data comprises:
acquiring a preset two-dimensional code coordinate corresponding to the target printing image, and taking the preset two-dimensional code coordinate as a target position coordinate of the bitmap image;
and adding the bitmap image into the raster dot matrix data according to the preset two-dimensional code coordinate.
5. The method for printing the variable two-dimensional code image in real time according to claim 1, wherein the adding the bitmap image to the raster dot matrix data comprises:
acquiring a preset two-dimensional code size parameter corresponding to the target printing image;
and adjusting the size of the bitmap image according to the preset two-dimension code size parameter, and adding the adjusted bitmap image to the grating dot matrix data.
6. The method for printing the variable two-dimensional code image in real time according to any one of claims 1 to 5, wherein after obtaining the image data to be printed containing the two-dimensional code image data, the method further comprises:
and adding the image data to be printed containing the two-dimensional code image data to a pre-created printing queue so that the printing equipment can perform printing operation according to the printing queue.
7. A variable two-dimensional code image real-time printing device is characterized by comprising:
the variable two-dimensional code data generating module is used for generating variable two-dimensional code data by utilizing a two-dimensional code coding algorithm;
the bitmap image generation module is used for carrying out format conversion on the variable two-dimensional code data according to a target format to obtain a bitmap image corresponding to the variable two-dimensional code data;
and the adding module is used for acquiring raster dot matrix data of the target printing image and adding the bitmap image into the raster dot matrix data to obtain image data to be printed, which contains two-dimensional code image data.
8. The real-time printing device of variable two-dimensional code image according to claim 7, wherein the adding module comprises:
the position coordinate determination unit is used for acquiring a preset two-dimensional code coordinate corresponding to the target printing image and taking the preset two-dimensional code coordinate as a target position coordinate of the bitmap image;
and the bitmap image adding unit is used for adding the bitmap image into the raster dot matrix data according to the preset two-dimensional code coordinates.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the method of printing the variable two-dimensional code image in real time according to any one of claims 1 to 6.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements the method for real-time printing of a variable two-dimensional code image according to any one of claims 1 to 6.
CN202110770072.4A 2021-07-07 2021-07-07 Variable two-dimensional code image real-time printing method, device, equipment and medium Pending CN113377309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110770072.4A CN113377309A (en) 2021-07-07 2021-07-07 Variable two-dimensional code image real-time printing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110770072.4A CN113377309A (en) 2021-07-07 2021-07-07 Variable two-dimensional code image real-time printing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113377309A true CN113377309A (en) 2021-09-10

Family

ID=77581409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110770072.4A Pending CN113377309A (en) 2021-07-07 2021-07-07 Variable two-dimensional code image real-time printing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113377309A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265566A (en) * 2021-12-24 2022-04-01 上海汉图科技有限公司 Printing method, printing device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130169996A1 (en) * 2011-12-30 2013-07-04 Zih Corp. Enhanced printer functionality with dynamic identifier code
CN106874819A (en) * 2016-11-22 2017-06-20 复旦大学 Can be by sparse horizontal and vertical parity check code control method of handset identity
CN109669647A (en) * 2018-11-30 2019-04-23 森大(深圳)技术有限公司 Print image data processing method, device, equipment and storage medium
CN110377245A (en) * 2019-07-17 2019-10-25 森大(深圳)技术有限公司 The dynamic print method, device and equipment of variable label

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130169996A1 (en) * 2011-12-30 2013-07-04 Zih Corp. Enhanced printer functionality with dynamic identifier code
CN106874819A (en) * 2016-11-22 2017-06-20 复旦大学 Can be by sparse horizontal and vertical parity check code control method of handset identity
CN109669647A (en) * 2018-11-30 2019-04-23 森大(深圳)技术有限公司 Print image data processing method, device, equipment and storage medium
CN110377245A (en) * 2019-07-17 2019-10-25 森大(深圳)技术有限公司 The dynamic print method, device and equipment of variable label

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265566A (en) * 2021-12-24 2022-04-01 上海汉图科技有限公司 Printing method, printing device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US7602984B2 (en) Adaptive method and system for encoding digital images for the internet
CN111324317B (en) Local printing face list method, device, equipment and storage medium
US9557949B2 (en) Print scheduling and processing method, apparatus and system
CN110134350B (en) Print file segmentation and transmission method
US6928462B2 (en) System and method for distributed processing of non-processable elements of a document to be rendered on a client
JP6555892B2 (en) Image forming apparatus and printing control method using image forming apparatus
JP5304282B2 (en) Printing information conversion apparatus, printing apparatus, printing system, and program
JP2016185703A (en) Multifunctional printer, method and system
US20040015535A1 (en) Object transfer method with format adaptation
US8184335B2 (en) Method for ad-hoc parallel processing in a distributed environment
CN113377309A (en) Variable two-dimensional code image real-time printing method, device, equipment and medium
CN112581568B (en) Dynamic poster generation method, device, server and storage medium
US9846827B2 (en) Image printing method and printer for segmenting an image to create first data files and first memory blocks and printing each data file using print position information
CN110826300B (en) Text shift method and device and related equipment
CN109918605B (en) Method for generating dynamic picture based on content distribution network
JP2007189674A (en) System and method for managing memory for color transforms
CN104346156A (en) Text block displaying and processing method and device
JP2007028507A (en) Image forming system and method
US11816368B2 (en) Cloud printing method and cloud printing system
JP3639616B2 (en) Image processing method, apparatus and system
US7079285B2 (en) Efficient rasterizing sub-system for printers
JP2004086354A (en) Image processor
CN114968139A (en) Universal printing method and device applied to server, electronic equipment and medium
CN111124323A (en) Realization method for calling client printer interface based on Applet mode
CN117714539A (en) Metadata migration method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210910