Background
The high-resolution inkjet printer spray printing technology can be divided into a piezoelectric type and a thermal foaming type, the spray printing resolution of each spray printing technology exceeds 180DPI (resolution ratio), and the spray printing width of the spray head can be between 1mm and 72 mm. In the field of marking technology today, therefore, every corner is being driven deeper and deeper, and the applications of industrial products in particular have become more and more extensive, and the complexity of the applications has increased greatly, since the marking on industrial products has become an indispensable important component in the quality management of the industrial products.
The jet printing technology of the high-definition ink jet printer is controlled by software, and various marks such as letters, numbers, Chinese characters, icons and the like are jet printed on the surface of a product or the surface of an outer package in a non-contact mode so as to improve the efficiency of product marks.
When the existing high-resolution inkjet printer performs jet printing, the jet printing can be performed according to a picture format (marked. bmp) provided by computer software, and letters and numbers stored in the high-resolution inkjet printer in a font packet (marked. ttf) format can be called to arbitrarily form a special serial number or date and time for jet printing. The pattern of the picture format is generally only suitable for the jet printing of icons and Chinese characters, and because the icons or the Chinese characters do not need to be replaced at any time for a certain industrial product, the marks which simultaneously contain anti-counterfeiting lines, gray level gradual change, reversed phase hollow, reversed white jet printing, special identification points, 3D effects and other expression forms can be jet printed according to the picture provided by a computer, as shown in figure 1 a. However, for inkjet printing of letters and numbers with functions of tracking, recording, counterfeit prevention and the like, because time, place, even serial numbers of products need to be recorded, and the content of the inkjet printing in each industrial product is different, letters and numbers stored in a high-resolution inkjet printer in advance need to be called at any time in the process of inkjet printing, and the letters and the numbers are combined randomly to form special numbers for each industrial product to be subjected to inkjet printing. In the spray printing process, because the current high-resolution inkjet printer can only select the fonts stored (adopted) in the high-resolution inkjet printer for spray printing, and the pre-stored fonts are all standard computer-version fonts (TTF format), that is, after the existing high-resolution inkjet printer performs mark spray printing on a product, all the presented font forms are entity spray printing (such as printing forms), as shown in fig. 1b, more requirements proposed by a client cannot be met, that is, more types of font forms cannot be spray printed, namely, the number, the letter and the like with tracking recording, counterfeit prevention functions and the like cannot be spray printed, and simultaneously, the number, the letter and the like contain anti-counterfeiting lines, gray level gradual change, reversed phase hollow, reversed white spray printing, special identification points, 3D effects and other various expression forms.
Disclosure of Invention
The invention aims to provide a multi-state jet printing method for a high-resolution ink-jet printer, which can solve the problems that the existing high-resolution ink-jet printer prints a character with a single shape and cannot meet special requirements of customers.
The multi-state jet printing method for the high-resolution ink-jet printer is completed according to the following steps:
1) using computer vector design software to design font morphology:
designing a font form which is combined with industrial product information and comprises anti-counterfeiting patterns, gray level gradient, reversed phase hollow, reversed white spray printing, special identification points and/or 3D effect expression forms aiming at each character, wherein the design base height of each character is integral multiple of the number of single-row spray holes in a high-resolution ink-jet printer used in the process of designing the font form, and storing the designed font form in a picture format;
2) importing each character with a designed font form into a newly-built document in FontLab software one by one to form a storage packet containing all the designed characters, wherein each character has an independent corresponding character position, the storage packet is in a font packet format (x. ttf), and each character position has an independent code value;
3) developing software capable of opening the storage package formed in the step 2), opening characters in the document according to the code values, performing equal-part cutting processing on the opened characters from top to bottom, wherein the number of the equal-part cutting processing is the same as that of single-row spray holes of the used high-resolution ink-jet printer, and obtaining the height value of each transverse unit after cutting;
4) equally cutting the words which are equally cut from top to bottom in the step 3) from left to right according to the height value of each transverse unit, and cutting the open words into a plurality of square blocks;
5) comparing the length and width values of the square blocks formed by cutting in the step 4) with the ink droplet specification of the used high-resolution ink-jet printer, simultaneously carrying out equal-proportion compression on each square block according to the ink droplet specification of the used high-resolution ink-jet printer, carrying out equal-proportion compression on each square block to the ink droplet specification and size of the used high-resolution ink-jet printer, and storing compressed characters in the document;
6) repeating the steps 3), 4) and 5), opening all the characters in the documents stored in the step 2) one by one according to the code values, cutting each character, simultaneously performing fractional equal-scale reduction treatment on the square blocks formed by cutting, and packaging the documents after all the character processing into the installation package with the recognition of the code spraying machine;
7) and 6) installing the installation package in the step 6) to a controller of the high-resolution inkjet printer through a storage tool, and directly calling characters in the installation package by the high-resolution inkjet printer according to the required content to form the content to be subjected to jet printing so as to finish the jet printing process.
The characters designed in the step 1) comprise 26 capital and lowercase English letters and 10 Arabic numerals.
The process of importing the computer vector design software into the FontLab software in the step 2) is completed in a copying and pasting mode.
And 5) inputting the ink drop specification of the high-resolution ink-jet printer into the software developed in the step 3), and comparing the square blocks formed by cutting with the ink drop specification in the software.
And 3) compressing each square block in an equal proportion for multiple times by the software developed in the step 3), and finally compressing each square block in an equal proportion into a square block with the same specification size as the ink drops of the used high-resolution ink-jet printer.
The storage tool used in step 7 is a U disk or an SD card.
By using the multi-state jet printing method, characters in various forms can be jet printed by using the jet printing technology of the existing high-resolution ink-jet printer so as to meet special requirements of customers and increase the counterfeit function of products.
Detailed Description
Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The multi-state jet printing method for the high-resolution ink-jet printer comprises the following steps:
1. the design of the font, the capital and the small cases of 26 English letters and 10 Arabic numerals in total from 0 to 9 are designed one by one to be designed into the required font form.
By using the existing computer vector drawing software, the well-known vector software such as CorelDRAW, Photoshop, Illustrator and the like can be adopted to design the capital and small cases of 26 English letters and 10 Arabic numerals in total of 0-9 according to the requirements of customers, each letter (26 letters or 10 numerals) comprises the special effect required by the customers, as shown in figure 1a and figure 2, the elements entering the corresponding industrial products can be considered and combined in the design process, namely, a font form with special expression forms is designed for each industrial product, for example, the font form comprises anti-counterfeiting lines, gray level gradient, reversed phase hollow-out, reversed white spray printing, special identification points and/or 3D effects and other expression forms, as shown in figure 2, three different font expression forms are provided, and even special marks used for anti-counterfeiting by the industrial products can be included, therefore, the expression forms can be very diverse, and are not listed here. The present invention is illustrated by the example of the inkjet printing of the number "0" shown in FIG. 1 a.
Firstly, designing a number 0, wherein the design process combines the characteristics of a product and special requirements of customers, and the design process comprises an anti-counterfeiting pattern part, a gray level gradient part, a reversed phase hollow part, a reversed white spray printing part, a special identification point and an entity spray printing effect part, wherein in the design process, the design base height of the number 0 is integral multiple of the number of single-row spray holes of a used high-resolution ink-jet printer, for example, if a piezoelectric high-resolution ink-jet printer with 128-hole straight-row spray holes is adopted, the base height of the number 0 is designed to be 128 mm or corresponding values of 128 x 2mm, 128 x 3 mm and the like by using computer vector drawing software, and the corresponding values are integral multiple of 128 mm; if a thermal foaming high-resolution inkjet printer with 300 holes, single row and straight-line spray holes is adopted, the designed base height of the number 0 is 300 mm, 300 x 2, 300 x 3 mm and other corresponding values, namely the integral multiple of 300 mm; if a thermal foaming high-resolution inkjet printer with 150 holes, single row and straight row of spray holes is adopted, the designed base height of the number 0 is 150 mm, 150 x 2, 150 x 3 mm and other corresponding values, namely the integral multiple of 150 mm.
According to the design scheme of the number '0', the capital and the small cases of 26 English letters and the rest 9 Arabic numerals of 1-9 are designed one by one, the integral multiple of the number of single-row spray orifices of the used high-resolution ink-jet printer is also used as the basic height as the same as the number '0', and when different letters and numbers are designed for the same font form, the same basic height is used, namely all the letters (letters and numbers) are carried out by the same height basic line 2 in a design software coordinate system, as shown in figure 3, and simultaneously, the capital height line 4, the x-height 3, the ascending line 5 and the descending line 1 which are conveniently used in the following steps can be formed.
In this embodiment, the Illustrator software is adopted to design the number "0" shown in fig. 1a as an example, and a thermal foaming high-resolution inkjet printer with 150 holes, single row and straight line of nozzles is adopted to spray, so that the designed basic height is 150 mm, that is, the number "0" completely falls in a design frame with the height of 150 mm, and the font form shown in fig. 1a is designed, which includes an anti-counterfeiting line part, a gray level gradient part, a reverse hollow part, a reverse white spray printing part, a special identification point and an entity spray printing effect part.
Of course, any font style shown in fig. 2 may be used, each font style includes upper and lower cases of 26 english letters and 10 arabic numerals, and each numeral or letter in each font style includes information corresponding to an industrial product. After the design is completed, the design is stored in the format of a picture.
2. And converting fonts, namely introducing all designed characters (numbers and letters) into FontLab software one by one to form a storage packet which contains all the designed characters (numbers and letters) and has independent corresponding character bits for each character, wherein the storage packet is in a font packet format (star. ttf). The method comprises the following steps:
the method comprises the steps of opening FontLab software, selecting new construction, automatically generating a new construction document with upper and lower cases containing punctuation marks and 26 English letters and character positions containing 10 Arabic numerals, wherein each corresponding character position in the document has a unique corresponding code value, the code value can be displayed by codes such as name, unicode, ANSI, decimal, octal, hexadecimal and the like, when the character position corresponding to the number 0 is displayed by selecting the name, when the character position corresponding to the number 0 is displayed by selecting the unicode, the character position corresponding to the number 0 is displayed by 0030, when the character position corresponding to the number 0 is displayed by ANSI, the character position corresponding to the number 0 is displayed by 0, the function belongs to the function of the FontLab software, and the technology is mature, and the method is very easy to realize for people who know the FontLab software.
The method comprises the steps of importing 26 letters in case and 10 numbers in font form designed in step 1 into a FontLab new document one by one, storing the 26 letters in a character position corresponding to each word in a copying and pasting mode, namely, the number 0 designed in step 1 enters the character position corresponding to the number 0 in the FontLab new document through the copying function of Illustrator software and the pasting function in the FontLab software, completing the case and writing of 26 letters and importing of the rest 9 numbers according to the method, and storing the document imported with all the designed 62 letters in a packet font format (ttf) by utilizing the FontLab software after all the words are imported as shown in fig. 4, so as to form an independent storage packet containing all the designed font forms.
The conversion process of the step belongs to a mature technology, is easy to convert and can be easily realized by persons familiar with Illustrator software and FontLab software, can be found in relevant courses of Illustrator software, and therefore, is not described in detail.
3. Cutting each stored character (number, letter) one by one
In order to cut the designed font form, a software capable of starting the storage package stored in the font package format in the step 2 is developed, each character is cut by using a computer, and for the development of the software, on the premise of developing FontLab software, the following description is combined, and the method can be realized for software developers, and is concretely as follows:
each character bit in the font storage packet generated in step 2 has a unique corresponding code value, which may be a unicode code value, where, for example, the unicode code value of numeral "0" is "0030", and the unicode code value of numeral "1" is "0031".
After the font storage packet generated in the step 2 is opened by software, the number "0" is obtained according to the unicode code value of the number "0" being "0030", the number "0" is cut, the whole number "0" is cut into 150 equal parts from top to bottom, the number of the cut parts is the same as the number of the single-row spray holes of the used high-resolution inkjet printer, the height value of each transverse unit after cutting is 1mm, the number "0" is cut from left to right, the width value of the cut part is 1mm, the height value of each transverse unit formed by cutting is the same as that of each transverse unit formed by cutting, the unit formed after cutting is a square block, in the step, the square block can be 2mm, 3 mm and the like, and the square block is determined by the basic height when the font form is designed in the step 1 and the used high-resolution inkjet printer and is not limited to 1 mm.
4. And (3) comparing the length and width values of the square blocks formed by cutting in the step 3 with the ink droplet specification of the high-resolution ink-jet printer, and reducing the square blocks formed by cutting each character in the same proportion according to the ink droplet specification of the high-resolution ink-jet printer.
The specification of the ink drop of the thermal foaming high-resolution inkjet printer with 150-hole single-row straight-line jet holes is 0.0846mm 0.0846mm, the specification of the ink drop is input into developed software, the input specification of the ink drop is compared with the square blocks cut by the number 0 in the step 3 by the developed software, all the square blocks cut by the number 0 are further reduced by the software in equal proportion in different times, all the square blocks with the size of 1mm and the size of 1mm are reduced into 0.5mm and 0.5mm in the first time, all the square blocks with the size of 0.25mm and the size of 0.25mm in the second time, all the square blocks with the size of 0.125mm and 0.125mm in the third time, the square blocks are finally reduced into 0.0846mm 0.0846mm square blocks, and the square blocks are stored after the square blocks are reduced.
5. And (3) repeating the steps (3) and (4), opening all numbers and letters in the documents stored in the step (2) one by one according to unicode code values, cutting each character, simultaneously carrying out sub-equal-scale reduction processing on the square blocks formed by cutting, and packaging the processed documents into an installation package recognizable by an ink jet printer. For example: *. lfp and/or x, the installation package name and suffix are customizable.
Specifically, after the number 0 is cut, the number 1 is obtained according to the unicode code value 0031, the number 1 is cut according to the cutting mode of the number 0, the square blocks formed by cutting the number 1 are simultaneously reduced in equal proportion in different times according to the reduction step of the number 0, after all the characters are reduced, documents containing all the characters are packaged into an installation package which can be recognized (read and recognized and called) by an ink jet printer, and the cutting sequence of 62 characters is the arrangement sequence of the characters stored in the FontLab software.
6. The installation package is installed to a controller of the high-resolution inkjet printer through storage tools such as a U disk or an SD card, and then the high-resolution inkjet printer can call jet printing as dynamic information.
7. And the high-resolution code spraying machine directly calls the characters in the installation package according to the required content to form the content required to be sprayed and printed, so that the spraying and printing process is completed.