CN103823643B - The print-out method of engineering drawing and device - Google Patents
The print-out method of engineering drawing and device Download PDFInfo
- Publication number
- CN103823643B CN103823643B CN201210485724.0A CN201210485724A CN103823643B CN 103823643 B CN103823643 B CN 103823643B CN 201210485724 A CN201210485724 A CN 201210485724A CN 103823643 B CN103823643 B CN 103823643B
- Authority
- CN
- China
- Prior art keywords
- typesetting
- engineering
- width
- white space
- standard
- 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.)
- Expired - Fee Related
Links
Landscapes
- Preparing Plates And Mask In Photomechanical Process (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The invention provides print-out method and the device of a kind of engineering drawing.Wherein, the method includes: obtaining the attribute information of all engineering drawings of current output to be printed, wherein, attribute information includes the book size of engineering drawing;According to the width of the printing paper arranged on current printing device, all engineering drawings carrying out typesetting, wherein, if several engineering drawings in the direction of the width can be side by side on printing paper, then several engineering drawings are at width arranged in parallel;Typesetted engineering drawing is exported printing device printout.By the invention it is possible to reduce the waste of paper, improve the efficiency of printout.
Description
Technical field
The present invention relates to computer picture printing technique field, in particular to a kind of engineering drawing print-out method and
Device.
Background technology
In current engineering drawing printout, printing device is after the print command receiving user's output, commonly used
Mode is to be sequentially arranged by the engineering drawing of output to be printed, is printed upon on the roll web of A0 or A1 breadth.Such as, if worked as
The size of the engineering drawing of front output is sequentially: A1, A0, A2 and A4, printing device arrange roll web be breadth be A0,
Then print result is as it is shown in figure 1, various breadth engineering drawing respectively takies a line, is sequentially arranged output, and major part printing device is not
Engineering drawing to be output can be carried out typesetting again.
Using this printing type, no matter the breadth of engineering drawing to be printed has much, what it used is all whole breadth width
Printing paper, cause the waste of paper, be unfavorable for environmental protection.Exist further, since each width engineering drawing is all single file,
Have to pass through repeatedly printing during printing, could sequentially printout, in the situation that engineering drawing quantity to be output is bigger
Under, the time that this printout mode needs is longer, inefficient.
Summary of the invention
For in correlation technique in the paper waste solved existing for engineering drawing printout and inefficient problem, the present invention
Provide print-out method and the device of a kind of engineering drawing.
According to an aspect of the invention, it is provided the print-out method of a kind of engineering drawing, including: obtain the most to be printed
The attribute information of all engineering drawings of output, wherein, described attribute information includes the book size of described engineering drawing;According to
All engineering drawings are carried out typesetting by the width of the printing paper arranged on current printing device, wherein, if several described engineerings
Drawing in the direction of the width can be side by side on described printing paper, then several engineering drawings described are at width arranged in parallel;Will
Typesetted engineering drawing exports described printing device printout.
Preferably, according to the width of the printing paper arranged on current printing device, all engineering drawings are carried out typesetting, including:
All engineering drawings of current output to be printed are rotated more than the mode of width according to height, and to postrotational all works
Journey drawing is ranked up according to breadth width, and the engineering drawing choosing current breadth width maximum carries out typesetting;Step 1, will be current
The described engineering drawing typesetting chosen is behind a border on the long limit of described printing paper, it is judged that the width of the white space of described printing paper
Whether degree is more than preset value, if it is, record described white space, wherein, described white space refers in the region of L × H
Removing the region shared by described engineering drawing of typesetting, L is the height of the current described engineering drawing selected, and H is described beating
The width of printing paper;Step 2, if the described non-typesetting of all engineering drawings is complete, chooses next width engineering drawing according to breadth width and enters
Row typesetting, it is judged that whether have the white space that can arrange down the described engineering drawing currently chosen in the white space of record, if
Having, then perform step 3, otherwise, enter a new line typesetting, performs step 1;Step 3, the described engineering drawing typesetting that will currently choose
At this white space, this white space of deletion record, and calculate the new white space in the region of described L × H, it is judged that described
Whether the width of new white space is more than described preset value, if it is, record described new white space, the most not record;
It is then back to step 2.
Preferably, according to the width of the printing paper arranged on current printing device, all engineering drawings are carried out typesetting, including:
Whether be that standard A class drawing is classified according to each width engineering drawing, described all engineering drawings are divided into standard A class drawing and
Non-standard A class drawing;According to first standard A class drawing, the order of rear non-standard A engineering drawing, to described all engineering drawings
Carry out typesetting, wherein, if several described engineering drawings in the direction of the width can be the most described many side by side on described printing paper
Width engineering drawing is at width arranged in parallel.
Preferably, according to first standard A class drawing, the order of rear non-standard A class drawing, described all engineering drawings are arranged
Version, including: described standard A class drawing is carried out typesetting, according to the combination of the different size of standard A class drawing pre-set
Mode, is combined typesetting by standard A class drawing different size of in described standard A class drawing, wherein, if the complete institute of typesetting
After having standard A class drawing, there is the width white space more than preset value, then record described white space;
Described non-standard A class drawing is carried out typesetting, described non-standard A class drawing is carried out more than the mode of width according to height
Rotate, and postrotational all engineering drawings are ranked up according to breadth width;Step 1, chooses next width according to breadth width
Engineering drawing carries out typesetting, it is judged that whether have the blank that can arrange down the described engineering drawing currently chosen in the white space of record
Region, if it has, then perform step 2, otherwise, enter a new line typesetting, performs step 3;Step 2, the described work that will currently choose
Journey drawing typesetting is at this white space, this white space of deletion record, and calculates after described white space typesetting currently chooses
After described engineering drawing, whether the width of new white space is more than described preset value, if it is, record described new blank
Region, if the described non-typesetting of all engineering drawings is complete, chooses next width engineering drawing according to breadth width and carries out typesetting, returns
Step 1;Step 3, by the described engineering drawing typesetting currently chosen behind a border on the long limit of described printing paper, it is judged that described
Whether the width of the white space of printing paper is more than preset value, if it is, record described white space, if described all works
The non-typesetting of journey drawing is complete, chooses next width engineering drawing according to breadth width and carries out typesetting, returns step 1, wherein, described blank
Region refers to remove in the region of L × H the region shared by described engineering drawing of typesetting, and L is the current described engineering selected
The height of drawing, H is the width of described printing paper.
Preferably, when all engineering drawings are carried out typesetting, described method also includes: between each width engineering drawing, interval is pre-
Set a distance.
Preferably, when typesetted engineering drawing is exported described printing device printout, described method also includes: right
In at width several described engineering drawings side by side, after printing, according to the institute that several engineering drawing camber described are the longest
The lower limb stating engineering drawing is border, carries out single solution for diverse problems and cuts.
According to another aspect of the present invention, it is provided that the print-out device of a kind of engineering drawing, including: acquisition module, use
In the attribute information of all engineering drawings obtaining current output to be printed, wherein, described attribute information includes described engineering drawing
Book size;All engineering drawings, for the width according to the printing paper arranged on current printing device, are entered by type-setting module
Row typesetting, wherein, if several described engineering drawings in the direction of the width can side by side on described printing paper, then described several
Engineering drawing is at width arranged in parallel;Output module, beats for typesetted engineering drawing is exported described printing device
Print output.
Preferably, described type-setting module includes: sequencing unit, is used for all engineering drawings to current output to be printed according to height
Degree rotates more than the mode of width, and is ranked up postrotational all engineering drawings according to breadth width;Choose unit,
For according to breadth width order from big to small, the described engineering drawing of typesetting never being chosen the engineering drawing of current typesetting;
Whether judging unit, exist in the white space judging record and can choose, described under typesetting, the described work that unit is currently chosen
Journey drawing, if it is, instruction typesetting unit by the described engineering drawing typesetting currently chosen at described white space, otherwise,
Indicate the described engineering drawing that the line feed typesetting of described typesetting unit is currently chosen;Described typesetting unit, for judging list according to described
The instruction of unit, chooses the described engineering drawing that unit is currently chosen described in typesetting;Computing unit, is used for calculating typesetting unit typesetting
The described white space chosen after the described engineering drawing that unit is currently chosen, and the width calculating described white space is the biggest
In preset value, if it is, record described white space, wherein, described white space removes in referring to the region of L × H and arranges
The region shared by described engineering drawing of version, L is the height of the highest engineering drawing in the engineering drawing of current line typesetting, H
Width for described printing paper.
Whether preferably, type-setting module includes: taxon, for being that standard A class drawing is carried out point according to each width engineering drawing
Described all engineering drawings are divided into standard A class drawing and non-standard A class drawing by class;Typesetting unit, for according to first standard
A class drawing, the order of rear non-standard A class drawing, described all engineering drawings are carried out typesetting, wherein, if described in several
Engineering drawing in the direction of the width can be side by side on described printing paper, then several engineering drawings described are at width arranged in parallel.
Preferably, typesetting unit includes: standard map typesetting unit, for described standard A class drawing is carried out typesetting, according to
The compound mode of the different size of standard A class drawing pre-set, by different size of standard A in described standard A class drawing
Class drawing is combined typesetting, wherein, if after the complete all standard A class drawings of typesetting, there is the width blank more than preset value
Region, then record described white space;Non-standard drawing sequencing unit, for described non-standard A class drawing is carried out typesetting,
Described non-standard A class drawing is rotated more than the mode of width according to height, and to postrotational all engineering drawings according to
Breadth width is ranked up, and the engineering drawing choosing current breadth width maximum carries out typesetting;Unit chosen by non-standard drawing, uses
According to the described engineering drawing of breadth width, never typesetting, choose next width engineering drawing carry out typesetting;Judging unit, uses
The white space that can arrange down the described engineering drawing currently chosen whether is had in the white space judging record, if it has, then
Perform to indicate non-standard drawing typesetting unit, by the described engineering drawing typesetting currently chosen at this white space, otherwise, instruction
The described engineering drawing that the line feed typesetting of described non-standard drawing typesetting unit is currently chosen;Described non-standard drawing typesetting unit, root
According to the instruction of described judging unit, choose, described in typesetting, the described engineering drawing that unit is currently chosen;White space computing unit,
Choose the white space after the described engineering drawing that unit is currently chosen described in typesetting unit typesetting for calculating, and calculate described
Whether the width of white space is more than preset value, if it is, record described white space, wherein, described white space refers to L
Removing the region shared by described engineering drawing of typesetting in the region of × H, L is the highest in the engineering drawing of current line typesetting
The height of engineering drawing, H is the width of described printing paper.
Preferably, also include: handover module, for at width several described engineering drawings side by side, after printing,
It is border according to the lower limb of the longest described engineering drawing of several engineering drawing camber described, carries out single solution for diverse problems and cut.
By the present invention, before printout engineering drawing, according to the attribute information of all engineering drawings of output to be printed, treat
The engineering drawing of printout carries out typesetting, for can be arranged in the engineering drawing of printout on the same string of printing paper simultaneously,
It is arranged in same string printout, thus has been saved paper, simultaneously as several engineering drawings can be exported, also simultaneously
Improve the printing effect of engineering drawing.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the present invention shows
Meaning property embodiment and explanation thereof are used for explaining the present invention, are not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the exemplary plot of engineering drawing printout in correlation technique;
Fig. 2 a is the flow chart of the print-out method of the engineering drawing according to embodiment;
Fig. 2 b is the flow chart of the print-out method of the engineering drawing of embodiment one;
Fig. 3 is the exemplary plot that embodiment one empty region produces;
Fig. 4 is the schematic diagram utilizing white space typesetting engineering drawing in embodiment one;
Fig. 5 is the picture mosaic schematic diagram of embodiment two Plays A class engineering drawing;
Fig. 6 is the flow chart of the print-out method of the engineering drawing of embodiment two;
Fig. 7 is the schematic diagram of drawing cutting in the embodiment of the present invention;
Fig. 8 is the structural representation of the print-out device of the engineering drawing of embodiment three;
Fig. 9 is the optional structural representation of one of the print-out device of the engineering drawing of embodiment three;
Figure 10 is the optional structural representation of one of the typesetting unit of embodiment three;
Figure 11 is another optional structural representation of the print-out device of the engineering drawing of embodiment three.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that in the case of not conflicting,
Embodiment in the application and the feature in embodiment can be mutually combined.
The paper waste existed when printing for engineering drawing in correlation technique and inefficient problem, the embodiment of the present invention provides
A kind of printout scheme of the engineering drawing of improvement, in embodiments of the present invention, it is achieved that based on general engineering drawing from
Dynamic composing system.In the technical scheme that the embodiment of the present invention provides, obtain the genus of all engineering drawings of current output to be printed
Property information, then according to the width of printing paper arranged on current printing device, all engineering drawings are carried out typesetting, wherein,
If several engineering drawings in the direction of the width can be side by side on printing paper, then by arranged side by side at width for these several engineering drawings
Arrangement, finally, exports described printing device printout by typesetted engineering drawing.Thered is provided by the embodiment of the present invention
Technical scheme, the person of publishing picture only need to interact selection by human-computer interaction interface to the drawing needing printout, and system is certainly afterwards
Dynamic its attribute information is automatically extracted, and be automatically obtained engineering drawing is carried out batch typesetting output.
Fig. 2 a is the flow chart of the print-out method of the engineering drawing according to the embodiment of the present invention, as shown in Figure 2 a, according to this
The print-out method of the engineering drawing of bright embodiment mainly comprises the steps that
Step S102, obtains the attribute information of all engineering drawings of current output to be printed, and wherein, described attribute information includes
The book size of described engineering drawing;
All engineering drawings, according to the width of printing paper arranged on current printing device, are carried out typesetting by step S104, wherein,
If several described engineering drawings in the direction of the width can be side by side on described printing paper, then several engineering drawings described are at width
Direction arranged in parallel;
Step S106, exports described printing device printout by typesetted engineering drawing.
The technique scheme provided by the embodiment of the present invention, before printout engineering drawing, owning according to output to be printed
The attribute information of engineering drawing, the engineering drawing treating printout carries out typesetting, for can be arranged in the same of printing paper simultaneously
The engineering drawing of printout on string, is arranged in same string printout, thus has been saved paper, simultaneously as can
To export several engineering drawings simultaneously, also improve the printing effect of engineering drawing.
In the technical scheme that the embodiment of the present invention provides, when engineering drawing is carried out typesetting, can be for standard A class drawing
Corresponding mode is used to carry out typesetting with non-standard A class drawing, it is also possible to engineering drawing not to be classified, all engineering drawings
Adopt and carry out typesetting in a like fashion.The technical scheme provided the embodiment of the present invention below by specific embodiment illustrates.
Embodiment one
In the present embodiment, engineering drawing is not classified, directly according to the book size of the engineering drawing of each output to be printed
The engineering drawing of all outputs to be printed is carried out typesetting printout.
Fig. 2 is the flow chart of the print-out method of engineering drawing in the present embodiment, as in figure 2 it is shown, in the present embodiment, work
The printout of journey drawing mainly comprises the steps that
Step 201, obtains the attribute information of all engineering drawings of current output to be printed, wherein, this attribute information include but not
It is limited to: the book size of engineering drawing.Wherein, the book size of engineering drawing can be dominant, such as, and engineering drawing
Width and height, or, it is also possible to it is recessive instruction, such as, for standard A class drawing, it is also possible to be to indicate this engineering
Drawing is the information of A4, A3, A2, A1 or A0.
All engineering drawings of current output to be printed are rotated more than the mode of width by step 202 according to height;
Postrotational all engineering drawings are ranked up by step 203 according to breadth width, never choose in the engineering drawing of typesetting
The width engineering drawing that width is the widest;
Step 204, by this engineering drawing typesetting of choosing on the border on the long limit of printing paper;
In an embodiment of the present embodiment, in this step, can be by the upper left corner of this engineering drawing typesetting to printing paper.
Step 205, the white space produced after calculating this engineering drawing of typesetting, in the present embodiment, this white space refers to print
L (height of the engineering drawing of current typesetting) × H (width of the printing paper) region of paper this engineering drawing of typesetting removes and arranges
The region shared by engineering drawing of version.
Implement as it is shown on figure 3, be the present invention at the right margin of engineering drawing of typesetting to the region between the right margin of printing paper
White space described in example.
Step 206, it is judged that whether the width of white space is more than preset value (such as, the 1/4 of printing paper width), if it is,
Record this region;
Step 207, it may be judged whether the typesetting the most of all of engineering drawing is complete, if it is, perform step 211, otherwise, performs
Step 208;
The engineering drawing of step 208, never typesetting chooses the width engineering drawing that width is the widest, the white space of traversal record,
Determining whether to arrange down the white space of this engineering drawing, if it is, perform step 209, otherwise, enter a new line typesetting, holds
Row step 204;
In an optional embodiment of the present embodiment, after typesetting one width engineering drawing, if there being white space, it is also possible to
First judge this white space can the rear width engineering drawing of this engineering drawing under typesetting, if it can, a then direct width work after typesetting
Journey drawing, if it could not, perform step 206 again, it is judged that whether this white space meets condition, if it is, record.
Step 209, by new in this white space, this white space of deletion record, and calculating for the engineering drawing typesetting currently chosen
White space;
As shown in Figure 4, the engineering drawing typesetting currently chosen, in a-quadrant, produces new white space B and C.
Step 210, it is judged that whether the width of new white space is more than preset value, if it is, record this white space, otherwise,
Do not record the new white space of generation, be then back to step 207;
In the diagram, the width of white space B is less than preset value (such as, the 1/4 of printing paper width), gives up, does not re-records,
And the width of white space C is more than preset value, therefore, white space C is recorded.
In an embodiment of the present embodiment, white space can be recorded by a special function, for example, it is possible to
With AddBlankArea, white space is carried out record, specifically can record the positional information of this white space.
Step 211, prints typesetted all engineering drawings.
Embodiment two
In the present embodiment, after obtaining engineering drawing to be printed, in the present embodiment, first input engineering drawing, big by drawing
The little classification and ordination that carries out, the preferential typesetting of standard A class drawing, the preferential typesetting of larger-size drawing.According to web width, right
Standard A class drawing carries out different combinations, carries out typesetting.During to non-standard paper typesetting, or the combination of standard A class paper
When the large stretch of blank of residue on the right of roll web can be caused not utilize region, the non-one layout region on the right side of roll web during typesetting is carried out
Judge, see whether it can discharge successive projects drawing, to judging that the region passed through carries out record.Preferentially exist during follow-up paper typesetting
Typesetting is carried out on this region.
The most in the present embodiment, first engineering drawing to be printed is classified, be divided into standard A class drawing and non-standard A class
Drawing, then for different types of engineering drawing, uses different layout algorithm:
(1) for standard A class drawing, according to the feature of A class paper, if the gap not considered between drawing, an A0 drawing
Just can be spliced by 2 A1, an A1 drawing can be spliced by 2 A2 just, and the rest may be inferred, such as Fig. 5 institute
Show.In the present embodiment the sequence to standard A class drawing with reference to this feature, according to A0, A1, A2, A3 during sequence,
The order of A4 and A5 carries out picture mosaic, after larger amplitude drawing is drained, it is considered to spacing, more small size mosaic image is participated in picture mosaic.Piece
Enumerate the composite type of all different size A class paper, in write picture mosaic function.Owing to this algorithm not having iteration, therefore react
Rapidly, picture mosaic speed is quickly.
(2) for non-standard drawing, descending picture mosaic is carried out, whenever spelling next drawing on the web, to it away from volume
Coil paper right margin distance judges, if next drawing can not be placed, then enter a new line picture mosaic.To the right white space before line feed
Judge, it is determined that criterion is: if white space horizontal width is more than preset value (such as, 1/4th of web width),
Then this white space is stored.
It addition, in the present embodiment, pay the utmost attention to place engineering drawing at white space during picture mosaic.Before placing drawing,
Traveling through the white space of all records, if all white spaces all can not be placed, then enter a new line placement.
Fig. 6 is the flow chart of the print-out method of engineering drawing in the present embodiment, as shown in Figure 6, in the present embodiment, work
The printout of journey drawing mainly comprises the steps that
Step 601, obtains the attribute information of all engineering drawings of current output to be printed, wherein, this attribute information include but not
It is limited to: the book size of engineering drawing.Wherein, the book size of engineering drawing can be dominant, such as, and engineering drawing
Width and height, or, it is also possible to it is recessive instruction, such as, for standard A class drawing, it is also possible to be to indicate this engineering
Drawing is the information of A4, A3, A2, A1 or A0.It addition, attribute information can also include the ratio of engineering drawing.
Step 602, classifies to the engineering drawing of all outputs to be printed according to standard A class drawing and non-standard A class drawing.
Step 603, carries out typesetting to standard A class drawing;
The feature of establishing criteria A class drawing, if not considering drawing gap, an A0 drawing can be spliced by 2 A1 just,
One A1 drawing can be spliced by 2 A2 just, and the rest may be inferred, as shown in Figure 5.To standard A class paper in the present embodiment
The sequence opened with reference to this feature, carry out picture mosaic according to the order of A0, A1, A2, A3, A4 and A5 during sequence, relatively
After significantly drawing is drained (optional, it may be considered that spacing), more small size mosaic image is participated in picture mosaic.At the present embodiment one
In optional embodiment, the composite type of all different size standard A class drawings can be pre-set, then judge and currently treat
The composite type of the standard A class drawing coupling printed, and according to this composite type, standard A class drawing the most to be printed is carried out
Typesetting.
Such as, the composite type of all different size standard A class drawings is enumerated in advance, in write picture mosaic function, at typesetting mark
During quasi-A class drawing, using the map sheet of current standard A class drawing as parameter, substitute in picture mosaic function, i.e. can obtain current
Treat the composite type of typesetting.Owing to not having iteration in this algorithm, being therefore swift in response, picture mosaic speed is quickly.
Step 604, records and meets pre-conditioned clear area in the white space in puerperal after all standard A class drawing typesettings complete
Territory (such as, width is more than preset value).In the present embodiment, white space is a rectangular area, and this rectangular area refers to row
In the rectangular area of the width (H) being listed in height (the L) × printing paper of the maximum engineering drawing of same a line camber, maker-up
The white space formed after journey drawing.As it is shown on figure 3, on the left side of printing paper, be arranged three row engineering drawings, printing
The right of paper defines three blank rectangular areas, and these three rectangular area defines three white spaces described in the present embodiment;
Step 605, rotates more than the mode of width according to height the non-standard A class drawing of current output to be printed, and
Postrotational engineering drawing is ranked up according to breadth width;
Step 606, it may be judged whether the typesetting the most of all of engineering drawing is complete, if it is, perform step 613, otherwise, performs
Step 607;
The engineering drawing of step 607, never typesetting is chosen the width engineering drawing that width is the widest;
Step 608, the white space of traversal record, it may be judged whether have the white space that can arrange down this engineering drawing, if it is,
Then performing step 609, otherwise, enter a new line typesetting, performs step 611;
Step 609, by new in this white space, this white space of deletion record, and calculating for the engineering drawing typesetting currently chosen
White space;
As shown in Figure 4, the engineering drawing typesetting currently chosen, in a-quadrant, produces new white space B and C.
Step 610, it is judged that whether the width of new white space is more than preset value, if it is, record this white space, otherwise,
Do not record the new white space of generation, be then back to step 606;
Step 611, by this engineering drawing typesetting of choosing on the border on the long limit of printing paper;
In an embodiment of the present embodiment, in this step, can be by the upper left corner of this engineering drawing typesetting to printing paper.
Step 612, the white space produced after calculating this engineering drawing of typesetting, in the present embodiment, this white space refers to print
L (height of the engineering drawing of current typesetting) × H (width of the printing paper) region of paper this engineering drawing of typesetting removes and arranges
The region shared by engineering drawing of version.
Implement as it is shown on figure 3, be the present invention at the right margin of engineering drawing of typesetting to the region between the right margin of printing paper
White space described in example.
Step 613, it is judged that whether the width of white space is more than preset value (such as, the 1/4 of printing paper width), if it is,
Record this region, otherwise, not record.It is then back to perform step 606;
Step 614, prints typesetted all engineering drawings.
It should be noted that in each embodiment above-mentioned, to the cutting of engineering drawing on roll web after considering to publish picture in typesetting
Efficiency.When typesetting, as it is shown in fig. 7, with the maximum engineering drawing lower boundary of height as puzzle boundary, if the right district
Territory height is not enough to arrange lower Other Engineering drawing, then blank is placed in this region, does not carry out picture mosaic.After so making typesetting complete
Roll web can be at border (chain-dotted line in figure) the upper cutting mode imposed uniformity without examining individual cases that uses, cut paper efficiency height.
Embodiment three
Corresponding with said method embodiment, present embodiments provide the printout of a kind of engineering drawing for realizing said method
Device.
Fig. 8 is in the present embodiment, the structural representation of the print-out device of engineering drawing, and as shown in Figure 8, this device includes:
Acquisition module 10, for obtaining the attribute information of all engineering drawings of current output to be printed, wherein, described attribute information bag
Include the book size of described engineering drawing;Type-setting module 20, for the width according to the printing paper arranged on current printing device,
All engineering drawings are carried out typesetting, wherein, if several described engineering drawings in the direction of the width can be side by side in described printing
On paper, then several engineering drawings described are at width arranged in parallel;Output module 30, is used for defeated for typesetted engineering drawing
Go out to described printing device printout.
In an optional embodiment of the present embodiment, as it is shown in figure 9, type-setting module 20 may include that sequencing unit 201,
For all engineering drawings of current output to be printed are rotated more than the mode of width according to height, and to postrotational institute
Engineering drawing is had to be ranked up according to breadth width;Choose unit 201, for according to breadth width order from big to small, never
The described engineering drawing of typesetting is chosen the engineering drawing of current typesetting;Judging unit 203, in the white space judging record
Existence can choose, described under typesetting, the described engineering drawing that unit is currently chosen, if it is, instruction typesetting unit 204
By the described engineering drawing typesetting currently chosen at described white space, otherwise, the typesetting that enters a new line of instruction typesetting unit 204 is currently selected
The described engineering drawing taken;Typesetting unit 204, is used for the instruction according to described judging unit, chooses unit and currently select described in typesetting
The described engineering drawing taken;Computing unit 205, chooses, for calculating, the described engineering that unit is currently chosen described in typesetting unit typesetting
White space after drawing, and calculate the width of described white space whether more than preset value, if it is, record described sky
White region, wherein, described white space refers to remove in the region of L × H the region shared by described engineering drawing of typesetting,
L is the height of the highest engineering drawing in the engineering drawing of current line typesetting, and H is the width of described printing paper.
In another optional embodiment of the present embodiment, as shown in Figure 10, type-setting module 20 may include that taxon
210, for whether being that standard A class drawing is classified according to each width engineering drawing, described all engineering drawings are divided into standard A
Class drawing and non-standard A class drawing;Typesetting unit 220, is used for according to first standard A class drawing, rear non-standard A class drawing
Sequentially, described all engineering drawings are carried out typesetting, wherein, if several described engineering drawings in the direction of the width can be side by side
On described printing paper, then several engineering drawings described are at width arranged in parallel.
Preferably, as shown in figure 11, typesetting unit 220 may include that standard map typesetting unit 221, for described mark
Quasi-A class drawing carries out typesetting, according to the compound mode of the different size of standard A class drawing pre-set, by described standard A
In class drawing, different size of standard A class drawing is combined typesetting, wherein, if after the complete all standard A class drawings of typesetting,
There is the width white space more than preset value, then record described white space;Non-standard drawing sequencing unit 222, for institute
State non-standard A class drawing and carry out typesetting, described non-standard A class drawing is rotated more than the mode of width according to height, and
Being ranked up postrotational all engineering drawings according to breadth width, the engineering drawing choosing current breadth width maximum is arranged
Version;Unit 223 chosen by non-standard drawing, for according to choosing next width work in the described engineering drawing of breadth width, never typesetting
Journey drawing carries out typesetting;Whether judging unit 224, have in the white space judging record and can arrange down currently choose described
The white space of engineering drawing, if it has, then perform to indicate non-standard drawing typesetting unit 225, the described engineering that will currently choose
Drawing typesetting is at this white space, and otherwise, indicating described non-standard drawing typesetting unit 225 to enter a new line, that typesetting currently chooses is described
Engineering drawing;Described non-standard drawing typesetting unit 225, according to the instruction of described judging unit, chooses unit described in typesetting current
The described engineering drawing chosen;White space computing unit 226, is used for calculating and chooses unit described in typesetting unit typesetting and currently choose
Described engineering drawing after white space, and calculate the width of described white space whether more than preset value, if it is,
Recording described white space, wherein, described white space refers to remove in the region of L × H shared by the described engineering drawing of typesetting
Region, L is the height of the highest engineering drawing in the engineering drawing of current line typesetting, and H is the width of described printing paper.
In another optional embodiment of the present embodiment, as shown in figure 11, this device can also include: handover module 40,
For at width several described engineering drawings side by side, after printing, according to several engineering drawing camber described
The lower limb of long described engineering drawing is border, carries out single solution for diverse problems and cuts.
In actual applications, the device that in above-described embodiment, each embodiment is provided can be arranged in printer, or,
Can also be arranged on outside printer, as third party device and printer communication, thus realize above-mentioned typesetting and printing function,
The concrete embodiment of the present invention is not construed as limiting.
It should be noted that although above-described embodiment is as a example by whether the width of white space is more than preset value, it may be judged whether record
This white space, but it is not limited to this, in other embodiments of the embodiment of the present invention, it is also possible to the width of white space
And be the most whether condition more than preset value, it may be judged whether recording this white space, concrete the present embodiment repeats no more.
In addition, it is necessary to explanation is, although above-described embodiment is opened with the width descending order according to engineering drawing to be printed
Beginning typesetting, but it is not limited to this, in actual applications, it is possibility to have other embodiment.For example, it is possible to by be printed defeated
The engineering drawing gone out is numbered according to order from big to small, after the engineering drawing that drained width is maximum, if there is blank
Region, then from finally beginning stepping through the engineering drawing of non-typesetting, searching whether can be with typesetting at the engineering drawing of this white space.
Also, it should be noted although the interval between each width engineering drawing is not illustrated by above-described embodiment, but in reality
In the application of border, cut for convenience, between each width engineering drawing, certain intervals can be reserved, in above-described embodiment, arranging
During version, this interval calculation can be entered, thus judge between each width engineering drawing whether can with typesetting at same string, concrete this
Inventive embodiments repeats no more.
As can be seen from the above description, the technical scheme provided by one of above-described embodiment, the person of publishing picture only need to pass through people
Machine interactive interface interacts selection to the drawing needing printout, afterwards by automatically treating the engineering drawing of printout
Attribute information automatically extracts, and be automatically obtained engineering drawing is carried out batch typesetting output, decrease the waste of paper, carry
Supply the efficiency of printout.The typesetting result of output has also taken into full account the cut paper demand in web print to engineering drawing,
The mode imposed uniformity without examining individual cases can be used to carry out cutting roll web, efficiency of publishing picture is higher.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general calculating
Device realizes, and they can concentrate on single calculating device, or is distributed on the network that multiple calculating device is formed,
Alternatively, they can realize with calculating the executable program code of device, it is thus possible to be stored in storing device
In perform by calculating device, and in some cases, can with the order being different from herein perform shown or described by step
Suddenly, or they are fabricated to respectively each integrated circuit modules, or the multiple modules in them or step are fabricated to single
Integrated circuit modules realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for those skilled in the art
For, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of being made, etc.
With replacement, improvement etc., should be included within the scope of the present invention.
Claims (8)
1. the print-out method of an engineering drawing, it is characterised in that including:
Obtaining the attribute information of all engineering drawings of current output to be printed, wherein, described attribute information includes described work
The book size of journey drawing;
According to the width of printing paper arranged on current printing device, all engineering drawings are carried out typesetting, wherein, if
Several described engineering drawings in the direction of the width can be side by side on described printing paper, then several engineering drawings described are at width
Direction arranged in parallel;
Typesetted engineering drawing is exported described printing device printout;
Wherein, when typesetted engineering drawing is exported described printing device printout, described method also includes:
For at width several described engineering drawings side by side, after printing, according to high in several engineering drawings described
The lower limb spending the longest described engineering drawing is border, carries out single solution for diverse problems and cuts.
Method the most according to claim 1, it is characterised in that according to the width of the printing paper arranged on current printing device,
All engineering drawings are carried out typesetting, including:
All engineering drawings of current output to be printed are rotated more than the mode of width according to height, and to rotating after
All engineering drawings be ranked up according to breadth width, the engineering drawing choosing current breadth width maximum carries out typesetting;
Step 1, by the described engineering drawing typesetting currently chosen behind a border on the long limit of described printing paper, it is judged that described
Whether the width of the white space of printing paper is more than preset value, if it is, record described white space, wherein, described
White space refers to remove in the region of L × H the region shared by described engineering drawing of typesetting, and L is current selection
The height of described engineering drawing, H is the width of described printing paper;
Step 2, if the described non-typesetting of all engineering drawings is complete, chooses next width engineering drawing according to breadth width and arranges
Version, it is judged that whether have the white space that can arrange down the described engineering drawing currently chosen in the white space of record, if
Having, then perform step 3, otherwise, enter a new line typesetting, performs step 1;
Step 3, by the described engineering drawing typesetting currently chosen at this white space, this white space of deletion record, and
Calculate the new white space in the region of described L × H, it is judged that whether the width of described new white space is preset more than described
Value, if it is, record described new white space, the most not record;It is then back to step 2.
Method the most according to claim 1, it is characterised in that according to the width of the printing paper arranged on current printing device,
All engineering drawings are carried out typesetting, including:
Whether it is that standard A class drawing is classified according to each width engineering drawing, described all engineering drawings are divided into standard A
Class drawing and non-standard A class drawing;
According to first standard A class drawing, the order of rear non-standard A class drawing, described all engineering drawings are carried out typesetting,
Wherein, if several described engineering drawings in the direction of the width can be side by side on described printing paper, then several engineerings described
Drawing is at width arranged in parallel.
Method the most according to claim 3, it is characterised in that according to first standard A class drawing, rear non-standard A class drawing
Sequentially, described all engineering drawings are carried out typesetting, including:
Described standard A class drawing is carried out typesetting, according to the combination side of the different size of standard A class drawing pre-set
Formula, is combined typesetting, wherein, if typesetting is complete by standard A class drawing different size of in described standard A class drawing
After all standard A class drawings, there is the width white space more than preset value, then record described white space;
Described non-standard A class drawing is carried out typesetting, described non-standard A class drawing is more than according to height the mode of width
Rotate, and postrotational all engineering drawings are ranked up according to breadth width;
Whether step 1, choose next width engineering drawing according to breadth width and carry out typesetting, it is judged that have in the white space of record
Can arrange down the white space of the described engineering drawing currently chosen, if it has, then perform step 2, otherwise, enter a new line typesetting,
Perform step 3;
Step 2, by the described engineering drawing typesetting currently chosen at this white space, this white space of deletion record, and
After calculating the described engineering drawing after described white space typesetting is currently chosen, whether the width of new white space is more than institute
State preset value, if it is, record described new white space, if the described non-typesetting of all engineering drawings is complete, according to
Breadth width is chosen next width engineering drawing and is carried out typesetting, returns step 1;
Step 3, by the described engineering drawing typesetting currently chosen behind a border on the long limit of described printing paper, it is judged that described
Whether the width of the white space of printing paper is more than preset value, if it is, record described white space, if described institute
There is the non-typesetting of engineering drawing complete, choose next width engineering drawing according to breadth width and carry out typesetting, return step 1, wherein,
Described white space refers to remove in the region of L × H the region shared by described engineering drawing of typesetting, and L is current choosing
The height of the described engineering drawing selected, H is the width of described printing paper.
5. the print-out device of an engineering drawing, it is characterised in that including:
Acquisition module, for obtaining the attribute information of all engineering drawings of current output to be printed, wherein, described attribute
Information includes the book size of described engineering drawing;
All engineering drawings, for the width according to the printing paper arranged on current printing device, are arranged by type-setting module
Version, wherein, if several described engineering drawings in the direction of the width can side by side on described printing paper, then described several
Engineering drawing is at width arranged in parallel;
Output module, for exporting described printing device printout by typesetted engineering drawing;
Handover module, for at width several described engineering drawings side by side, after printing, according to described many
The lower limb of the described engineering drawing that width engineering drawing camber is the longest is border, carries out single solution for diverse problems and cuts.
Device the most according to claim 5, it is characterised in that described type-setting module includes:
Sequencing unit, for revolving more than the mode of width according to height all engineering drawings of current output to be printed
Turn, and postrotational all engineering drawings are ranked up according to breadth width;
Choose unit, for according to breadth width order from big to small, never the described engineering drawing of typesetting is chosen and work as
The engineering drawing of front typesetting;
Whether judging unit, exist in the white space judging record and can choose unit described under typesetting and currently choose
Described engineering drawing, if it is, instruction typesetting unit by the described engineering drawing typesetting currently chosen in described blank
Region, otherwise, indicates the described engineering drawing that the line feed typesetting of described typesetting unit is currently chosen;
Described typesetting unit, for according to the instruction of described judging unit, that chooses described in typesetting that unit currently chooses is described
Engineering drawing;
Computing unit, chooses the sky after the described engineering drawing that unit is currently chosen for calculating described in typesetting unit typesetting
White region, and calculate the width of described white space whether more than preset value, if it is, record described white space,
Wherein, described white space refers to remove in the region of L × H the region shared by described engineering drawing of typesetting, and L is
The height of the highest engineering drawing in the engineering drawing of current line typesetting, H is the width of described printing paper.
Device the most according to claim 5, it is characterised in that type-setting module includes:
Whether taxon, being used for according to each width engineering drawing is that standard A class drawing is classified, by described all engineerings
Drawing is divided into standard A class drawing and non-standard A class drawing;
Typesetting unit, for according to first standard A class drawing, the order of rear non-standard A class drawing, to described all engineerings
Drawing carries out typesetting, wherein, if several described engineering drawings in the direction of the width can side by side on described printing paper,
Then several engineering drawings described are at width arranged in parallel.
Device the most according to claim 7, it is characterised in that typesetting unit includes:
Standard map typesetting unit, for carrying out typesetting, according to the different size pre-set to described standard A class drawing
The compound mode of standard A class drawing, standard A class drawing different size of in described standard A class drawing is combined
, wherein, if after the complete all standard A class drawings of typesetting, there is the width white space more than preset value, then remember in typesetting
Record described white space;
Non-standard drawing sequencing unit, for carrying out typesetting to described non-standard A class drawing, by described non-standard A class figure
Paper rotates more than the mode of width according to height, and arranges postrotational all engineering drawings according to breadth width
Sequence, the engineering drawing choosing current breadth width maximum carries out typesetting;
Unit chosen by non-standard drawing, for according to choosing next width in the described engineering drawing of breadth width, never typesetting
Engineering drawing carries out typesetting;
Whether judging unit, have in the white space judging record and can arrange down the described engineering drawing currently chosen
White space, if it has, then perform to indicate non-standard drawing typesetting unit, the described engineering drawing typesetting that will currently choose
At this white space, otherwise, the described engineering drawing that the line feed typesetting of described non-standard drawing typesetting unit is currently chosen is indicated;
Described non-standard drawing typesetting unit, according to the instruction of described judging unit, chooses unit described in typesetting and currently chooses
Described engineering drawing;
White space computing unit, chooses, for calculating, the described engineering drawing that unit is currently chosen described in typesetting unit typesetting
White space afterwards, and calculate the width of described white space whether more than preset value, if it is, record described sky
White region, wherein, described white space refers to remove in the region of L × H the district shared by described engineering drawing of typesetting
Territory, L is the height of the highest engineering drawing in the engineering drawing of current line typesetting, and H is the width of described printing paper.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210485724.0A CN103823643B (en) | 2012-11-18 | 2012-11-18 | The print-out method of engineering drawing and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210485724.0A CN103823643B (en) | 2012-11-18 | 2012-11-18 | The print-out method of engineering drawing and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103823643A CN103823643A (en) | 2014-05-28 |
CN103823643B true CN103823643B (en) | 2016-08-10 |
Family
ID=50758733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210485724.0A Expired - Fee Related CN103823643B (en) | 2012-11-18 | 2012-11-18 | The print-out method of engineering drawing and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103823643B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371707A (en) * | 2016-10-24 | 2017-02-01 | 北京小米移动软件有限公司 | Label processing method and device and terminal |
CN108614809B (en) * | 2016-12-13 | 2020-08-07 | 北大方正集团有限公司 | Method and device for realizing continuous typesetting of structured typesetting |
CN110303787B (en) * | 2019-06-25 | 2021-07-23 | 浙江海印数码科技有限公司 | Image array printing method and device |
CN110333832B (en) * | 2019-07-04 | 2023-04-28 | 森大(深圳)技术有限公司 | Typesetting spacing adjustment method, device and equipment for multiple printed images and storage medium |
CN112083898B (en) * | 2020-08-26 | 2024-02-23 | 广州市纬纶国际建筑设计有限公司 | Building design drawing printing method, device, computer equipment and storage medium |
CN112988087B (en) * | 2021-02-25 | 2023-07-25 | 新方正控股发展有限责任公司 | Imposition method, computer-readable storage medium, and computer device |
CN113656954A (en) * | 2021-08-10 | 2021-11-16 | 北京首钢自动化信息技术有限公司 | Cutting map generation method and device |
CN116048433A (en) * | 2021-10-28 | 2023-05-02 | 珠海奔图电子有限公司 | Cloud printing method and cloud printing system for pictures |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477593A (en) * | 2008-12-30 | 2009-07-08 | 深圳市蓝韵实业有限公司 | Adaptive medical diagnosis report image typesetting process |
CN101770348A (en) * | 2009-12-29 | 2010-07-07 | 用友软件股份有限公司 | Printing method and printing device |
CN101963892A (en) * | 2010-09-26 | 2011-02-02 | 无锡永中软件有限公司 | Method and device for printing table data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3970693B2 (en) * | 2002-05-31 | 2007-09-05 | 株式会社リコー | Program and print control system |
-
2012
- 2012-11-18 CN CN201210485724.0A patent/CN103823643B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101477593A (en) * | 2008-12-30 | 2009-07-08 | 深圳市蓝韵实业有限公司 | Adaptive medical diagnosis report image typesetting process |
CN101770348A (en) * | 2009-12-29 | 2010-07-07 | 用友软件股份有限公司 | Printing method and printing device |
CN101963892A (en) * | 2010-09-26 | 2011-02-02 | 无锡永中软件有限公司 | Method and device for printing table data |
Also Published As
Publication number | Publication date |
---|---|
CN103823643A (en) | 2014-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103823643B (en) | The print-out method of engineering drawing and device | |
CN103123648B (en) | In defined area, present abundant Search Results | |
JP4802152B2 (en) | Electronic album editing method and electronic album editing apparatus | |
CN101093563B (en) | Method and device for preparing parts catalogue | |
JP2007143093A (en) | Album creating apparatus, album creating method and album creating program | |
CN101739705B (en) | Method and system for cutting and splicing newspaper digitalized layout information | |
CN101632062A (en) | Generate the method and apparatus of album of images | |
CN101383891B (en) | Trapping generating method and device for printed document | |
JP2014106968A (en) | Apparatus, method and computer readable recording medium for automatically arranging a plurality of items in canvas | |
CN105094775A (en) | Webpage generation method and apparatus | |
CN106780302A (en) | A kind of digital picture automatic keyline layout method and device | |
CN112862668A (en) | Method for implementing picture conversion from design effect picture to visualization | |
US20070291309A1 (en) | Layout planning apparatus, layout planning method, layout planning program, and recording medium storing layout planning program | |
CN105677262A (en) | Typesetting method and device for banner printing | |
CN106648481A (en) | Processing method and device and printing control method and device | |
JP5612548B2 (en) | Stereoscopic image pasting system, operation control method thereof, and control program thereof | |
JP4000200B2 (en) | How to create print data | |
JP2007181992A (en) | Image forming apparatus and method | |
CN104346323B (en) | Collecting and editing processing system and method | |
CN102103473B (en) | Image overlapping device and image method of superposition | |
CN104714720A (en) | Method for achieving self scanning and client terminal | |
JP2005025386A (en) | Image printing device | |
CN109254807A (en) | The method of two-page separation function is realized in a kind of ios system | |
JPS60211567A (en) | Text editing system | |
JP5063785B2 (en) | Document processing apparatus, document processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160810 Termination date: 20161118 |