CN1801074A - Paging method for printing file - Google Patents
Paging method for printing file Download PDFInfo
- Publication number
- CN1801074A CN1801074A CN 200410011651 CN200410011651A CN1801074A CN 1801074 A CN1801074 A CN 1801074A CN 200410011651 CN200410011651 CN 200410011651 CN 200410011651 A CN200410011651 A CN 200410011651A CN 1801074 A CN1801074 A CN 1801074A
- Authority
- CN
- China
- Prior art keywords
- regional location
- file
- icon
- document
- paging
- 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
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The invention discloses a paging method of printed file in the computer system, which comprises the following steps: judging whether the file data possesses the mark when the computer system executes file print operation; judging whether the result is the regional position of temporary storing mark; finding the paragraph position; setting the paging print operation of paragraph with words to make mark print in the same page according to the mark position; paging the file according to the paragraph position; sending the setting result to the affair set to print the file.
Description
Technical field
The invention relates to a kind of paging method, refer to a kind of paging method of print file especially.
Background technology
Significantly progressive along with electronic technology, all clerical work is all closely bound up with affairs machines such as duplicating machine, facsimile recorder, printer, scanners in the office now, so these affairs machines indispensable information equipment of office of can saying so.
But, because numerous affairs machines tends to occupy too big space, even because the utilization rate of each affairs machine is not quite similar, so though tend to cause the affairs machine utilization rate of some kind low, but still must buy more to deal with the situation of need frequently.
At these problems and now the direction integrated towards miniaturization and function of information products develop, therefore have multifunctional paper feeding machine (the Multi Function Peripheral of photomechanical printing, printing, fax and scan function concurrently, MFP) be developed, the consumer only need buy a multifunctional paper feeding machine just can carry out multinomial clerical work, and that can reduce space in the working environment takies and promotes craftmanship and efficient, and it is on using and in lifely very have a convenience.
When the work of using known multifunctional paper feeding machine to print, when having icon and long one section article at the long file of print length and file content, if the user can be on computing machine before printing earlier from the file of edlin, for example: the word file, just can set up paging on their own, and not have an icon, be printed on two different pages, or one section article, situation about being slit into sheets in place that should not paging.
But, if print in the time of to use a computer the file of editing 10 earlier (as shown in Figure 1), webpage for example, after pressing the button of printing from computer terminal, computing machine can be automatically according to the size of desiring print paper now, with the typescripts paging, transmit the printer control language (PCL) or the data of Graphics Device Interface (GDI) at last to the multifunctional paper feeding machine end, the multifunction chance is separated into source book (raw-da ta) to these data and is printed, every page size all is the same in principle, so will to take place obviously be a Figure 11 to paging mode sometimes, but be printed on two different pages, or one section article 12, in local paging that should not paging, concerning the people who sees file, such composing may not be very appropriate.
Therefore, how to develop a kind of paging method that overcomes the print file of above-mentioned known techniques disappearance, real in pressing for the problem of solution at present.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of paging method of print file, mode by the paragraph regional location of the regional location of judging the contained icon of file and literal, make computer system come file is printed the paging setting according to the regional location of icon and the paragraph regional location of literal, when printing the editor's that to use a computer earlier file to solve traditional multifunctional paper feeding machine, easily a figure is printed on two different pages, or one section article is in problems such as local paging that should not paging.
For reaching above-mentioned purpose, the paging method of a kind of print file of the present invention, it is applicable to computer system, computer system is connected with the affairs machine, and the affairs machine is that the paging setting that transmits according to computer system prints, method comprises the following step: when computer system is carried out print file, judges whether the contained image data of file has icon and is the regional location that stores icon when being in judged result, and the paragraph regional location of the contained literal of judgement file; Come file is printed the paging setting according to the regional location of icon and the paragraph regional location of literal, make icon print on the same page, the contained literal of file then carries out paging according to the paragraph regional location, and the result is set in paging is sent to the affairs machine, with print file.
According to conception of the present invention, wherein the affairs machine is multifunctional paper feeding machine (MFP).
According to conception of the present invention, the file of file wherein for before printing, editing in computer system.
According to conception of the present invention, wherein file is a webpage.
According to conception of the present invention, judge that wherein the regional location of icon and the paragraph regional location of literal comprise the following step: detecting the horizontal direction of document image information and the GTG (Gray-Level) of vertical direction and change, is the regional location of icon to study and judge doubtful; The image data of file is done two materialization (binary) calculations, with the regional location of the icon determining to be comprised in the file; Image data to file carries out the projection of horizontal direction with vertical direction, to determine the paragraph regional location of literal.
According to conception of the present invention, judge that wherein the regional location of icon and the paragraph regional location of literal comprise the following step: reduce the resolution of the image data of file, make the word segment of file the site (grid) of a plurality of rules occur; Utilize an entropy (entropy) to seek a plurality of sites, with the regional location of judgement icon and the paragraph regional location of literal.
According to conception of the present invention, judge that wherein the regional location of icon and the paragraph regional location of literal comprise the following step: reduce the resolution of document image, make the word segment of file the site (grid) of a plurality of rules occur; Utilize the mode (texture) of a structure analysis to seek a plurality of sites, with the regional location of judgement icon and the paragraph regional location of literal.
According to conception of the present invention, wherein the computer system paging that is sent to the affairs machine set be data that each page is contained through an encoding process after, be resent to the affairs machine.
Description of drawings
Fig. 1 prints the paging synoptic diagram of the file that can't edit for known computer system.
Fig. 2 is the software architecture figure of the paging method of the print file of preferred embodiment of the present invention.
Fig. 3 uses the paging software of print file of the present invention for computer system and prints the paging synoptic diagram of the file that can't edit.
Fig. 4 is the process flow diagram of the paragraph regional location of the regional location of the contained icon of the described judgement file of Fig. 2 and literal.
Fig. 5 (a) is the image synoptic diagram after the document image information with colour converts GTGization to.
Fig. 5 (b) is the gray-scale distribution synoptic diagram that does not comprise icon in the image data of file.
Fig. 5 (c) is the gray-scale distribution synoptic diagram of the file shown in Fig. 5 (a).
Fig. 5 (d) is the image synoptic diagram of the resolution of the file shown in reduction Fig. 5 (a).
Fig. 5 (e) is for partly making the synoptic diagram of two materialization computings to non-icon in the file shown in Fig. 5 (a).
Fig. 5 (f) is for carrying out the projection amount waveform synoptic diagram of vertical projection to Fig. 5 (e).
Embodiment
The present invention to the specifying of preferred embodiment, can obtain a more deep understanding in conjunction with the drawings:
Some exemplary embodiments that embody feature of the present invention and advantage will be described in detail in the explanation of back segment.Be understood that the present invention can have various variations on different aspects, its neither departing from the scope of the present invention, and explanation wherein and icon be when the usefulness that explain in itself, but not in order to restriction the present invention.
See also Fig. 2, it is the software architecture figure of the paging method of the print file of preferred embodiment of the present invention, disclosed paging method is applicable to the computer system that is connected with multifunctional paper feeding machine (not icon), after pressing button that carry out to print the file that to edit in advance from the computer system end as the user, for example: webpage, need elder generation to judge in the image data of file whether have icon, and in judged result when being, storage is illustrated at regional location set in the file, and set position (step S21) in whole file, the paragraph zone of contained literal in the judgement file, then, computer system will will be desired print file according to the paragraph regional location of the icon area position of judging gained and literal and do suitable printing paging, so that icon prints on the same page, the contained literal of file then carries out the printing (step S22) of paging in optimal place according to set position, paragraph zone, at last, after the data that computer system is printed each page setting is carried out encoding process, be sent to the multifunctional paper feeding machine end, and after multifunctional paper feeding machine deciphers processing with receive about the coded data of each page, can print (step S23) through the document image of setting type, the document image that uses paging method of the present invention to print, the scope that may not be certain each page print is all identical, but can reach and avoid same icon and be cut in different two pages (as shown in Figure 3), or the literal of same paragraph can be done paging in optimal place.
See also Fig. 4, it is the process flow diagram of the paragraph regional location of the regional location of the contained icon of the described judgement file of Fig. 2 and literal.Wherein, the icon area position that may comprise in the image data of judgement file and the paragraph regional location of literal, with the most suitable paragraph foundation of carrying out paging in the image data of finding out file, it can following step be implemented, at first, whether the image data that must judge earlier file is colored (step S41), if file is colored, then want earlier the image data of file to be changed into GTG (step S42), otherwise, if be exactly GTG originally, then can omit execution in step S41, for example, when the image data of source document is R, G, the B form, then can change into the GTG value by following formula, F (x, y)=0.3*R (x, y)+0.59*G (x, y)+0.11*B (x, y), see also Fig. 5 (a), it is that the conversion of the document image information of colour is image synoptic diagram behind the GTG, as shown in the figure, the upper right corner of file 50 has icon 51, its regional location for cutting, when having icon 51 in the image data of file 50, the user can see the existence that icon 51 is arranged in the outfile 50, but computer system can't be learnt voluntarily in the image data of file 50 and includes icon 51, in present embodiment, the image data of question paper can be learnt exist (the step S43) whether icon is arranged in the file 50 by the distribution plan of GTG in the file 50 after changing into GTG, sees also Fig. 5 (b), and it is the gray-scale distribution synoptic diagram that does not comprise icon in the image data of file, by among the figure as can be known, if when not comprising any icon, have only a color a bit in the distribution schematic diagram of its GTG in the file 50, be word segment, and other GTG value does not all have a little, does not have icon to exist in the expression file.See also Fig. 5 (c), it is the gray-scale distribution synoptic diagram of the file shown in Fig. 5 (a), by among the figure as can be known, among the figure there being the point of assorted the one color, promptly represents to have icon 51 in the file 50, the point of expression text color also can be many especially among the same figure.
After in judging file 50, having icon 51, then, can utilize the esolving degree that reduces file 50 image datas, make the word segment of file 50 site of a plurality of rules occur, and analyze the mode of its texture (texture), judging icon 51 in which position of file 50 (step S44), as for, the texture of Study document 50 can use the mode of entropy (entropy) or small echo (wavelet), but not as limit.See also Fig. 5 (d), it is the image synoptic diagram of the resolution of the file shown in reduction Fig. 5 (a), by among the figure as can be known, by resolution that reduces file 50 image datas and the mode of analyzing texture, the regional location at file 50 upper right corner icons 51 places can be located out.
Behind the regional location of determining icon 51 places, need further to judge the paragraph regional location of contained literal in the file 50, to find out the position that is fit to paging in the file 50, therefore need non-icon 51 parts in the file 50 shown in Fig. 5 (a) are done two materialization computings (shown in Fig. 5 (e)) (step S45), then, Fig. 5 (e) is carried out vertical projection, by dividing clear its projection amount (step S46), find out the position of all suitable pagings, see also Fig. 5 (f), it is for carrying out the projection amount waveform synoptic diagram of vertical projection to Fig. 5 (e), by among the figure as can be known, icon 51 pairing position X, originally just indivisible, therefore need not examine this interval projection amount of filter, as for, in the file 50 between other literal 52 boundary of paragraph and paragraph then can judge by the number of judging projection amount, since find out the position (step S46) that is fit to paging.
Owing in step S46, can obtain the position of many suitable pagings in the file 50, computer system needs to select an optimal minute page position according to the size of print paper, promptly finish the paging action (step S47) of finding out one page content, then, the content of deduction prevpage image, analyze down the paging content of one page according to the flow process of step S41 to S47, till all image datas of file 50 all assign, can reach effect (step S48) in appropriate location paging.
Because; the place suitable at file prints paging; have a variety of embodiments; and be regardless of the mode that is limited to the foregoing description; the personage who has the knack of present technique uses the method for the paragraph regional location of any regional location of judging icon in the document image information and literal, is the scope that the present invention protects.
Indulge the above, the paging method of print file of the present invention, assign the instruction of execution print file in computer system after, mode by the paragraph regional location of the regional location of judging the contained icon of file and literal, make computer system come file is printed the paging setting according to the regional location of icon and the paragraph regional location of literal, make icon print on the same page, and paging can be done in optimal place in the literal of same paragraph, allows the user read the sensation of relatively pressing close to set type.
Claims (8)
1. the paging method of print file, it is applicable to a computer system, and this computer system is connected with an affairs machine, and this affairs machine is that the paging that transmits according to this computer system is set and printed, and this method comprises the following step:
Carry out when printing a file in this computer system, judge whether the contained image data of this document has an icon and be the regional location that stores this icon when being in judged result, and the paragraph regional location of the contained literal of judgement this document; And
Come this document is printed the paging setting according to the regional location of this icon and the paragraph regional location of this literal, make this icon print on the same page, the contained literal of this document then carries out paging according to this paragraph regional location, and the result is set in this paging be sent to this affairs machine, to print this document.
2. the paging method of print file as claimed in claim 1 is characterized in that this affairs machine is a multifunctional paper feeding machine (MFP).
3. the paging method of print file as claimed in claim 1 is characterized in that this document is the file that can't edit in this computer system before printing.
4. the paging method of print file as claimed in claim 3 is characterized in that this document is a webpage.
5. the paging method of print file as claimed in claim 1 is characterized in that judging that the regional location of this icon and the paragraph regional location of this literal comprise the following step:
Detect the horizontal direction of this document image data and the gray scale variation of vertical direction, to study and judge the doubtful regional location of this icon that is;
The image data of this document is done two materialization calculations, with the regional location of this icon of determining to be comprised in this document; And
Image data to this document carries out the projection of horizontal direction with vertical direction, to determine the paragraph regional location of this literal.
6. the paging method of print file as claimed in claim 1 is characterized in that judging that the regional location of this icon and the paragraph regional location of this literal comprise the following step:
Reduce the resolution of the image data of this document, make the word segment of this document the site of a plurality of rules occur; And
Utilize an entropy to seek these a plurality of sites, with the regional location of judging this icon and the paragraph regional location of this literal.
7. the paging method of print file as claimed in claim 1 is characterized in that judging that the regional location of this icon and the paragraph regional location of this literal comprise the following step:
Reduce the resolution of this document image, make the word segment of this document the site of a plurality of rules occur; And
Utilize the mode of a structure analysis to seek this a plurality of sites, with the regional location of judging this icon and the paragraph regional location of this literal.
8. the paging method of print file as claimed in claim 1, it is characterized in that paging that this computer system is sent to this affairs machine set be data that each page is contained through an encoding process after, be resent to this affairs machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100116517A CN100361067C (en) | 2004-12-31 | 2004-12-31 | Paging method for printing file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100116517A CN100361067C (en) | 2004-12-31 | 2004-12-31 | Paging method for printing file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1801074A true CN1801074A (en) | 2006-07-12 |
CN100361067C CN100361067C (en) | 2008-01-09 |
Family
ID=36811110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100116517A Expired - Fee Related CN100361067C (en) | 2004-12-31 | 2004-12-31 | Paging method for printing file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100361067C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101187850B (en) * | 2006-11-16 | 2010-05-26 | 北京书生国际信息技术有限公司 | Electronic document page-by-page printing method |
CN102779127A (en) * | 2011-05-11 | 2012-11-14 | 宏碁股份有限公司 | Terminal device and file synchronization method |
CN107943426A (en) * | 2017-10-13 | 2018-04-20 | 用友网络科技股份有限公司 | Document page-by-page printing method, document print page system and computer installation |
CN108399054A (en) * | 2018-02-28 | 2018-08-14 | 北京春草软件科技有限责任公司 | A kind of document cutting Method of printing |
CN113655973A (en) * | 2021-07-16 | 2021-11-16 | 深圳价值在线信息科技股份有限公司 | Page segmentation method and device, electronic equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5870535A (en) * | 1997-05-12 | 1999-02-09 | Lexmark International, Inc. | Method and apparatus for building rasterized lines of bitmap data to be printed using a piecewise-linear direct memory access addressing mode of retrieving bitmap data line segments |
JP2003260821A (en) * | 2002-03-07 | 2003-09-16 | Fuji Xerox Co Ltd | Imaging apparatus, imaging system and imaging method |
JP2004284265A (en) * | 2003-03-24 | 2004-10-14 | Canon Inc | Printing control method and device |
-
2004
- 2004-12-31 CN CNB2004100116517A patent/CN100361067C/en not_active Expired - Fee Related
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101187850B (en) * | 2006-11-16 | 2010-05-26 | 北京书生国际信息技术有限公司 | Electronic document page-by-page printing method |
CN102779127A (en) * | 2011-05-11 | 2012-11-14 | 宏碁股份有限公司 | Terminal device and file synchronization method |
CN107943426A (en) * | 2017-10-13 | 2018-04-20 | 用友网络科技股份有限公司 | Document page-by-page printing method, document print page system and computer installation |
CN108399054A (en) * | 2018-02-28 | 2018-08-14 | 北京春草软件科技有限责任公司 | A kind of document cutting Method of printing |
CN108399054B (en) * | 2018-02-28 | 2021-08-06 | 北京春草软件科技有限责任公司 | Document segmentation printing method |
CN113655973A (en) * | 2021-07-16 | 2021-11-16 | 深圳价值在线信息科技股份有限公司 | Page segmentation method and device, electronic equipment and storage medium |
CN113655973B (en) * | 2021-07-16 | 2023-12-26 | 深圳价值在线信息科技股份有限公司 | Page segmentation method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100361067C (en) | 2008-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8438478B2 (en) | Displaying an overlapped print preview for multiple pages with different finishing options | |
US5528732A (en) | Reprographic device for making copies with multi-spaced lines | |
EP0629078B1 (en) | Apparatus for processing and reproducing image information | |
CN101069414B (en) | Method for suppressing blank pages in a multi-page scanning process and software therefor | |
EP1764998A2 (en) | Image processing apparatus and computer program product | |
US7805022B2 (en) | Image processing apparatus, image processing method and computer program | |
US20070058226A1 (en) | User interface apparatus, image processing apparatus, and computer program product | |
US20100201995A1 (en) | Image processing apparatus, terminal, printer apparatus and image processing method, having image restoring function | |
US8134739B2 (en) | Information processing device for outputting reduced-size pages | |
US5642473A (en) | Paper saving reprographic device | |
US20070133015A1 (en) | User interface device, function setting method, and computer program product | |
US7965293B2 (en) | Image processing device, image processing method, and image processing program for reconstructing data | |
JP2006259045A (en) | Image forming apparatus and method | |
US20060150093A1 (en) | Page-break creating method for printing document | |
CN1684493A (en) | Image forming apparatus, program therefor, storage medium, and image forming method | |
JP2007004621A (en) | Document management supporting device, and document management supporting method and program | |
JP4673200B2 (en) | Print processing system and print processing method | |
CN1801074A (en) | Paging method for printing file | |
JP2004214991A (en) | Document image data management system, its program, its apparatus, and its method | |
JP2019186882A (en) | Image forming system and program | |
JP4978879B2 (en) | Two-dimensional code generation system and two-dimensional code generation program | |
CN101388945A (en) | History image generating system and history image generating method | |
CN1991628A (en) | Shading-duplication preventing page description method | |
JP4941179B2 (en) | Information processing apparatus and document browsing program | |
CN100440128C (en) | Print result displaying method, layout editing method, and print control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080109 Termination date: 20211231 |