CN110688076A - Printing data reading method, device and system - Google Patents

Printing data reading method, device and system Download PDF

Info

Publication number
CN110688076A
CN110688076A CN201810740518.7A CN201810740518A CN110688076A CN 110688076 A CN110688076 A CN 110688076A CN 201810740518 A CN201810740518 A CN 201810740518A CN 110688076 A CN110688076 A CN 110688076A
Authority
CN
China
Prior art keywords
printing
pixel
data
printing data
channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810740518.7A
Other languages
Chinese (zh)
Other versions
CN110688076B (en
Inventor
梅�明
曾利群
陈艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sen Da (shenzhen) Technology Co Ltd
Original Assignee
Sen Da (shenzhen) Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sen Da (shenzhen) Technology Co Ltd filed Critical Sen Da (shenzhen) Technology Co Ltd
Priority to CN201810740518.7A priority Critical patent/CN110688076B/en
Publication of CN110688076A publication Critical patent/CN110688076A/en
Application granted granted Critical
Publication of CN110688076B publication Critical patent/CN110688076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The invention discloses a method, a device and a system for reading printing data, which relate to the technical field of printing, and are used for determining the code of each pixel printing data according to the characteristic parameters of a printing system; determining a target pixel code to be printed according to the printing task and the current printing position; obtaining a storage position of target pixel printing data according to the target pixel code; and reading the target printing data of the storage position. According to the invention, the printing data of each pixel is uniquely coded, so that the storage position of the target printing data can be found according to the coding of the printing data, and the reading of the printing data of the target pixel is realized. By the invention, any one pixel can be directly addressed, and the access and management of multi-printing task and variable printing data can be easily realized.

Description

Printing data reading method, device and system
Technical Field
The present invention relates to the field of printing technologies, and in particular, to a method, an apparatus, and a system for reading print data.
Background
With the wide application of computers in graphic or word processing, printers are becoming more and more popular, and people can conveniently output characters or graphics in computers to pictures through the printers.
In the current printing system, a printer issues a printing instruction through a computer, and the printer prints information transmitted by the computer. Common printers include ink jet printers that print using a nozzle and laser printers that print electrostatically using a laser beam and a photoreceptor drum. Inkjet printers are widely used in the field of industrial printing because of their low price.
In a process of printing images and texts by an inkjet printer, image data as a printing target is usually stored in a PC host, the image data includes an image or a text, the image data is converted into conversion data in a printable format by Raster Image Processing (RIP), and finally the printable data after RIP is transmitted to a nozzle for image and text printing. The Programmable gate array (FPGA) on the nozzle control panel receives the printing data sent by the PC host, and provides the printing data, control signals and power driving signals for the nozzle through processes such as processing.
In the above mode, the FPGA is mainly used to realize control of the printing process and transmission and buffering of the printing Data, wherein the printing Data is mainly stored and buffered by a Double Data Rate (DDR). Specifically, the image pixel data is sequentially stored in the memory, and the printing system sequentially fetches the print data from the memory to print, so that any print data cannot be extracted. The data storage mode is difficult to deal with application scenes such as variable content printing, inter-cut printing, splicing printing, multi-printing tasks and the like, and the complexity of printing data processing is greatly improved.
Disclosure of Invention
The invention mainly aims to provide a method, a device and a system for reading printing data, and aims to solve the technical problem that the prior art cannot read the printing data of any address.
To achieve the above object, an aspect of the present invention provides a print data reading method, including:
determining the code of each pixel printing data according to the characteristic parameters of the printing system;
determining a target pixel code to be printed according to the printing task and the current printing position;
obtaining a storage position of target pixel printing data according to the target pixel code;
and reading the target printing data of the storage position.
Further, the printing system characteristic parameters include: printing the number of channels, the length of the channels and the organization structure of the spray head; the printing data codes are expressed by two-dimensional coordinates;
the determining the encoding of the print data for each pixel according to the printing system characteristic parameters comprises:
establishing an XY coordinate system according to the number of the printing channels and the length of the printing channels;
and determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
Further, the determining the two-dimensional coordinates of each pixel print data according to the nozzle organization structure, the channel length, and the print channel to which each pixel print data belongs includes:
s1, starting with Y corresponding to coordinate j, wherein: j is 0, 1, 2 … P, P is the number of prints;
s2, printing data by K pixels corresponding to the ith channel, and sequentially acquiring X corresponding coordinates (i-1) K +1, (i-1) K +2 … (i-1) K + K; wherein: i is a channel number corresponding to the pixel printing data, i is 1, 2 … N, N is the number of printing channels, and K is the length of the channels;
s3, acquiring a Y corresponding coordinate j +1 after acquiring the X coordinate of the pixel printing data of the Nth channel;
s4, circularly executing the steps S1-S3 until the value of j is P, and ending the circulation.
Further, the obtaining of the storage location of the target pixel printing data according to the target pixel coding comprises:
calculating the storage position of target pixel printing data according to the target pixel codes;
and reading the printing data of the storage position.
Further, the storage locations of the target pixel printing data are:
S=L*b/8,
wherein: s is the storage position of target pixel printing data, L is the relative position of the pixel printing data in the memory, b is the bit number of one pixel, and the values are 1, 2, 4 and 8;
the relative positions of the pixel printing data in the memory are as follows: l ═ y × N + N) M + x/p;
wherein Y is the Y-axis coordinate of the pixel printing data, X is the X-axis coordinate of the pixel printing data, N is the number of printing system channels, M is the length of the channels, p is the number of channels divided by each line of pixels of the target image according to the characteristics of the printing system,/represents the rounding operation, and N is the number of the channels to which the current pixel belongs.
Further, the determining the target pixel code to be printed according to the print job and the current print position includes:
and determining the two-dimensional coordinates (x, y) and the printing channel number of the target pixel to be printed according to the printing task and the current printing position.
Further, the method further comprises:
extracting effective data in the read target printing data, and performing feathering and shielding processing on the effective data;
and printing the processed valid data.
Another aspect of the present invention also provides a printer, including:
the first determining module is used for determining the code of the printing data of each pixel according to the characteristic parameters of the printing system;
the second determining module is used for determining a target pixel code to be printed according to the printing task and the current printing position;
the acquisition module is used for acquiring the storage position of the target pixel printing data according to the target pixel code;
and the reading module is used for reading the target printing data of the storage position.
Further, the first determining module comprises:
the creating module is used for creating an XY coordinate system according to the number of the printing channels and the length of the printing channels;
and the coordinate determination module is used for determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
In another aspect, the present invention further provides a print data reading system, which includes the printer and the terminal as described above.
According to the printing data reading method, the printing data reading device and the printing data reading system, the unique coding is carried out on the printing data of each pixel, the storage position of the target printing data can be found according to the coding of the printing data, and the reading of the printing data of the target pixel is further realized. By the invention, any one pixel can be directly addressed, and the access and management of multi-printing task and variable printing data can be easily realized. In addition, the printing data can be actively acquired by the control of the printing process, any part of the pixels of the printed image can be controlled, and the flexibility of the printing system is improved.
Meanwhile, local dynamic modification of variable printing data can be realized, communication information is reduced, and efficiency is improved. On the other hand, the invention combines the data organization structure of the printing system characteristic, which is beneficial to the processing and printing control of the printing data.
Drawings
Fig. 1 is a flowchart of a print data reading method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a print data reading method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a print data reading method according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a grating value counting method according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a printer according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
In the present invention, the terminal can be implemented in various forms. For example, the terminal described in the present invention may include a fixed terminal such as a desktop computer, a Digital TV, and the like, and a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like.
The invention provides a printing data reading method, which comprises the following steps:
determining the code of each pixel printing data according to the characteristic parameters of the printing system;
determining a target pixel code to be printed according to the printing task and the current printing position;
obtaining a storage position of target pixel printing data according to the target pixel code;
and reading the target printing data of the storage position.
According to the printing data reading method provided by the invention, the unique coding is carried out on the printing data of each pixel, so that the storage position of the target printing data can be found according to the coding of the printing data, and the reading of the printing data of the target pixel is further realized. By the invention, any one pixel can be directly addressed, and the access and management of multi-printing task and variable printing data can be easily realized. In addition, the printing data can be actively acquired by the control of the printing process, any part of the pixels of the printed image can be controlled, and the flexibility of the printing system is improved.
Meanwhile, local dynamic modification of variable printing data can be realized, communication information is reduced, and efficiency is improved. On the other hand, the invention combines the data organization structure of the printing system characteristic, which is beneficial to the processing and printing control of the printing data.
The following describes in detail embodiments of the present invention.
Example one
Fig. 1 shows a print data reading method according to a first embodiment of the present invention, where the method includes:
s101, determining the code of each pixel printing data according to the characteristic parameters of the printing system;
in this embodiment, the printing system characteristic parameters include: printing the number of channels, the length of the channels and the organization structure of the spray head; wherein, the number of printing channels refers to the number of channels printed at one time; the channel length refers to the number of pixels contained in the channel; the nozzle organization means that the printing system adopts several rows of nozzles to print one row of pixels.
In a specific embodiment, the pixel printing data codes are represented by two-dimensional coordinates, that is, each pixel printing data is represented by one-to-one two-dimensional coordinates.
Specifically, the determining the encoding of the print data of each pixel according to the characteristic parameters of the printing system includes:
s1011, establishing an XY coordinate system according to the number of the printing channels and the length of the printing channels;
and S1012, determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
Through the steps, the unique code is determined for each pixel printing data, the printing data of each specific pixel can be directly accessed through the unique pixel code, and flexible reading of the pixel printing data is realized.
S102, determining a target pixel code to be printed according to the printing task and the current printing position;
s103, obtaining a storage position of target pixel printing data according to the target pixel coding;
specifically, the method comprises the following steps:
s1031, calculating the storage position of the target pixel printing data according to the target pixel code;
s1032, reading the printing data of the storage position.
And S104, reading the target printing data of the storage position.
Example two
Another print data reading method according to a second embodiment of the present invention is, as shown in fig. 2, a method including:
s201, establishing an XY coordinate system according to the number of printing channels and the length of the printing channels;
illustratively, the number of printing channels is represented by an X axis, and then the maximum value in the X axis direction is the maximum pixel quantity of one channel of the printing system, and the unit is a pixel; the Y-axis represents the channel length, and the Y-axis direction is in units of the total number of channels.
Specifically, as shown in fig. 3, a two-dimensional image to be printed is placed in a two-dimensional coordinate system, the printing direction of the image is the Y-axis direction, and the mounting direction of the printing head is the X-axis direction.
S202, determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
Specifically, as shown in fig. 3, the present step includes:
s1, starting with Y corresponding to coordinate j, wherein: j is 0, 1, 2 … P, P is the number of prints;
s2, printing data by K pixels corresponding to the ith channel, and sequentially acquiring X corresponding coordinates (i-1) K +1, (i-1) K +2 … (i-1) K + K; wherein: i is a channel number corresponding to the pixel printing data, i is 1, 2 … N, N is the number of printing channels, and K is the length of the channels;
s3, acquiring a Y corresponding coordinate j +1 after acquiring the X coordinate of the pixel printing data of the Nth channel;
s4, circularly executing the steps S1-S3 until the value of j is P, and ending the circulation.
The above steps are described in detail below with reference to fig. 4 as an example.
Fig. 4 is a true pixel arrangement of a print target image, wherein the print target image is 64 × 30 pixels;
in this embodiment, the nozzle organization structure of the printing system sampling is: the printing system adopts 4 columns of nozzles to print one row of pixels; each line of pixels is divided into 4 channels in the target image to be printed of fig. 4.
The start address of the print data in the memory may be arbitrarily configured, and the start address stores the pixel print data of coordinates (0, 0). In fig. 4, each small circle represents a pixel, the number beside the circle represents the channel number to which the pixel print data belongs, the dashed line box represents all channels printed at one time, and how many dashed line boxes represent the number of times the image needs to be printed. In this example, the number of channels is 12, and each channel has the same length and is 16, that is, all channels have the same number of pixels, which is 16.
It should be noted that fig. 4 illustrates a real pixel arrangement of the printing target image, and does not represent a coordinate arrangement of each pixel in the XY coordinates.
The target image pixel data shown in fig. 4 will be sequentially determined for two-dimensional coordinates by:
s10, starting from the Y corresponding coordinate of 0;
s12, corresponding to the 16 pixel printing data of the 1 st channel, acquiring X corresponding coordinates of 1, 2 … 16, and completing the writing of the pixel printing data of the (1, 0), (2, 0) … (16, 0) position; namely, finishing the acquisition of the X coordinates of the pixel data represented by the 16 small circles No. 1 in the dotted line frame in FIG. 4; corresponding to the pixel printing data of the 2 nd channel, acquiring X corresponding coordinates of 17, 18 … 32, and completing the acquisition of X coordinates of pixel printing data at positions (17, 0), (18, 0) … (32, 0); namely, finishing the acquisition of the X coordinates of the pixel data represented by 16 small circles No. 2 in the dotted line frame in FIG. 4; …, respectively; corresponding to the 16 pixel printing data of the 12 th channel, acquiring X corresponding coordinates of 176, 177 … 192, and completing the acquisition of X coordinates of pixel printing data at positions (176, 0), (177, 0) … (192, 0); that is, the acquisition of the X coordinate of the pixel data represented by the 16 small circles of size 12 within the dotted line frame in fig. 4 is completed.
Up to this point, the pixel print data from the 12 different channels have all acquired the corresponding X coordinates.
S13, judging whether pixel printing data X coordinates of all 12 channels are obtained or not, and obtaining a Y corresponding coordinate as 1 after obtaining the pixel printing data X coordinate of the 12 th channel;
s14, starting from the Y corresponding coordinate being 1;
s15, acquiring the X coordinates of the pixel printing data of the 1 st channel to the 12 th channel, and completing the writing of the pixel printing data of the positions (1, 1), (2, 1), (3, 1) … (192, 1) respectively; see S12 for a specific writing method.
S16, judging whether pixel printing data X coordinates of all 12 channels are obtained or not, and obtaining a Y corresponding coordinate of 2 after the pixel printing data X coordinates of the 12 th channel are obtained;
s17, executing step S14-S16 until Y takes on P to finish the loop.
Where P is the number of prints.
S203, determining a target pixel code to be printed according to the printing task and the current printing position;
specifically, the method comprises the following steps:
and determining the two-dimensional coordinates (x, y) and the printing channel number of the target pixel printing data to be printed according to the printing task and the current printing position. That is, the target pixel code is determined by the two-dimensional coordinates (x, y) of the print data and the print channel number.
S204, obtaining a storage position of target pixel printing data according to the target pixel coding;
specifically, the method comprises the following steps:
calculating the storage position of target pixel printing data according to the target pixel codes;
in one specific embodiment, the storage location of the target pixel print data is:
S=L*b/8,
wherein: s is the storage position of target pixel printing data, L is the relative position of the pixel printing data in the memory, b is the bit number of one pixel, and the values are 1, 2, 4 and 8;
the relative positions of the pixel printing data in the memory are as follows: l ═ y × N + N) M + x/p;
wherein:
y is the Y-axis coordinate of the pixel print data,
x is the X-axis coordinate of the pixel print data,
n is the number of channels of the printing system,
m is the length of the channel, and M is the length of the channel,
p is the number of channels into which each line of pixels of the target image is divided according to the characteristics of the printing system,
the/represents the operation of rounding off,
n is the channel number to which the current pixel belongs.
And S205, reading the target printing data of the storage position.
S206, extracting effective data in the read target printing data, and performing feathering and shielding processing on the effective data;
and S207, printing the processed valid data.
According to the printing data reading method provided by the invention, the unique coding is carried out on the printing data of each pixel, so that the storage position of the target printing data can be found according to the coding of the printing data, and the reading of the printing data of the target pixel is further realized. By the invention, any one pixel can be directly addressed, and the access and management of multi-printing task and variable printing data can be easily realized. In addition, the printing data can be actively acquired by the control of the printing process, any part of the pixels of the printed image can be controlled, and the flexibility of the printing system is improved.
Based on the above-mentioned various method embodiments, the present invention also provides the following apparatus embodiments.
EXAMPLE III
A printer, as shown in fig. 5, comprising:
a first determining module 51, configured to determine an encoding of the print data for each pixel according to the print system characteristic parameter;
a second determining module 52, configured to determine a target pixel code to be printed according to the print job and the current print position;
an obtaining module 53, configured to obtain a storage location of target pixel print data according to the target pixel code;
and a reading module 54, configured to read the target print data in the storage location.
In a specific embodiment, the first determining module 51 includes:
the creating module is used for creating an XY coordinate system according to the number of the printing channels and the length of the printing channels;
and the coordinate determination module is used for determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
In a specific embodiment, the coordinate determination module is configured to perform the following method steps:
s1, starting with Y corresponding to coordinate j, wherein: j is 0, 1, 2 … P, P is the number of prints;
s2, printing data by K pixels corresponding to the ith channel, and sequentially acquiring X corresponding coordinates (i-1) K +1, (i-1) K +2 … (i-1) K + K; wherein: i is a channel number corresponding to the pixel printing data, i is 1, 2 … N, N is the number of printing channels, and K is the length of the channels;
s3, acquiring a Y corresponding coordinate j +1 after acquiring the X coordinate of the pixel printing data of the Nth channel;
s4, circularly executing the steps S1-S3 until the value of j is P, and ending the circulation.
In a specific embodiment, the obtaining module 53 includes:
the calculation module is used for calculating the storage position of the target pixel printing data according to the target pixel code;
and the reading module is used for reading the printing data of the storage position.
In one specific embodiment, the storage location of the target pixel print data is:
S=L*b/8,
wherein: s is the storage position of target pixel printing data, L is the relative position of the pixel printing data in the memory, b is the bit number of one pixel, and the values are 1, 2, 4 and 8;
the relative positions of the pixel printing data in the memory are as follows: l ═ y × N + N) M + x/p;
wherein:
y is the Y-axis coordinate of the pixel print data,
x is the X-axis coordinate of the pixel print data,
n is the number of channels of the printing system,
m is the length of the channel, and M is the length of the channel,
p is the number of channels into which each line of pixels of the target image is divided according to the characteristics of the printing system,
the/represents the operation of rounding off,
n is the channel number to which the current pixel belongs.
In a specific embodiment, the second determining module 52 is specifically configured to determine the two-dimensional coordinates (x, y) and the printing channel number of the target pixel to be printed according to the printing task and the current printing position.
In one embodiment, the printer further comprises:
a data processing module 55, configured to extract valid data in the read target print data, and perform feathering and shielding processing on the valid data;
and a printing module 56 for printing the processed valid data.
Based on the printer, the invention also provides a printing system, which comprises a terminal and a printer, wherein the printer is shown in fig. 5, and the terminal can be implemented in various forms. For example, the terminal described in the present invention may include a fixed terminal such as a desktop computer, a Digital TV, and the like, and a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like.
According to the printing data reading method, the printing data reading device and the printing data reading system, the unique coding is carried out on the printing data of each pixel, the storage position of the target printing data can be found according to the coding of the printing data, and the reading of the printing data of the target pixel is further realized. By the invention, any one pixel can be directly addressed, and the access and management of multi-printing task and variable printing data can be easily realized. In addition, the printing data can be actively acquired by the control of the printing process, any part of the pixels of the printed image can be controlled, and the flexibility of the printing system is improved. Meanwhile, local dynamic modification of variable printing data can be realized, communication information is reduced, and efficiency is improved. On the other hand, the invention combines the data organization structure of the printing system characteristic, which is beneficial to the processing and printing control of the printing data.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A print data reading method, characterized by comprising:
determining the code of each pixel printing data according to the characteristic parameters of the printing system;
determining a target pixel code to be printed according to the printing task and the current printing position;
obtaining a storage position of target pixel printing data according to the target pixel code;
and reading the target printing data of the storage position.
2. The print data reading method according to claim 1, wherein the printing system characteristic parameters include: printing the number of channels, the length of the channels and the organization structure of the spray head; the printing data codes are expressed by two-dimensional coordinates;
the determining the encoding of the print data for each pixel according to the printing system characteristic parameters comprises:
establishing an XY coordinate system according to the number of the printing channels and the length of the printing channels;
and determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
3. The method according to claim 2, wherein the determining the two-dimensional coordinates of each pixel print data according to the nozzle organization structure, the channel length and the print channel to which each pixel print data belongs comprises:
s1, starting with Y corresponding to coordinate j, wherein: j is 0, 1, 2 … P, P is the number of prints;
s2, printing data by K pixels corresponding to the ith channel, and sequentially acquiring X corresponding coordinates (i-1) K +1, (i-1) K +2 … (i-1) K + K; wherein: i is a channel number corresponding to the pixel printing data, i is 1, 2 … N, N is the number of printing channels, and K is the length of the channels;
s3, acquiring a Y corresponding coordinate j +1 after acquiring the X coordinate of the pixel printing data of the Nth channel;
s4, executing step S1-S3 until j is equal to P to end the loop.
4. The print data reading method according to claim 1, wherein the obtaining of the storage location of the target pixel print data according to the target pixel code comprises:
calculating the storage position of target pixel printing data according to the target pixel codes;
and reading the printing data of the storage position.
5. The print data reading method according to claim 4, wherein the storage location of the target pixel print data is:
S=L*b/8,
wherein: s is the storage position of target pixel printing data, L is the relative position of the pixel printing data in the memory, b is the bit number of one pixel, and the values are 1, 2, 4 and 8;
the relative positions of the pixel printing data in the memory are as follows: l ═ y × N + N) M + x/p;
wherein Y is the Y-axis coordinate of the pixel printing data, X is the X-axis coordinate of the pixel printing data, N is the number of printing system channels, M is the length of the channels, p is the number of channels divided by each line of pixels of the target image according to the characteristics of the printing system,/represents the rounding operation, and N is the number of the channels to which the current pixel belongs.
6. The method for reading print data according to claim 3 or 5, wherein the determining a target pixel code to be printed according to the print job and the current print position comprises:
and determining the two-dimensional coordinates (x, y) and the printing channel number of the target pixel to be printed according to the printing task and the current printing position.
7. The print data reading method according to claim 6, further comprising:
extracting effective data in the read target printing data, and performing feathering and shielding processing on the effective data;
and printing the processed valid data.
8. A printer, comprising:
the first determining module is used for determining the code of the printing data of each pixel according to the characteristic parameters of the printing system;
the second determining module is used for determining a target pixel code to be printed according to the printing task and the current printing position;
the acquisition module is used for acquiring the storage position of the target pixel printing data according to the target pixel code;
and the reading module is used for reading the target printing data of the storage position.
9. The printer according to claim 8, wherein the first determination module comprises:
the creating module is used for creating an XY coordinate system according to the number of the printing channels and the length of the printing channels;
and the coordinate determination module is used for determining the two-dimensional coordinates of each pixel printing data according to the nozzle organization structure, the channel length and the printing channel to which each pixel printing data belongs.
10. A print data reading system comprising a printer according to claim 8 or 9 and a terminal.
CN201810740518.7A 2018-07-07 2018-07-07 Print data reading method, device and system Active CN110688076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810740518.7A CN110688076B (en) 2018-07-07 2018-07-07 Print data reading method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810740518.7A CN110688076B (en) 2018-07-07 2018-07-07 Print data reading method, device and system

