CN1969533A - Printer - Google Patents

Printer Download PDF

Info

Publication number
CN1969533A
CN1969533A CN 200580019740 CN200580019740A CN1969533A CN 1969533 A CN1969533 A CN 1969533A CN 200580019740 CN200580019740 CN 200580019740 CN 200580019740 A CN200580019740 A CN 200580019740A CN 1969533 A CN1969533 A CN 1969533A
Authority
CN
China
Prior art keywords
mentioned
layout
printing
effective coverage
zone
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.)
Granted
Application number
CN 200580019740
Other languages
Chinese (zh)
Other versions
CN100472424C (en
Inventor
桑野秀之
久富健治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of CN1969533A publication Critical patent/CN1969533A/en
Application granted granted Critical
Publication of CN100472424C publication Critical patent/CN100472424C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

A printer capable of most suitably printing object data while preventing a nonuniform margin and an unwanted margin even when the aspect ratio of the object data is maintained. A printer (200) comprises a printing data analyzing unit (203) having a layout area information acquiring section (2032) for acquiring layout area information representing a layout area and a drawing effective area information acquiring section (2033) for acquiring drawing effective area information representing a printing area dependent on the printer (200) and a layer unit (204) for arranging object data in the layout area according to the amount of object data to be printed and the size of the layout area in which the object data is arranged and arranging the layout area in the drawing effective area depending on the sizes of the layout area and drawing effective area.

Description

Printing equipment
Technical field
The present invention relates to printing equipment, this printing equipment is to (extend markup language: Extensible Markup Language) the described printed data of SGML such as form is resolved, and the printing object data with XML.
Background technology
Originally, with the printing of printer, great majority were meant, by the printing of PC (to call PC in the following text).When printing by PC, often realize printing at the laser printer of uses such as a lot of offices with page-description language (Page Description Language :) to call PDL in the following text, this page-description language is the distinctive language of printer.In this case, its implementation is, as shown in Figure 1, controller 303 is set in printer 305, and this controller 303 is used to understand PDL302 and it is converted to the data that are used to print.Under a lot of situations of PDL302, character information is sent out as character code, and uses the character font data that is arranged in the printer 305.
In addition, in ink-jet printer that a lot of average families use etc., the printer that controller is not set is more, printer 313 for example shown in Figure 2.In this case, most of printers are installed the driver 312 of this printer special use in PC310, and generate bitmap (bitmap) data that are used to print in PC310.Printer 313 just receives print order and printing data bitmap 310, outputs to print medias such as paper.Its objective is that the data that do not set font or controller are created and use the condition of carrying out data processing hardly in printer, thereby realize providing the printer of cheapness.
At this, in recent years,, as shown in Figure 3, begun to popularize the printer that can not print by PC along with popularizing of digital camera (to call DSC in the following text), the mode that this printer is taked is to possess storage card slot or be directly connected in DSC etc.Printer by storage card slot prints is provided with simple LCD etc. at printer itself, and sends print order 321 from this user interface.And, DPOF (digital print command form: the i.e. also standardization of the specification of record printing control information in the specific file of storage card of specification DigitalPrint Order Format), thereupon, the automatic DPOF of understanding and at the printer of internal production print order 321 is also arranged.Aspect DSC directly is connected the printer that prints, formulated PictBridge specifications such as (formal name are called CIPA DC-001-2003 Digital PhotoSolutions for Imaging Devices), specifications such as this PictBridge are meant, connect with the USB cable, utilize the user interface of DSC to send print order 321, and the specification of printing.These mode of printings all are converted to the data that are used to print with DSC data captured, that be stored in the storage card in the controller 323 of printer.And this printing is only limited to the printing of photo, though also can date of printing etc. character string, the character information that can print is limited.Therefore, be difficult to handle the printed data that comprises a large amount of character informations.
On the other hand, from the viewpoint of the content that will print, had only PC to be only the main equipment with print content in the past, still, along with the function of various devices such as mobile phone, digital television improves, the printing by these equipment also begins the possibility that becomes.These equipment can show the still image taken with DSC, be connected in the Internet etc., thereupon can processing can become the various information of print content.Asymmetrical Digital Subscriber Line) etc. (Asymmetric Digital Subscriber Line: popularizing, average family also can have been used the environment that connects the Internet at ordinary times because ADSL.Therefore, print content is not limited to still image, has expanded to the various information or the service of transmitting by the Internet.In the Internet, use the language of XML series such as a lot of HTML.
And along with the generalization of Internet connection, various device also begins to be connected with network.And, also can be connected with network simply in order to make function be not so good as the so high common erection unit of PC, formulation UPnP (Universal Plug and Play: the suggestion of specification UPnP) is for example arranged.In the UPnP specification, the clear and definite reference format of print content of record when print, and require XHTML-Print specification with the serial language of a kind of XML as the standard support.
So, XML series language begins to popularize in various fields, has also begun XMLization aspect print content gradually.The reason that the language of XML series extensively utilizes is, from making the viewpoint of content, the data recycle height of XML series language, editor easily.
Yet, in order to realize the printing of XHTML-Print content, must realize understanding the XHTML-Print language, be converted to the function of printing with data bitmap.The structure that for this reason needs is any the structure that adopts in the following processing mode: as ink-jet printer, handle with main equipment; As laser printer, handle with the controller of printer.Recently, the suggestion of such mode is arranged also: be converted to printing by server and use data bitmap, send to the mode of printer., the printed resolution of nearest printer is more and more higher, and then required printing also becomes very big with the amount of data bitmap.Therefore, if be changed to printing with data bitmap and send to printer at main equipment or transit server, then the problem that can take place is, flows into mass data in local area network (LAN), and this part becomes bottleneck, reduces printing functionality.
And, when being converted to the processing of printing usefulness data bitmap in the main equipment, because of printer has different qualities by equipment, and the essential characteristic that absorbs these individual device.In the past, when changing printer, PC just installed the driver of pressing printer, thereby realized absorbing the characteristic of individual device.Yet, when main equipment is mobile phone or digital audio video equipment etc., when promptly main equipment does not possess install software and absorbs the structure of peripheral equipment characteristic, be difficult to realize absorbing the characteristic of individual device by said method.
On the other hand, as the example of handling in the printer, the suggestion (for example with reference to patent documentation 1) of carrying out conversion process in printer has been arranged.Provide such example in this patent documentation 1: will (set-top box: SetTopBox) broadcast data that is received is converted to the accessible describing mode of printer by STB.And, such record is also arranged: the conversion process of in printer, carrying out content information.
Patent documentation 1: the spy opens the 2001-237783 communique
When will be in printer XHTML-Print being converted to printing and using data bitmap, such problem can take place: by the device difference that will understand, and the print result of XHTML-Print is also slightly different, the problem that takes place in this problem and the common html browser is identical, promptly according to browser, the display result of html browser is slightly different.Under content is situation based on text, display result is slightly different also no problem, but, as photographic printing, to print to as if having only under one the situation, or under the situation of the unique layout of content request, should avoid producing the also different phenomenon of print result by the difference of equipment.Yet,,, do not provide the mode that absorbs printer difference though disclose processing to video data according to patent documentation 1.
And, from only paying attention to the viewpoint of content arrangement, in PC, often use and be called PDF (Portable Document Format: the form move form), but, in order to understand this PDF and to describe, printer must have corresponding disposal ability, is converted to the function of printing with data bitmap otherwise descend significantly.
Especially, be connected under the situation that the state of the Internet more and more generalizes, provide photo content printing service, printing application program service etc. to be good at realizing by the Internet in family.In fact, certain fields have begun this service.And the equipment except PC such as television set, mobile phone also can be connected on the Internet gradually, and thereupon, this service also can have been received by these equipment beyond the PC gradually.
Especially under the situation of printing photo content, when printing by PC, identical with the original silver salt photo made from DPE (Development Printing Enlargement: development, print, amplification), can make two kinds of photos: " frame is arranged " photo shown in Fig. 4 (a) promptly has the photo of white space in the marginal portion of paper; " no frame " photo shown in Fig. 4 (b) does not promptly have the photo of blank parts at the edge of paper.In PC, generate the printing be used for " frame is arranged " photo and " no frame " photo respectively with data bitmap and print order, and send to printer, thereby realize this two kinds of printings.When carrying out " frame is arranged " when printing, there is not big problem, but, when carrying out " no frame " printing, essentially make the data bigger, otherwise can not absorb mechanicalness difference etc. and can produce blank parts than printing paper.And, generate great data and be the machine that depends on printer, therefore, it is very difficult absorbing this part that depends on machine with the machine beyond the PC.In addition, in the time will providing printed data to send service, because of not knowing to output to which type of printer, and be difficult to send data at the printer characteristic.Therefore, preferably, indicate " frame is arranged " or " no frame " with the description or the print order of print content, and print as far as possible.
Here, in the image of taking with DSC, the ratio of width to height (aspect ratio) of a lot of images is 4: 3, but also has 3: 2,16: 9.And, adopt once in a while in the mobile phone of popularizing rapidly in recent years be called CIF (public intermediate form: Common Intermediate Format) or 9: 11 of QCIF (1/4 public intermediate form Quarter Common Intermediate Format) (vertical: the ratio of width to height horizontal stroke).On the other hand, printing paper generally uses regulation paper, but the ratio of width to height of these regulation paper is inconsistent.For example, the size of the L paper through being usually used in photo is 127mm: 89mm, and the size of Japan's regulation postcard is 148mm: 102mm, and the size of the A4 paper through being usually used in file etc. is 297mm: 210mm.For example, under the situation of printing with PictBridge etc., the difference of the ratio of width to height of printing paper and printing image can be set arbitrarily by printer.That is, print result may be different by the difference of printer.Therefore, in the ratio of width to height that keeps object images, and under the situation that deleted image does not print, when carrying out " frame is arranged " printing, shown in Fig. 5 (a), cause the blank unequal of marginal portion.And, when carrying out " no frame " printing, shown in Fig. 5 (b), produce unnecessary blank parts sometimes.
On the other hand, can specify the position that to describe with described print contents such as XHTML-Print., the maximum magnitude that when " frame is arranged " prints, can print or will to prepare the scope of redundant data when " no frame " prints different by printer.Therefore, press the kind difference of printer, and the contrast of the data in the position that will describe and printing position dissimilates also.
Summary of the invention
Therefore, the objective of the invention is to, In view of the foregoing, a kind of printing equipment is provided, even this printing equipment is under the situation of the ratio of width to height that keeps object data, also can prevent to cause the edge blank parts unequal, maybe can prevent to produce unnecessary blank parts, thereby can carry out best printing to object data.
In order to achieve the above object, the printing equipment that the present invention relates to, to resolving with the described printed data of SGML, and the object data that will be made as printing object prints on print media, it is characterized in that, comprise: the layout area information obtains the unit, obtains by above-mentioned printed data layout area information specified, expression layout zone, and this layout zone is used to dispose above-mentioned object data; Describe information acquisition unit, effective coverage, obtain to describe effective coverage information, this is described the effective coverage information representation and depends on zone above-mentioned printing equipment, that be used to print; The layout unit, size according to above-mentioned object data and above-mentioned layout zone is configured to above-mentioned layout zone with above-mentioned object data, and, according to above-mentioned layout zone and the above-mentioned size of describing the effective coverage, with above-mentioned layout area configurations to the above-mentioned effective coverage of describing; And printing element, printing is configured in the above-mentioned above-mentioned object data of describing the effective coverage by above-mentioned layout unit.
Thus,, maybe can prevent to produce unnecessary surplus white part, thereby can carry out best printing object data even under the situation of the ratio of width to height that keeps object data, also can prevent to cause the surplus white part of rim unequal.
And above-mentioned printing equipment may further include does not have blank printing indication detecting unit, detects and does not have blank printing indication; The above-mentioned information acquisition unit, effective coverage of describing can obtain the data area that no blank printshop needs, as the above-mentioned effective coverage of describing when detecting nothing blank printing indication.
Thus, can realize the printing of best no frame photograph image.And above-mentioned printing equipment may further include sky white seal brush finger and has shown detecting unit, and detecting is free white seal brush finger to show; The above-mentioned information acquisition unit, effective coverage of describing can obtain printable data area, as the above-mentioned effective coverage of describing having detected sky white seal brush finger when showing.
Thus, no matter the ratio of width to height of object data how, just can realize having the impartial printing of blank photograph image all around.
And, above-mentioned layout unit can comprise: the first magnification ratio minification is calculated portion, calculate the magnification ratio or the minification of above-mentioned object data, so that any length of the height of above-mentioned object data and width equals the length in corresponding above-mentioned layout zone with it, and, make the another one length of the height of above-mentioned object data and width be equal to or greater than the length in corresponding above-mentioned layout zone with it; The first configuration portion, magnification ratio or minification according to being calculated by the above-mentioned first magnification ratio minification portion of calculating are configured to above-mentioned layout zone with above-mentioned object data; The second magnification ratio minification is calculated portion, calculate the magnification ratio or the minification in above-mentioned layout zone, so that any length of the height in above-mentioned layout zone and width equals corresponding above-mentioned length of describing the effective coverage with it, and, make the height in above-mentioned layout zone and the another one length of width be equal to or greater than the corresponding above-mentioned length of describing the effective coverage with it; And the second configuration portion, according to magnification ratio or the minification calculated by the above-mentioned second magnification ratio minification portion of calculating, with above-mentioned layout area configurations to the above-mentioned effective coverage of describing.
The above-mentioned second configuration portion, according to magnification ratio or the minification calculated by the above-mentioned second magnification ratio minification portion of calculating, with above-mentioned layout area configurations to above-mentioned when describing the effective coverage, above-mentionedly describe the lower-upper length of effective coverage or in the width in layout zone, exceed the above-mentioned left and right sides length of describing the effective coverage to become substantially that equalization is a purpose will in the height in layout zone, exceeding, be configured.
Thus, can not make the misalignment of photo, and realize the printing of photograph image.
And the above-mentioned second configuration portion can be according to above-mentioned print media and the above-mentioned similarity relation of describing the effective coverage, proofreaies and correct above-mentionedly to describe effective coverage information, dwindle so that describe the effective coverage, and similar in appearance to printing paper; The magnification ratio or the minification in above-mentioned layout zone can be calculated by the above-mentioned second magnification ratio minification portion of calculating, and describe the effective coverage so that above-mentioned layout zone comprises by what the above-mentioned second configuration portion was proofreaied and correct, and become minimum.
And above-mentioned printing equipment may further include: the position obtains the unit, obtains, locative positional information specified by above-mentioned printed data, this position on above-mentioned object data, the position of composite characters string; Above-mentioned layout unit may further include: character string synthesising position detection unit, according to the magnification ratio that obtains above-mentioned positional information that the unit obtained by above-mentioned position, calculates by the above-mentioned first magnification ratio minification portion of calculating or minification or magnification ratio or the minification calculated by the above-mentioned second magnification ratio minification portion of calculating, judge the position of synthetic above-mentioned character string; The character string correction unit, when the position of the synthetic above-mentioned character string of being judged by above-mentioned character string synthesising position detection unit when above-mentioned print media exceeds, maybe when this position from the prescribed limit at the edge of above-mentioned print media the time, proofread and correct the position of synthetic above-mentioned character string, so that above-mentioned character string is printed in the prescribed limit of above-mentioned print media; And character string configuration portion, position on above-mentioned object data, synthetic above-mentioned character string, synthetic above-mentioned character string and configuration, this above-mentioned character string is proofreaied and correct by above-mentioned character string correction unit.
Thus, can prevent to cause character string to be cut off with object data prints, and substantially exactly at specified position composite characters string.
And, above-mentioned layout unit may further include: character string configuration portion, according to the magnification ratio of calculating or minification and magnification ratio or different magnification ratio or the minifications of minification calculated by the above-mentioned second magnification ratio minification portion of calculating by the above-mentioned first magnification ratio minification portion of calculating, the character string that to will synthesize on above-mentioned object data is amplified or is dwindled, and synthetic and configuration on above-mentioned object data.
Here, above-mentioned printing equipment may further include: specify size to obtain the unit, obtain the size of above-mentioned print media, it is specified that the size of this above-mentioned print media is carried out indication by above-mentioned printed data or printing; And size of media obtains the unit, the size of the above-mentioned print media that acquisition is used in above-mentioned printing equipment; Under the situation about varying in size of the above-mentioned print media that above-mentioned character string configuration portion can use in the size of being carried out the specified above-mentioned print media of indication by above-mentioned printed data or printing and above-mentioned printing equipment, calculate the above-mentioned magnification ratio or the minification of above-mentioned character string according to the size of each above-mentioned print media, and with the synthetic and configuration on above-mentioned object data of above-mentioned character string.
Thus, even with the situation of the printing paper of specified different sizes of printing paper under, also can provide to prevent big or small imbalance and the photographic printing of composite characters string.
And above-mentioned printed data may further include character information; Above-mentioned printing equipment may further include: character string layout unit, the above-mentioned character information of configuration in above-mentioned layout zone; And character string layout correcting unit, position and size that maintenance is disposed by above-mentioned character string layout unit, and be transformed into the above-mentioned coordinate of describing the effective coverage; Above-mentioned printing element will be by above-mentioned layout configuration of cells at the above-mentioned above-mentioned object data of describing the effective coverage and synthetic by the above-mentioned character information of above-mentioned character string layout coordinate that correcting unit is transformed into, and printing.
Thus, can realize no frame printing by the printed data appointed positions.And,, also can describe character datas such as date corresponding to printing paper, specified position by using identical descriptions such as XML even under the situation of the aspect ratio change of object data.
Moreover, the present invention can be used as when this communicator realizes, and also can be used as a kind of feature unit that above-mentioned communicator is included and realize as the printing process of step, and, the present invention can also realize as a kind of program, makes computer carry out these steps.And certainly, this program can extensively be transmitted by transmission mediums such as recording mediums such as CD-ROM, the Internets.
The invention effect
By above-mentioned explanation as seen, according to the printing equipment that the present invention relates to, even under the situation of the ratio of width to height that keeps object data, it is unequal also to prevent to cause the blank parts at edge, maybe can prevent to produce unnecessary blank parts, thereby can carry out best printing object data.Therefore, can be to resolving with the described printed data of SGMLs such as XHTML-Print, and under the situation that the user does not recognize, also can print photo content with the configuration of the best, so, main equipment beyond the PC sends printed data or print order and carries out today that the chance of printing more and more increases, and the practical value of this invention is very high.
Description of drawings
Fig. 1 is a summary construction diagram of representing the printer that comprises controller in the past.
Fig. 2 is a summary construction diagram of representing the printer that does not comprise controller in the past.
Fig. 3 is the printer summary construction diagram of representing in the past that comprises direct printing functionality, and this printer does not in the past use PC.
Fig. 4 (a), Fig. 4 (b) are the ideographs of representing that the frame printing is arranged and not having the print result of frame printing.
Fig. 5 (a), Fig. 5 (b) be expression according to the performance faithful reappearance of content situation under the frame printing is arranged and does not have the ideograph of the print result of frame printing.
Fig. 6 is the block diagram of expression system, the printing equipment that this system adopts embodiments of the present invention 1 to relate to.
Fig. 7 is the block diagram of the detailed structure of the printed data analysis unit of the printing equipment that relates to of expression embodiments of the present invention 1 and layout portion.
Fig. 8 is the schematic diagram of the description example of the XHTML-Print in the expression embodiments of the present invention 1.
Fig. 9 is the schematic diagram of the page box structure of expression XHTML-Print.
Figure 10 is the schematic diagram of the ordinary circumstance of the print result when comprising filler (padding) in the expression embodiments of the present invention 1.
Figure 11 is the schematic diagram of description example of the XHTML-Print of expression embodiments of the present invention 1.
Figure 12 (a), Figure 12 (b) are the schematic diagrames of the relation of the expression page box of XHTML-Print and pictorial element.
Figure 13 (a), Figure 13 (b), Figure 13 (c), Figure 13 (d) are the schematic diagrames of the actual disposition of the expression page box of XHTML-Print and pictorial element.
Figure 14 is the schematic diagram of description example of the XHTML-Print of expression embodiments of the present invention 1.
Figure 15 (a), Figure 15 (b) are the schematic diagrames that the relation of effective coverage and page box is described in expression.
Figure 16 is the flow chart of the printing work of expression embodiments of the present invention 1.
Figure 17 (a), Figure 17 (b), Figure 17 (c) are the schematic diagrames of the relation of expression page box of embodiments of the present invention 1 and pictorial element.
Figure 18 (a), Figure 18 (b), Figure 18 (c) are the concept maps of flow process of the no frame printing work of expression embodiments of the present invention 1.
Figure 19 is the schematic diagram of description example of the XHTML-Print of expression embodiments of the present invention 1.
Figure 20 is the flow chart of the printing work of expression embodiments of the present invention 2.
Figure 21 is the schematic diagram of the printing work of expression embodiments of the present invention 2.
Figure 22 (a), Figure 22 (b) are amplification/the dwindle schematic diagrames of the kind of mode of expression embodiments of the present invention 2.
Figure 23 is the schematic diagram of description example of the XHTML-Print of expression embodiments of the present invention 3.
Figure 24 is the schematic diagram of General Result of the synthetic day after date gained of expression embodiments of the present invention 3.
Figure 25 (a), Figure 25 (b), Figure 25 (c) are unfavorable result's the schematic diagrames of the synthetic day after date gained of expression embodiments of the present invention 3.
Figure 26 is the block diagram of the detailed structure of printed data analysis unit in the printing equipment that relates to of expression embodiments of the present invention 3 and layout portion.
Figure 27 is the flow chart of the printing work of expression embodiments of the present invention 3.
Figure 28 is the key diagram of correction calculation of the date printing of explanation embodiments of the present invention 3.
Figure 29 (a), Figure 29 (b) are the synthetic concept maps of date of expression embodiments of the present invention 4.
Figure 30 (a), Figure 30 (b), Figure 30 (c) are the synthetic concept maps of date of expression embodiments of the present invention 5.
Figure 31 is the flow chart of the printing work of expression embodiments of the present invention 5.
Figure 32 is the schematic diagram of the printed data of expression embodiments of the present invention 6.
Figure 33 is the schematic diagram of print result of the printed data of expression Figure 32.
The schematic diagram of the example of the correction when Figure 34 is expression " no frame " printing.
Figure 35 is illustrated in to amplify the schematic diagram of the situation when dwindling to comprising character information in interior view data.
Figure 36 is the flow chart of the processing sequence of expression embodiments of the present invention 6.
Figure 37 is layout result's the schematic diagram of the character information of expression embodiments of the present invention 6.
Symbol description
11 by the indicated layout zone of page box
12 object images of amplifying or dwindling
13 from page box exceed and deleted amplification or dwindle after object images
15 by the difference of printing equipment the different respectively effective coverages of describing
16 printing paper that are used to print
200 printing equipments
201 Department of Communication Forces
202 instruction analysis units
203,210 printed data analysis units
204,220 layout portions
205 bitmap generating units
206 printing treatment portions
2031 object data acquisition portions
2032 layout area information acquisition portions
2033 describe effective coverage information acquisition portion
2,041 first magnification ratio minifications are calculated portion
2,042 first configuration portions
2,043 second magnification ratio minifications are calculated portion
2,044 second configuration portions
2101 position acquisition portions
2201 character string location determination portions
2202 character string correction units
2203 character string configuration portions
Embodiment
Below, the embodiments of the present invention are described with reference to the accompanying drawings.
(execution mode 1)
Fig. 6 is a kind of block diagram of representing system, the printing equipment that this system adopts embodiments of the present invention 1 to relate to.
Main equipment 100 is the devices that are used to send the printing execution command, comprises as shown in Figure 6: handling part 101, printing control unit 102, printed data storage part 103 and Department of Communication Force 104.
Handling part 101 for example is an application program etc., receives from after user's the indication etc. to print indication.Printing control unit 102 for example is a printing middleware etc., according to the printing indication from handling part 101, for example makes the printed data of describing with XHTML-Print.And according to the printing indication from handling part 101, printing control unit 102 distribution are to the print order of printing equipment 200.103 storages of printed data storage part are by the printed data of printing control unit 102 mades.Department of Communication Force 104 will send to printing equipment 200 by the print order that printing control unit 102 is issued.And according to the request from the printed data of printing equipment 200, Department of Communication Force 104 is extracted corresponding printed data out from printed data storage part 103, and sends to printing equipment 200.
Moreover here, main equipment 100 comprises the printed data storage part 103 that is used for the memory print data, but, is not limited thereto, and miscellaneous equipment or other position comprise that this printed data storage part 103 is also passable.And, about type of attachment, can be connected one to one with main equipment 100, also main equipment can be connected in the network.
On the other hand, printing equipment 200 is the devices (printer) that are used to carry out printing, comprises Department of Communication Force 201, instruction analysis unit 202, printed data analysis unit 203, layout portion 204, bitmap generating unit 205 and printing treatment portion 206 as shown in Figure 6.
Department of Communication Force 201 receives the print order of sending from main equipment 100.Instruction analysis unit 202 is resolved print orders, by Department of Communication Force 201 to main equipment 10 requested printing data.Printed data analysis unit 203 is resolved the printed data of describing with XHTML-Print.Layout portion 204 is according to the size of the object data that becomes printing object and be used to dispose the size in the layout zone of this object data, at layout area configurations object data.And layout portion 204 is according to layout zone and describe the size of effective coverage, is describing configuration layout zone, effective coverage.Bitmap generating unit 205 generates data bitmap with the data that disposed.Printing treatment portion 206 will be printed on print medias such as paper by the data bitmap that bitmap generating unit 205 is generated and export.
Work summary in the system with said structure is described.In the main equipment 100, when handling part 101 was received from user's indication etc. and printed indication, printing control unit 102 distribution were to the print order of printing equipment 200.Simultaneously, printing control unit 102 is for example made the printed data of describing with XHTML-Print, and in printing storage part 103 the memory print data.
The 200 pairs of print orders of printing equipment that received print order are resolved, by Department of Communication Force 201 to main equipment 10 requested printing data.And main equipment 100 is extracted the printed data of being asked by printing equipment 200 out from printed data storage part 103, sends to printing equipment 200.
Received in the printing equipment 200 of printed data, 203 pairs of printed datas of printed data analysis unit are resolved, layout portion 204 object data is configured to the layout zone and with the layout area configurations to describing the effective coverage, bitmap generating unit 205 generates data bitmap with the data that disposed.Then, printing treatment portion 206 is printed onto the data bitmap that is generated on the print media such as paper and output.
Fig. 7 is a kind of block diagram, the printed data analysis unit 203 of the printing equipment that expression embodiments of the present invention 1 relate to and the detailed structure of layout portion 203.
Printed data analysis unit 203 comprises as shown in Figure 7: object data acquisition portion 2031, layout area information acquisition portion 2032 and describe effective coverage information acquisition portion 2033.
Object data acquisition portion 2031 obtains to become the object data of printing object.Layout area information acquisition portion 2032 obtains by printed data layout area information specified, expression layout zone.Describe effective coverage information acquisition portion 2033 and obtain to describe effective coverage information, this is described the effective coverage information representation and depends on the printing of printing equipment 200 with regional.
On the other hand, layout portion 204 comprises as Fig. 7: the first magnification ratio minification is calculated portion 2041, the first configuration portion 2042, the second magnification ratio minification and is calculated the portion 2043 and the second configuration portion 2044.
The first magnification ratio minification is calculated magnification ratio or the minification that object data is calculated by portion 2041, thereby make the height of object data and of width equal the height in layout zone and of width, and make the another one of the height of object data and width be equal to or greater than the another one of the height and the width in layout zone.The first configuration portion 2042 is configured to the layout zone according to calculating magnification ratio or the minification that portion 2041 is calculated by the first magnification ratio minification with object data.The second magnification ratio minification is calculated magnification ratio or the minification that the layout zone is calculated by portion 2043, thereby make the height in layout zone or of width equal to describe the height of effective coverage or of width, and the height that the another one of the height in layout zone or width is equal to or greater than describe the effective coverage or the another one of width.The second configuration portion 2044 is according to calculating magnification ratio or the minification that portion 2043 is calculated by the second magnification ratio minification, with the layout area configurations to describing the effective coverage.
Secondly, describe the parsing of printed data and the configuration of object data in detail, but, the general relation of layout zone and object data is described at first.
According to XHTML-Print, object data (object) and its arrangement information that print can be described respectively.(CSS: describe by form Cascading Style Sheet) to be called CSS for arrangement information.For with the printing as the XHTML-Print realization photo, for example do description as shown in Figure 8.Adopt the box of Cheng Wei @page here.As shown in Figure 9, this box is represented a kind of zone, and this zone is used to describe the element that will describe, and this @page is used for description on print media etc., that be called page box 18.This page box 18 comprises: layout zone 11, details that can display element in this layout zone 11; And border (margin) 19, this border is positioned at the outside in above-mentioned layout zone, and what does not show in this part.
The equipment in the past that is used to resolve XHTML-Print is specified the layout zone 11 that is used for the layout printing information at first according to the description 21 of layout zone indication information, and the form of the description 21 of this layout zone indication information is CSS.Secondly, in layout zone 11 configuration by<img the specified object images 12 of object.According to example shown in Figure 8, the result who is exported is Figure 10.As shown in figure 10, the state of being described is such state: the layout zone 11 of preparing specified size, around this zone, guarantee the filler 14 (describing 22) of 4mm, and the height with 100% keeps the ratio of width to height (describing 23) in the zone of its inside.At this moment since in description shown in Figure 8 without any appointment, therefore be that initial point launches with upper left limit.Figure 11 is that the another one of XHTML-Print is described example.In the described description example of Figure 11,, and do not specify the size (describing 24) in layout zone 11 because of the size that do not have the appointed object image (describing 25).Therefore, in the case, as the size in layout zone, the size of applicable object image itself in the same old way.
Under the situation that adopts description as shown in Figure 8, when layout zone 11 more than or equal to<img during the specified object images (object data) 12 of object big or small, shown in Figure 12 (a), object images 12 is no problemly by layout., when the size of object images 12 during greater than layout zone 11, shown in Figure 12 (b), the part 13 that exceeds from layout zone 11 is not described.
Under situation,<img without any appointment〉object is that initial point disposes with upper left limit, but, by the appointment on border 19, also object images 12 can be configured in the center in layout zone 11.At this moment, consider the negative value on border 19, then can make deleted part equalization.But, whole object images 12 can not be held.That is, as shown in Figure 8, when having specified<img〉during object big or small, by the difference of object images 12, and the part of image may be cut off.
For example, as shown in Figure 8, when having specified `height=100% ', make height consistent, and keep the ratio of width to height of object images 12 about width with the height in layout zone 11.In a word, equal at the height that makes object images 12 under the situation of height in layout zone 11,, shown in Figure 13 (a), can hold object images in the layout zone 11 when the width of object images 12 during less than the width in layout zone 11., when greater than the width in layout zone 11, shown in Figure 13 (b), width exceeds from layout zone 11, and this part is deleted.
Identical therewith, as shown in figure 14, when having specified `width=100% ' (describe 26), make width consistent, and shown in Figure 13 (c), (d) with the width in layout zone 11, carry out layout in the mode of the ratio of width to height of maintenance object images 12.
More than be that next illustrates describing of the layout 11 pairs of display medias in zone about the explanation of layout zone 11 and object images 12.Because what here consider is printer, so display media is a printing paper.Under the situation of using printing paper, different with the display of PC, can not carry out the page by the operation of picture and roll.And, under the situation of printer, press the difference of equipment and the size that can print is also slightly different.Therefore, next problem is that can size with above-mentioned layout zone 11 be controlled in the scope that can print.
Here, the situation of effective coverage 15 less than printing paper 16 described in explanation according to Figure 15.When specified layout zone 11 when describing effective coverage 15, shown in Figure 15 (a), specify according to the position in layout zone 11, be configured to and describe effective coverage 15.When specified layout zone 11 when describing effective coverage 15, shown in Figure 15 (b),, describe effective coverage 15 so that layout zone 11 is contained in by with 11 revolutions of layout zone or dwindle, generate image then and print.The details of this work is disclosed in the specifications of CSS or XHTML-Print, and, about understanding the equipment of XHTML-Print, also there is it to understand the guidance of scheme.About this work, not under the situation of a view data at the object of institute's layout, also can carry out equally.
According to above details, consider photographic printing below.As mentioned above, different with the DSC shot image data with the ratio of width to height of the paper that is used to print.Therefore, under the simple situation of printing, can not realize as the blank of the such equalization of photo.In order to make blank impartial substantially and printing, need following processing.Moreover, be that width is an object than highly long image here with 4: 3 image.And, as shown in figure 11, suppose that the description content of printed data is made as the size in layout zone 11 the size appointment of printing paper.
Figure 16 is a kind of flow chart, the workflow when expression is printed with printing equipment; Figure 17 is a kind of figure that is used for illustrating the configuration when carrying out " frame is arranged " printing; Figure 18 is a kind of figure that is used for illustrating the configuration when carrying out " no frame " printing., when carrying out " frame is arranged " printing, suppose to describe effective coverage 15 here, and when carrying out " no frame " printing, suppose to describe effective coverage 15 greater than printing paper 16 less than printing paper 16.
At first, shown in Figure 15 (a) and Figure 18 (a), the first magnification ratio minification is calculated portion 2041 and is amplified or dwindle, and makes object images 12 consistent with the width in layout zone 11, and keeps the ratio of width to height (step S101) in the same old way.Secondly, judge that the image that institute amplifies or dwindles equals layout zone 11 still greater than layout zone 11 (step S102).The result, when the image that amplifies or dwindle is equal to or greater than layout zone 11 ("Yes" of step S102), the first magnification ratio minification is calculated portion 2041 and is calculated magnification ratio or minification, and this magnification ratio or minification are that object images 12 is consistent with the width in layout zone 11 amplifies or magnification ratio or minification (step S103) when dwindling making.Secondly, when on printed data, being set with negative coboundary, be the initial point layout with the part that exceeds from layout zone 11, the size of the part that should exceed from layout zone 11 equals boundary sizes.And, when not setting the border, but when having this printed data of expression to be the description of photographic printing, also can on above-below direction, carry out center-aligned, thereby carry out and work identical when being set with negative border.
On the other hand, when institute's image of amplifying or dwindling regional 11 the time ("No" of step S102) less than layout, amplify or dwindle, make object images 12 consistent with the height in layout zone 11, keep the ratio of width to height (step S104) in the same old way, and the first magnification ratio minification is calculated portion 2041 and is calculated magnification ratio or minification (step S103).
Secondly, judging whether printed data asks " no frame " prints (step S105).The result of its judgement when not asking " no frame " printing when being judged as, during printing that the request that promptly is judged as " has frame " ("No" of step S105), judges whether describe effective coverage 15 is similar figures (step S106) with printing paper 16.The result of its judgement, when being not similar figures ("No" of step S106), decision is less than describing effective coverage 15 and the maximum similar to printing paper 16 newly described effective coverage 19 (step S108).At this moment, make blank amount up and down be equalization.Secondly, shown in Figure 15 (b), the second magnification ratio minification is calculated 2043 pairs of layout zones 11 of portion and is amplified or dwindle, and makes layout zone 11 become minimum, and this minimum layout zone 11 comprises newly describes effective coverage 19 (step S107).And, be configured, make from newly describe after the amplification that effective coverage 19 exceeds or dwindle after the layout zone be impartial (step S109).On the other hand, when being similar figures ("Yes" of step S106), the second magnification ratio minification is calculated 2043 pairs of layout zones 11 of portion and is amplified or dwindle, and makes layout zone 11 become minimum, and this minimum layout zone 11 comprises describes effective coverage 15 (step S107).And, be configured, make from describe after the amplification that effective coverage 15 exceeds or dwindle after the layout zone become equalization (step S109).
And, the data bitmap of formation object image 12 and printing, this object images 12 is configured in respectively to be described effective coverage 15 or newly describes effective coverage 19 (step S110).As a result, can access the print result shown in Figure 15 (c), in this print result, around printing paper 16, be provided with impartial substantially blank.Moreover, in the present embodiment, because on printed data, specified the size of printing paper 16 as the size in layout zone, also be similar figures therefore with newly describing effective coverage 19.
Processing when " frame is arranged " has been described above.In the above description, as long as can make under the big situation of blank parts, just can only depend on the description of printed data to come corresponding.Yet when " no frame ", it is corresponding that the part that has can not only depend on the brush data.Because, when " frame is arranged ", specify as long as in advance layout zone 11 is made as the size of printing paper, just positively on zone, print less than this size.Yet when " no frame " printed, the size in layout zone 11 was greater than printing paper, and, need great layout zone will depend on machine.Therefore, aspect printed data, be difficult to decision and will specify great layout zone 11.Below, the work during to " no frame " describes.
Figure 19 is an example that is used for the printed data of " no frame " printing.Among Figure 19, the size of A4 paper is made as the layout zone, with " frame " attribute representation " no frame " (describing 27).This technique of expression is not a standard setting, and can describe with other.And, also can be used as print order and notify.
Promptly, the result of above-mentioned judgment processing (step S105), asked " no frame " when printing ("Yes" of step S105) when being judged as, shown in Figure 18 (b), layout zone 11 is configured in describes effective coverage 15 (step S111), the content of above-mentioned judgment processing is the printing of judging whether printed data asks " no frame ".And, the data bitmap of formation object image 12 and printing, this object images 12 is configured in describes effective coverage 15 (step S110).And, can access the print result shown in Figure 18 (c), in this print result, the part except that printing paper 16 is cut off.
By above-mentioned work, when " frame is arranged " prints,, can obtain the print result identical with DPE though the part that has can be cut off, blank parts is impartial substantially around this print result.And, when " no frame " prints, can avoid too small and produce blank or excessive and the too big phenomenon in zone that can not print, thereby can realize that the best big or small " no frame " prints.
Here, in fact, the scanning direction of printer is not necessarily consistent with the scanning direction of object images, therefore needs revolution to handle sometimes, and but, this is handled, and it doesn't matter with the present invention, so omit this explanation.
And so-called " printed data " is meant data that send, that described the content that will print such as autonomous device, and this printed data is put down in writing with descriptive languages such as XHTML-Print.In the present embodiment, printed data is illustrated as XHTML-Print, but, the invention is not restricted to this,, just can come corresponding with same method as long as can describe the XML series language of layout.
And, in the present embodiment, detect printed data request " no frame " printing, but, also can be by obtaining effect same by print order dispatch control system indication " no frame " printing.
(execution mode 2)
In execution mode 1, do not consider that the relativeness of object images and printing paper disposes.But,, when contents such as printing photo, make it center-aligned from the position of content aspect is provided as far as possible.That is,, preferably, when layout, make the center that is centered close to printing paper of print content no matter the relativeness of describing effective coverage and printing paper how.Yet when there not being frame when printing, whether the part of describing the effective coverage that exceeds around the printing paper is set to mutual equalization depends on machine.Under certain conditions, can not get rid of from around the mutually different possibility of part that exceeds.Therefore, explanation is in the present embodiment, the mode that the no frame that can realize ideal by center-aligned prints.
Figure 20 is a kind of flow chart, the work of expression execution mode 2.About the relation of layout zone 11 and object images 12, since identical with execution mode 1, explanation therefore omitted.
At first, when detecting content requests " no frame " printing, as shown in figure 21, the second magnification ratio minification is calculated portion 2043 and is configured, so that the center in the center of printing paper 16 and layout zone 11 overlapping (step S131).Secondly, the second magnification ratio minification is calculated portion 2043 and is initial point at the center with layout zone 11, keeps under the state of the ratio of width to height, amplifies or dwindles processing, makes layout zone 11 greater than describing effective coverage 15 and becoming minimum (step S132).In fact, compare the minor face in layout zone 11 respectively and describe the minor face of effective coverage 15 and the long limit and the long limit of describing effective coverage 15 in layout zone 11, and on the minor face in layout zone and long limit all under the situation greater than the minor face of describing effective coverage 15 and long limit, shown in Figure 22 (b), dwindle the layout zone, and under situation in addition, shown in Figure 22 (a), amplify the layout zone.When dwindling when handling, the minification on minor face and long limit relatively adopts big one of minification, promptly adopts the few minification of ratio of dwindling, and is overall to dwindle.When carrying out processing and amplifying, the magnification ratio on minor face and long limit relatively adopts little one of magnification ratio, promptly adopts the few magnification ratio of ratio that amplifies, and is overall to amplify.Therefore processing and amplifying or dwindle the result of processing is unwanted data from describing the part that the effective coverage exceeds, discarded (step S133).
So, carry out processing and amplifying or dwindle processing, thereby can under the situation that keeps the ratio of width to height, realize no frame printing by center-aligned.In fact, also can obtain same effect by the following method: not by center-aligned, and, consider to describe effective coverage, layout zone and object images, come coordinates computed from center computed image limit.
(execution mode 3)
In the above-mentioned execution mode, supposed only to have the situation of a view data, but, what illustrate in the present embodiment is, the work when adding date and time information etc. on the image character information prints arbitrarily.Here, so-called " character information " be meant, as the character string that printed data comprised, and the information that should be described.
Figure 23 is an example, the description of the photo content that prints in the expression present embodiment.In the time will being placed on character overlap on the image, can realize by the following method: image is handled as a setting with XHTML-Print; Or as shown in figure 23, in character string, specify negative border (describing 31), make image appointment afterwards and described character in the above.Yet when image was handled as a setting, according to how describing main image, the state of character display also can change.And, be difficult to enjoy content, such shortcoming is arranged.On the other hand, when not having specified boundary in the description as shown in figure 23, as shown in figure 24, on position 41, be configured, below the position of object images that this position 41 is layouts.But, the negative border 42 (describing 31) of appointment on character string, thus as shown in figure 24, can be on object images config string on the position 43., as mentioned above, how the position of the bottom of printing paper and object images depends on machine, and therefore when come can to produce following problem at once according to this description: shown in Figure 25 (a), the part on the date that dispose on the limit, bottom right can not show; Shown in Figure 25 (b), dispose excessively above.Here, in the example shown in Figure 25, situation about moving up according to identical negative edge has been described, but, in fact multiply by magnification ratio or minification, therefore with amplify or dwindle after image bottom be that the date allocation position of initial point is different by situation, above-mentioned magnification ratio or minification are layout zone 11 to be amplified or narrowing down to magnification ratio or minification when describing effective coverage 15.
Therefore, explanation is in the present embodiment, with date and time information etc. arbitrarily character information add the appropriate location on the image and the situation of printing to.
Figure 26 is a kind of block diagram, the printed data analysis unit in the printing equipment that expression embodiments of the present invention 3 relate to and the detailed structure of layout portion.,, given same-sign here, and omitted explanation the part identical with the structure of execution mode 1.
Printed data analysis unit 210 also comprises position acquisition portion 2101 except the structure of execution mode 1.And layout portion 220 also comprises character string location determination portion 2201, character string correction unit 2202 and character string configuration portion 2203 except the structure of execution mode 1.
Position acquisition portion 2101 obtains positional information, and this positional information is illustrated in the position of composite characters string on the object data, and this position is specified by printed data.The position of composite characters string is judged according to the positional information that is obtained by position acquisition portion 2101, calculated magnification ratio that portion 2041 calculated or minification and calculated magnification ratio or the minification that portion 2043 is calculated by the second magnification ratio minification by the first magnification ratio minification by character string location determination portion 2201.When the position of the composite characters string of being judged by character string location determination portion 2201 when printing paper exceeds, or this position with from the printing trimming prescribed limit near the time, the position that character string correction unit 2202 is proofreaied and correct the composite characters string is so that character string is being printed in the prescribed limit of print media.The position composite characters string and the configuration of the composite characters string that character string configuration portion is 2203 on object data, proofreaied and correct by character string correction unit 2202.
Secondly, illustrate to have the as above work of the printing equipment of structure.Figure 27 is a kind of flow chart, the workflow of expression present embodiment.
At first, position acquisition portion 2101 resolves printed data, has judged whether character printing (step S150).Its result, when character prints ("Yes" of step S150), position acquisition portion 2101 judges whether be set with negative border (step S151) in this character string.Its result, when being set with negative border ("Yes" of step S151), the relative position (step S152) of the character string in the layout zone 11 is calculated by character string location determination portion 2201.Secondly, this relative position is converted into the position of describing in the effective coverage, will be positioned at which position (step S153) on the paper when calculating on projecting to printing paper.And the actual character data that will describe of layout judges whether to be positioned at the regulation zone of printing paper, promptly judges whether not exceed (step S154) from printing paper.Its result, when when printing paper exceeds ("No" of step S154), the position (step S155) of config string is determined in the position that character string correction unit 2202 is proofreaied and correct config strings.Secondly, generate and be configured in the object images described in the effective coverage and the data bitmap of character string, and printing (step S156).
For example, shown in Figure 28 (a), with the upper left limit in layout zone 11 during as initial point, with the position of character string as A (x0, y0), with the size in layout zone 11 as (X, Y).The relative position B in layout zone 11 be (x0/X, y0/Y).According to this ratio, with the position be converted into size for (Xp, Yp) describe position on the effective coverage time, this position C is (x0 * Xp/X, y0 * Yp/Y).When the size of supposing character string is (Xc, Yc) time, confirm D point (x0 * Xp/X+Xc, the y0 * Yp/Y+Yc) be positioned on the printing paper in layout zone 11, or be positioned at printing trimming area inside, between this area inside limit, printing trimming and the printing trimming certain above distance to be arranged.If character string exceeds, need to proofread and correct.
By above-mentioned processing, can on the assigned position of printing image, dispose character data.
(execution mode 4)
In above-mentioned execution mode 3, determined the position of character string with perfect but complicated processing, but, when only considering the processing of contents such as photo, can merely adopt such method, promptly He Cheng character string is only limited to date, sequence number, filename etc.Usually, under many circumstances, these information are configured to four jiaos of photograph image.Therefore, such idea is arranged, that is, as long as general arrangements just need not be calculated detailed and tight position to corner location.
For example, when the expression content is arranged when being the identifier of photographic printing in printed data, judge which zone is character string be configured under the state shown in Figure 29 (a), the state shown in this Figure 29 (a) is meant, is divided into 4 state with describing the effective coverage.According to the result of its judgement, be predetermined which position configuration on printing paper with sheet form etc., this position that is predetermined is unique, and shown in Figure 29 (b), according to the position of definite config strings such as this table.By this method, can under the state that character string does not exceed from paper, be configured.
Moreover,, why having determined the position, bottom right of character string here, is because allocation position is the lower right area that is divided into 4 zone, if consider the size of character string or highly avoid character string to exceed from printing paper, the then essential lower right area of determining character string.Therefore, according to which zone in the zone of being cut apart character string is arranged, just which position with character string is that allocation position also can change.
And, in the present embodiment, determined the zone to be divided into 4, but, it is apparent that, no matter what are divided into, can both obtain same effect.
(execution mode 5)
The position of character string has been described in execution mode 3,4, but the size of description character string in the present embodiment.
When printed data is description as Figure 23, can imagine, provide the aspect imagination on the printing paper of A4 size, to print, make printed data.Yet, the paper that can print or receive that the not of uniform size of printing paper of printing indication is the A4 size surely.In the case, print according to the size of dwindling the specified printing paper in back.Consider that printing paper is the situation of L paper here.When being added with the date, must also dwindling the date, otherwise have only the date excessive, too showy.But when dwindling with the ratio identical with object images, on the contrary, shown in Figure 30 (b), the date becomes too small, is difficult to see.So, determine the size of the character string that will synthesize by following order.
Here explanation is, is receiving the printed data of Figure 23, and the work when being printed onto on the L paper.Figure 31 is a kind of flow chart, the workflow of expression present embodiment.
At first, judge that whether printed data is the photographic printing and the character (step S161) that will synthesize to some extent.Whether about being that the content of the judgement of photographic printing can be: judge whether described label in printed data, whether this label is used to differentiate is photographic printing; Or judge and whether in 1 page, have only 1 view data.Here, its decision method is not given a definition.Secondly, judge that whether the layout zone is less than printing paper (step S163).Suppose that in this example the contemplated size of printed data is 297mm * 210mm, but, the paper that in fact is used to print is 127mm * 89mm.In this case, directly adopt this ratio to come the character down string, then the character of 16pt can narrow down to about 6.7pt.Moreover so-called pt (point) is the unit that often uses when the expression character boundary, 1pt=1/72inch.So the character about 5.6mm narrows down to about 2.4mm.Dwindle too for a short time like this, therefore, will be decided to be 10pt at the character boundary on the L paper, so, when the size of the character on the A4 paper being done as 1 the time, then the character boundary on the L paper becomes 0.625.Identical therewith, the relative value of the character boundary on other big or small paper also as the character boundary table, is remained on (step S164) in the layout portion 204 in advance.And,,, determine the character boundary (step S165) that export according to printed data specified character boundary and character boundary table when layout zone during less than printing paper ("Yes" of step S163).That is, when appointment in printed data be A4 paper, 18pt the time, the character boundary on L paper is 11.2pt, and when appointment be A4 paper, 12pt the time, the character boundary on L paper is 7.5pt.Its result can avoid making the character boundary that will synthesize on image to become too small, and shown in Figure 30 (c), can obtain the just right output result of size.
Moreover, in the present embodiment, the situation when dwindling only has been described, but, by with little one be benchmark, magnification ratio also can be obtained same effect as table.
(execution mode 6)
Explanation is in the above-described embodiment, when overlapping composite characters on image information, the method for proofreading and correct according to the position of character, and in the present embodiment explanation be method when handling when image information and character information branch are come.
Suppose printed data shown in figure 32 in the present embodiment.That will obtain as its print result is as shown in Figure 33 result.Particularly, in the printed data shown in Figure 32, layout zone 51 is A4 size (297mm * 210mm), and identical with execution mode 2, indication " no frame " printings (describing 33).And indication is at the box 52 (describing 34) of position configuration 210mm * 315mm of the left side-9mm in this layout zone 51.And, the configuration of pointing character string 53 at this moment, make the bottom of character string 53 be positioned at the position of the top 3mm of these layout zone 51 bottoms, make the right of character string 53 be positioned at the position of the right-hand 292mm on 51 left sides, layout zone, and make these character string 311 Right Aligns (describing 35).And, also indicate and in box 52, describe " yoko.jpg ", indicate then and in character string 53, describe the date " 2004.oo.xx " (describing 36~38).Hypothesis here, the ratio of width to height of the view data that is used to illustrate " yoko.jpg " is 2: 3 (highly * width).
Here, as shown in figure 34, corresponding to the printer of " no frame " printing for the mistake of compensation equipment position from etc., to make usually and describe effective coverage 54 greater than printing paper.In the present embodiment, printing paper and the identical size of layout zone 51 expressions.The size of describing effective coverage 54 is that printer is intrinsic, therefore is difficult to be reflected in the printed data in advance.According to present embodiment, the expectation of the details in printed data, described be, " A4 paper (210mm * 297mm) go up, and carry out " no frame " printing with " yoko.jpg " center-aligned ".Yet the data in transcription layout zone 51 how in describing effective coverage 54 are not described in printed data.That is, details depends on printer.
Yet the direct transcription of content that launches in merely with layout zone 51 is to the zone of describing effective coverage 54, just stay not describe data 55, and should may become blank parts in zone 55 when printing.For fear of this situation, essential content of amplifying layout zone 51.The ratio of width to height of the view data of DSC etc. not necessarily with printing paper (here, identical with layout zone 51) identical, therefore, as shown in figure 35, amplify layout zone 51, make it greater than describing effective coverage 54, be made as zone 56, the magnification ratio that adopt this moment is that layout zone 51 is amplified to greater than the minimum magnification ratio of describing effective coverage 54.
When in layout zone 51, amplifying after unfolded image data and the character string, as shown in figure 35, cause the change in location of the character string on printing paper here.At the center with layout zone 51 is under the benchmark situation of amplifying, and when coming with this magnification ratio the position of character string or size amplified, the position of character string may exceed from description region.And, under printing paper is identical situation,,, just more good-looking on the same position printing photo date etc. for the people who appreciates.
So, for the date position being moved and not changing character boundary, realize " no frame " printing, must separately carry out image processing and character and handle.Figure 36 is a kind of flow chart, represents the flow process under this situation, and Figure 37 is a kind of schematic diagram, expression layout result.
After receiving printed data, at first resolve printed data (step S321), be divided into situation and other situation (step S322) of request " no frame " printing then.When " no frame " prints ("Yes" of step S322), being judged as what will carry out is the printing of photo, separates (step S323) and image processing and character handled.When being view data ("No" of step S323), according to layout zone 51 with describe the relation of effective coverage 54, make the layout zone keep the ratio of width to height of printed data on one side, describe effective coverage 54 Yi Bian be amplified to, and carry out layout (regional 56).When carrying out this layout, make the relation and the relation relatively identical (step S325) of marshal data in 52 pairs of layout zones 51, position of image to describing effective coverage 54.When being character data ("Yes" of step S323), layout (step S324) is carried out in layout zone 51.And, only generate to be positioned at respectively and describe effective coverage partial data (step S327), finish processing (step S329) to all elements, and printing (step S331).
And, when not being " no frame " printing ("No" of step S322), according to the indication of printed data, layout in description region (step S326), and directly be painted into and describe effective coverage (step S328), handle back (step S330) and print (step S331) finishing all.
Here, what illustrate among Figure 36 is, is describing the order that the effective coverage is described after the layout, but, also can be with all elements layout, carry out in the identical moment and to describe and print.
And, in the present embodiment " frame:non will be described; " be interpreted as " no frame " printing, but be not limited thereto.And, can adopt such method: in printed data, do not describe, and send " no frame " indication with print order.
Therefore and describing effective coverage and layout zone is notional zone, rather than real space, carries out in describing the effective coverage that image is synthetic also to obtain same effect.
According to the printing equipment that the present invention relates to, be useful on printer etc., the function that this printer etc. has is, resolve XML series datas such as XHTML-Print, under the situation that the user does not recognize, with the function of printing photo content in the configuration of the best, and, these printers etc. send at the main equipment beyond PC under the situation of printed data or print order, carry out printing.

Claims (14)

1, a kind of printing equipment, to resolving with the described printed data of SGML, and the object data that will be made as printing object prints on print media, it is characterized in that, comprising:
The layout area information obtains the unit, obtains by above-mentioned printed data layout area information specified, expression layout zone, and this layout zone is used to dispose above-mentioned object data;
Describe information acquisition unit, effective coverage, obtain to describe effective coverage information, this is described the effective coverage information representation and depends on zone above-mentioned printing equipment, that be used to print;
The layout unit, size according to above-mentioned object data and above-mentioned layout zone is configured to above-mentioned layout zone with above-mentioned object data, and, according to above-mentioned layout zone and the above-mentioned size of describing the effective coverage, with above-mentioned layout area configurations to the above-mentioned effective coverage of describing; And
Printing element, printing is configured in the above-mentioned above-mentioned object data of describing the effective coverage by above-mentioned layout unit.
2, printing equipment as claimed in claim 1 is characterized in that,
Above-mentioned printing equipment further comprises does not have blank printing indication detecting unit, detects and does not have blank printing indication;
The above-mentioned information acquisition unit, effective coverage of describing obtains the data area that no blank printshop needs, as the above-mentioned effective coverage of describing when detecting nothing blank printing indication.
3, printing equipment as claimed in claim 1 is characterized in that,
Above-mentioned printing equipment further includes blank printing indication detecting unit, and detecting is free white seal brush finger to show;
The above-mentioned information acquisition unit, effective coverage of describing obtains printable data area, as the above-mentioned effective coverage of describing having detected sky white seal brush finger when showing.
4, printing equipment as claimed in claim 1 is characterized in that,
Above-mentioned layout unit comprises:
The first magnification ratio minification is calculated portion, calculate the magnification ratio or the minification of above-mentioned object data, so that any length of the height of above-mentioned object data and width equals the length in corresponding above-mentioned layout zone with it, and, make the another one length of the height of above-mentioned object data and width be equal to or greater than the length in corresponding above-mentioned layout zone with it;
The first configuration portion, magnification ratio or minification according to being calculated by the above-mentioned first magnification ratio minification portion of calculating are configured to above-mentioned layout zone with above-mentioned object data;
The second magnification ratio minification is calculated portion, calculate the magnification ratio or the minification in above-mentioned layout zone, so that any length of the height in above-mentioned layout zone and width equals corresponding above-mentioned length of describing the effective coverage with it, and, make the height in above-mentioned layout zone and the another one length of width be equal to or greater than the corresponding above-mentioned length of describing the effective coverage with it; And
The second configuration portion, according to magnification ratio or the minification calculated by the above-mentioned second magnification ratio minification portion of calculating, with above-mentioned layout area configurations to the above-mentioned effective coverage of describing.
5, printing equipment as claimed in claim 4 is characterized in that,
The above-mentioned second configuration portion, according to magnification ratio or the minification calculated by the above-mentioned second magnification ratio minification portion of calculating, with above-mentioned layout area configurations to above-mentioned when describing the effective coverage, above-mentionedly describe the lower-upper length of effective coverage or in the width in layout zone, exceed the above-mentioned left and right sides length of describing the effective coverage to become substantially that equalization is a purpose will in the height in layout zone, exceeding, be configured.
6, printing equipment as claimed in claim 4 is characterized in that,
The above-mentioned second magnification ratio minification is calculated portion, calculate maximum minification or minimum magnification ratio, magnification ratio or minification as above-mentioned layout zone, the effect of minification that this is maximum or minimum magnification ratio is: in that the center in above-mentioned layout zone and the above-mentioned center of describing the effective coverage is overlapping, and after coming the height in above-mentioned layout zone and width amplified or dwindle with same ratio, make above-mentioned layout zone comprise the above-mentioned effective coverage of describing.
7, printing equipment as claimed in claim 4 is characterized in that,
The above-mentioned second configuration portion according to above-mentioned print media and the above-mentioned similarity relation of describing the effective coverage, proofreaies and correct and above-mentionedly describes effective coverage information, dwindles so that describe the effective coverage, and similar in appearance to printing paper;
The magnification ratio or the minification in above-mentioned layout zone are calculated by the above-mentioned second magnification ratio minification portion of calculating, and describe the effective coverage so that above-mentioned layout zone comprises by what the above-mentioned second configuration portion was proofreaied and correct, and become minimum.
8, printing equipment as claimed in claim 4 is characterized in that,
Above-mentioned printing equipment further comprises:
The position obtains the unit, obtains, locative positional information specified by above-mentioned printed data, this position on above-mentioned object data, the position of composite characters string;
Above-mentioned layout unit further comprises:
Character string synthesising position detection unit, according to the magnification ratio that obtains above-mentioned positional information that the unit obtained by above-mentioned position, calculates by the above-mentioned first magnification ratio minification portion of calculating or minification or magnification ratio or the minification calculated by the above-mentioned second magnification ratio minification portion of calculating, judge the position of synthetic above-mentioned character string;
The character string correction unit, when the position of the synthetic above-mentioned character string of being judged by above-mentioned character string synthesising position detection unit when above-mentioned print media exceeds, maybe when this position from the prescribed limit at the edge of above-mentioned print media the time, proofread and correct the position of synthetic above-mentioned character string, so that above-mentioned character string is printed in the prescribed limit of above-mentioned print media; And
Character string configuration portion, position on above-mentioned object data, synthetic above-mentioned character string, synthetic above-mentioned character string and configuration, this above-mentioned character string is proofreaied and correct by above-mentioned character string correction unit.
9, printing equipment as claimed in claim 4 is characterized in that,
Above-mentioned layout unit further comprises:
Character string configuration portion, according to the magnification ratio of calculating or minification and magnification ratio or different magnification ratio or the minifications of minification calculated by the above-mentioned second magnification ratio minification portion of calculating by the above-mentioned first magnification ratio minification portion of calculating, the character string that to will synthesize on above-mentioned object data is amplified or is dwindled, and synthetic and configuration on above-mentioned object data.
10, printing equipment as claimed in claim 9 is characterized in that,
Above-mentioned printing equipment further comprises:
Specify size to obtain the unit, obtain the size of above-mentioned print media, it is specified that the size of this above-mentioned print media is carried out indication by above-mentioned printed data or printing; And
Size of media obtains the unit, the size of the above-mentioned print media that acquisition is used in above-mentioned printing equipment;
Under the situation about varying in size of the above-mentioned print media that above-mentioned character string configuration portion uses in the size of being carried out the specified above-mentioned print media of indication by above-mentioned printed data or printing and above-mentioned printing equipment, calculate the above-mentioned magnification ratio or the minification of above-mentioned character string according to the size of each above-mentioned print media, and with the synthetic and configuration on above-mentioned object data of above-mentioned character string.
11, printing equipment as claimed in claim 1 is characterized in that,
Above-mentioned printed data further comprises character information;
Above-mentioned printing equipment further comprises:
Character string layout unit, the above-mentioned character information of configuration in above-mentioned layout zone; And
Character string layout correcting unit, position and size that maintenance is disposed by above-mentioned character string layout unit, and be transformed into the above-mentioned coordinate of describing the effective coverage;
Above-mentioned printing element will be by above-mentioned layout configuration of cells at the above-mentioned above-mentioned object data of describing the effective coverage and synthetic by the above-mentioned character information of above-mentioned character string layout coordinate that correcting unit is transformed into, and printing.
12, printing equipment as claimed in claim 1 is characterized in that,
Above-mentioned SGML is the XML language.
13, a kind of printing process, to resolving with the described printed data of SGML, and the object data that will be made as printing object prints on print media, it is characterized in that, comprising:
The layout area information obtains step, obtains by above-mentioned printed data layout area information specified, expression layout zone, and this layout zone is used to dispose above-mentioned object data;
Describe effective coverage information acquisition step, obtain to describe effective coverage information, this is described the effective coverage information representation and depends on zone above-mentioned printing equipment, that be used to print;
The layout step, size according to above-mentioned object data and above-mentioned layout zone is configured to above-mentioned layout zone with above-mentioned object data, and, according to above-mentioned layout zone and the above-mentioned size of describing the effective coverage, with above-mentioned layout area configurations to the above-mentioned effective coverage of describing; And
Print steps, printing is configured in the above-mentioned above-mentioned object data of describing the effective coverage by above-mentioned layout step.
14, a kind of program, to resolving with the described printed data of SGML, and the object data that will be made as printing object prints on print media, it is characterized in that, makes computer carry out following steps:
The layout area information obtains step, obtains by above-mentioned printed data layout area information specified, expression layout zone, and this layout zone is used to dispose above-mentioned object data;
Describe effective coverage information acquisition step, obtain to describe effective coverage information, this is described the effective coverage information representation and depends on zone above-mentioned printing equipment, that be used to print;
The layout step, size according to above-mentioned object data and above-mentioned layout zone is configured to above-mentioned layout zone with above-mentioned object data, and, according to above-mentioned layout zone and the above-mentioned size of describing the effective coverage, with above-mentioned layout area configurations to the above-mentioned effective coverage of describing; And
Print steps, printing is configured in the above-mentioned above-mentioned object data of describing the effective coverage by above-mentioned layout step.
CNB2005800197409A 2004-06-15 2005-06-06 Printer Expired - Fee Related CN100472424C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP176816/2004 2004-06-15
JP2004176816 2004-06-15
JP372934/2004 2004-12-24

Publications (2)

Publication Number Publication Date
CN1969533A true CN1969533A (en) 2007-05-23
CN100472424C CN100472424C (en) 2009-03-25

Family

ID=38077192

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005800197409A Expired - Fee Related CN100472424C (en) 2004-06-15 2005-06-06 Printer

Country Status (1)

Country Link
CN (1) CN100472424C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102555549A (en) * 2010-12-02 2012-07-11 精工爱普生株式会社 Printing device and control method therefor
CN106515227A (en) * 2015-09-11 2017-03-22 立志凯株式会社 Printer device
CN107886015A (en) * 2016-09-29 2018-04-06 株式会社理光 Printing bar code method and printing bar code device
CN108008922A (en) * 2016-10-27 2018-05-08 精工爱普生株式会社 The control method of printing equipment and printing equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102555549A (en) * 2010-12-02 2012-07-11 精工爱普生株式会社 Printing device and control method therefor
CN102555549B (en) * 2010-12-02 2014-11-05 精工爱普生株式会社 Printing device and control method therefor
CN106515227A (en) * 2015-09-11 2017-03-22 立志凯株式会社 Printer device
CN107886015A (en) * 2016-09-29 2018-04-06 株式会社理光 Printing bar code method and printing bar code device
CN107886015B (en) * 2016-09-29 2021-06-11 株式会社理光 Bar code printing method and bar code printing device
CN108008922A (en) * 2016-10-27 2018-05-08 精工爱普生株式会社 The control method of printing equipment and printing equipment

Also Published As

Publication number Publication date
CN100472424C (en) 2009-03-25

Similar Documents

Publication Publication Date Title
CN1489110A (en) Image processing method, image processing device programme and recording medium
CN1816092A (en) System, device and server for providing service
CN1280705C (en) Print control system, information processing apparatus, function providing apparatus, print function display method, computer program, and computer-readable recording medium
CN1182473C (en) Data processing apparatus connected to network connectable plurality of devices
CN1731340A (en) Printing system and printing processing method
CN1299195C (en) Content Gererator, receiver, printer and content printing system
CN1779691A (en) Information processing apparatus, printing system, and control method therefor
CN1266627C (en) Data process device, method and program
CN1925534A (en) Display control device and its control method
CN1719862A (en) Image processing system and image processing method
CN1554181A (en) Composite printer and scan image copying method
CN1924790A (en) Printing apparatus, control method therefor, job processing method, printing system
CN1515991A (en) Distributed printing system, method, program, printer and printer management server
CN1874395A (en) Image processing apparatus, image processing method, and computer product
CN101043574A (en) Image forming apparatus, image processing apparatus, image forming method, image processing method, program, and storage medium
CN1532750A (en) Service processor and service processing method
CN101042630A (en) Method and apparatus for displaying document image, and information processing device
CN1816099A (en) Communication apparatus
CN101047758A (en) Device-managing system, managing apparatus and control method
WO2005125173A1 (en) Printer
CN1659875A (en) Printing apparatus and control method thereof, and printing system
CN1484171A (en) Operation scveen display device, method and recording medium having same
CN1829271A (en) Communication apparatus
CN1932750A (en) Information processing apparatus, information processing method, and program
CN1822639A (en) Image forming apparatus and image forming system

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090325

Termination date: 20140606