The invention relates to a document pre-processing unit for pre-processing documents to be printed. The invention further relates to a method for pre-processing documents. The invention also relates to a system for generating mail items. Furthermore, the invention relates to a data carrier and to a document printed on sheets. The invention also relates to a computer program product.
In the art, a system for generating mail items is known. The system includes an input for receiving a print stream of printing data which contains printing instructions. The system further has a printer which can print a document on sheet in accordance with the printing instructions. The system has an inserter which, in a processing direction of the documents, is placed downstream of the printer. Between the printer and inserter further processing may take place. The inserter can assemble the printed document and additional documents into mail items. The mail items can be sent to a franking machine for applying a franking value, such as on electronic or printed post stamp, to the mail item. The required franking value is dependent on a property of the mail item.
Typically, franking tariffs are determined per class of mail items. Thus, mail items have to be franked with the same franking value when a certain property, such as weight or size, is within a certain range. However, when the property of the mail items exceeds the lower limit of the range with only a small amount, the franking value is relatively high compared a mail item of which the property is close to the upper limit of the range.
In U.S. patent application publ. no. 2003/0136282, a recto-verso printer is described, which is adapted to receive data to be printed and to produce printed documents based on said data, said documents being designed to be enclosed and franked; the processing machine comprises means upstream of the printer to optimize the process for franking the cover by recto-verso printing the documents at will in case a value related to the weight of said documents exceeds a postal threshold. However, recto-verso printing and single-side printing in a single run entails complicated sheet manipulation and slows down processing.
It is a goal of the invention to provide a pre-processing unit which can reduce the costs involved in franking mail items while keeping sheet manipulation relatively simpleAccording to the invention, this goal is achieved by providing A document pre-processing unit for pre-processing documents to be printed, which includes:
a processor input for receiving document data at least representing content;
a computing unit connected to the processor input, for computing a number of sheets a physical document would include if printed in accordance with the document data;
a memory in which threshold information can be stored;
a comparing unit connected to the computing unit and the memory, for outputting a modify signal if the computed number exceeds a threshold determined from the threshold information;
a data modifying unit connected to the comparing unit, for reducing the computed number of sheets below the threshold by modifying at least the document content or lay-out instructions for the document in response to the modify signal; and
a processor output connected to the data modifying unit for outputting the modified document data.
Such a pre-processing unit reduces the cost involved in franking mail items, because the data modifying unit reduces the number of sheets required by the printed document in response to the modify signal. By modifying at least the content of the document or the lay-out instructions for the document is changed instead of automatically switching between single-sided printing and recto-verso printing, the need of complicated sheet manipulation adversely affecting the production rate is avoided. Accordingly, after modifying, the printed document, or a mail item including the printed document may fall in a class with lower franking costs than a printed document according to the document data before modification would have. Thus, the franking costs can be reduced. Although the reduction of the franking costs per mail item may be regarded as relatively small, the overall reduction of franking costs can be significant, since a large amount of mail items may be generated by the system.
The invention further provides a method for pre-processing documents which includes:
receiving document data at least representing content;
computing a number of sheets a physical document would include if printed in accordance with the document data;
outputting a modify signal if a property of the computed number exceeds a threshold determined from the threshold information;
reducing the number of sheets required by the printed document by modifying at least the document content or lay-out instructions for the document in response to the modify signal; and
outputting the modified document data.
The invention also provides a data carrier containing document data modified with a method as set forth above.
Furthermore, the invention provides a document printed in accordance with such document data.
The invention way also be embodied in a system for generating mail items, which includes:
a franking unit, positioned downstream of the mail piece assembler, for franking the mail item with a franking value.
The invention further provides a computer program product including code portions for performing a method as set forth above when running on a programmable apparatus.
Specific embodiments of the invention are set forth in the dependent claims.
Further details, aspects and embodiments of the invention will be described, by way of example only, with reference to the attached drawings.
The flow-chart of
pagesize: A4 (defining the size of the page on which the document will be printed)
font: arial (defining the type of font)
font size: 11 pt (defining the size of the font)
text position: 11,11 (defining the position on the page at which the text starts)
text; aaabbbbccc
The code portion ‘text’ thus defines content of the document, whereas the other code portions define the lay-out of the document.
In an initialization step 31, the parameters of the method are set, and a copy of the received document data is stored in a memory 32. In the initialisation step 31, furthermore a job definition 33 is received, which defines the processing to be performed with the document after the document has been printed, e.g. the number of annexes, the envelop size, type of folds etc. The received document data may for example be a document in Personalized Print Markup Language (PPML) or any other suitable type of document.
In the initialisation step 31, for example a desired postal tariff or franking class (de. frnk.clss) may be selected from a memory 34 in which two or more franking classes are stored. The desired franking class may e.g. be selected manually by an operator or be selected automatically based on a pre-determined selection criterion. For example, the desired franking class may be selected depending on the paper size a printed document would have. Also, for example, a maximum amount of franking costs per mail item or a maximum total amount of franking costs for a batch of mail items may be set, and the postal tariff class may be selected such that the maximum amount is not exceeded.
In the initialization step 31, also a set of types of modifications may be selected from a list 35 of possible types of modifications. These types of modifications may for example include lay-out modifications or documents content modifications.
The lay-out modification may for example include one or more of the following. For instance, the sire on which the document is to be printed may be changed, e.g. from A4 to A5 or otherwise. To that end, for example, the document data may be search for code portions defining the page size, for instance in the example above ‘pagesize’. The parameters following that code portions may then be modified to reduce the pagesize. Furthermore, other aspects of the document may be modified to fit the document onto the reduced page size, such as e.g. the font-type or the font-size. Thereto, for example, the document data may be searched for code portions defining those aspects, e.g. in the example above ‘font’ and ‘fontsize’. Also, for example, the document to be printed may be converted from simplex to duplex (i.e. printing on both sides instead of a single side of a sheet). Furthermore, the font size and/or font type and/or character and/or line spacing and/or margins of the document may be modified, as described before. Furthermore, it could be selected that pictures in the document may be reduced in size. However, other types of modifications to the lay-out may be included in the list.
The modifications to the content may for example include that, in order to reduce the number of pages of the document, pictures are removed car that certain parts of the text are removed. The modifications to the content may further include that one more annexes are omitted to satisfy the requirements of the desired postal tariff class.
In addition to selecting types of modifications that can be applied to the received document data, in initialisation step 31, an order of preference may be provided to the selected types of modifications. The order may for example be determined by the effect on the printed document. E.g. it can be specified that types of modifications that only affect the lay-out of the document, and not the content of the document, are to be performed first. In the successive stages of the method, types of modifications may then be applied in the specified order of preference.
For example, it may be specified that first a type of simplex to duplex conversion is to be performed. Thereafter, a modification in which enclosures are omitted may be performed, and then a type in which the font or pictures are reduced in size. After these changes to the lay-out of the document, types of operations which affect the content of the document can be listed in the order. For example, types in which pictures are be removed or in which marked parts of the text of the text can be removed.
The pre-processing shown in
In the following it is supposed for sake of simplicity that franking classes are defined in terms of weight ranges. However, the virtual physical document may likewise be compared with other requirements of the desired franking class that can be related to an amount of sheets.
For example, using an average weight of a sheet, the required weight range may be converted into a range of sheets. In comparing step 32, the amount of sheets por the physical document would have if printed in accordance with the received document data are compared with a threshold value n. The amount of sheets por may for example be determined by a printer during the processing of the print stream or in any other suitable manner. In this respect, it should be noted that it is generally known in the field of printers to determine the amount of pages in order to print a document correctly, i.e. in accordance with the lay-out defined in the print steam, and for the sake of brevity this is not described in further detail. In this example the threshold value n is the upper limit of the number of sheets in the desired mail class. In case the amount of sheets por is below the threshold value n, the physical document will be within the desired franking class if the physical document would be printed in accordance with the original print stream, and no further modifications are required. The original print stream is then outputted in output step 44.
E.g. supposing that a desired mail class is a franking subclass which is applicable in case the weight of a mail piece is between 80 and 100 grams, and the average weight of a sheet of paper with size A4 (21 cm by 29.7 cm) is about 5 grams, the number of sheets required for this subclass is between 20 (80/5) and 25 (100/5). The threshold value n may then be set to e.g. 25 sheets. In such case. e.g., when the amount of sheets por is lower than 25, the original print stream may be outputted.
In case the computed number of sheets of the physical document exceeds the threshold value n, a modifying operation 37 is initiated. E.g. when the amount of sheets por exceeds the upper limit of the range of sheets in the desired franking class, a modifying operation 37 of the original print stream data is initiated.
In the modifying operation 37, a type of modifying operation which is first in the order of preference of the selected types of modifications is performed. e.g. an operation of the type ‘opt 1’ in
After modifying the print stream data, a second comparing step 38 is performed on the modified print stream data. This comparing step may be similar to the comparing step 36 performed on the original print stream data or may be another suitable type of comparing step. In the comparing step 38, a calculated number pmod of sheets is determined a physical document would have if printed in accordance with the modified print stream date. When the comparing step reveals that the calculated number pmod is below or equal to the threshold number n, the modified print stream is outputted in output step 44. In case the calculated number pmod is above the threshold number n, a successive modify step 39 is performed in accordance with a next type of operation on the list, e.g. opt 2.
After the successive modifying step 39, the modified data is stored in the memory 32, and a number of pages pmod is determined from the modified print stream data and compared with the threshold n. If the number of pages pmod is below or equal to the threshold then the modified data is outputted in output step 44, else a modifying operation 41 is performed of a type which is next in the order of selected types, e.g. of type opt. 3. After this operation, the modified print stream data is stored in the memory 32, and the number of sheets pmod is compared with the threshold n. The original print stream data is outputted in the output step 44.
In the modifying operation any operation suitable for reducing the franking tariff may be used. The operation may for example be of a type which reduces the number of sheets or the page size. For example, the received document data may be a print stream contains a reference to an image to be included in the printed document, as well as a definition of the space occupied by the image. During modification, the reference may be removed, and the space occupied may be filled with text using a suitable print stream reengineering process. For instance in case the print stream contains a PPML document, a reference to resources, e.g. images may be included in the PPML document, by means of an URL (Universal Resource Locator) which indicates an address of the resources in a computer network. The PPML document may then be adjusted by removing the URL, and subsequently the amount of space, and hence the number of sheets is reduced that a physical documents would have if printed in accordance with the PPML document.
Furthermore, for instance, during modification, a command recognisable by the printer, e.g. a PCL (Printer Command Language) command, may be added to the print stream in response to which the printer will continue printing on a backside of a sheet after having printed the front side of the sheet.
Also in the document code, the size of the sheet on which the document is to be printed may be adjusted. For example, the document code may contain, in pseudo-code, a command ‘pagesize=A4’, and during the modifying operation this may be changed into ‘pagesize=A5’
A mail piece assembler 400 is positioned in a processing direction of the at least one document downstream of the printer 200. The mail piece assembler 400 can receive the printed document, as schematically indicated with arrows 221-223. The mail piece assembler 400 can assemble the printed document, and optionally additional documents into a mail item, as will be explained below in more detail. A franking unit 300 is positioned downstream of the mail piece assembler, for franking the mail item with a franking value. Upstream of the printer 200, the system may further include a document generator for generating the document data and providing the document data to the printer 200.
The mail piece assembler 400 includes a number of successive processing stations 1-7. The processing stations are in a processing direction of the documents, and in that order: a supply station 1 for supplying separates sheets, a collecting station 2, a first and second supplement supply station 3 and 4, a folding station 5, a transport unit 6 and an inserter station 7.
The mechanical components of the shown assembler 400 may for example be implemented as stations which substantially resemble the construction of stations sold by the applicant under the name “SI-92”. It should, however, be noted that many other arrangements of processing stations can be used, and the invention is not limited to the shown example. In particular, depending on the desired end product, processing stations may be added or removed. Furthermore, the position of one or more of the processing stations in the processing direction may be changed. For example, the supplement supply stations 3 and 4 may be replaced by another type of station. It is also possible to replace the supply station 1 and the collecting station 2 with a single station or to make other adjustments to the arrangement.
In the example, the supply station 1 is constructed to supply separate sheets to the collecting station 2. In the collecting station 2, the sheets received from the supply station 1 may optionally be collected to stacks of sheets, each of which, for example, may form a set of documents to be formed into a single mail piece. The sheets or stacks of sheets can subsequently be passed through supplement-supply stations 3 and 4, during which, if desired, supplements are added to the sheets or the stacks of sheets. In the folding station the sheets and optional supplements are folded. When the sheets and supplements have been collected in a stack, the sheets and supplements are folded together, i.e. as a stack. The transport unit 6 includes a transport track 9, to which the inserter-station 7, the folding station 5, the supplement-supply stations 3, 4 and the collecting station 2 are mounted.
The example shown in
The station control units 13-18 are further mutually connected by means of a module communication connection. Via which the station control units 13-18 next to each other can exchange information, for example that a sheet is presented by a station to a station further down in the processing direction.
The control unit 10 includes a processing control unit 120, which controls the processing of documents by the printer 200, mail piece assembler 400 and franking unit 300 based on a processing instruction received at a data input 11 of the central control unit 10. The central control unit 10 further includes a document pre-processing unit 100, connected to the data input 11, the printer 200 And the franking unit 300. The pre-processing unit 100 is able to pre-process the documents to be printed. In this example, the control unit is connected to the printer, the mail piece assembler and the franking unit. However, the printer and/or the franking unit may also be stand-alone with respect to the mail piece assembler and not be controlled by the control unit 10.
Referring to
The document data define at least a content of a document to be printed. The document data may for example contain instructions readably by the printer 200, which instruction define the content and the make-up or lay-out of a document. Such document data may also be referred to as a print stream For example, the document data may be generated by a computer system on which a word processor is running, and generated by the word processor in response to a print signal provided by a user of the computer system. The computing unit 101 can receive the document data and compute a number por of sheets a physical document would include if printed in accordance with the received document data. The data modifying unit 102 is able to modify the received document data in order to reduce the computed number of sheets. The data modifying unit 102 further computes a number pmod of sheets a physical document would include if printed in accordance with the modified document data, for example in a manner as has been explained before with respect to the amount of sheets por in the original document data.
Both the computing unit 101 and the data modifying unit 102 are connected to a comparator 104 via a selector 107. A selector input 1070 of the selector 107 is connected to an output 1011 of the computing unit 101. At this output of the computing unit 101, in operation, data representing the number por is presented. Another selector input 1071 is connected to an output 1021 of the dates modifying unit 102 at which in operation data representing the number pmod is presented. The selector 107 has a selector output 1072 which is connected to a selected selector input depending on the state of the selector 107. Initially, in a first state of the selector 107, the selector input 1070 connected to the computing unit 101 is selected and in a second state the selector input 1071 connected to the computing unit 102 is selected. Thus, depending on the state of the selector 107, either the number por or the number pmod is presented at the selector output 1071.
The selector output 1072 is connected to a data input 1040 of the comparator 104. At the data input 1040, depending on the state of the selector 107, either the number por or the number pmod is presented to the comparator 104. A threshold input 1041 of the comparator 104 is connected to an output 1031 of a threshold selector 103. At the threshold input 1041, a threshold value n determined by the threshold selector 103 is presented.
In this example, an input 1030 of the threshold selector 103 is connected to the franking unit 300 and receives franking information from the franking unit 300. The threshold selector 103 stores the received franking information in a memory 111 as threshold information. Based on the threshold information, the threshold selector 103 determines a threshold value n. The threshold selector 103 may for example store in the memory 111 an upper limit of a desired franking class, which has been sent by the franking unit 300. From the stored upper limit, the threshold selector 103 may then determine the threshold value n of the number of sheets, for example as described before with reference to
The comparator 104 compares the number por or pmod presented at the data input 1040 with the threshold value n presented at the threshold input 1041. When the number presented at the data input 1040 exceeds the threshold value n, the comparator 104 outputs a modify signal which activates the data modifying unit 102 to modify the document data, as will be explained below. In case the number is lower or equal to the threshold value n, the comparator 104 outputs a ready signal, which results in either the received document data or the modified document data being outputted at an output 109 of the pre-processing unit 10.
The output of the comparator 104 is connected to a counter 105. In response to the modify signal, the counter value of the counter 105 is incremented. In this example, the counter value is an integer which is incremented by one each time the comparator 104 outputs the modify signal. In case the comparator 104 outputs the ready signal, the counter is set to its initial value, e.g. zero.
An output of the counter 105 is connected to a selector control input 1073 of the selector 107. When the value of counter 105 has its initial value, at the selector control input 1073 a control signal is presented, which puts the selector 107 in its first state. Thus, if the counter 105 has its initial value, e.g. zero, the number por is outputted at the selector 107 and compared with the threshold value n. When the value of the counter 105 differs from the initial value, e.g. the value is higher than zero, a control signal is presented by the counter 105 at the selector control input 1073 which brings the selector 107 in its second state. Thus, if the counter 105 does not have its initial value, the number pmod is outputted at the selector output and compared with the threshold value n.
The counter 105 is further connected to a modification memory 106, in which a list 35 of possible types of modifications is stored. These types of modifications (represented by ‘opt 1’, ‘opt 2’ and ‘opt 3’ in
After the modifying operation, the data modifying unit 102 determines the number of pages pmod a document would have if printed in accordance with the modified document data, and outputs data which represents the number pmod to the selector 107. Via the selector 107, the number pmod is presented to the input 1040 of the comparator 104 and compared with the threshold number n. When the number pmod is below the threshold number n, the comparator outputs the ready signal to the counter 105.
The output 1042 of the comparator 104 is further connected to a control input 1083 of the output selector 108. The output selector 108 has a first input 1080 connected to the input of the pre-processing unit 100. A second input 1081 of the output selector 108 is connected to a data output 1022 of the data modifying unit 102. At the data output 1022, the modified document data is presented.
When the comparator 104 determines that the number inputted at the data input of the comparator 104 is below the threshold value n, the comparator 104 further outputs a print stream output signal to the output selector 108. In response to the print stream output signal, the output selector 108 selects the type of print stream data to be outputted at a pre-pre-processor output 109, while as long as the comparator 104 does not output the print stream output signal, the output selector 108 inhibits outputting of print stream data by the pre-processing unit 102. In this example, the output selector selects the input 1080 connected to the data input 11 of the central control unit 10 when the number por is below the threshold value n. When the number pmod is below the threshold value n, the output selector 108 selects the input 1091 connected to the data modifying unit 102.
The pre-processing unit 100 further has a pre-processor output 109. The pre-processor output 109 is connected to an output 1082 of the output selector 108. At the pre-processor output 109 the print stream data selected by the output selector 108 is outputted. Thus, when the number por is below the threshold value n, the original document data is outputted by the pre-processing unit 100. When the number por is above the threshold value n, the modified document data is outputted if the number pmod is below the threshold value n.
In the example of
For example, based on the calculated number por of sheets (and optionally additional information, such as weight of supplemental documents, envelop size etc.) the tariff determining unit 1033 may calculate the weight of the physical document and the postal item, and compare this with tariff information stored in the memory 111. For example, in the memory 111 class definitions ‘class 1’, ‘class 2’, ‘class 3’ and ‘class 4’ may be stored, which define the weight range for each separate tariff class. The tariff determining unit 1033 is connected to a tariff selecting unit 1034.
The tariff selecting unit 1034 is arranged to select a desired tariff class from the memory 111 based on a selection criterion. The selection criterion may for instance be based on at least a lower limit of a parameter range of mail items classified in the current postal tariff class and on an upper limit of a parameter range, such as a range of weights or sizes, of mail items classified in the desired postal class. For example, in case the value of the relevant property of the postal item, e.g. the calculated weight, is close to the lower limit of the current tariff class, the tariff selector 1034 can select a tariff class of which the upper limit is the lower limit of the current tariff class. For example, in case the calculated weight is 60 g, and the tariff class ‘class 2’ is applicable in case the weight is in the range between 50 g and 100 g, the tariff selector 1034 could select tariff class ‘class 1’ with weight in the range between 0 g and 50 g, and set the threshold value n to the amount of sheets that has a total weight of 50 g.
In this example, the tariff determining unit 1033 transmits data to the tariff selecting unit 1034 which represents the determined current tariff class. In response to this data, the tariff selecting unit 1034 determines if the current tariff class is to be selected as desired tariff class or that another tariff class stored in the memory 111 is to be selected. However, the tariff selecting unit 1034 may be implemented in any manner suitable. For example, the tariff selecting unit 1034 may be implemented to receive from the tariff determining unit the current tariff class for each document in a batch of documents, and determine which tariff class applies as an average, and select this tariff class or select the tariff class in any other suitable manner. For example, the memory 111 may contain information about the costs of franking for at least two of the postal tariff classes; and the tariff selecting unit 1034 may be arranged to select a desired postal tariff class which has lower franking cost than the current franking class.
The tariff selecting unit 1034 may further be arranged to receive a desired postal tariff class, e.g. inputted by an operator at a man-machine interface and to select between the current postal tariff class and the desired postal tariff class using a selection criterion based on the computed number of sheets. For example, the tariff selecting unit may select a desired tariff class for a number of documents, e.g. a batch of document. The tariff selecting unit 1034 may then be selected to determine the difference between an upper limit of the desired postal tariff class and the calculated property of the postal item for each document in the batch. In case this difference is too large for a certain document, the tariff selecting unit 1034 may be arranged to select the current tariff class, and set the threshold value n accordingly.
In the shown example, at the threshold input of the comparator 104, a threshold value n representing a certain number of sheets is presented. However, the comparator may include a converter for converting a parameter value of at least the desired postal tariff classes to a threshold number of sheets. For example, at the threshold input 1041 of the comparator 104 data representing a weight, e.g. the upper limit of a postal class may be presented, and the comparator may be arranged to convert the weight into a number of sheets.
In the examples, the threshold value n is determined from threshold information representing tariff information of franking costs. However, the threshold information may also be other information, such as an upper limit of the amount of sheets the mail piece assembler is able to process. For instance, the threshold may be based on an upper limit of the amount of sheets an inserter station is able to process or the maximum amount of sheets that can be folded by a folding station.
The document data may include information about preferred types of sheet-reducing modification. The information may include at least one indication of at least one part of the document content to be preferentially modified or removed in response to the modify signal. For instance, in case the document data is in a markup language, such as PPML, the parts of the contents that may be removed may be placed between markers. For example, using pseudo-code, the document data may contain a marker <removable section> which indicates the start of the removable content and a marker </removable section> which indicates the end of the removable content. The content, for example the text, between these two markers may then be removed in order to reduce the amount of sheets.
In the example of
After outputting at the pre-processor output 109, the original or modified document data outputted in step 44 may be used to print physical documents in accordance with the document data. For instance in
The invention is not limited to implementation in the disclosed examples of devices, but can likewise be applied in other devices. In particular, the invention is not limited to physical devices or units implemented in non-programmable hardware but can also be applied in programmable devices or units able to perform the desired device functions by operating in accordance with suitable program code. Furthermore, the devices may be physically distributed over a number of apparatuses, while logically regarded as a single device. For example, the central control unit 10 of the example of
The invention may also be implemented in a computer program for running on a computer system, at least including code portions for performing steps of a method according to the invention when run on a programmable apparatus, such as computer system or enabling a programmable apparatus to perform functions of a device or system according to the invention. Such a computer program may be provided on a data carrier, such as a CD-rom or diskette, stored with data loadable in a memory of a computer system, the data representing the computer program. The data carrier may further be a data connection, such as a telephone cable or a wireless connection transmitting signals representing a computer program according to the invention.
In the foregoing specification, the invention has been described with reference to specific examples of embodiments of the invention. However, various modifications and changes may be made therein. For example, information about postal tariff class applicable to the printed document may be transmitted to the franking machine or used to generate a mail manifest. The received and/or modified document data may contain an indication about which additional documents are to be assembled together with the printed document to a mail item. The total number of sheets of the document and additional documents (e.g. the total number of sheets in a mail item) may then be calculated and compared with the threshold value. However other changes or modifications are also possible. The specifications and drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense.
Number | Date | Country | Kind |
---|---|---|---|
05076642.7 | Jul 2005 | EP | regional |