Publications (2)

Publication Number Publication Date
CN110688076A true CN110688076A (en) 2020-01-14
CN110688076B CN110688076B (en) 2023-08-15

Family

ID=69107002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810740518.7A Active CN110688076B (en) 2018-07-07 2018-07-07 Print data reading method, device and system

Country Status (1)

Country Link
CN (1) CN110688076B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050219563A1 (en) * 2003-06-20 2005-10-06 Toshiaki Kakutani Printing system, printing device, and printing method
US20060050131A1 (en) * 2002-03-11 2006-03-09 Alex Breton Hand held printer correlated to fill-out transition print areas
US20070153042A1 (en) * 2005-12-30 2007-07-05 Hsiao-Yu Han Multi-pass print apparatus and method
JP2010277071A (en) * 2009-04-30 2010-12-09 Duplo Kk Map-printing/reading device
CN102627041A (en) * 2011-02-04 2012-08-08 精工爱普生株式会社 Print data generation device, print data generation method, and print data generation program
US20120243052A1 (en) * 2011-03-24 2012-09-27 Seiko Epson Corporation Printing apparatus, printing method, printing data generation program, and dither mask generation method
US20140152727A1 (en) * 2012-11-30 2014-06-05 Hewlett-Packard Development Company, L.P. Processing printhead control data and printing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060050131A1 (en) * 2002-03-11 2006-03-09 Alex Breton Hand held printer correlated to fill-out transition print areas
US20050219563A1 (en) * 2003-06-20 2005-10-06 Toshiaki Kakutani Printing system, printing device, and printing method
US20070153042A1 (en) * 2005-12-30 2007-07-05 Hsiao-Yu Han Multi-pass print apparatus and method
JP2010277071A (en) * 2009-04-30 2010-12-09 Duplo Kk Map-printing/reading device
CN102627041A (en) * 2011-02-04 2012-08-08 精工爱普生株式会社 Print data generation device, print data generation method, and print data generation program
US20120243052A1 (en) * 2011-03-24 2012-09-27 Seiko Epson Corporation Printing apparatus, printing method, printing data generation program, and dither mask generation method
US20140152727A1 (en) * 2012-11-30 2014-06-05 Hewlett-Packard Development Company, L.P. Processing printhead control data and printing system

