Background technique
Currently, books and periodicals, image printing generally have biggish dot array data amount, the disk read-write of big data quantity can restrict print
Brush speed is reduced data volume by using compression method, so that reducing disk read-write amount is solution common in the industry.
Ink jet printing has obtained unprecedented development as a kind of not contacting printing material, the mode of printing without printing plate, increasingly
More printing houses introduce ink-jet printing apparatus, and opposite traditional printing, flexibility is high, eliminate the process of printing plate, so that with
After PDF (Portable Document Format, portable document format) file is taken at family, by rasterization process
Dot array data is transmitted to digital control system, control print head carries out spray printing, compares traditional printing, generate from mode of printing
The difference of essence.
However, ink jet printing is also mutually far short of what is expected with respect to the print speed printing speed of traditional printing, needs constantly to improve and improve.Ink-jet
Printing needs to rasterize pdf document, generates the equipment dot array data (i.e. color separation dot array data) of color separation, is stored in magnetic disk media
On, after printing starts, system controller software reads color separation dot array data from magnetic disk media, is issued to digital control system.Herein
In the process, the equipment dot array data amount of color separation is very big, for example: breadth, the 600*600DPI of 474mm × 800mm
(Dots Per Inch, dots per inch), 2bit (bit) locating depth, according to calculation formula:
(Width (width) × XDPI (X-axis dots per inch)/25.4) (Height (height) × YDPI (Y-axis per inch
Points)/25.4) × bitCount (bit number)/8/1024/1024,
It is 50.4MB that dot array data amount of the same colour, which can be acquired, and four colors are 201.6MB, current general disk read-write speed
About 50-100MB/S, under the current space of a whole page, according to the following formula:
Disk reading rate/tetra- colors dot array data amount × 60 second × image panel height,
Being scaled print speed printing speed is about 12-24 meters per minute, and general spray head injection frequency is 30K, according to following public affairs
Formula:
25.4 × injection frequency/DPI/1000 × 60,
Speed is about 74 meters per minute, which can not make full use of the characteristic of spray head, and system controller software cannot
Receive this speed.Therefore, in ink-jet printing system, obtaining generally can be by the equipment dot matrix number of color separation after data with rasterized
According to compression storage is carried out, data storage capacity is greatly reduced, the data volume of disk read-write is reduced, and then improve print speed printing speed.
Based on the above, select a kind of suitable compression method that will seem increasingly important.A kind of applicable compression method
Demanding compression ratio, small calculation amount.A kind of compression method of little compressible, Bu Nengyou limited to the reduction amount of data volume
Effect ground mitigates disk read-write amount, that is, the requirement of system is not achieved;And a kind of compression method of intensive, although reducing disk
The data volume of read-write, but decompression calculations are time-consuming after reading, the supply of data needed for being equally unable to satisfy high speed printing,
The requirement of system is not achieved.
Therefore, how effectively to shorten software disk-read and decompression time, so that improving print speed printing speed becomes urgently to be resolved
The technical issues of.
Summary of the invention
The present invention is based on above-mentioned technical problem, proposes a kind of new technical solution, can effectively shorten software
Disk-read and decompression time, to improve print speed printing speed.
In view of this, first aspect of the present invention it is proposed a kind of control method of ink-jet printing system, the ink-jet print
Brush system includes digital control system, which comprises is compressed according to default compress mode to current image to be printed, with life
At the lattice file with control character;The lattice file is parsed, to parse printing included in the control character
Parameter;The lattice file and the printing parameter are sent to the digital control system, so that the digital control system is according to
Lattice file and the printing parameter carry out ink jet printing.
In the technical scheme, handling current image to be printed by using default compress mode to generate includes control word
The lattice file of symbol, i.e. user are not limited solely to a kind of pressure according to the applicable compress mode of the feature selecting of current image to be printed
Contracting mode, for system controller software according to selected compress mode (default compress mode) to currently being pressed to watermark image
Contracting handles and generates the lattice file with control character, and can efficiently solve the single mode compressed file scope of application has
The problem of limit, and then data storage capacity is more efficiently reduced, mitigate the data volume of disk read-write;Then pass through system controller
Software parsing obtain lattice file control character in include printing parameter, and then by with control character lattice file and
The printing parameter parsed is sent to the digital control system (i.e. hardware system) of ink-jet printing system, so that digital control system is according to printing
Parameter flexibly switch manner of decryption decompression lattice file so that combine carry out ink jet printing, i.e., by will decompress, combined spot
The step of battle array data, is transferred to digital control system progress, can effectively shorten software disk-read and decompression time, to improve print
Brush speed.
In the above-mentioned technical solutions, it is preferable that the printing parameter includes: the default compress mode and dot matrix text
The decompression parameter of part, wherein the decompression parameter includes: the breadth, panel height and locating depth of the lattice file.
In the technical scheme, include but is not limited to according to the printing parameter that the control character of lattice file parses:
The current default compress mode of image to be printed and the decompression parameter of lattice file are compressed, wherein the decompression parameter packet of lattice file
It includes but is not limited to: breadth, panel height and the locating depth of lattice file, in this way, by the way that the default pressure of the current printing image of processing will be included
The printing parameter of contracting mode and the decompression parameter of lattice file is sent to digital control system, so that digital control system is according to printing parameter spirit
Switching manner of decryption decompression lattice file living combines in turn carries out ink jet printing, can effectively shorten software disk-read and solution
Press the time.
In any of the above-described technical solution, it is preferable that described that the lattice file and the printing parameter are sent to institute
Digital control system is stated, so that the digital control system is printed according to the lattice file and the printing parameter, is specifically included: will
The lattice file is sent to the digital control system page by page;By the digital control system according to default decompression mode and the decompression
Parameter decompresses the lattice file page by page, and is combined into page dot-matrix data page by page, wherein the default decompression mode with it is described
Default compress mode is corresponding;The printing spray nozzle of the ink-jet printing system is controlled described in every page by the digital control system
Page dot-matrix data carries out ink jet printing.
In the technical scheme, the digital control system for needing for lattice file to be sent to ink-jet printing system page by page, then counts
Control system obtains corresponding default decompression mode according to the default compress mode for including in printing parameter, and then according to receiving
Decompression parameter decompresses the lattice file received page by page, and then by the lattice file after decompression, group is combined into page dot matrix number page by page
According to the printing spray nozzle for further controlling ink-jet printing system by digital control system sprays the page dot-matrix data of combination formation
Ink print, in this way, digital control system can be made flexibly to switch manner of decryption decompression lattice file according to printing parameter and then combined
Carry out ink jet printing, additionally by will decompress, combine the step of dot array data be transferred to digital control system progress, can be effectively
Shorten software disk-read and decompression time, to improve print speed printing speed, and guarantees to print accuracy and printing quality.
In any of the above-described technical solution, it is preferable that described to be carried out according to default compress mode to current image to be printed
Compression is specifically included with generating the lattice file with control character: color separation processing is carried out to the current image to be printed,
To generate polychrome dot array data;The polychrome dot array data is subjected to distributed storage;According to the compress order received, according to
The default compress mode compresses the polychrome dot array data, to generate the lattice file.
In the technical scheme, have when carrying out compression processing generation to current image to be printed according to default compress mode
When the lattice file of control character, specifically, it is necessary first to handle current image color segmentation to be printed for polychrome dot array data simultaneously
Distributed storage is carried out then to connect that is, by every different server of the same colour for being respectively stored in distributed multiple servers
The polychrome dot array data is compressed to generate lattice file according to selected compress mode after the compress order received, in this way, can be with
Further increase print speed printing speed.
In any of the above-described technical solution, it is preferable that the default compress mode includes: distance of swimming compress mode and is based on upper
One page compress mode.
In the technical scheme, default compress mode includes but is not limited to distance of swimming compress mode and the compression based on page up
Mode in favor of realizing the compress mode applicable according to the feature selecting of current image to be printed, and then can efficiently solve
The problem of single mode compressed file restricted application, mitigates disk read-write more efficiently to reduce data storage capacity
Data volume, to improve print speed printing speed;Wherein, distance of swimming compress mode refers to compress mode run-length coding based, is a kind of
The lossless data compression mode unrelated with data property, and then refer to that needing to distinguish data is template based on page up compress mode
Data or variable data, moreover, the control character for needing to have different for different compress modes, for example, for
Specifically based on page up compress mode, if template data, then control character needs the mark of storing template data, if can
Parameter needs to store the parameters such as X-coordinate, Y-coordinate, width, height, the size of variable data according to then control character.
In addition, for the feature selecting compress mode according to current image to be printed, such as books and periodicals class printed matter: it is monochromatic compared with
More, white space is more;Anti-counterfeiting image class printed matter has base map, and Variable Area is fixed and lacked, and white space is few;The printing of picture class
Product: Variable Area is more, and white space is few, then basic principle of the user according to the image feature selection compress mode of printed matter
Are as follows: monochrome is more, blank is more, selects distance of swimming compression;Anti-fake class, there are base map, Variable Area is few and blank is few, selection be based on upper one
Page compression;And complicated image class also may be selected not compress.
According to the second aspect of the invention, a kind of control device of ink-jet printing system, the ink jet printing system are proposed
System includes digital control system, and described device includes: compression module, for carrying out according to default compress mode to current image to be printed
Compression, to generate the lattice file with control character;Parsing module, it is described to parse for parsing the lattice file
Printing parameter included in control character;Sending module, for the lattice file and the printing parameter to be sent to institute
Digital control system is stated, so that the digital control system carries out ink jet printing according to the lattice file and the printing parameter.
In the technical scheme, handling current image to be printed by using default compress mode to generate includes control word
The lattice file of symbol, i.e. user are not limited solely to a kind of pressure according to the applicable compress mode of the feature selecting of current image to be printed
Contracting mode, for system controller software according to selected compress mode (default compress mode) to currently being pressed to watermark image
Contracting handles and generates the lattice file with control character, can more efficiently reduce data storage capacity, and then mitigate disk
The data volume of read-write simultaneously effective solves the problems, such as single mode compressed file restricted application;Then pass through system
Controller software parsing obtains the printing parameter for including in the control character of lattice file, and then by the dot matrix with control character
File and the printing parameter parsed are sent to the digital control system (i.e. hardware system) of ink-jet printing system, so that digital control system root
Flexibly switch according to printing parameter manner of decryption decompression lattice file so that combine carry out ink jet printing, i.e., by will decompress,
The step of combining dot array data is transferred to digital control system progress, can effectively shorten software disk-read and decompression time, thus
Improve print speed printing speed.
In the above-mentioned technical solutions, it is preferable that the printing parameter includes: the default compress mode and dot matrix text
The decompression parameter of part, wherein the decompression parameter includes: the breadth, panel height and locating depth of the lattice file.
In the technical scheme, include but is not limited to according to the printing parameter that the control character of lattice file parses:
The current default compress mode of image to be printed and the decompression parameter of lattice file are compressed, wherein the decompression parameter packet of lattice file
It includes but is not limited to: breadth, panel height and the locating depth of lattice file, in this way, by the way that the default pressure of the current printing image of processing will be included
The printing parameter of contracting mode and the decompression parameter of lattice file is sent to digital control system, so that digital control system is according to printing parameter spirit
Switching manner of decryption decompression lattice file living combines in turn carries out ink jet printing, can effectively shorten software disk-read and solution
Press the time.
In any of the above-described technical solution, it is preferable that the sending module is specifically used for: the lattice file is sent out page by page
It send to the digital control system;And the control device of the ink-jet printing system further include: decompression composite module, for passing through
It states digital control system and the lattice file is decompressed according to default decompression mode and the decompression parameter page by page, and be combined into the page page by page
Dot array data, wherein the default decompression mode is corresponding with the default compress mode;Control module, for by described
Printing spray nozzle page dot-matrix data described in every page that digital control system controls the ink-jet printing system carries out ink jet printing.
In the technical scheme, the digital control system for needing for lattice file to be sent to ink-jet printing system page by page, then counts
Control system obtains corresponding default decompression mode according to the default compress mode for including in printing parameter, and then according to receiving
Decompression parameter decompresses the lattice file received page by page, and then by the lattice file after decompression, group is combined into page dot matrix number page by page
According to the printing spray nozzle for further controlling ink-jet printing system by digital control system sprays the page dot-matrix data of combination formation
Ink print, in this way, digital control system can be made flexibly to switch manner of decryption decompression lattice file according to printing parameter and then combined
Carry out ink jet printing, additionally by will decompress, combine the step of dot array data be transferred to digital control system progress, can be effectively
Shorten software disk-read and decompression time, to improve print speed printing speed, and guarantees to print accuracy and printing quality.
In any of the above-described technical solution, it is preferable that further include: processing module, for the current image to be printed
Color separation processing is carried out, to generate polychrome dot array data;Memory module, for depositing polychrome dot array data progress distribution
Storage;And the compression module is specifically used for: according to the compress order received, compressing according to the targeted compression mode described
Polychrome dot array data, to generate the lattice file.
In the technical scheme, have when carrying out compression processing generation to current image to be printed according to default compress mode
When the lattice file of control character, specifically, it is necessary first to handle current image color segmentation to be printed for polychrome dot array data simultaneously
Distributed storage is carried out then to connect that is, by every different server of the same colour for being respectively stored in distributed multiple servers
The polychrome dot array data is compressed to generate lattice file according to selected compress mode after the compress order received, in this way, can be with
Further increase print speed printing speed.
In any of the above-described technical solution, it is preferable that the default compress mode includes: distance of swimming compress mode and is based on upper
One page compress mode.
In the technical scheme, default compress mode includes but is not limited to distance of swimming compress mode and the compression based on page up
Mode in favor of realizing the compress mode applicable according to the feature selecting of current image to be printed, and then can efficiently solve
The problem of single mode compressed file restricted application, mitigates disk read-write more efficiently to reduce data storage capacity
Data volume, to improve print speed printing speed;Wherein, distance of swimming compress mode refers to compress mode run-length coding based, is a kind of
The lossless data compression mode unrelated with data property, and then refer to that needing to distinguish data is template based on page up compress mode
Data or variable data, moreover, the control character for needing to have different for different compress modes, for example, for
Specifically based on page up compress mode, if template data, then control character needs the mark of storing template data, if can
Parameter needs to store the parameters such as X-coordinate, Y-coordinate, width, height, the size of variable data according to then control character.
In addition, for the feature selecting compress mode according to current image to be printed, such as books and periodicals class printed matter: it is monochromatic compared with
More, white space is more;Anti-counterfeiting image class printed matter has base map, and Variable Area is fixed and lacked, and white space is few;The printing of picture class
Product: Variable Area is more, and white space is few, then basic principle of the user according to the image feature selection compress mode of printed matter
Are as follows: monochrome is more, blank is more, selects distance of swimming compression;Anti-fake class, there are base map, Variable Area is few and blank is few, selection be based on upper one
Page compression;And complicated image class also may be selected not compress.
The third aspect of the present invention proposes described in any one of a kind of ink-jet printing system, including above-mentioned technical proposal
Ink-jet printing system control device, therefore, the ink-jet printing system have and any one of above-mentioned technical proposal described in
The identical technical effect of the control device of ink-jet printing system, details are not described herein.
According to the technical solution of the present invention, software disk-read and decompression time can effectively be shortened, to improve printing
Speed.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the flow diagram of the control method of ink-jet printing system according to an embodiment of the invention.
As shown in Figure 1, the control method of ink-jet printing system according to an embodiment of the invention, the ink jet printing
System includes digital control system, which comprises step 102, is pressed according to default compress mode current image to be printed
Contracting, to generate the lattice file with control character;Step 104, the lattice file is parsed, to parse the control character
Included in printing parameter;Step 106, the lattice file and the printing parameter are sent to the digital control system, with
Ink jet printing is carried out according to the lattice file and the printing parameter for the digital control system.
In the technical scheme, handling current image to be printed by using default compress mode to generate includes control word
The lattice file of symbol, i.e. user are not limited solely to a kind of pressure according to the applicable compress mode of the feature selecting of current image to be printed
Contracting mode, for system controller software according to selected compress mode (default compress mode) to currently being pressed to watermark image
Contracting handles and generates the lattice file with control character, and can efficiently solve the single mode compressed file scope of application has
The problem of limit, and then data storage capacity is more efficiently reduced, mitigate the data volume of disk read-write;Then pass through system controller
Software parsing obtain lattice file control character in include printing parameter, and then by with control character lattice file and
The printing parameter parsed is sent to the digital control system (i.e. hardware system) of ink-jet printing system, so that digital control system is according to printing
Parameter flexibly switch manner of decryption decompression lattice file so that combine carry out ink jet printing, i.e., by will decompress, combined spot
The step of battle array data, is transferred to digital control system progress, can effectively shorten software disk-read and decompression time, to improve print
Brush speed.
In the above-mentioned technical solutions, it is preferable that the printing parameter includes: the default compress mode and dot matrix text
The decompression parameter of part, wherein the decompression parameter includes: the breadth, panel height and locating depth of the lattice file.
In the technical scheme, include but is not limited to according to the printing parameter that the control character of lattice file parses:
The current default compress mode of image to be printed and the decompression parameter of lattice file are compressed, wherein the decompression parameter packet of lattice file
It includes but is not limited to: breadth, panel height and the locating depth of lattice file, in this way, by the way that the default pressure of the current printing image of processing will be included
The printing parameter of contracting mode and the decompression parameter of lattice file is sent to digital control system, so that digital control system is according to printing parameter spirit
Switching manner of decryption decompression lattice file living combines in turn carries out ink jet printing, can effectively shorten software disk-read and solution
Press the time.
In any of the above-described technical solution, it is preferable that the step 106 specifically includes: the lattice file is sent out page by page
It send to the digital control system;The point is decompressed according to default decompression mode and the decompression parameter page by page by the digital control system
Battle array file, and it is combined into page dot-matrix data page by page, wherein the default decompression mode is opposite with the default compress mode
It answers;It is carried out by printing spray nozzle page dot-matrix data described in every page that the digital control system controls the ink-jet printing system
Ink jet printing.
In the technical scheme, the digital control system for needing for lattice file to be sent to ink-jet printing system page by page, then counts
Control system obtains corresponding default decompression mode according to the default compress mode for including in printing parameter, and then according to receiving
Decompression parameter decompresses the lattice file received page by page, and then by the lattice file after decompression, group is combined into page dot matrix number page by page
According to the printing spray nozzle for further controlling ink-jet printing system by digital control system sprays the page dot-matrix data of combination formation
Ink print, in this way, digital control system can be made flexibly to switch manner of decryption decompression lattice file according to printing parameter and then combined
Carry out ink jet printing, additionally by will decompress, combine the step of dot array data be transferred to digital control system progress, can be effectively
Shorten software disk-read and decompression time, to improve print speed printing speed, and guarantees to print accuracy and printing quality.
In any of the above-described technical solution, it is preferable that the step 102 specifically includes: to the current image to be printed
Color separation processing is carried out, to generate polychrome dot array data;The polychrome dot array data is subjected to distributed storage;According to what is received
Compress order compresses the polychrome dot array data according to the default compress mode, to generate the lattice file.
In the technical scheme, have when carrying out compression processing generation to current image to be printed according to default compress mode
When the lattice file of control character, specifically, it is necessary first to handle current image color segmentation to be printed for polychrome dot array data simultaneously
Distributed storage is carried out then to connect that is, by every different server of the same colour for being respectively stored in distributed multiple servers
The polychrome dot array data is compressed to generate lattice file according to selected compress mode after the compress order received, in this way, can be with
Further increase print speed printing speed.
In any of the above-described technical solution, it is preferable that the default compress mode includes: distance of swimming compress mode and is based on upper
One page compress mode.
In the technical scheme, default compress mode includes but is not limited to distance of swimming compress mode and the compression based on page up
Mode in favor of realizing the compress mode applicable according to the feature selecting of current image to be printed, and then can efficiently solve
The problem of single mode compressed file restricted application, mitigates disk read-write more efficiently to reduce data storage capacity
Data volume, to improve print speed printing speed;Wherein, distance of swimming compress mode refers to compress mode run-length coding based, is a kind of
The lossless data compression mode unrelated with data property, and then refer to that needing to distinguish data is template based on page up compress mode
Data or variable data, moreover, the control character for needing to have different for different compress modes, for example, for
Specifically based on page up compress mode, if template data, then control character needs the mark of storing template data, if can
Parameter needs to store the parameters such as X-coordinate, Y-coordinate, width, height, the size of variable data according to then control character.
In addition, for the feature selecting compress mode according to current image to be printed, such as books and periodicals class printed matter: it is monochromatic compared with
More, white space is more;Anti-counterfeiting image class printed matter has base map, and Variable Area is fixed and lacked, and white space is few;The printing of picture class
Product: Variable Area is more, and white space is few, then basic principle of the user according to the image feature selection compress mode of printed matter
Are as follows: monochrome is more, blank is more, selects distance of swimming compression;Anti-fake class, there are base map, Variable Area is few and blank is few, selection be based on upper one
Page compression;And complicated image class also may be selected not compress.
Fig. 2 shows the block diagrams of the control device of ink-jet printing system according to an embodiment of the invention.
As shown in Fig. 2, the control device 200 of ink-jet printing system according to an embodiment of the invention, the ink-jet
Print system includes digital control system, and described device 200 includes: compression module 202, parsing module 204 and sending module 206.
Wherein, compression module 202, for being compressed according to default compress mode to current image to be printed, to generate
Lattice file with control character;Parsing module 204, for parsing the lattice file, to parse the control character
Included in printing parameter;Sending module 206, for the lattice file and the printing parameter to be sent to the numerical control
System, so that the digital control system carries out ink jet printing according to the lattice file and the printing parameter.
In the technical scheme, handling current image to be printed by using default compress mode to generate includes control word
The lattice file of symbol, i.e. user are not limited solely to a kind of pressure according to the applicable compress mode of the feature selecting of current image to be printed
Contracting mode, for system controller software according to selected compress mode (default compress mode) to currently being pressed to watermark image
Contracting handles and generates the lattice file with control character, can more efficiently reduce data storage capacity, and then mitigate disk
The data volume of read-write simultaneously effective solves the problems, such as single mode compressed file restricted application;Then pass through system
Controller software parsing obtains the printing parameter for including in the control character of lattice file, and then by the dot matrix with control character
File and the printing parameter parsed are sent to the digital control system (i.e. hardware system) of ink-jet printing system, so that digital control system root
Flexibly switch according to printing parameter manner of decryption decompression lattice file so that combine carry out ink jet printing, i.e., by will decompress,
The step of combining dot array data is transferred to digital control system progress, can effectively shorten software disk-read and decompression time, thus
Improve print speed printing speed.
In the above-mentioned technical solutions, it is preferable that the printing parameter includes: the default compress mode and dot matrix text
The decompression parameter of part, wherein the decompression parameter includes: the breadth, panel height and locating depth of the lattice file.
In the technical scheme, include but is not limited to according to the printing parameter that the control character of lattice file parses:
The current default compress mode of image to be printed and the decompression parameter of lattice file are compressed, wherein the decompression parameter packet of lattice file
It includes but is not limited to: breadth, panel height and the locating depth of lattice file, in this way, by the way that the default pressure of the current printing image of processing will be included
The printing parameter of contracting mode and the decompression parameter of lattice file is sent to digital control system, so that digital control system is according to printing parameter spirit
Switching manner of decryption decompression lattice file living combines in turn carries out ink jet printing, can effectively shorten software disk-read and solution
Press the time.
In any of the above-described technical solution, it is preferable that the sending module 206 is specifically used for: by the lattice file by
Page is sent to the digital control system;And the control device 200 of the ink-jet printing system further include: decompression composite module 208
With control module 210.
Wherein, composite module 208 is decompressed, for joining by the digital control system according to default decompression mode and the decompression
Number decompresses the lattice file page by page, and is combined into page dot-matrix data page by page, wherein the default decompression mode with it is described pre-
If compress mode is corresponding;Control module 210, the printing for controlling the ink-jet printing system by the digital control system are sprayed
Head page dot-matrix data described in every page carries out ink jet printing.
In the technical scheme, the digital control system for needing for lattice file to be sent to ink-jet printing system page by page, then counts
Control system obtains corresponding default decompression mode according to the default compress mode for including in printing parameter, and then according to receiving
Decompression parameter decompresses the lattice file received page by page, and then by the lattice file after decompression, group is combined into page dot matrix number page by page
According to the printing spray nozzle for further controlling ink-jet printing system by digital control system sprays the page dot-matrix data of combination formation
Ink print, in this way, digital control system can be made flexibly to switch manner of decryption decompression lattice file according to printing parameter and then combined
Carry out ink jet printing, additionally by will decompress, combine the step of dot array data be transferred to digital control system progress, can be effectively
Shorten software disk-read and decompression time, to improve print speed printing speed, and guarantees to print accuracy and printing quality.
In any of the above-described technical solution, it is preferable that further include: processing module 212 and memory module 214.
Wherein, processing module 212, for carrying out color separation processing to the current image to be printed, to generate polychrome dot matrix
Data;Memory module 214, for the polychrome dot array data to be carried out distributed storage;And the compression module 202 is specifically
For: according to the compress order received, the polychrome dot array data is compressed according to the targeted compression mode, described in generating
Lattice file.
In the technical scheme, have when carrying out compression processing generation to current image to be printed according to default compress mode
When the lattice file of control character, specifically, it is necessary first to handle current image color segmentation to be printed for polychrome dot array data simultaneously
Distributed storage is carried out then to connect that is, by every different server of the same colour for being respectively stored in distributed multiple servers
The polychrome dot array data is compressed to generate lattice file according to selected compress mode after the compress order received, in this way, can be with
Further increase print speed printing speed.
In any of the above-described technical solution, it is preferable that the default compress mode includes: distance of swimming compress mode and is based on upper
One page compress mode.
In the technical scheme, default compress mode includes but is not limited to distance of swimming compress mode and the compression based on page up
Mode in favor of realizing the compress mode applicable according to the feature selecting of current image to be printed, and then can efficiently solve
The problem of single mode compressed file restricted application, mitigates disk read-write more efficiently to reduce data storage capacity
Data volume, to improve print speed printing speed;Wherein, distance of swimming compress mode refers to compress mode run-length coding based, is a kind of
The lossless data compression mode unrelated with data property, and then refer to that needing to distinguish data is template based on page up compress mode
Data or variable data, moreover, the control character for needing to have different for different compress modes, for example, for
Specifically based on page up compress mode, if template data, then control character needs the mark of storing template data, if can
Parameter needs to store the parameters such as X-coordinate, Y-coordinate, width, height, the size of variable data according to then control character.
In addition, for the feature selecting compress mode according to current image to be printed, such as books and periodicals class printed matter: it is monochromatic compared with
More, white space is more;Anti-counterfeiting image class printed matter has base map, and Variable Area is fixed and lacked, and white space is few;The printing of picture class
Product: Variable Area is more, and white space is few, then basic principle of the user according to the image feature selection compress mode of printed matter
Are as follows: monochrome is more, blank is more, selects distance of swimming compression;Anti-fake class, there are base map, Variable Area is few and blank is few, selection be based on upper one
Page compression;And complicated image class also may be selected not compress.
Fig. 3 shows the block diagram of ink-jet printing system according to an embodiment of the invention.
As shown in figure 3, ink-jet printing system 300 according to an embodiment of the invention, including in above-mentioned technical proposal
The control device 200 of described in any item ink-jet printing systems, therefore, which has and above-mentioned technical side
The identical technical effect of control device 200 of ink-jet printing system described in any one of case, details are not described herein.
Fig. 4 shows the process signal of the control method of ink-jet printing system according to another embodiment of the invention
Figure.
As shown in figure 4, the process of the control method of ink-jet printing system according to another embodiment of the invention is illustrated
Figure, comprising:
Step 402, user (presets compression side according to the feature selecting compress mode of product to be printed (current image to be printed)
Formula), i.e., current image to be printed is compressed according to default compress mode.
Step 404, system controller software carries out data compression according to the compress mode of selection, and generating includes compress mode
The file packet of dot array data, that is, generate the lattice file with control character, wherein control character packet after equal parameter informations, compression
Containing printing parameter.
Step 406, it will include the parameter informations, compressed dot matrix number such as compress mode that printing, which starts system controller software,
According to file packet be sent to hardware system (i.e. digital control system).
Step 408, hardware system decompresses compressed dot array data according to parameter informations such as compress modes, combination
At page dot-matrix data.
Step 410, hardware system controls printing spray nozzle, and page dot-matrix data is printed, and return step 406 carries out
Circulation.
Step 412, it finishes, is completed for printing until all page dot-matrix datas issue.
The control method of above-mentioned ink-jet printing system is described in detail below:
In step 404, after user chooses compress mode, system controller software, will according to selected compress mode
The dot array data of rasterisation is compressed, and Ejp file (a kind of tray that inside defines with certain format specification is generated
Formula, i.e. lattice file), it is stored on magnetic disk media.Under normal circumstances, in order to further increase print speed printing speed, image meeting is printed
It is gone in color separation processing storage to distributed magnetic disk media, for concrete example, printing image can be CMYK by color separation processing
(Cyan Magenta Yellow Key Plate, four color dot array datas) four color dot array datas are stored in distributed four clothes
It is engaged on device, every server is only responsible for of the same colour.
In a step 406, when printing starts, system controller software parses Ejp file, by this compress mode and decompression
Some parameters needed for this data are sent to hardware system by order.Specifically: command parameter includes: compress mode, width
Width, panel height, locating depth.Compress mode determines that decompression algorithm used in hardware system, breadth, panel height, locating depth determine hardware
The resource bid that system decompresses need;After printing starts, system controller software carries out disk-read, obtains the point that one page does not decompress
Battle array data, are sent to hardware system for this dot array data.
The control method of above-mentioned ink-jet printing system solves the problems, such as following two:
(1) hardware system completes the step of decompression, combination page dot matrix, solves system controller software preparation page dot matrix
The problem of time is long, influences print speed.
(2) hardware system passes through the parameter configured, flexibly switches manner of decryption, solves single manner of decryption file and is applicable in model
The problem of being with limit.
To sum up, according to the feature of different printing images, different compress modes is selected, the point comprising compression type is generated
Battle array file, printing start rear system controller software and compress mode and dot array data are passed to hardware together by command mode
System, hardware system carry out the decompression of data according to the compress mode passed over, obtain original dot array data, hardware system
System decompression, combination dot matrix are faster than software, finally reduce the time-consuming of system controller software preparation dot array data, improve and be
The print speed printing speed of system, while solving the problems, such as that single mode compresses image restricted application, alleviate the number of disk read-write
According to amount.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, can effectively shorten software disk-read and decompression
Time, to improve print speed printing speed.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.