Detailed description of the invention
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the flow chart of the lattice file processing method according to the embodiment of the present invention, comprising:
Step S10, is converted to pdf document by parent page description document;
Step S20, according to the configuration file be pre-created, is automatically converted to lattice file and ink file by pdf document;
Step S30, by lattice file and ink file input printing machine.
In the prior art, manual operation is needed pdf document to be converted to lattice file and ink file.And in the present embodiment, utilize the configuration file be pre-created, automatically pdf document is converted to lattice file and ink file, therefore overcomes the lower easy amiss problem of manual operation efficiency, improve the efficiency of print production and decrease production accident.
Preferably, according to configuration file, pdf document is converted to lattice file to comprise:
Obtain the first parameter, the second parameter and the 3rd parameter in configuration file;
Pdf document is converted to lattice file, wherein, the not homochromy priority orders of looking unfamiliar into lattice file determining pdf document is the order of the first parameters dictate, the form determining to generate lattice file is the form of the second parameters dictate, and the name determining to generate lattice file meets the naming rule of the 3rd parameters dictate.
In the prior art, when generating lattice file, according to the requirement of each printing machine, artificially determines that each look looks unfamiliar into the priority orders of lattice file, the form of lattice file is determined in artificially, and the name of lattice file is determined in artificially, more loaded down with trivial details in whole operating process, efficiency is low and easily make mistakes.And in the preferred embodiment, because the parameter of configuration file can be arranged in advance according to the requirement of printing machine, this configuration file can be recycled when generating lattice file each time, and automatically can generate the parameters of lattice file, therefore considerably improve efficiency and decrease mistake.
Fig. 2 shows the flow chart of the generation lattice file according to the embodiment of the present invention, comprising:
Step 201: the numbering obtaining the hardware store medium for depositing identify label that digitlization printing-flow system uses;
Step 202: arrange according to encryption configuration file, determine the generation priority orders of the lattice file of not homochromy of same pdf document;
Step 203: arrange according to encryption configuration file, judge that the production form of lattice file is encrypt file form;
Step 204: generate lattice file, and encrypt lattice file by numbering.
Preferably, the lattice file of generation carries out the printing machine equipment that then pretreatment is sent to correspondence.
Can comprise lattice file pretreatment: resolve lattice file look surface information, resolve lattice file resolution information, resolve lattice file source file information, carry out different process according to different dot matrix formats: the lattice file needs of encrypt file form are decrypted and merge.If lattice file form is encrypt file form, then according to the numbering of the hardware store medium of step 201 acquisition, encrypt file formatted file is decrypted, if the lattice file of encrypt file form is deciphered unsuccessfully, directly feedback report does not have associated rights, is no longer sent to printing machine and processes.
When lattice file is sent to printing machine, one or more look faces file can be sent to printing machine, this just requires the source file identifying that each look face file is corresponding at every turn.Namely identify the look face file that each file is all, wait for that all look face files export after arriving together.
Below in conjunction with specific embodiment, adaptive digital printing flow process dot matrix document handling method provided by the invention is described:
The present embodiment is described for the dot matrix handling process of 2 page description files testfilea, testfileb.When carrying out the dot matrix handling process of digital printing to page description file testfilea, testfileb:
First, in digital printing flow system, file testfilea process conversion is generated testfilea_K.GIFf, testfilea_C.GIFf, testfilea_M.GIFf, testfilea_Y.GIFf tetra-lattice files and the testfilea_K.jpg for generating ink file, testfilea_C.jpg, testfilea_M.jpg, testfilea_Y.jpg tetra-ancillary documents, testfileb is converted to 20110610-rb-testfileb_K.fmp through pretreatment, 20110610-rb-testfileb_C.fmp bis-lattice files and the 20110610-rb-testfileb_K.jpg for generating ink file, 20110610-rb-testfileb_C.jpg two ancillary documents, wherein, fmp is a kind of encrypt file form.Under normal circumstances, the genesis sequence in each look face of a file is C, M, Y, K.According to the setting of configuration file, when generating layout file, K version look face file arrives prior to C version, M version, Y version look face.The layout file form fmp that layout file form tiff and testfileb of Testfilea file generated generates is not both owing to arranging according to the production of user different.
Secondly, testfilea_K.jpg, testfilea_C.jpg, testfilea_M.jpg, testfilea_Y.jpg tetra-ancillary documents corresponding for pdf document testfilea are converted into ink file 20110610-rb-testfilea.ppf, 20110610-rb-testfileb_K.jpg, 20110610-rb-testfileb_C.jpg two ancillary documents corresponding for pdf document testfileb are converted into 20110610-rb-testfileb.ppf;
Then, after delivering to printing machine after testfilea_K.GIFf, testfilea_C.GIFf, testfilea_M.GIFf, testfilea_Y.GIFf tetra-lattice file authentications corresponding for pdf document testfilea, 20110610-rb-testfileb_K.fmp, 20110610-rb-testfileb_C.fmp bis-lattice files corresponding for pdf document testfileb are carried out pretreatment, printing machine is delivered to.
Finally, printing machine carries out printing operation according to ink file in conjunction with lattice file.
In the embodiment of the present invention, according to user be registered to digital printing flow system for depositing the hardware store Media ID sequence recorded in the hardware store medium of identify label, first the decrypted rights whether had target lattice file is verified, if do not had, then point out user there is no associated rights, cannot continue to export; If had, the additional information of pre-write is then read at the desired location of lattice file, not only be convenient to the lattice file quick position confirming not homochromy, be convenient to user merge output and generate the lattice file and the ink file that meet printing machine rule, user no longer needs manual change filename and file content.Can technical risk be reduced, boost productivity and make the automation more of digital printing flow process, specialization, save hand inspection cost, strengthen flow system security control system.
Due to the security that flow process is produced, user can to demand lattice file being proposed to confidentiality.This preferred embodiment meets the confidentiality requirement of user.
Preferably, this method also comprises: obtain the 5th parameter in configuration file and the 6th parameter, and obtains dot matrix file source fileinfo from the average information that circulation lattice file records; In desired location write the file look surface information of the 5th parameters dictate, the resolution information of the 6th parameters dictate and the lattice file source file information of lattice file.To be read from lattice file and used in look surface information, resolution information, the operating procedure of lattice file source file information below.
Preferably, according to configuration file, pdf document is converted to ink file to comprise:
Obtain the 4th parameter in configuration file;
Pdf document is converted to tiff file, wherein, the naming rule of the ink file the 3rd parameter specified adds in tiff file as additional information;
Be ink file by tiff file transform, wherein, the name determining to generate ink file meets the naming rule of the 4th parameters dictate.
In the prior art, when generating ink file, according to the requirement of each printing machine, the name of ink file is determined in artificially, complex operation, and efficiency is low and easily make mistakes.And in the preferred embodiment, because the parameter of configuration file can be arranged in advance according to the requirement of printing machine, this configuration file can be recycled when generating ink file each time, and automatically can generate the parameters of ink file, therefore considerably improve efficiency and decrease mistake.
Preferably, this method also comprises:
Obtain the 7th parameter in configuration file and the 8th parameter;
The job title write tiff file that the large version sequence number of the 7th parameter regulation and the 8th parameter are specified.Large version sequence number and job title are used to participate in the filename that tissue generates lattice file, ink file according to the needs of printing machine.
Fig. 3 shows the flow chart of the generation ink file according to the embodiment of the present invention, comprising:
Step 205: obtain the file designation form that customer parameter is arranged;
Step 206: generate ink file PPF according to the name form of file destination;
Step 207: write supplementary in target P PF file: large version sequence number, job title, ink filename, for correct reading and the identification of printing machine.
Fig. 4 shows the flow chart of the establishment configuration file according to the embodiment of the present invention, comprising:
Step 101: the generation priority orders that the lattice file in look face is set;
Step 102: the file format that lattice file is set;
Step 103: the naming rule of lattice file and the naming rule of ink file are set;
Step 104: described information is kept in encryption configuration file.
Concrete, when arranging dot matrix file parameters information, parameter information can be written in specific encryption configuration file, and these information can be modified in real time, only need upgrade preservation information in encryption configuration file.
Fig. 5 shows the schematic diagram of the lattice file treating apparatus according to the embodiment of the present invention, comprising:
First modular converter 10, for being converted to pdf document by parent page description document;
Second modular converter 20, for according to the configuration file be pre-created, is automatically converted to lattice file and ink file by pdf document;
Input module 30, for inputting printing machine by lattice file and ink file.
This device improves the efficiency of print production and decreases production accident.
Preferably, the second modular converter is for obtaining the first parameter, the second parameter and the 3rd parameter in configuration file; Pdf document is converted to lattice file, wherein, the not homochromy priority orders of looking unfamiliar into lattice file determining pdf document is the order of the first parameters dictate, the form determining to generate lattice file is the form of the second parameters dictate, and the name determining to generate lattice file meets the naming rule of the 3rd parameters dictate.
Preferably, the second modular converter is for obtaining the 4th parameter in configuration file; Pdf document is converted to tiff file, wherein, the naming rule of the ink file the 3rd parameter specified adds in tiff file as additional information; Be ink file by tiff file transform, wherein, the name determining to generate ink file meets the naming rule of the 4th parameters dictate.
As can be seen from the above description, invention increases productivity ratio, digital printing flow process security control system is strengthened, and flow process is automation more, reduces manual operation, evades production accident as far as possible, saves hand inspection cost, improves system reliability.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.