Also Published As

Publication number Publication date
CN110688076B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
US6064397A (en) Method for creating multiple documents having identical background regions and page specific image regions
US7617047B2 (en) Map information system and map information processing method and program
CN1952955A (en) Printer having a direct printing function and printing method thereof
US20120299881A1 (en) System for tracking and processing handwritten pen strokes on mobile terminal
CN113012265B (en) Method, apparatus, computer device and medium for generating needle-type printed character image
US20110113366A1 (en) Apparatus and method for processing data in terminal having touch screen
CN112507806A (en) Intelligent classroom information interaction method and device and electronic equipment
CN111736731A (en) Handwriting obtaining method and system
CN112486337B (en) Handwriting graph analysis method and device and electronic equipment
CN110688076B (en) Print data reading method, device and system
CN112487876A (en) Intelligent pen character recognition method and device and electronic equipment
JP3009525B2 (en) Vector image drawing equipment
CN111353493A (en) Text image direction correction method and device
US5883624A (en) Document reference apparatus and method for displaying documents page by page and storage medium storing program used for realizing the apparatus and method
CN112365402B (en) Intelligent winding method and device, storage medium and electronic equipment
EP4047547A1 (en) Method and system for removing scene text from images
US10049478B2 (en) Retrieval and display of visual objects
CN1689028A (en) Onling hand-written character input device and method
CN115188000A (en) Text recognition method and device based on OCR (optical character recognition), storage medium and electronic equipment
CN104850819A (en) Information processing method and electronic device
CN104461406B (en) A kind of print-out method and device
JP2008299845A (en) Rendering system and rendering method for transparent object
CN111142809A (en) Printing control method, device and system
CN108563434A (en) A kind of printing driving development approach
JP4325339B2 (en) Printing system, host computer and printer driver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant