CN109062520A - print image output size error compensating method, device, equipment and storage medium - Google Patents
print image output size error compensating method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109062520A CN109062520A CN201810754743.6A CN201810754743A CN109062520A CN 109062520 A CN109062520 A CN 109062520A CN 201810754743 A CN201810754743 A CN 201810754743A CN 109062520 A CN109062520 A CN 109062520A
- Authority
- CN
- China
- Prior art keywords
- width
- height
- image
- output
- error
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/1203—Improving or facilitating administration, e.g. print management
- G06F3/1208—Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/1244—Job translation or job parsing, e.g. page banding
- G06F3/1247—Job translation or job parsing, e.g. page banding by conversion to printer ready format
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/1253—Configuration of print job parameters, e.g. using UI at the client
- G06F3/1254—Automatic configuration, e.g. by driver
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)
- Quality & Reliability (AREA)
- Ink Jet (AREA)
Abstract
The invention discloses a kind of print image Output Size error compensating method, device, equipment and storage mediums.Method includes: to obtain error compensation calibration mimeograph documents, the original height and original width of reading error compensation calibration mimeograph documents Plays print image;First print parameters are set, mimeograph documents outputting standard print image is calibrated according to error compensation and obtains the first image;Obtain the actual height and developed width of the first image;According to original height, original width, actual height and developed width, the error coefficient of printing device is obtained;According to the error coefficient of printing device, the setting height and setting width for correcting image to be printed in file to be printed obtain the output height and output width of image to be printed;Second print parameters are set, according to output height and output width, export the image to be printed in file to be printed.The present invention solves the problems, such as that print image Output Size occurs shortening or elongate.
Description
Technical field
The present invention relates to printing technique fields, more particularly to a kind of print image Output Size error compensating method, dress
It sets, equipment and storage medium.
Background technique
Inkjet printing technology is that ink droplet is ejected on print media to obtain the technology of image or text by spray head.It beats
The nozzle hole number of print machine spray head is certain, so the picture altitude of the every run-down printing of printer head and width all have
Limit, and wanting to obtain the biggish image of height just needs that print media moves forward or spray vehicle moves forward i.e. paper feed.Printing is situated between
The movement of matter or the movement for spraying vehicle be all driven by transmission system, and transmission system be by motor-driven, due to
The precision problem of motor and transmission system, paper feed distance is it is possible that certain deviation, when the height of print image is smaller
When paper feed distance deviation to printing height influence it is little, moreover it is possible to produced reluctantly, but for requiring high-quality accuracy of measurement
As the image of printing 100m will also result in 1m's even if paper feed error only has 1% when the height of product or print image is bigger
Height error leads to print the deviation of image appearance position or size on the print medium, seriously affects the matter of printed product
Amount.
Summary of the invention
The embodiment of the invention provides a kind of print image Output Size error compensating method, device, equipment and storages to be situated between
Matter overcomes the print image Output Size as caused by the trueness error of motor or transmission mechanism in the prior art and shortens
Or the problem of elongating.
In a first aspect, the embodiment of the invention provides a kind of print image Output Size error compensating method, the method
Include:
It obtains error compensation and calibrates mimeograph documents, read the error compensation calibration mimeograph documents Plays print image
Original height and original width;
First print parameters are set, the mimeograph documents output standard print image is calibrated according to the error compensation and is obtained
First image;
Obtain the actual height and developed width of the first image;
According to the original height, the original width, the actual height and the developed width, the printing is obtained
The error coefficient of equipment;
According to the error coefficient of the printing device, the setting height and setting of image to be printed in file to be printed are corrected
Width obtains the output height and output width of the image to be printed;
Second print parameters are set, according to the output height and the output width, are exported in the file to be printed
The image to be printed.
Preferably, the error coefficient includes: height error coefficient and width error coefficient.
Preferably, described according to the original width, original height, developed width and actual height, obtain the printing
The error coefficient of equipment, comprising:
The height error coefficient is obtained according to the original height and the actual height, the height error coefficient is logical
Following formula is crossed to obtain:
Wherein, e1 is the height error coefficient, and h1 is the actual height, and h2 is the original height;
The width error coefficient is obtained according to the original width and the developed width, the width error coefficient is logical
Following formula is crossed to obtain:
Wherein, e2 is the width error coefficient, and b1 is the developed width, and b2 is the original width.
Preferably, the error coefficient according to the printing device is corrected image to be printed in file to be printed and is set
It sets height and setting width obtains the output height and output width of the image to be printed, comprising:
Obtain the output height according to setting height and the height error coefficient, the output highly by with
Lower formula obtains:
Wherein, H1 is the output height, and H2 is the setting height, and e1 is the height error coefficient;
Obtain the output width according to the setting width and the width error coefficient, the output width by with
Lower formula obtains:
Wherein, B1 is the output width, and B2 is the setting width, and e2 is the width error coefficient.
Preferably, the standard print image is rectangle net trrellis diagram, and the rectangle net trrellis diagram includes several sub- rectangles.
Preferably, first print parameters include first spray head scanning times and the first paper feed distance, define described the
One spray head scanning times are N, then N is the natural number more than or equal to 1.
Preferably, second print parameters include second spray head scanning times and the second paper feed distance, define described the
Two spray head scanning times are M, then M is natural number.
Second aspect, the embodiment of the invention provides a kind of print image Output Size error-compensating apparatus, described devices
Include:
Standard files print generation module reads the error compensation school for obtaining error compensation calibration mimeograph documents
The original height and original width of quasi- mimeograph documents Plays print image;
It is defeated to calibrate mimeograph documents according to the error compensation for the first print parameters to be arranged for first image generation module
The standard print image obtains the first image out;
Detection module, for obtaining the actual height and developed width of the first image;
Computing module, for according to the original height, the original width, the actual height and the practical width
Degree, obtains the error coefficient of the printing device;
Correction module corrects image to be printed in file to be printed for the error coefficient according to the printing device
Height is set and setting width obtains the output height and output width of the image to be printed.
Output module, for the second print parameters to be arranged, according to output height and the output width, described in output
The image to be printed in file to be printed.
The third aspect, the embodiment of the invention provides a kind of print image Output Size error correction appts, the equipment
Include: at least one processor, the computer program instructions of at least one processor and storage in the memory, works as institute
State the method such as first aspect in above embodiment of realizing when computer program instructions are executed by the processor.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
The method such as first aspect in above embodiment is realized in sequence instruction when the computer program instructions are executed by processor.
In conclusion print image Output Size error compensating method, device, equipment and storage medium of the invention, root
According to original height, the actual height of the standard print image in the calibration file, described in original width and developed width acquisition
The error coefficient of printing device, the setting according to image to be printed in the error coefficient amendment file to be printed of the printing device
Height and setting width, so that the height of the image to be printed in the mimeograph documents of final output and width are equal to described set
Set height and the setting width.Solves the print image Output Size as caused by the trueness error of motor or transmission mechanism
The problem of appearance is shortened or is elongated.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention
Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also
Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the flow chart of the print image Output Size error compensating method of the embodiment of the present invention.
Fig. 2 is the print control flow chart of the print image Output Size error compensating method of the embodiment of the present invention.
Fig. 3 is the signal of the standard print image of the print image Output Size error compensating method of the embodiment of the present invention
Figure.
Fig. 4 is the structural schematic diagram of the print image Output Size error-compensating apparatus of the embodiment of the present invention.
Fig. 5 is the structural schematic diagram of the print image Output Size error correction appts of the embodiment of the present invention.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention
, technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail
It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention.
To those skilled in the art, the present invention can be real in the case where not needing some details in these details
It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including
There is also other identical elements in the process, method, article or equipment of the element.
Referring to Fig. 1, the embodiment of the invention provides a kind of print image Output Size error compensating method, this method gram
The print image Output Size as caused by the trueness error of motor or transmission mechanism in the prior art has been taken to occur shortening or draw
Long problem.The print image Output Size error compensating method includes:
S1, error compensation calibration mimeograph documents are obtained, reads the error compensation calibration mimeograph documents Plays printed drawings
The original height and original width of picture;
S2, the first print parameters of setting, calibrate mimeograph documents according to the error compensation and export the standard print image
Obtain the first image;
S3, the actual height and developed width for obtaining the first image;
S4, according to the original height, the original width, the actual height and the developed width, described in acquisition
The error coefficient of printing device;
S5, according to the error coefficient of the printing device, correct in file to be printed the setting height of image to be printed and
Width is set and obtains the output height and output width of the image to be printed;
S6, the second print parameters of setting export the file to be printed according to the output height and the output width
In the image to be printed.
Preferably, the error coefficient includes: height error coefficient and width error coefficient.
Preferably, described according to the original width, original height, developed width and actual height, obtain the printing
The error coefficient of equipment, comprising:
The height error coefficient is obtained according to the original height and the actual height, the height error coefficient is logical
Following formula is crossed to obtain:
Wherein, e1 is the height error coefficient, and h1 is the actual height, and h2 is the original height;
The width error coefficient is obtained according to the original width and the developed width, the width error coefficient is logical
Following formula is crossed to obtain:
Wherein, e2 is the width error coefficient, and b1 is the developed width, and b2 is the original width.
Preferably, the error coefficient according to the printing device is corrected image to be printed in file to be printed and is set
It sets height and setting width obtains the output height and output width of the image to be printed, comprising:
Obtain the output height according to setting height and the height error coefficient, the output highly by with
Lower formula obtains:
Wherein, H1 is the output height, and H2 is the setting height, and e1 is the height error coefficient;
Obtain the output width according to the setting width and the width error coefficient, the output width by with
Lower formula obtains:
Wherein, B1 is the output width, and B2 is the setting width, and e2 is the width error coefficient.
Preferably, the standard print image is rectangle net trrellis diagram, and the rectangle net trrellis diagram includes several sub- rectangles.
Preferably, first print parameters include first spray head scanning times and the first paper feed distance, define described the
One spray head scanning times are N, then N is the natural number more than or equal to 1.
Preferably, second print parameters include second spray head scanning times and the second paper feed distance, define described the
Two spray head scanning times are M, then M is the natural number more than or equal to 1.
Specifically, referring to Fig. 2, the output process of print image is to import the image to be printed at graph image
It manages in software 100, the image to be printed is converted to the format that printer can identify by graph and image processing software 100, so
The image to be printed for having converted format is saved into image data to afterwards and is imported the data input cell 200 of printer, data are defeated
Enter unit 200 for the control unit 310 of image data input ink-jet printer imaging device 300, control unit 310 receives image
Data control ink jet unit 320 carries out ink-jet on print media 400.In order to solve motor or driver due to printing device
There is the problem of shortening or elongating in print image Output Size caused by the trueness error of structure, and the present invention is soft in graph and image processing
It is implanted into error compensation module 110 in part 100, corrects the height and width of image to be printed automatically when importing image to be printed,
The compensation method is simple, quick, accurate.The unprocessed form of the image to be printed has BMP (abbreviation of Bitmap), TIF (Tag
The abbreviation of Image File Format) etc.;The format that different printing devices can identify is different, specifically should be according to beating
The model of printing apparatus specifically determines that in the present embodiment, the format that printing device can identify is peculiar to meet this printing device
PRN format.
It obtains error compensation and calibrates mimeograph documents, read the error compensation calibration mimeograph documents Plays print image
Original height and original width;The error compensation calibration mimeograph documents not only include the original height of the standard print image
And original width, it further include the precision of images, the image color etc. of the standard print image.It can be obtained according to described image precision
The first spray head scanning times into first print parameters, the first spray head scanning times are obtained by following formula
:
Wherein, N is the first spray head scanning times, and x1 is precision of the standard print image along page orientation, x2
It is the standard print image vertically with the precision of page orientation, x3 is the precision of single spray head, and x4 is printing device lateral light
Grid precision, N, x1, x2, x3, x4 are greater than zero natural number.
It is described according to the first paper feed distance in available first print parameters of the first spray head scanning times
First paper feed distance is obtained by following formula:
Wherein, z is the first paper feed distance, and x5 is the nozzle number in a certain channel, and N is first spray head scanning time
Number, z, x5 are greater than zero natural number.
The first spray head scanning times drive the spray vehicle of the printing device to be moved back and forth by the transmission mechanism
It realizes, and the transmission mechanism is by described motor-driven;The first paper feed distance is driven by the transmission mechanism
The print media is mobile to be realized, so according to comprising the first spray head scanning times and the first paper feed distance
First print parameters and the first image obtained contains the trueness error of the motor and the transmission mechanism, seek
The size relationship acquisition error coefficient found between the first image and the standard print image can be corrected by described
Error caused by motor and the transmission mechanism.
Preferably, the error coefficient includes height error coefficient and width error coefficient.When printing device platform and spray
It is more when not needing paper feed, then height error coefficient is not present.
Referring to Fig. 3, the standard print image is rectangle net trrellis diagram, the rectangle net trrellis diagram includes several sub- rectangles,
It is also rectangle net trrellis diagram by printing the first image that the standard print image obtains.In the present embodiment, the square
Shape grid chart is made of 3 parallel vertical lines and 3 parallel horizontal lines, and 3 articles of parallel vertical lines include the 1st vertical line L1, the 2nd vertical line
L2, the 3rd vertical line L3, described 3 articles parallel horizontal lines include the 1st horizontal line T1, the 2nd horizontal line T2, the 3rd horizontal line T3.The rectangle net trrellis diagram
Actual height be the 1st vertical line L1, the 2nd vertical line L2 and the 3rd vertical line L3 average value, the rectangle net trrellis diagram
Developed width be the 1st horizontal line T1, the 2nd horizontal line T2 and the 3rd horizontal line T3 average value, this avoid described
The developed width of rectangle net trrellis diagram and the contingency of actual height.The actual height of the rectangle net trrellis diagram is obtained by following formula
:
Wherein, h1 is the actual height, and n1 is the physical length of the 1st vertical line L1, and n2 is the 2nd vertical line L2's
Physical length, n3 are the physical length of the 3rd vertical line L3;
The developed width of the rectangle net trrellis diagram is obtained by following formula:
Wherein, b1 is the developed width of the rectangle net trrellis diagram, and m1 is the physical length of the 1st vertical line L1, and m2 is institute
The physical length of the 2nd vertical line L2 is stated, m3 is the physical length of the 3rd vertical line L3.In the present embodiment, the rectangle net trrellis diagram
Actual height and developed width be all to be obtained by the rectangle net trrellis diagram of laser sensor scanning and printing, use laser sensor
The size of scanning survey figure is the common knowledge of this field, and this will not be repeated here.
The original height and original width of the known rectangle net trrellis diagram, according to the original height, the original width,
The actual height and the developed width can obtain the error coefficient of the printing device by calculating.Further,
The error coefficient includes height error coefficient and width error coefficient, and the height error coefficient is obtained by following formula:
Wherein, e1 is the height error coefficient, and h1 is the actual height, and h2 is the original height;
The width error coefficient is obtained by following formula:
Wherein, e2 is the width error coefficient, and b1 is the developed width, and b2 is the original width.
It repeats the above S2 and obtains n height error coefficients and the n width error coefficients to S3 step n times, to n
A height error coefficient obtains the final height error coefficient of the printing device with averaging, to the n width
Error coefficient obtains the final width error coefficient of the printing device with averaging, and n is the natural number more than or equal to 1, tool
The data of body n are determined according to the tendency of height error coefficient described in several and the width error coefficient, so that
The height error coefficient and the width error coefficient calculated is more accurate.
After the height error coefficient and the width error coefficient of printing device has been determined, by the height error
Coefficient and the width error coefficient are incorporated into graph and image processing software, then when importing image to be printed every time at graph image
Reason software will correct the setting height of the image to be printed automatically according to the error coefficient and setting width is exported
Height and output width, and the output height of image to be printed and output width are saved and passed through at the data that printing machine can identify
Data input cell inputs imaging device, and imaged device exports practical print image, the printing height of practical print image with
Equal, the setting width of the print span of practical print image and the image to be printed of setting height of the image to be printed
It is equal, to play the correction of the trueness error to motor and transmission mechanism.
Preferably, the error coefficient according to the printing device is corrected image to be printed in file to be printed and is set
It sets height and setting width obtains the output height and output width of the image to be printed, comprising:
Obtain the output height according to setting height and the height error coefficient, the output highly by with
Lower formula obtains:
Wherein, H1 is the output height, and H2 is the setting height, and e1 is the height error coefficient;
Obtain the output width according to the setting width and the width error coefficient, the output width by with
Lower formula obtains:
Wherein, B1 is the output width, and B2 is the setting width, and e2 is the width error coefficient.
Second print parameters are set, according to the output height and the output width, export the file to be printed, institute
Stating the second print parameters includes second spray head scanning times and the second paper feed distance, and the second spray head scanning times are M, and M is
Natural number more than or equal to 1, the second spray head scanning times are identical with the first spray head scanning times calculation method, described
Second paper feed distance is identical with the calculation method of the first paper feed distance.
Print image Output Size error compensating method provided by the present invention is described in detail above, according to institute
Original height, the actual height of the standard print image in calibration file are stated, original width and developed width obtain the printing
The error coefficient of equipment, the setting height according to image to be printed in the error coefficient amendment file to be printed of the printing device
With setting width so that the height of the image to be printed in the mimeograph documents of final output and width are equal to the setting height
Degree and the setting width.Solves the appearance of the print image Output Size as caused by the trueness error of motor or transmission mechanism
The problem of shortening or elongating, used herein a specific example illustrates the principle and implementation of the invention.
Referring to Fig. 4, the embodiment of the invention provides a kind of print image Output Size error-compensating apparatus, described device
Include:
Standard files print generation module 10 reads the error compensation for obtaining error compensation calibration mimeograph documents
Calibrate the original height and original width of mimeograph documents Plays print image.
First image generation module 20 calibrates mimeograph documents according to the error compensation for the first print parameters to be arranged
It exports the standard print image and obtains the first image.
Detection module 30, for obtaining the actual height and developed width of the first image.
Computing module 40, for according to the original height, the original width, the actual height and the practical width
Degree, obtains the error coefficient of the printing device.
Correction module 50 corrects image to be printed in file to be printed for the error coefficient according to the printing device
Setting height and setting width obtain the image to be printed output height and output width.
Output module 60, according to the output height and the output width, exports institute for the second print parameters to be arranged
State file to be printed.
Preferably, in above-mentioned computing module, the error coefficient includes: height error coefficient and width error coefficient.
Preferably, the computing module includes:
Height error coefficient calculation unit is missed for obtaining the height according to the original height and the actual height
Poor coefficient, the height error coefficient are obtained by following formula:
Wherein, e1 is the height error coefficient, and h1 is the actual height, and h2 is the original height.
Width error coefficient calculation unit is missed for obtaining the width according to the original width and the developed width
Poor coefficient, the width error coefficient are obtained by following formula:
Wherein, e2 is the width error coefficient, and b1 is the developed width, and b2 is the original width.
Preferably, the correction module includes:
Height correction unit is set, it is high for obtaining the output according to the setting height and the height error coefficient
Degree, the output height are obtained by following formula:
Wherein, H1 is the output height, and H2 is the setting height, and e1 is the height error coefficient.
Width correcting unit is set, obtains the output width according to the setting width and the width error coefficient,
The output width is obtained by following formula:
Wherein, B1 is the output width, and B2 is the setting width, and e2 is the width error coefficient.
Preferably, in above-mentioned standard mimeograph documents generation module, the standard print image is rectangle net trrellis diagram, described
Rectangle net trrellis diagram includes several sub- rectangles.
Preferably, in above-mentioned first image generation module, first print parameters include first spray head scanning times
With the first paper feed distance, defining the first spray head scanning times is N, then N is natural number.
Preferably, in above-mentioned output module, second print parameters include that second spray head scanning times and second walk
Paper distance, defining the second spray head scanning times is M, then M is natural number.
In addition, the print image Output Size error compensating method in conjunction with Fig. 1 embodiment of the present invention described can be by beating
Watermark image Output Size error correction appts are realized.Fig. 5 shows print image Output Size provided in an embodiment of the present invention
The hardware structural diagram of error correction appts.
Print image Output Size error correction appts may include processor 401 and be stored with computer program instructions
Memory 402.
Specifically, above-mentioned processor 401 may include central processing unit (CPU) or specific integrated circuit
(Application Specific Integrated Circuit, ASIC), or may be configured to implement implementation of the present invention
One or more integrated circuits of example.
Memory 402 may include the mass storage for data or instruction.For example it rather than limits, memory
402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical
With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing
In the case where suitable, memory 402 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores
Device 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storage
Device.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be mask
ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically-alterable ROM of programming
(EAROM) or the combination of flash memory or two or more the above.
Processor 401 is by reading and executing the computer program instructions stored in memory 402, to realize above-mentioned implementation
Any one print image Output Size error compensating method in example.
In one example, print image Output Size error correction appts may also include communication interface 403 and bus
410.Wherein, as shown in figure 5, processor 401, memory 402, communication interface 403 are connected by bus 410 and completed each other
Communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present invention between each module, device, unit and/or equipment
Communication.
Bus 410 includes hardware, software or both, by the component of print image Output Size error correction appts coupling each other
It is connected together.For example it rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhancing industry
Standard architecture (EISA) bus, front side bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, infiniband
Wide interconnection, low pin count (LPC) bus, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) are total
Line, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association part
(VLB) combination of bus or other suitable buses or two or more the above.In a suitable case, bus
411 may include one or more buses.Although specific bus has been described and illustrated in the embodiment of the present invention, the present invention considers to appoint
What suitable bus or interconnection.
The print image Output Size error correction appts can be held based on the network management performance index for getting cell to be measured
Print image Output Size error compensating method in the row embodiment of the present invention, to realize the print image described in conjunction with Fig. 1
Output Size error compensating method.
In addition, in conjunction with the print image Output Size error compensating method in above-described embodiment, the embodiment of the present invention can be mentioned
It is realized for a kind of computer readable storage medium.Computer program instructions are stored on the computer readable storage medium;It should
Realize that any one print image Output Size error in above-described embodiment is mended when computer program instructions are executed by processor
Compensation method.
In conclusion print image Output Size error compensating method, device, equipment and storage medium of the invention, root
According to original height, the actual height of the standard print image in the calibration file, described in original width and developed width acquisition
The error coefficient of printing device, the setting according to image to be printed in the error coefficient amendment file to be printed of the printing device
Height and setting width, so that the height of the image to be printed in the mimeograph documents of final output and width are equal to described set
Set height and the setting width.Solves the print image Output Size as caused by the trueness error of motor or transmission mechanism
The problem of appearance is shortened or is elongated.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing.
For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated
The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field
Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step
Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group
It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert
Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task
Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing
Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information.
The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft
Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline
The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device
State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment
The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that,
For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method
Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions,
These modifications or substitutions should be covered by the protection scope of the present invention.
Claims (10)
1. a kind of print image Output Size error compensating method, which comprises the steps of:
It obtains error compensation and calibrates mimeograph documents, read the original of the error compensation calibration mimeograph documents Plays print image
Height and original width;
First print parameters are set, the mimeograph documents output standard print image is calibrated according to the error compensation and obtains first
Image;
Obtain the actual height and developed width of the first image;
According to the original height, the original width, the actual height and the developed width, the printing device is obtained
Error coefficient;
According to the error coefficient of the printing device, the setting height and setting width of image to be printed in file to be printed are corrected
Obtain the output height and output width of the image to be printed;
Second print parameters are set, according to the output height and the output width, export the institute in the file to be printed
State image to be printed.
2. print image Output Size error compensating method according to claim 1, which is characterized in that the error coefficient
It include: height error coefficient and width error coefficient.
3. print image Output Size error compensating method according to claim 2, which is characterized in that
It is described according to the original width, original height, developed width and actual height, obtain the error system of the printing device
Number, comprising:
Obtain the height error coefficient according to the original height and the actual height, the height error coefficient by with
Lower formula obtains:
Wherein, e1 is the height error coefficient, and h1 is the actual height, and h2 is the original height;
Obtain the width error coefficient according to the original width and the developed width, the width error coefficient by with
Lower formula obtains:
Wherein, e2 is the width error coefficient, and b1 is the developed width, and b2 is the original width.
4. print image Output Size error compensating method according to claim 3, which is characterized in that
The error coefficient according to the printing device corrects the setting height and setting of image to be printed in file to be printed
Width obtains the output height and output width of the image to be printed, comprising:
The output height is obtained according to the setting height and the height error coefficient, the output height passes through following public affairs
Formula obtains:
Wherein, H1 is the output height, and H2 is the setting height, and e1 is the height error coefficient;
The output width is obtained according to the setting width and the width error coefficient, the output width passes through following public affairs
Formula obtains:
Wherein, B1 is the output width, and B2 is the setting width, and e2 is the width error coefficient.
5. print image Output Size error compensating method according to claim 1, which is characterized in that the standard print
Image is rectangle net trrellis diagram, and the rectangle net trrellis diagram includes several sub- rectangles.
6. printer image Output Size error compensating method according to any one of claims 1 to 5, which is characterized in that
First print parameters include first spray head scanning times and the first paper feed distance, and defining the first spray head scanning times is
N, then N is the natural number more than or equal to 1.
7. print image Output Size error compensating method according to claim 6, which is characterized in that second printing
Parameter includes second spray head scanning times and the second paper feed distance, and defining the second spray head scanning times is M, then M be greater than
Natural number equal to 1.
8. a kind of print image Output Size error-compensating apparatus, which is characterized in that described device includes:
Standard files print generation module reads the error compensation calibration and beats for obtaining error compensation calibration mimeograph documents
The original height and original width of printed text part Plays print image;
First image generation module calibrates mimeograph documents according to the error compensation and exports institute for the first print parameters to be arranged
It states standard print image and obtains the first image;
Detection module, for obtaining the actual height and developed width of the first image;
Computing module, for obtaining according to the original height, the original width, the actual height and the developed width
Take the error coefficient of the printing device;
Correction module corrects the setting of image to be printed in file to be printed for the error coefficient according to the printing device
Height and setting width obtain the output height and output width of the image to be printed;
Output module, for the second print parameters to be arranged, according to the output height and the output width, output is described wait beat
The image to be printed in printed text part.
9. a kind of print image Output Size error correction appts, which is characterized in that the equipment includes: at least one processing
Device, the computer program instructions of at least one processor and storage in the memory, when the computer program instructions
Such as method of any of claims 1-7 is realized when being executed by the processor.
10. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that when the calculating
Such as method of any of claims 1-7 is realized when machine program instruction is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810754743.6A CN109062520A (en) | 2018-07-11 | 2018-07-11 | print image output size error compensating method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810754743.6A CN109062520A (en) | 2018-07-11 | 2018-07-11 | print image output size error compensating method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109062520A true CN109062520A (en) | 2018-12-21 |
Family
ID=64815837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810754743.6A Pending CN109062520A (en) | 2018-07-11 | 2018-07-11 | print image output size error compensating method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062520A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110154558A (en) * | 2019-06-04 | 2019-08-23 | 森大(深圳)技术有限公司 | Printing precision bearing calibration, system, equipment and storage medium |
CN110275686A (en) * | 2019-07-04 | 2019-09-24 | 森大(深圳)技术有限公司 | Several print image typesetting interval control method, device, equipment and storage mediums |
CN110816082A (en) * | 2019-10-26 | 2020-02-21 | 森大(深圳)技术有限公司 | Method, device and equipment for obtaining alignment error value of spray head and storage medium |
CN111409369A (en) * | 2019-01-08 | 2020-07-14 | 森大(深圳)技术有限公司 | Printing control method, printing control device, printer and medium |
CN111941849A (en) * | 2020-06-28 | 2020-11-17 | 西安理工大学 | Size error compensation method for 3D printing cylindrical part |
CN112925488A (en) * | 2021-02-23 | 2021-06-08 | 广州广电运通金融电子股份有限公司 | Bill printing calibration method and device, computer equipment and storage medium |
CN113190191A (en) * | 2021-05-27 | 2021-07-30 | 赞同科技股份有限公司 | Printing method and device |
CN114536771A (en) * | 2022-02-18 | 2022-05-27 | 深圳市汉森软件有限公司 | Compensation printing method, device and equipment based on three-dimensional printing and storage medium |
CN114987070A (en) * | 2022-06-27 | 2022-09-02 | 武汉中谷联创光电科技股份有限公司 | Printing size calibration method and device, printing equipment and storage medium |
CN117162489A (en) * | 2023-08-16 | 2023-12-05 | 郑州潮阔电子科技有限公司 | 3D printing coordinate compensation method and device, storage medium and 3D printer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105922766A (en) * | 2016-05-10 | 2016-09-07 | 北京数码大方科技股份有限公司 | Method and apparatus for correcting printer |
US20160368225A1 (en) * | 2015-06-18 | 2016-12-22 | 3D Systems, Inc. | Method of manufacturing and assembling precision components of 3d printing system |
CN107745520A (en) * | 2017-12-06 | 2018-03-02 | 北京太尔时代科技有限公司 | A kind of 3D printer calibrating installation and its calibration method |
-
2018
- 2018-07-11 CN CN201810754743.6A patent/CN109062520A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160368225A1 (en) * | 2015-06-18 | 2016-12-22 | 3D Systems, Inc. | Method of manufacturing and assembling precision components of 3d printing system |
CN105922766A (en) * | 2016-05-10 | 2016-09-07 | 北京数码大方科技股份有限公司 | Method and apparatus for correcting printer |
CN107745520A (en) * | 2017-12-06 | 2018-03-02 | 北京太尔时代科技有限公司 | A kind of 3D printer calibrating installation and its calibration method |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111409369A (en) * | 2019-01-08 | 2020-07-14 | 森大(深圳)技术有限公司 | Printing control method, printing control device, printer and medium |
CN111409369B (en) * | 2019-01-08 | 2021-06-22 | 森大(深圳)技术有限公司 | Printing control method, printing control device, printer and medium |
CN110154558A (en) * | 2019-06-04 | 2019-08-23 | 森大(深圳)技术有限公司 | Printing precision bearing calibration, system, equipment and storage medium |
CN110275686B (en) * | 2019-07-04 | 2022-10-21 | 森大(深圳)技术有限公司 | Method, device and equipment for controlling typesetting interval of multiple printing images and storage medium |
CN110275686A (en) * | 2019-07-04 | 2019-09-24 | 森大(深圳)技术有限公司 | Several print image typesetting interval control method, device, equipment and storage mediums |
CN110816082A (en) * | 2019-10-26 | 2020-02-21 | 森大(深圳)技术有限公司 | Method, device and equipment for obtaining alignment error value of spray head and storage medium |
CN110816082B (en) * | 2019-10-26 | 2021-01-05 | 森大(深圳)技术有限公司 | Method, device and equipment for obtaining alignment error value of spray head and storage medium |
CN111941849A (en) * | 2020-06-28 | 2020-11-17 | 西安理工大学 | Size error compensation method for 3D printing cylindrical part |
CN112925488A (en) * | 2021-02-23 | 2021-06-08 | 广州广电运通金融电子股份有限公司 | Bill printing calibration method and device, computer equipment and storage medium |
CN113190191A (en) * | 2021-05-27 | 2021-07-30 | 赞同科技股份有限公司 | Printing method and device |
CN114536771A (en) * | 2022-02-18 | 2022-05-27 | 深圳市汉森软件有限公司 | Compensation printing method, device and equipment based on three-dimensional printing and storage medium |
CN114987070A (en) * | 2022-06-27 | 2022-09-02 | 武汉中谷联创光电科技股份有限公司 | Printing size calibration method and device, printing equipment and storage medium |
CN114987070B (en) * | 2022-06-27 | 2023-08-22 | 武汉中谷联创光电科技股份有限公司 | Printing size calibration method and device, printing equipment and storage medium |
CN117162489A (en) * | 2023-08-16 | 2023-12-05 | 郑州潮阔电子科技有限公司 | 3D printing coordinate compensation method and device, storage medium and 3D printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109062520A (en) | print image output size error compensating method, device, equipment and storage medium | |
CN108177442B (en) | Nozzle abnormal compensating method, apparatus, ink jet printing device and storage medium | |
CN108327404B (en) | Printer nozzle abnormal compensating method, apparatus, equipment and storage medium | |
CN108327403B (en) | More spray nozzle abnormal compensating method, apparatus, equipment and storage medium | |
CN110816082B (en) | Method, device and equipment for obtaining alignment error value of spray head and storage medium | |
CN109685784A (en) | Pcb board position error calibration method, device, equipment and storage medium | |
CN110688074B (en) | Method, device and equipment for distributing data for multi-nozzle printing and storage medium | |
CN110757956B (en) | Method, device and equipment for acquiring installation deviation value of spray head and storage medium | |
CN109760431A (en) | Print data processing method, device, equipment and storage medium | |
CN110039901B (en) | Oneepass inkjet printing control method, device, equipment and medium | |
CN109263280A (en) | Onepass inkjet printing methods, device, equipment and storage medium | |
CN109263279A (en) | Onepass inkjet printing methods, device, equipment and storage medium | |
CN110757955B (en) | Method, device and equipment for verifying nozzle alignment calibration value and storage medium | |
CN110202938A (en) | Processing method, device, equipment and the storage medium of spray nozzle exception | |
CN111347793A (en) | Digital nozzle splicing error processing method and device, printing equipment and storage medium | |
CN110202936B (en) | Method, device, equipment and medium for detecting whether nozzle is abnormal or not based on state diagram | |
CN114055954B (en) | Method, device and equipment for calibrating rotating speed of printing on surface of cylinder and storage medium | |
CN113829751B (en) | Printing data processing method, apparatus, device and medium for eliminating ink drop deviation | |
CN110163307A (en) | Method of printing, device, equipment and the medium of label position can be adjusted in real time | |
CN114347650B (en) | Image precision self-adaptive printing method, device, equipment and storage medium | |
CN110341311A (en) | Onepass print data shielding processing method, apparatus, equipment and storage medium | |
CN114789605B (en) | Image printing data processing method, device, equipment and storage medium | |
CN115447279B (en) | Abnormal nozzle compensation printing method, device and equipment for image and storage medium | |
CN114683727B (en) | Multi-step distance error calibration method, device, equipment and storage medium | |
CN113511007B (en) | Method, device and equipment for eliminating nozzle splicing error and storage medium |
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 |