CN110837350B - Continuous sun printing method, lower computer, upper computer and system - Google Patents
Continuous sun printing method, lower computer, upper computer and system Download PDFInfo
- Publication number
- CN110837350B CN110837350B CN201911179110.8A CN201911179110A CN110837350B CN 110837350 B CN110837350 B CN 110837350B CN 201911179110 A CN201911179110 A CN 201911179110A CN 110837350 B CN110837350 B CN 110837350B
- Authority
- CN
- China
- Prior art keywords
- data
- printing
- continuous
- read
- pass
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1211—Improving printing performance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1236—Connection management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/126—Job scheduling, e.g. queuing, determine appropriate device
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
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 continuous sun printing method, a lower computer, an upper computer and a system, and relates to the technical field of scanning printing. The continuous sun printing method comprises the following steps: receiving data, writing the data, reading the data and printing the data. The lower computer based on continuous sun printing comprises: the device comprises a receiving module, a data writing module and a data reading module; and a data printing module. The continuous printing method of the invention is that data is sent, the movement of a spray head is controlled, and the next pass data is sent. The upper computer for continuous sun printing comprises a processor, a memory and computer program instructions. The continuous sun printing system comprises an upper computer, a lower computer and a spray head. The continuous sun printing method, the lower computer, the upper computer and the system can solve the technical problems of low data processing speed and low communication efficiency of the upper computer in the prior art.
Description
Technical Field
The invention relates to the technical field of scanning printing, in particular to a continuous sun printing method, a lower computer, an upper computer and a system.
Background
In some applications in the field of inkjet printing, it is currently necessary to print a single pattern unit repeatedly and then stitch the single pattern unit into a larger-format pattern. This printing mode is also called tandem printing. In which the pattern to be repeatedly printed is also called a continuous sun unit.
At present, the ink-jet printing is divided into two printing modes, namely multipass printing and Onepass printing. Onepass printing refers to scanning to complete a print job once. The multi-pass printing is characterized in that the length direction of a nozzle is parallel to the Y direction of the moving direction of a printing medium, the nozzle moves back and forth in the X direction, the printing medium moves in a stepping mode, the nozzle finishes scanning printing once in the process of moving in the X direction for one stroke, namely finishing printing of one pass, the printing medium steps for a distance of one pass in the intermittent period of reversing and accelerating the nozzle, finishing next scanning printing after reversing the nozzle, namely finishing printing of the next pass, and repeatedly finishing all printing operations.
For some smaller-sized continuous-exposure images, continuous exposure can be performed in one pass, i.e., a print image of one pass is composed of multiple repeated image units. In the prior art, for continuous sunning printing, no matter how large the continuous sunning pattern units are, each printing unit needs to be subjected to data processing and transmission by an upper computer, so that the defects of large processing capacity of the upper computer, multiple data transmission times, large data transmission capacity, low data processing speed and low communication efficiency are caused.
Disclosure of Invention
The invention provides a continuous sun printing method, a lower computer, an upper computer and a system, which are used for solving the technical problems of complex data processing, low data processing speed, low communication efficiency and low efficiency of the whole printing system in the existing continuous sun printing technology.
In a first aspect, the present invention provides a method of continuous sun printing, the method comprising:
s1, receiving printing data and printing parameters of a continuous sunning unit which are transmitted by an upper computer and printed by a current pass;
s2, writing the printing data of the continuous sunning unit into a memory;
s3, circularly reading the printing data of the continuous sunning unit from the memory in a pass printing process according to the printing parameters;
s4, performing eclosion treatment on the read printing data and then sending the printing data to a spray head for printing.
Preferably, the printing parameters include a data amount of pass printing and a data amount of continuous exposure unit, and the circularly reading the printing data of the continuous exposure unit from the memory according to the printing parameters includes:
s31, acquiring the initial position of printing data of the continuous sunning unit in a memory;
s32, determining the residual printing data quantity according to the position of the current printing pixel and a pass printing data quantity;
S33, determining the data quantity read at this time according to the residual data quantity and the data quantity of one continuous sunning unit;
s34, reading the printing data of the continuous sunning unit according to the initial position and the data quantity read at the time;
S35, judging whether the print data of a pass is read, if yes, ending the reading of the data, otherwise, repeating the steps S32 to S35.
Preferably, the method for determining the current read data amount according to the remaining data amount and the data amount of one continuous sunning unit in S33 is as follows:
if the residual data volume is greater than or equal to the data volume of one continuous sunning unit, the data volume read at this time is the data volume of one continuous sunning unit;
If the residual data volume is smaller than the data volume of one continuous sunning unit, the data volume read at this time is the residual data volume.
Preferably, the step S4 of performing eclosion processing on the read print data and then sending the print data to a nozzle for printing, including;
s41, receiving an eclosion template printed by a pass sent by an upper computer;
s42, obtaining a channel offset value corresponding to the currently read printing data and the position of the printing data in a channel;
s43, obtaining a sub-template for eclosing the printing data from an eclosion template printed by a pass according to a channel offset value corresponding to the printing data and the position of the printing data in a channel;
s44, the sub-template is utilized to carry out eclosion treatment on the printing data, and the printing data is sent to a spray head for printing.
Preferably, the data length of the eclosion template is equal to the data length of a pass print data:
In a second aspect, the present invention provides a lower computer for continuous sun printing, the lower computer comprising:
the data receiving module is used for receiving printing parameters of a pass printing and printing data of a continuous sunning unit, which are sent by the upper computer;
the data writing module is used for writing the printing data of the continuous sunning unit into a memory;
The data reading module is used for circularly reading the printing data of the continuous sunning unit from the memory in a pass printing process according to the printing parameters;
and the data printing module is used for performing eclosion treatment on the read printing data and then sending the printing data to the spray head for printing.
In a third aspect, the present invention provides a method of continuous sun printing, the method comprising:
S100, sending print data and print parameters of a continuous sunning unit for pass printing to a lower computer;
s200, controlling the spray head to move to a printing position according to the printing parameters so that the spray head can finish a pass printing according to the printing data of the continuous sunning unit circularly read and sent by the lower computer;
s300, after the pass printing is finished, sending data of the next pass printing to the lower computer.
Preferably, the step 300 of sending the data of the next pass printing to the lower computer after the pass printing is finished includes;
s310, acquiring a read address of the printing data of the current pass and a data length of a continuous sunning unit;
s320, calculating the read address of the print data of the next pass according to the read address of the print data of the current pass and the data length of one continuous exposure unit;
S330, reading the print data of the next pass according to the read address of the print data of the next pass and sending the print data to the lower computer.
In a fourth aspect, the present invention provides a host computer for tandem printing, the host computer comprising at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method according to the third aspect.
In a fifth aspect, the present invention provides a continuous sun printing system, which includes the upper computer based on continuous sun printing according to the fourth aspect, the lower computer according to the second aspect, and a nozzle connected to the lower computer.
In summary, in the continuous printing method, the lower computer, the upper computer and the system provided by the invention, the upper computer only needs to send the data of one continuous printing unit in a pass to the lower computer at one time and write the data into the memory of the lower computer in the process of printing the pass. And then repeatedly reading and printing the stored image data of the continuous printing unit by the lower computer in a pass printing process according to the printing parameters so as to finish continuous printing of the pass. According to the scheme, the upper computer and the lower computer are matched with each other to write and read the printing data, and the continuous exposure of the images in one pass is processed by the lower computer, so that the continuous exposure printing of each pass is realized, and the upper computer only needs to send data once and only needs to send data of one continuous exposure unit. Therefore, the data processing amount and the data transmission amount of the upper computer can be remarkably reduced; the data processing speed and the communication transmission efficiency of the upper computer are improved, and meanwhile, the data processing complexity of the upper computer is reduced. Thus, the upper computer can allocate more resources to process the printing operation of the rest of the printing equipment, thereby improving the printing efficiency of the whole printer system.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a continuous printing method according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method for circularly reading print data of the continuous sun unit in embodiment 1 of the present invention.
Fig. 3 is a flowchart of a method of performing eclosion processing on read data in embodiment 1 of the present invention.
Fig. 4 is a block diagram of a lower computer for tandem printing in embodiment 2 of the present invention.
Fig. 5 is a flowchart of a continuous printing method according to embodiment 3 of the present invention.
Fig. 6 is a schematic structural diagram of an upper computer for continuous sun printing according to embodiment 4 of the present invention.
Fig. 7 is a schematic diagram of the tandem printing system according to embodiment 5 of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Example 1
Referring to fig. 1, an embodiment of the present invention provides a tandem printing method, which is applied to a scene in tandem printing in a pass. In the method, in the process of printing a pass, the upper computer only needs to send the data of one continuous sunning unit in the pass to the lower computer at one time and write the data into the memory of the lower computer. And then repeatedly reading and printing the stored image data of the continuous printing unit by the lower computer in a pass printing process according to the printing parameters so as to finish continuous printing of the pass. According to the scheme, the upper computer and the lower computer are matched for writing and reading of the printing data, and the continuous exposure of the images in one pass is processed by the lower computer such as an FPGA, so that the continuous exposure printing of each pass is realized, and the upper computer only needs to send data once and only needs to send data of one continuous exposure unit. Therefore, the data processing amount and the data transmission amount of the upper computer can be remarkably reduced; the data processing speed and the communication transmission efficiency of the upper computer are improved, and meanwhile, the data processing complexity of the upper computer is reduced. Thus, the upper computer can allocate more resources to process the printing operation of the rest of the printing equipment, thereby improving the printing efficiency of the whole printer system.
As shown in fig. 1, the method specifically includes the following steps:
s1, receiving printing data and printing parameters of a continuous sunning unit which are transmitted by an upper computer and printed by a current pass;
The whole printing flow is controlled by an upper computer, and the upper computer sends the data of the next pass to a lower computer between two pass printing, wherein the lower computer can be an FPGA. When the data is organized in the channel sequence of the pass scanning direction and the current pass continuous sunning printing starts, the upper computer sends the printing data of one continuous sunning unit of the current pass to the lower computer. The length of the transmitted print data is the length of the print data of one continuous printing unit. The length of the print data is determined by the pass width and the continuous exposure unit width. The length value of the print data is fixed for one print job. The data sent by the upper computer is organized according to the channel sequence of the pass scanning direction. The lower computer is responsible for receiving the printing data and the printing parameters of a continuous sunning unit sent by the upper computer.
S2, writing the printing data of the continuous sunning unit into a memory;
After the lower computer receives the printing data of the continuous sunning unit sent by the upper computer, the printing data can be stored in the memory according to the sequence of data receiving.
S3, circularly reading the printing data of the continuous sunning unit from the memory in a pass printing process according to the printing parameters;
And the upper computer controls the printing equipment to drive the spray head to move to the printing position according to the initial printing position configured by the printing parameters to start printing of the current pass. In the printing process, the lower computer such as an FPGA repeatedly reads the continuous sun-curing data stored in the memory according to the printing process.
As shown in fig. 2, the printing parameters received by the lower computer include the data volume of a pass printing and the data volume of a continuous sunning unit. The specific steps of circularly reading the printing data of the continuous sun unit from the memory in the pass printing process according to the printing parameters include:
s31, acquiring the initial position of printing data of the continuous sunning unit in a memory;
The starting position of the printing data of the continuous sun unit in the memory can be recorded when the continuous sun unit is stored in the memory of the lower computer.
S32, determining the residual printing data quantity according to the current printing pixel position and a pass printing data quantity;
The position of the current print pixel refers to what pixel the current print is the current scan print. The printing device will record what pixel is currently being printed during printing. According to the position of the pixel which is printed currently, the number of the pixels which are printed can be obtained, so that the data quantity which is printed is obtained, and the data quantity which is not printed in a pass can be obtained by combining the data quantity which is printed in the pass.
S33, determining the data quantity read at this time according to the residual data quantity and the data quantity of one continuous sunning unit;
The method for determining the data quantity read at this time comprises the following steps: if the residual data volume is greater than or equal to the data volume of one continuous sunning unit, the data volume read at this time is the data volume of one continuous sunning unit;
If the residual data volume is smaller than the data volume of one continuous sunning unit, the data volume read at this time is the residual data volume.
S34, reading the printing data of the continuous sunning unit according to the initial position and the data quantity read at the time;
Since the print data size of a pass may or may not be an integer multiple of the data size of a tandem sun unit. If the number is an integer multiple, the data size of each read continuous sunning unit in the printing of a pass is just the total data size of a complete continuous sunning unit. If the data is not an integer multiple, the data of the last continuous sunning unit read is smaller than the data of one continuous sunning unit. Therefore, when each print data of one continuous printing is read, the data quantity of the remaining unprinted data in a pass is judged to be insufficient to be the data quantity of a complete continuous printing unit. If so, the printing data of the data quantity of one continuous sunning unit is read, and if not, the printing data is read according to the residual data quantity. When the starting position and the data quantity read at this time are determined, the data of the continuous sunning unit can be read from the starting position of the continuous sunning unit data storage.
S35, judging whether the print data of a pass is read, if yes, ending the reading of the data, otherwise, repeating the steps S32 to S35.
After the printing of the data of one continuous sunning unit is finished, the pointer for reading the memory data returns to the initial position of the data storage of the continuous sunning unit, and the continuous sunning unit is repeatedly read until the data of the data quantity of a pass is read.
S4, performing eclosion treatment on the read printing data and then sending the printing data to a spray head for printing.
The lower computer performs eclosion treatment on the read printing data, distributes the data to the spray head according to the channel length, and prints the printing data by the spray head.
As shown in fig. 3, the specific steps of performing eclosion processing on the read printing data and then sending the data to a spray head for printing include;
s41, receiving an eclosion template printed by a pass sent by an upper computer;
the upper computer maintains an eclosion template with the same width as the pass width according to the pass width, namely the data length of the eclosion template is equal to the data length of the pass printing data. And the upper computer sends the computed eclosion template to the lower computer.
S42, obtaining a channel offset value corresponding to the currently read printing data and the position of the printing data in a channel;
While reading the print data, the lower computer determines to which channel the data corresponds by the count value and the channel length parameter, and precisely counts the position of the data in the corresponding channel.
Because the lower computer, such as the FPGA, distributes the data accessed from the lower computer to different channels according to the channel sequence, the width of a data bus used by the FPGA for sending to the spray head is limited, and 4 bytes or 8 bytes are taken at a time, so that one channel can acquire complete channel data only by a plurality of clock cycles, and the position of the data to be distributed currently in the channel is determined by the counter.
S43, obtaining a sub-template for eclosing the printing data from an eclosion template printed by a pass according to a channel offset value corresponding to the printing data and the position of the printing data in a channel;
The eclosion operation of the data and a portion of the eclosion template can be determined from the channel offset and the relative position of the data in the channel, the portion being a sub-template that eclosion the data, so that the sub-template is the portion of the eclosion template corresponding to the data.
S44, the sub-template is utilized to carry out eclosion treatment on the printing data, and the printing data is sent to a spray head for printing.
Example 2
Referring to fig. 4, the present embodiment provides a lower computer for continuous sun printing, the lower computer includes:
the data receiving module is used for receiving printing parameters of a pass printing and printing data of a continuous sunning unit, which are sent by the upper computer;
the data writing module is used for writing the printing data of the continuous sunning unit into a memory;
The data reading module is used for circularly reading the printing data of the continuous sunning unit from the memory in a pass printing process according to the printing parameters;
and the data printing module is used for performing eclosion treatment on the read printing data and then sending the printing data to the spray head for printing.
Example 3
As shown in fig. 5, the present embodiment provides a continuous sun printing method, which includes:
S100, sending print data and print parameters of a continuous sunning unit for pass printing to a lower computer;
The whole printing flow is controlled by the upper computer, and the upper computer sends the data of the next pass to the lower computer between two pass printing. Wherein the lower computer may be an FPGA. When the data is organized in the channel sequence of the pass scanning direction and the current pass continuous sunning printing starts, the upper computer sends the printing data of one continuous sunning unit of the current pass to the lower computer. The length of the transmitted print data is the length of the print data of one continuous printing unit. The length of the print data is determined by the pass width and the continuous exposure unit width. The length value of the print data is fixed for one print job. The data sent by the upper computer is organized according to the channel sequence of the pass scanning direction.
S200, controlling the movement position of the spray head according to the printing parameters so that the spray head can circularly read and send the printing data of the continuous sunning unit according to the lower computer to finish a pass printing;
s300, after the pass printing is finished, sending data of the next pass printing to the lower computer.
The specific sending steps are as follows:
s310, acquiring a read address of the printing data of the current pass and a data length of a continuous sunning unit;
s320, calculating the read address of the print data of the next pass according to the read address of the print data of the current pass and the data length of one continuous exposure unit;
S330, reading the print data of the next pass according to the read address of the print data of the next pass and sending the print data to the lower computer.
The upper computer realizes the read address update after finishing playing the data of one pass so as to read and send the data of the continuous sunning unit of the next pass.
Example 4
In addition, the continuous sun printing method of the embodiment 3 of the present invention may be implemented by an upper computer for continuous sun printing, and fig. 6 shows a schematic structural diagram of the upper computer for continuous sun printing provided by the embodiment of the present invention.
The host computer for continuous sun printing may include a processor 401 and a memory 402 storing computer program instructions.
In particular, the processor 401 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present invention.
Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may comprise a hard disk drive (HARD DISK DRIVE, HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of the foregoing. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. Memory 402 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the above-described continuous sun printing methods.
The host computer for continuous sun printing in one example may also include a communication interface 403 and a bus 410. As shown in fig. 6, the processor 401, the memory 402, and the communication interface 403 are connected by a bus 410 and perform communication with each other.
The communication interface 403 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present invention.
Bus 410 includes hardware, software, or both that couple the components of the data addressing device for area random printing to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 410 may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
Example 5
In addition, as shown in fig. 7, the printing device and the upper computer in the above embodiment are combined to provide a continuous sun printing system, which includes the upper computer for continuous sun printing described in embodiment 4, the lower computer described in embodiment 2, and a nozzle connected to the lower computer.
The above is a detailed description of the continuous sun printing method, the lower computer, the upper computer and the system provided by the embodiment of the invention.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present invention are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
In the foregoing, only the specific embodiments of the present invention are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present invention is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and they should be included in the scope of the present invention.
Claims (8)
1. The continuous sun printing method is characterized by being applied to scenes in continuous sun printing in a pass and comprising the following steps of:
S1, receiving printing data and printing parameters of a continuous sunning unit which are transmitted by an upper computer and printed by a current pass, wherein the length of the transmitted printing data is the length of the printing data of the continuous sunning unit, and the length of the printing data is determined by the pass width and the continuous sunning unit width;
s2, writing the printing data of the continuous sunning unit into a memory;
S3, circularly reading the printing data of the continuous sunning unit from the memory in a pass printing process according to the printing parameters; the printing parameters include a data volume of pass printing and a data volume of a continuous sunning unit, and the step S3 includes:
s31, acquiring the initial position of printing data of the continuous sunning unit in a memory;
s32, determining the residual printing data amount according to the position of the current printing pixel and a pass printing data amount, wherein the position of the current printing pixel refers to the number of pixels of the current scanning printing;
S33, determining the data quantity read at this time according to the residual data quantity and the data quantity of one continuous sunning unit, wherein the method for determining the data quantity read at this time is as follows: if the residual data volume is greater than or equal to the data volume of one continuous sunning unit, the data volume read at this time is the data volume of one continuous sunning unit; if the residual data volume is smaller than the data volume of one continuous sunning unit, the data volume read at this time is the residual data volume;
S34, reading the printing data of the continuous sunning unit according to the initial position and the data quantity read at the time; if the print data of a pass is an integer multiple of the data of a continuous sunning unit, the data of each read continuous sunning unit is a complete total data of the continuous sunning units in the printing of the pass; if not an integer multiple; the data size of the continuous sunning unit read for the last time is smaller than that of one continuous sunning unit; when the initial position and the current read data quantity are determined, starting to read the data of the continuous sunning unit from the initial position of the continuous sunning unit data storage;
S35, judging whether the print data of a pass is read, if yes, finishing the reading of the data, otherwise, repeating the steps S32 to S35; when the printing of the data of one continuous sunning unit is finished, the pointer for reading the memory data returns to the initial position of the data storage of the continuous sunning unit, and the continuous sunning unit is repeatedly read until the data of the data quantity of a pass is read;
s4, performing eclosion treatment on the read printing data and then sending the printing data to a spray head for printing.
2. The continuous sun printing method according to claim 1, wherein the step S4 of performing eclosion processing on the read print data and then sending the print data to a nozzle for printing comprises;
s41, receiving an eclosion template printed by a pass sent by an upper computer;
s42, obtaining a channel offset value corresponding to the currently read printing data and the position of the printing data in a channel;
s43, obtaining a sub-template for eclosing the printing data from an eclosion template printed by a pass according to a channel offset value corresponding to the printing data and the position of the printing data in a channel;
s44, the sub-template is utilized to carry out eclosion treatment on the printing data, and the printing data is sent to a spray head for printing.
3. The continuous sun printing method according to claim 2, characterized in that: the data length of the eclosion template is equal to the data length of a pass print data.
4. A lower computer for linking sun print, its characterized in that, the lower computer includes:
The receiving module is used for receiving the print parameters of a pass print and the print data of a continuous sunning unit sent by the upper computer, wherein the length of the sent print data is the length of the print data of the continuous sunning unit, and the length of the print data is determined by the pass width and the continuous sunning unit width;
The data writing module is used for writing the printing data of the continuous sunning unit into a memory;
The data reading module is used for circularly reading the printing data of the continuous sunning unit from the memory in the pass printing process according to the printing parameters, wherein the printing parameters comprise the data volume of the pass printing and the data volume of the continuous sunning unit, and the data reading module is also used for:
Acquiring the initial position of printing data of the continuous sunning unit in a memory;
Determining the residual printing data amount according to the current printing pixel position and a pass printing data amount, wherein the current printing pixel position refers to the current printing pixel number of the scanning printing;
Determining the data quantity read at this time according to the residual data quantity and the data quantity of one continuous sunning unit, wherein the method for determining the data quantity read at this time comprises the following steps: if the residual data volume is greater than or equal to the data volume of one continuous sunning unit, the data volume read at this time is the data volume of one continuous sunning unit; if the residual data volume is smaller than the data volume of one continuous sunning unit, the data volume read at this time is the residual data volume;
Reading printing data of the continuous sunning unit according to the initial position and the data quantity read at the time; if the print data of a pass is an integer multiple of the data of a continuous sunning unit, the data of each read continuous sunning unit is a complete total data of the continuous sunning units in the printing of the pass; if not an integer multiple; the data size of the continuous sunning unit read for the last time is smaller than that of one continuous sunning unit; when the initial position and the current read data quantity are determined, the data of the continuous sunning unit can be read from the initial position of the continuous sunning unit data storage;
judging whether the print data of a pass is read, if yes, finishing the reading of the data, and after the data of one continuous sunning unit is printed, returning a pointer for reading the memory data to the initial position of the continuous sunning unit for data storage, and repeatedly reading the continuous sunning unit until the data of the data quantity of the pass is read;
and the data printing module is used for performing eclosion treatment on the read printing data and then sending the printing data to the spray head for printing.
5. A continuous sun printing method, characterized in that the method comprises:
S100, sending print data and print parameters of a continuous sunning unit for pass printing to a lower computer;
S200, controlling the spray head to move to a printing position according to the printing parameters so that the spray head can finish a pass printing according to the printing data of the continuous sunning unit circularly read and sent by the lower computer; the printing parameters include a data size of pass printing and a data size of a continuous sunning unit, and the S200 further includes:
s31, acquiring the initial position of printing data of the continuous sunning unit in a memory;
s32, determining the residual printing data amount according to the position of the current printing pixel and a pass printing data amount, wherein the position of the current printing pixel refers to the number of pixels of the current scanning printing;
S33, determining the data quantity read at this time according to the residual data quantity and the data quantity of one continuous sunning unit, wherein the method for determining the data quantity read at this time is as follows: if the residual data volume is greater than or equal to the data volume of one continuous sunning unit, the data volume read at this time is the data volume of one continuous sunning unit; if the residual data volume is smaller than the data volume of one continuous sunning unit, the data volume read at this time is the residual data volume;
S34, reading the printing data of the continuous sunning unit according to the initial position and the data quantity read at the time; if the print data of a pass is an integer multiple of the data of a continuous sunning unit, the data of each read continuous sunning unit is a complete total data of the continuous sunning units in the printing of the pass; if not an integer multiple; the data size of the continuous sunning unit read for the last time is smaller than that of one continuous sunning unit; when the initial position and the current read data quantity are determined, starting to read the data of the continuous sunning unit from the initial position of the continuous sunning unit data storage;
S35, judging whether the print data of a pass is read, if yes, finishing the reading of the data, otherwise, repeating the steps S32 to S35;
when the printing of the data of one continuous sunning unit is finished, the pointer for reading the memory data returns to the initial position of the data storage of the continuous sunning unit, and the continuous sunning unit is repeatedly read until the data of the data quantity of a pass is read;
s300, after the pass printing is finished, sending data of the next pass printing to the lower computer.
6. The continuous sun-printing method as claimed in claim 5, wherein the step of S300 of transmitting the data of the next pass printing to the lower computer after the completion of the pass printing includes;
s310, acquiring a read address of the printing data of the current pass and a data length of a continuous sunning unit;
s320, calculating the read address of the print data of the next pass according to the read address of the print data of the current pass and the data length of one continuous exposure unit;
S330, reading the print data of the next pass according to the read address of the print data of the next pass and sending the print data to the lower computer.
7. A host computer for continuous sun printing, characterized in that the host computer comprises at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method according to any one of claims 5 or 6.
8. The continuous sun printing system is characterized by comprising the lower computer according to claim 4, the upper computer according to claim 7 and a spray head connected with the lower computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911179110.8A CN110837350B (en) | 2019-11-27 | 2019-11-27 | Continuous sun printing method, lower computer, upper computer and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911179110.8A CN110837350B (en) | 2019-11-27 | 2019-11-27 | Continuous sun printing method, lower computer, upper computer and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110837350A CN110837350A (en) | 2020-02-25 |
| CN110837350B true CN110837350B (en) | 2024-06-18 |
Family
ID=69577410
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911179110.8A Active CN110837350B (en) | 2019-11-27 | 2019-11-27 | Continuous sun printing method, lower computer, upper computer and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110837350B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109272471A (en) * | 2018-10-13 | 2019-01-25 | 森大(深圳)技术有限公司 | Print data emergence processing method, device, equipment and storage medium |
| CN110303787A (en) * | 2019-06-25 | 2019-10-08 | 浙江海印数码科技有限公司 | Method and device for image array printing |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11129568A (en) * | 1997-11-04 | 1999-05-18 | Fujitsu Ltd | Printer |
| CN100520703C (en) * | 2007-09-18 | 2009-07-29 | 北大方正集团有限公司 | Grating processing method and device |
| JP2009277189A (en) * | 2008-05-19 | 2009-11-26 | Casio Electronics Co Ltd | Print control unit in automatic layout printing |
| CN108984136B (en) * | 2018-07-11 | 2021-11-16 | 深圳市汉森软件有限公司 | Printing data transmission method, device, equipment and storage medium |
| CN109703217B (en) * | 2018-12-29 | 2020-05-01 | 深圳市汉森软件有限公司 | Oneepass printing control method, device, equipment and medium |
-
2019
- 2019-11-27 CN CN201911179110.8A patent/CN110837350B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109272471A (en) * | 2018-10-13 | 2019-01-25 | 森大(深圳)技术有限公司 | Print data emergence processing method, device, equipment and storage medium |
| CN110303787A (en) * | 2019-06-25 | 2019-10-08 | 浙江海印数码科技有限公司 | Method and device for image array printing |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110837350A (en) | 2020-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110421984B (en) | Reciprocating scanning printing control method, device, equipment and storage medium | |
| CN109760431B (en) | Print data processing method, device, equipment and storage medium | |
| CN110039901B (en) | Oneepass inkjet printing control method, device, equipment and medium | |
| CN109263280B (en) | Oneepass ink-jet printing method, device, equipment and storage medium | |
| CN110733253B (en) | Spray head moisturizing printing control method, device, equipment and storage medium | |
| CN110027325B (en) | Printing control method, device, equipment and printer | |
| CN118605821B (en) | Image printing processing method, device, equipment and computer storage medium | |
| CN110928503B (en) | Data addressing method, device, equipment and storage medium for regional random printing | |
| CN110202936A (en) | Based on state diagram detection nozzle whether Yi Chang method, apparatus, equipment and medium | |
| CN113515241B (en) | Printing method, device, equipment and storage medium for printing multiple images | |
| CN110837350B (en) | Continuous sun printing method, lower computer, upper computer and system | |
| CN112060786B (en) | Control method, device, equipment and storage medium for seamless continuous printing of repeated images | |
| CN110163307B (en) | Printing method, device, equipment and medium capable of adjusting label position in real time | |
| CN114590048A (en) | Reciprocating scanning printing method, device, equipment and medium | |
| CN114475034B (en) | Double-station image staggered printing method, device, equipment and storage medium | |
| CN116414318A (en) | Inkjet printing data processing method, device, equipment and medium | |
| CN110936739B (en) | Insert printing control method, device, equipment and storage medium | |
| CN110901229B (en) | Image data processing method, device, equipment and storage medium | |
| CN115476603B (en) | Calibration method, device, equipment and medium for bidirectional printing pixel floating point data | |
| CN114789605B (en) | Image printing data processing method, device, equipment and storage medium | |
| CN113442577B (en) | Printing method, device, equipment and storage medium for outputting decimal ink quantity | |
| CN114516225B (en) | Method, device, equipment and medium for splitting image data into different directions for printing | |
| CN114536969B (en) | Processing liquid data printing method, device and equipment based on pixel point position information | |
| CN115447279B (en) | Abnormal nozzle compensation printing method, device and equipment for image and storage medium | |
| CN120019956A (en) | Method, device, equipment and storage medium for dynamically adjusting image interval paper feeding distance |
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 | ||
| CB02 | Change of applicant information |
Address after: 518000 a201-a301, building a, Sino German European Industrial Demonstration Park, Hangcheng Avenue, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong Applicant after: Shenzhen Hansen Software Co.,Ltd. Address before: 1701, 1703, building C6, Hengfeng Industrial City, 739 Zhoushi Road, Hezhou community, Hangcheng street, Bao'an District, Shenzhen, Guangdong 518000 Applicant before: SHENZHEN HOSONSOFT Co.,Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |