1. Field of the Invention
The present invention relates to an information processing apparatus which processes print data containing a plurality of contents, a display control method in the information processing apparatus, and a storage medium storing a program thereof.
2. Description of the Related Art
There has been conventionally known a technique of setting printing permission information for contents such as image data. The printing permission information permits execution of print processing to protect the use of an image for which the content data creator or the like has the copyright of its content data, and the use of pay digital contents. There is known a technique of determining, based on permission information of print processing or the like for such content data, whether execution of processing for the content data is inhibited, and when it is determined that execution of processing is inhibited, notifying the user of a message to this effect (Japanese Patent Laid-Open No. 2004-282384).
However, according to the technique in Japanese Patent Laid-Open No. 2004-282384, the user knows that printing is inhibited only after he issues a printing instruction, and whether printing is permitted cannot be determined before issuing a printing instruction. Also, this technique does not consider printing of print data containing a plurality of contents. When handling such print data, printing may start if, for example, printing of the contents of the first page is permitted.
An aspect of the present invention is to eliminate the above-mentioned problems with the conventional technology. The present invention provides an information processing apparatus which can notify the user whether printing is permitted before issuing a printing instruction when printing print data containing a plurality of contents, thereby improving user friendliness, a display control method in the information processing apparatus, and a storage medium storing a program thereof.
The present invention in its first aspect provides an information processing apparatus which processes print data to be printed by a printing apparatus, comprising: an input unit configured to input print data containing a plurality of contents; a determination unit configured to determine whether printing of each of the plurality of contents contained in the print data input by the input unit is permitted; and a notification unit configured to notify a user of a result of a determination by the determination unit before the print data is instructed to print.
The present invention in its second aspect provides a display control method executed in an information processing apparatus which processes print data to be printed by a printing apparatus, comprising the steps of: inputting print data containing a plurality of contents; determining whether printing of each of the plurality of contents contained in the input print data is permitted; and notifying a user of a result of the determination before an instruction to print the print data.
The present invention in its third aspect provides a non-transitory computer-readable storage medium storing a program for causing a computer to input print data containing a plurality of contents, determine whether printing of each of the plurality of contents contained in the input print data is permitted, and notify a user of a result of the determination before an instruction to print the print data.
According to the present invention, information about whether printing of print data containing a plurality of contents is permitted can be provided before the start of printing, thereby improving user friendliness.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Preferred embodiments of the present invention will now be described hereinafter in detail, with reference to the accompanying drawings. It is to be understood that the following embodiments are not intended to limit the claims of the present invention, and that not all of the combinations of the aspects that are described according to the following embodiments are necessarily required with respect to the means to solve the problems according to the present invention. Note that the same reference numerals denote the same parts, and a repetitive description thereof will be omitted.
The CPU 102 reads out software loaded into the RAM 104 and executes it to control the respective units in the PC main body 101 and implement the function of the readout software. The HDD 103 stores application software, image data (content file) serving as contents to be used by the application software, a content database, and the like. The HDD 103 also stores an operating system (OS) for the PC 100 and a device driver for the printer 112. Each of software and data in the HDD 103 is stored in the form of a file. The HDD 103 allows creating a folder in it, and the folder can contain a file or another folder. In the HDD 103, therefore, a folder-based hierarchical structure is built.
Application software stored in the HDD 103 is loaded into the RAM 104. A work area used when the CPU 102 executes each software is also ensured in the RAM 104. The display controller 105 controls the liquid crystal display 109 to display a text and image on the liquid crystal display 109. The keyboard/pointing device controller 106 accepts an input from the user via the keyboard 110 or pointing device 111. The system bus 108 connects the respective units in the PC main body 101 to each other, and transfers various data.
In the first embodiment, the PC 100 includes the liquid crystal display 109 as a display device, but another type of display device is also available, including a cathode ray tube display or plasma display. The PC 100 includes the keyboard 110 and pointing device 111 as input devices, but another type of input device is also available, including a touch panel or trackball. The connection interface between the PC 100 and the printer 112 is a USB interface, but another communication technique such as IEEE802.11 or 100 Base TX is also usable.
In the above arrangement, to make the PC 100 function as the information processing apparatus in the first embodiment, application software, a content file, and a content database need to be installed in the HDD 103. It suffices to execute this installation once.
The user input control unit 203 acquires an input from the user via the keyboard 110 or pointing device 111. The file input/output unit 204 saves, as a document file 220 in the HDD 103, a document which has been created by the user using the printing application 201 and is used for printing. Also, the file input/output unit 204 loads the document file 220 saved in the HDD 103. In the embodiment, the document need not always contain a text, and includes one formed from, for example, only images. Further, the file input/output unit 204 loads, from a content file storage unit 221 in the HDD 103, image data used when the user creates a document using the printing application 201. The content management unit 205 makes an inquiry to a content database 222 built in the HDD 103, and updates data. The display control unit 207 controls the liquid crystal display 109 to display the operation screen of the printing application 201. The printing control unit 206 controls the printer 112 to print image data designated by the user via the printing application 201. The application control unit 202 comprehensively controls the operations of these units.
The printing permission remaining count 303 and printing permission time limit 304 are printing permission information of image data serving as a content. As for image data having a content ID “0001” in
When the user clicks the open button 502 with the pointing device 111, the printing application 201 displays a “open file” dialog screen (not shown). The user can select, in the dialog screen using the keyboard 110 and pointing device 111, the document file 220 saved in advance in the HDD 103. In response to this operation, the printing application 201 loads the selected document file 220, and displays its contents as a page image 511 in the document editing area 510.
When the user clicks the add button 503, the printing application 201 displays a “select image” dialog screen (not shown). The user can select, as a content in the dialog screen, image data registered in the content database 222 of the HDD 103. In response to this operation, the printing application 201 reads out image data corresponding to the selected content from the content file storage unit 221, and lays it out in the page image 511. If the user clicks the delete button 504 after selecting an image in the page image 511, the printing application 201 deletes the selected image data from the page image 511.
When the user clicks the print button 505, the printing application 201 performs print processing for a document displayed in the page image 511. At this time, the document management unit 208 specifies all image data in the document, and the content management unit 205 acquires printing permission information of the specified image data from the content database 222. Based on the acquired printing permission information, the printing permission determination unit 209 determines whether the document contains printing-inhibited (printing-disabled) image data. Only when the document does not contain printing-disabled image data, the printing control unit 206 performs print processing for the document, and the printer 112 prints the document. When the document is printed, the content management unit 205 updates printing permission information in the content database 222 for each specified image data. For example, the printing permission remaining count 303 is decremented by the number of contents used in the document.
When the user clicks the save button 506, the printing application 201 displays a “save in file” dialog screen (not shown). The user can designate a save location and file name in the folder hierarchy of the HDD 103. In response to this operation, the printing application 201 records content information of the document displayed in the page image 511 as the document file 220 having the designated file name at the designated save location. When the user clicks the end button 507, the printing application 201 closes the screen 501, ending the processing operation.
When the display processing shown in
In this case, when the printing permission remaining count in the acquired printing permission information becomes smaller than the use count of the image data in the document, it is determined that printing is inhibited. Also when the printing permission time limit in the acquired printing permission information is a date earlier than the current date, it is determined that printing is inhibited. In other cases, it is determined that printing is permitted. For example, the content database of
If the printing permission determination unit 209 determines in step S604 that printing is inhibited, the document management unit 208 acquires the position of the selected image data in the document. When the same image data is used at a plurality of portions in the document, all the positions are acquired (step S605). Further, the document management unit 208 generates mark information (warning mark) to be displayed identifiably at the acquired position on a layout in the layout display (step S606).
In step S607, the document management unit 208 determines whether the processes in steps S602 to S606 have been done for all the image data in the document. If image data remains unprocessed, the process returns to step S602. In this case, in step S602, the document management unit 208 selects one of unprocessed image data. If all the image data have been processed, the process advances to step S608.
In step S608, the display control unit 207 acquires layout information and image data in the document from the document management unit 208 and file input/output unit 204, generates the preview image of the document, and displays it in the page image 511 on the editing screen 510. Then, the document management unit 208 determines whether the document contains one or more image data for which it has been determined in step S604 that printing is inhibited (step S609). If there is no image data for which it has been determined that printing is inhibited, the process ends (step S611). If there is one or more image data for which it has been determined that printing is inhibited, the display control unit 207 displays in step S610 a warning mark in the page image 511 based on the mark information generated by the document management unit 208 in step S606 to indicate that printing of the image data is inhibited. After that, a series of processes for displaying document contents in the page image 511 ends (step S611).
Note that when the same image data 401 is used by a plurality of number of times as in the document file 420 shown in
In the above processing, assuming that the current date is 2009/12/1, the printing application 201 displays the document contents in the page image 511 of
In the first embodiment, the user only sees the page image 511 to know printing-disabled image data (content) among a plurality of image data (contents) in a document (print data) before issuing an instruction to print the document. When printing of the document is inhibited upon pressing the print button 505, the user can easily specify the printing-disabled image data, delete it from the document by pressing the delete button 504, and change the document to a printing-permitted document. Since the warning mark 512 is displayed in the page image 511, the user can easily know, without clicking the print button 505, that printing of the document is inhibited, and image data which should be deleted to permit printing. Note that
In the above description, the content database 222 is built in the HDD 103, but may reside in another information processing apparatus capable of communicating with the PC 100 via a network (not shown). Also in the above description, the PC 100 and printer 112 are separated from each other. However, a single apparatus may have both the function explained with reference to
The page image 511 displays the warning mark 512 as a mark indicating that printing of image data is inhibited. Instead, a mark indicating the reason why printing of the image data is inhibited may be displayed. For example, it is determined that printing of the image data 401 is inhibited in the document file 420 shown in
In processing triggered by pressing the print button 505, an entire document during creation is printed by one copy. However, the printing application 201 allows setting one or more print copies of the document. In this case, when determining in step S604 whether printing of each image data is permitted, if the printing permission remaining count becomes smaller than a numerical value obtained by multiplying the use count of the image data in the document by the copy count, it is determined that printing is inhibited.
In the first embodiment, a mark is displayed for printing-disabled image data out of a plurality of printing permission information-attached image data used in a document, allowing the user to easily know the printing-disabled image data. However, when a document is made up of many pages, the user may not be able to visually recognize the entire document at once. In this case, the user has to search the document for a mark indicating that printing is inhibited, in order to create a printing-permitted document. From this, the second embodiment will explain an example in which the position of printing-disabled image data is displayed quickly even for a document made up of many pages.
The hardware configuration of an information processing apparatus and the software configuration of a printing application in the second embodiment are the same as those in
When the user clicks the page add button 808 with a pointing device 111, the printing application 201 adds a new blank page to a document during creation, and displays the contents of the blank page as the page image 821. The printing application 201 displays, in the page list 810, a list of the reduced images (thumbnail images) of respective pages in the document during creation. When the number of pages in the document is large and the page list 810 cannot display all the pages, a scroll bar 811 becomes valid, and the user can operate the scroll bar 811 to change the range of pages displayed in the page list 810. When the user selects an arbitrary page in the page list with the pointing device 111, the application 201 highlights the selected page, like a page 812 in
In step S908, a document management unit 208 determines whether the document contains one or more image data for which it has been determined in step S904 that printing is inhibited. If it is determined that there is one or more image data for which it has been determined that printing is inhibited, the process advances to step S909; if NO, to step S910.
In step S909, the document management unit 208 specifies, as the position of printing-disabled image data, a position closest to the start of the document out of positions acquired in step S905. In step S910, the document management unit 208 specifies the start position of the document.
Then, a display control unit 207 changes a page containing the position specified in step S909 or S910 to a selected state in the page list 810, and displays the page contents in the page image 821 (step S911). The document management unit 208 determines whether the document contains one or more image data for which it has been determined in step S904 that printing is inhibited (step S912). If there is no image data for which it has been determined that printing is inhibited, the process ends (step S914). If it is determined that there is one or more image data for which it has been determined that printing is inhibited, the display control unit 207 displays a mark in the page list 810 and page image 821 based on the mark information generated in step S806 to indicate that printing of the image data is inhibited (step S913). Thereafter, a series of processes for displaying document contents in the page image 821 ends (step S914).
Assuming that the current date is 2009/12/1, the document file 710 shown in
In the above description, the printing application 201 executes the processing of
Even if a plurality of image data each having printing permission information are distributed on a plurality of pages in a document, the user can easily know printing-disabled image data out of a plurality of image data by only seeing the screen 801 before issuing a printing instruction. The processing of the printing application 201 shown in
Even in the second embodiment, the content database 222 may reside in another information processing apparatus capable of communicating with the PC 100 via a network (not shown). The content may be one other than image data. A single apparatus may have both the function explained with reference to
The first and second embodiments have explained an information processing apparatus which helps the user to create a document by presenting the position of printing-disabled image data to the user in an easy-to-understand manner in the printing application 201. However, unless the user executes the printing application 201 and opens a document file, he cannot know whether printing of the document file is permitted, and even if printing is permitted, how many times printing is permitted. To solve this, the third embodiment will explain an example in which a PC 100 displays printing permission information about a saved document file before the user executes a printing application 201.
The hardware configuration of an information processing apparatus in the third embodiment is the same as that in
The file list application 1051 displays a list of files stored in a specific folder in an HDD 103 on a screen 1301 of a type shown in
The user input control unit 1053 acquires an input from the user via a keyboard 110 or pointing device 111. The file list control unit 1052 controls respective units (to be described later) in accordance with an input from the user, and performs processing requested by him for a file (for example, activating a predetermined application to open a file). The file search unit 1054 searches the HDD 103 for a file contained in a folder designated as the display target of the file list application 1051.
For each type of file stored in the HDD 103, the file type management unit 1055 manages a corresponding processing operation and corresponding preview generation module. In the third embodiment, a part after a period closest to the end of the name of a file stored in the HDD 103 represents the type of the file. When installing an arbitrary application in the HDD 103, the application and a corresponding preview generation module are registered for the type of a file associated with the application (for example, a document file to be saved by the application).
Assume that a document file (print data) saved by the printing application 201 in the third embodiment has “PAD” at the end following a period, like “AAA.PAD”. The file type management unit 1055 registers the character string “PAD” indicating the file type and the printing application 201 in association with each other. When the user selects a file “AAA.PAD” displayed on the screen of the file list application 1051, the file type management unit 1055 specifies the printing application 201 as software associated with this file type. Then, the file list control unit 1052 activates the printing application 201, and instructs it to open “AAA.PAD” as an activation option. Upon activation, the printing application 201 opens the document file “AAA.PAD” in accordance with the instruction, and displays the document in a creatable state on the screen. The file type management unit 1055 registers the character string “PAD” indicating the file type, and the preview generation module 1031 in association with each other.
The preview acquisition unit 1056 acquires the preview image of each file to be displayed on the screen of the file list application 1051. If the specified folder contains the file “AAA.PAD”, the file type management unit 1055 specifies the preview generation module 1031 associated with this file type. The preview acquisition unit 1056 activates the preview generation module 1031, transfers location & file name information of the file “AAA.PAD” to the preview generation module 1031, and causes the preview generation module 1031 to generate a preview image. The display control unit 1057 displays the screen shown in
Simultaneously when installing the printing application 201 in the HDD 103, the preview generation module 1031 is installed in the HDD 103, and registered in the file type management unit 1055. For a document file created by the printing application 201, the preview generation module 1031 generates a preview image to be displayed by the file list application 1051, and transfers it to the file list application 1051. The preview generation module 1031 includes a preview generation control unit 1032, file input/output unit 1033, content management unit 1034, and preview generation unit 1035. Of these units, the preview generation control unit 1032 includes a document management unit 1036 and permission information generation unit 1037. The functions and operations of these units will be described later with reference to
As shown in
When the folder “C:¥DOCS¥” is selected in the folder display portion 1302 of
After activating the preview generation module 1031, the file input/output unit 1033 loads the document file 220 based on the transferred folder name and file name (step S1401). The document file 220 at this time is the “AAA.PAD” file 1200. The document management unit 1036 specifies image data used in the document by referring to the content ID 1105 contained in the image information 1104 in the loaded document file 220 (step S1402). By the processes of the content management unit 1034, document management unit 1036, and permission information generation unit 1037, the printing permission remaining count and printing permission time limit of the entire document are calculated (step S1403). Details of the calculation processing will be described with reference to
Based on the printing permission remaining count and printing permission time limit calculated in step S1403, the permission information generation unit 1037 determines whether printing of the entire document file 220 is permitted at present (example of the second determination). More specifically, if the printing permission remaining count of the entire document file 220 is one or more, and the current date has not passed the printing permission time limit of the entire document file 220, the permission information generation unit 1037 determines that printing is permitted (step S1404). If the permission information generation unit 1037 determines that printing is permitted, the process advances to step S1405; if it determines that printing is inhibited, to step S1407.
In step S1405, the document management unit 1036 specifies image data contained in the first page of the document, and acquires the position & size value 1106 contained in the image information 1104 loaded from the document file 220. In addition, the file input/output unit 1033 acquires image data from the content file storage unit 221. Based on these pieces of information, the preview generation unit 1035 generates the reduced image (thumbnail) of the first page of the document. Then, the permission information generation unit 1037 calculates a printing permission remaining period based on the current date and the printing permission time limit calculated in step S1403. The preview generation unit 1035 composites the printing permission remaining period as text information with the thumbnail together with the calculated printing permission remaining count (step S1406). If the process advances to step S1407, the preview generation unit 1035 generates an x-mark image as an image indicating inhibition of printing.
In either case, the preview generation unit 1035 transfers the generated image to the preview acquisition unit 1056 of the file list application 1051 (step S1408), ending the preview generation processing (step S1409). Thereafter, the same processing is also executed for the remaining files “BBB.PAD” and “CCC.PAD” present in the same folder.
The processing sequence of calculating a printing permission remaining count and printing permission time limit for a specific range in a document will be explained with reference to
Then, the document management unit 1036 selects one type of image data contained in the document range designated by the invoking source of the processing in
Then, the permission information generation unit 1037 compares the value of the variable count with a value obtained by dividing the printing permission remaining count in the printing permission information acquired in step S1433 by a count at which the same image is contained in the document range designated by the invoking source (step S1434). If the value of the variable count is larger, the process advances to step S1435; if it is equal or smaller, to step S1436. In step S1435, the permission information generation unit 1037 updates the value of the variable count to the value obtained by dividing the printing permission remaining count acquired in step S1433 by a count at which the same image is contained in the document range designated by the invoking source. Similarly, the permission information generation unit 1037 compares the value of the variable cutoff with the printing permission time limit in the printing permission information acquired in step S1433 (step S1436). If the value of the variable cutoff indicates a later date, the process advances to step S1437; if NO, to step S1438. In step S1437, the permission information generation unit 1037 updates the value of the variable cutoff to the value of the printing permission time limit acquired in step S1433.
In step S1438, the document management unit 1036 determines whether the processes in steps S1432 to S1437 have ended for all image data contained in the document range designated by the invoking source of the processing in
If the processes in steps S1432 to S1437 have ended for all image data, the permission information generation unit 1037 sets the value of the variable count as a printing permission remaining count and the date indicated by the value of the variable cutoff as a printing permission time limit, and returns the calculation results to the invoking source (step S1439). After that, the processing of calculating a printing permission remaining count and printing permission time limit for a specific range in a document ends (step S1440).
Assume that the current date is 2009/12/1. By performing the above-described processing while the content database holds values shown in
The document file 1210 “BBB.PAD” uses the image data 401 twice. Hence, the printing permission count when the image data 401 is selected in step S1432 is “5” as a result of dividing, by the use count “2”, the value “10” recorded in the content database 222 for the content ID “0001”. However, the printing permission remaining count of the image data 405 is a smaller value “4”, so the printing permission count of the entire document is “4”. The printing permission time limit calculation result is 2010/3/31. The preview generation unit 1035 composites these pieces of information, and displays pieces of printing permission information 1311 and 1312, as shown in
In contrast, as for the document file 710 “CCC.PAD, the printing permission remaining count of the image data 402 is 0, and the printing permission time limit of the image data 406 has already passed. It is therefore determined in step S1404 of
By this arrangement, a plurality of preview displays can notify the user of printing permission information about a document file (print data) before issuing a printing instruction. By only seeing the screen 1301 of the file list application 1051, the user can easily know whether printing of a plurality of document files 220 is permitted. Also, the user can easily know the remaining printing count and period by which he can print the document file 220. To obtain these pieces of information, the user need neither activate the printing application 201 by an operation of, for example, selecting the document file 220 from the screen 1301, nor check the screen of the application. In this way, the user can know printing permission information of the created document file 220 by a simple operation. This can reduce the risk that, for example, the printing permission time limit of the document file 220 has passed before the user notices it, and printing of the document file 220 is inhibited. When a plurality of documents use the same image data, the user can know by a simple operation that after printing one document, the printing permission counts of the remaining documents also decrease. This can reduce the risk that the printing permission remaining count of a document runs out before the user notices it.
Note that the OS may implement some or all of the above-described functions. In the third embodiment, the file list application 1051 and preview generation module 1031 are separate units, but may be integrated.
In the third embodiment, printing permission information of a document is composited with the thumbnail of the first page of the document and displayed. However, an icon image indicating not document contents but only the type may be composited and displayed. Only printing permission information may be displayed together with a file name without compositing it with an image.
In the third embodiment, a combination of the printing permission remaining count and printing permission remaining period is displayed as printing permission information of a document, but either one may be displayed. It is also possible to display only either the printing permission remaining count or remaining period, and switch to and display the other every predetermined time or every time the user performs a predetermined operation to the file list application 1051. Instead of the printing permission remaining period, the printing permission time limit may be displayed. In the third embodiment, printing permission information such as the printing permission remaining count 1307 and printing permission time limit 1308 in
Even in the third embodiment, the content database 222 may reside in another information processing apparatus capable of communicating with the PC 100 via a computer network (not shown). A single apparatus may have both the function explained with reference to
In the third embodiment, the preview generation module 1031 composites printing permission information about an entire document file with the preview images 1305 and 1309. As for a document file, printing of which is inhibited entirely, the x-mark 1313 is generated and displayed as display information. This allows the user to easily know printing permission information about each document file present in a target folder. However, the user can know only the fact that printing is inhibited for a printing-disabled document file. The fourth embodiment will explain an example in which when printing of some image data used in a document file is still permitted, printing permission information about a portion remaining in the printable state is displayed to the user.
The hardware configuration of an information processing apparatus in the fourth embodiment is the same as that in
In step S1704, based on the printing permission remaining count and printing permission time limit calculated in step S1703, a permission information generation unit 1037 determines whether printing of an entire document file 220 is permitted at present. A concrete determination method is the same as step S1404 of
In step S1705, a document management unit 1036, file input/output unit 1033, and preview generation unit 1035 cooperate with each other to generate the thumbnail of the first page of the document file 220 by the same processing as step S1405 of
If the permission information generation unit 1037 determines in step S1704 that printing is inhibited, a content management unit 1034, the document management unit 1036, and the permission information generation unit 1037 calculate printing permission information about a printing-permitted page based on the current state of the content database 222 (step S1707). More specifically, assuming that the printing application 201 selects and prints only currently printing-permitted pages, the printing permission remaining count, the printing permission time limit, and the number of a page closest to the start of the document out of currently printing-permitted pages are calculated. Details of the calculation processing will be described with reference to
Based on the result of the calculation processing in step S1707, the permission information generation unit 1037 determines whether there are one or more currently printing-permitted pages (step S1708). If a valid page number is acquired as the number of a page closest to the start of the document out of printing-permitted pages as the result of the processing in step S1707, the permission information generation unit 1037 determines that there is a printing-permitted page. If there is a printing-permitted page, the process advances to step S1709; if NO, to step S1713.
In step S1709, the document management unit 1036, file input/output unit 1033, and preview generation unit 1035 cooperate with each other to generate the thumbnail image of the page closest to the start of the document out of printing-permitted pages acquired in step S1707. The preview generation unit 1035 composites, with the thumbnail image, the second warning mark 1607 shown in
After the processing in step S1706 or S1711, the preview generation unit 1035 composites, with the thumbnail image, information about the printing permission remaining count and remaining period based on the information of the remaining count and time limit to be displayed to the user that has been recorded in the RAM 104 (step S1712).
If printing of all the pages of the document file is permitted, information of the printing permission remaining count and printing permission remaining period for the entire document file that has been recorded by the processing of step S1706 is composited with the thumbnail image of the first page of the document that has been generated in step S1705. As a result, a preview image similar to that in step S1406 in the third embodiment is generated. If printing of only some pages of the document file is permitted, information of the printing permission remaining count and printing permission remaining period for printing-permitted pages that has been recorded in step S1711 is composited with the thumbnail image composited in step S1710.
If the permission information generation unit 1037 determines in step S1708 that there is no printing-permitted page, the preview generation unit 1035 generates an x-mark image as an image indicating inhibition of printing, similar to step S1407 shown in
After that, the preview generation unit 1035 returns the image composited in step S1712 or generated in step S1713 to the file list application 1051 (step S1714), and the processing of the preview generation module 1031 ends (step S1715).
Then, the document management unit 1036 selects the first page of the document file as a subsequent processing target (step S1802). For the selected page, the content management unit 1034, document management unit 1036, and permission information generation unit 1037 execute processing shown in
In step S1805, the permission information generation unit 1037 determines whether the value of the variable count2 is larger than the printing permission remaining count calculated in step S1803. If the value of the variable count2 is larger, the permission information generation unit 1037 updates the value of the variable count2 to the printing permission remaining count calculated in step S1803 (step S1806). If the value of the variable count2 is equal or smaller, the process advances to step S1807 without performing update processing. In step S1807, the permission information generation unit 1037 compares the printing permission time limit calculated in step S1803 with the value of the variable cutoff2. If the value of the variable cutoff2 indicates a later date, the permission information generation unit 1037 updates the value of the variable cutoff2 to the value of the printing permission time limit calculated in step S1803 (step S1808). If NO in step S1807, the process advances to step S1809 without performing update processing. In step S1809, the permission information generation unit 1037 determines whether the value of the variable top is smaller than 0. If the value of the variable top is smaller than 0, the permission information generation unit 1037 updates the value of the variable top to the number value of the currently selected page (step S1810). Assume that the page number value starts from 1.
After performing these processes, the document management unit 1036 determines in step S1811 whether the processes in steps S1803 to S1810 have ended for all the pages of the document file. If the processes have not ended for all the pages, the document management unit 1036 selects the next page as a processing target (step S1812), and the process returns to step S1803. If the processes have not ended for all the pages, the permission information generation unit 1037 returns the calculated printing permission information to the invoking source of the processing in
For a document file, printing of which is permitted entirely, the preview generation module in the fourth embodiment generates an image obtained by compositing printing permission information with the thumbnail of the first page by the processes in steps S1705, S1706, and S1712, similar to the third embodiment. In a state in which the content database 222 holds values shown in
When printing of some of image contents used in a document is inhibited and printing of only some pages is permitted, a preview image is generated by compositing printing permission information about only a currently printing-permitted page by the processes in steps S1707 to S1712. As for the document file 1200 “AAA.PAD”, printing of the image data 403 having the content ID “0003” out of image data used is inhibited because its printing permission remaining count is 0, but printing of the remaining image data is still permitted. Thus, printing of a first page 1201 containing the image data 403 is inhibited, but printing of a second page 1202 is permitted. When printing only the second page 1202, its printing permission count is 1 because the image data 405 having the content ID “0005” exhibits a minimum printing permission count of 1. Also, the printing permission time limit of the second page 1202 is 2010/3/31 because the image data 405 having the content ID “0005” exhibits an earliest printing permission time limit of 2010/3/31. The preview generation module 1031 in the fourth embodiment generates a preview image for the document file 1200 by compositing the thumbnail of the printing-permitted second page 1202 and the warning mark 1607 indicating that printing of some pages of the document file 1200 is inhibited. The preview generation module 1031 composites even the pieces of printing permission information 1608 and 1609 of the second page with the preview image.
If there is no printing-permitted page as a result of inhibiting printing of some or all image contents used in the document, an image indicating that printing is inhibited is generated by the processing of step S1713. On the screen of
As described above, printing permission information about a portion currently usable in a document file (print data) obtained by combining a plurality of image data (contents) can be presented to the user before a printing instruction. By only seeing the screen 1601 of the file list application 1051, the user can easily know whether printing of the document file 220 is permitted, and the count and period by which he can print the document file 220, similar to the third embodiment. In the information processing apparatus of the fourth embodiment, as for some printing-permitted pages in a printing-disabled document file, the user can easily know printing permission information of the printing-permitted pages by only seeing the screen 1601. Even for such a document, the user can know by a simple operation that a printing-permitted portion still remains, and can effectively use image contents. Also, this can reduce the possibility that the user may miss the opportunity to print these image contents because printing of even a printing-permitted portion will be inhibited.
Even in the fourth embodiment, the OS may implement some or all of the above-described functions. The file list application 1051 and preview generation module 1031 may be integrated. Printing permission information of a document may be composited with an icon image indicating not document contents but only the type, and displayed. Only printing permission information may be displayed together with a file name. As printing permission information of a document, only either the printing permission remaining count or printing permission remaining period may be displayed. If it is determined in step S1708 that there is a printing-permitted page, it is also possible to add a warning mark to image data, printing of which is determined to be inhibited, and display a page containing the image data as a thumbnail, similar to the first embodiment. As the notification method, various methods are available.
Even in the fourth embodiment, the content database 222 may reside in another information processing apparatus capable of communicating with the PC 100 via a network (not shown). A single apparatus may have both the function explained with reference to
In various embodiments described above, when printing print data containing a plurality of contents, it can be determined whether printing of each content is permitted, and the user can be notified of whether printing is permitted, before an instruction to print the print data. If the user designates printing in response to this notification, printing of the print data is executed. Also when printing the same print data next time, the user is notified whether printing is permitted. In the above description, when printing of all contents contained in one print data (document file) is permitted, printing of the print data is permitted. However, a printing-disabled content may be replaced with, for example, a blank or another data to print. The user may be notified whether printing is permitted when he issues a printing instruction. That is, if print data contains a printing-disabled content when the user issues a printing instruction, he may be notified of this, similar to the first and second embodiments.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (for example, computer-readable medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2010-162211, filed Jul. 16, 2010, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2010-162211 | Jul 2010 | JP | national |