NON-TRANSITORY COMPUTER-READABLE STORAGE MEDIUM STORING PRINT CONTROL PROGRAM AND PRINT CONTROL APPARATUS
The entire disclosure of Japanese Patent Application No. 2015-060764 filed on Mar. 24, 2015 including description, claims, drawings, and abstract are incorporated herein by reference in its entirety. The present invention relates to a non-transitory computer-readable storage medium storing a print control program and a print control apparatus. In particular, the present invention relates to a non-transitory computer-readable storage medium storing a print control program which, when being executed, causes an apparatus to analyze a file to be printed and create a file for variable data printing; and further relates to a print control apparatus, such as a print server, configured to execute the print control program. Variable data printing is used for preparing direct mails and other purposes. In variable data printing, files described in PPML (Personalized Print Markup Language) or PDF (Portable Document Format)/VT (Variable Transactional) format have been used. In recent years, a situation that large-sized PDF files are sent to a print control apparatus (print server) for printing purpose is increasing. Since printing such a large-sized file needs a lot of time, there have been proposed techniques to reduce printing time by reducing the size of a file to be printed. As an example of variable data printing technology, Japanese Unexamined Patent Publication (JP-A) No. 2006-235664 discloses the following image forming system. The image fanning system includes a server on which an ‘image forming apparatus’ application program has been installed, an input apparatus through which a user inputs image data, an image forming apparatus that creates an output image on the basis of the input data, and a host computing device. The ‘image forming apparatus’ application program includes a page description language conversion section, variable-data creating section, compressed-archive creating section, print-data storing section, GUI, object processing section, object managing section, and coordinate transformation section. The page description language conversion section converts objects into a page description language. The variable-data creating section, in response to receiving notice of completion of data processing within a region of objects to be reused, creates variable data for printing, on the basis of the name, image size and positional information of each object, and records the resulting data as a file. The compressed-archive creating section, in response to receiving notice from the variable-data creating section, puts the file of variable data and an object data file in one compressed archive. The print-data storing section records the data of the objects converted into the page description language, into a file. The object processing section notifies the variable-data creating section of the completion of the data processing within the region of objects to be reused. The object managing section registers the name, image size and positional information of each object. The coordinate transformation section transforms the positional information and registers the resulting information into an object list. As another example, JP-A No. 2004-174797 (corresponding to US Patent Application Publication No. 2004/145755A1) discloses a print control system which controls print processing by transmitting print data received from a host apparatus, to a printing apparatus to which fixed portions of print data can be registered. The print control system includes a designing unit, registered-portion transmitting unit and variable-portion transmitting unit. The designing unit designs layout information including information for discriminating a fixed portion from a variable portion, on the basis of the print data corresponding to a first page received from the host apparatus. The registered-portion transmitting unit transmits to the printing apparatus a fixed portion of the print data out of the print data corresponding to the first page received from the host apparatus, in accordance with the information for discriminating a fixed portion from a variable portion out of the layout information designed by the designing unit. The variable-portion transmitting unit, after the registered-portion transmitting unit transmits the fixed portion of the print data, transmits a variable portion of the print data to the printing apparatus, in accordance with information for discriminating a fixed portion from a variable portion out of the layout information designed by the designing unit on the basis of the print data corresponding to the first page and the following pages received from the host apparatus. In the above-described JP-A No. 2006-235664, the following processes are employed so as to achieve a reduction of time of data transmission to the printing apparatus (image forming apparatus) and a reduction of print processing in the printing apparatus. The processes include: (1) converting host-based print data streams into a page description language for each object; (2) checking whether there are objects which provide the same rendering contents; and (3) converting the data into a variable-data printing language in which objects can be reused, to reuse the objects, which provide the same rendering contents, checked in the process (2), by referring to the objects converted in the variable language in the process (1). In the above-described JP-A No. 2004-174797, the following processes are employed so as to achieve a reduction of time of data transmission to the printing apparatus and reduction of print processing in the printing apparatus. The processes include: separating a fixed portion and a variable portion of print data from each other on the basis of logical information and layout information by which a fixed portion and a variable portion can be discriminated from each other, in processing of the first page of a material to be printed; registering the fixed portion of the print data into a storage device in the printing apparatus in advance so as not to perform duplicate processing on the second page and the fixed portions in other materials which have the same format and have been processed with print processing once; and transmitting just a variable portion to the printing apparatus. As described above, the conventional technologies employ processes of analyzing an input file to be printed and converting the file into variable data for printing so as to reduce time of data transmission to a printing apparatus and print processing time in a printing apparatus. However, an input file to be printed is not usually data which can be converted into variable data for printing, and analyzing the file structure needs a certain period of time. If a system recognizes that the input file is not data which can be converted into variable data for printing, after analyzing all the pages of the input file, the time of analyzing the file structure is wasted and the system needs extra time to output printed matters, which is a problem. Aspects of the present invention are directed to non-transitory computer-readable storage media each storing print control program and print control apparatus, for controlling print processing with effectiveness. A non-transitory computer-readable storage medium reflecting one aspect of the present invention stores a print control program to be executed in a print control apparatus. The print control apparatus outputs print data based on a document file to an image processing apparatus which performs raster image processing. The print control program, when being executed by a processor of the print control apparatus, causes the print control apparatus to perform the following processing. The processing comprises: obtaining specific information about a document file or the image processing apparatus; and analyzing a file structure of the document file. The analyzing the file structure includes determining whether to conduct or skip an analysis of a file structure of the document file on a basis of the specific information, and conducting or skipping the analysis in accordance with a result of the determining, where the analysis includes classifying contents of the document file into fixed data portions and variable data portions. The processing further comprises: converting the document file into variable print data, in response to receiving a result of the analysis; on conducting the analysis, outputting the variable print data to the image processing apparatus; and on skipping the analysis, outputting the document file to the image processing apparatus. A print control apparatus reflecting one aspect of the present invention is a print control apparatus which outputs print data based on a document file to an image processing apparatus which performs raster image processing. The print control apparatus comprises: an information obtaining section that obtains specific information about a document file or the image processing apparatus; and a file-structure analyzing section that determines whether to conduct or skip an analysis of a file structure of the document file on a basis of the specific information, and conducts or skips the analysis in accordance with a result of the determining, where the analysis includes classifying contents of the document file into fixed data portions and variable data portions. The print control apparatus further comprises a data conversion section that, in response to receiving a result of the analysis, converts the document file into variable print data and outputs the variable print data to the image processing apparatus. Other features of illustrative embodiments will be described below. The advantages and features provided by one or more embodiments of the invention will become more fully understood from the detailed description given hereinbelow and the appended drawings which are given by way of illustration only, and thus are not intended as a definition of the limits of the present invention, and wherein: Hereinafter, an embodiment of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples. Non-transitory computer-readable storage media each storing a print control program and print control apparatuses as embodiments of the present invention, can control print processing with effectiveness for the following reasons. A print control apparatus as an embodiment of the present invention (when executing a print control program) obtains specific information about a document file to be printed or an image processing apparatus. On the basis of the specific information obtained, the print control apparatus determines whether to conduct or skip an analysis of the file structure of the document file; and conducts or skips the analysis in accordance with a result of the determining. The print control apparatus converts the document file into variable print data, in response to receiving a result of the analysis. The print control apparatus outputs the variable print data as print data to the image processing apparatus, in the case of conducting the analysis; and outputs the document file as print data to the image processing apparatus, in the case of skipping the analysis. As described in BACKGROUND, in recent variable data printing, a situation that large-sized PDF files are sent to a print server for printing purpose is increasing. However, files input into a print server are not usually data which can be converted into variable data for printing, and analyzing the file structure as described above needs a certain period of time. Therefore, under the situation that, for example, a printing system recognizes that an input file is not data which can be converted into variable data for printing, after analyzing all the pages of the file, the time of analyzing the file structure is wasted. Particularly, a PDF file to be used for variable data printing sometime contains as many pages as about 10000 pages, and if such a PDF file is input into the print server, a huge number of time would be wasted under the above-described situation. In view of that, a print server as one embodiment of the present invention, performs the following control. The print server obtains specific information about a file to be printed or an image processing apparatus, such as print setting information, file information of the file to be printed, and device information indicating an operation status of a controller. On the basis of the specific information obtained, the print server determines whether to conduct or skip an analysis of the file structure of the file to be printed (for example, whether or not the file is a specific type of data which can be converted into variable print data, whether or not there is a sufficient time to analyze the file structure, and so on). On the basis of a result of the determination, the print server conducts or skips the analysis of the file structure, and converts the file to be printed into variable print data in response to receiving a result of the analysis. The print server outputs (sends) the variable print data (in the case of conducting the analysis) or the file to be printed (in the case of skipping the analysis) as print data to the image processing apparatus. With this control, even under the situation that after analyzing the file structure, the print server has recognized that the file is not specific type of data which can be converted into variable print data, the problem that time to analyze the file structure is wasted can be avoided before it happens, and effective print processing can be achieved. In order to describe the above-mentioned embodiment of the present invention in more detail, description will be given to a print control program, a print control apparatus, and a print control method pertaining to Example 1 with reference to As illustrated in Print server 10 is a print control apparatus that is configured to send print data based on a document file to controller 20 or image forming apparatus 30. As illustrated in Control section 11 includes CPU (Central Processing Unit) 11 Storage section 12 is constituted by a memory, such as a HDD (Hard Disk Drive) and a SSD (Solid State Drive). The storage section 12 stores programs (including a print control program) which, when being executed, cause the CPU 11 Network I/F section 13 includes components such as a NIC (Network Interface Card) and a modem, and establishes data communications with controller 20 or image forming apparatus 30 connected via the network, and sends a document file or variable print data created from the document file to the controller 20 or image forming apparatus 30. Display section 14 includes a display, such as a LCD (Liquid Crystal Display) and the like, and displays various screens about print instructions. Operation section 15 includes a device, such as a mouse and a keyboard, and receives various operations about print instructions performed by a user thereon. Control section 11, as illustrated 5B, also works as information obtaining section 16, file-structure analyzing section 17 and data converting section 18. Information obtaining section 16 obtains print setting information (for example, pieces of information about settings of the paper size to be used for printing a document file, double-sided printing to be performed on the document file, the number of copies to be printed, post-print processing to be performed on a document file, and so on) appended to a document file input into print server 10 or created by print server 10. File-structure analyzing section 17 determines whether to conduct or skip an analysis of the file structure of a given document file, on the basis of the print setting information obtained by information obtaining section 16. In other words, on the basis of the print setting information, file-structure analyzing section 17 determines whether the document file is a specific type of data which can be converted into variable print data, and then, if determining that the document file is a specific type of data which can be converted into variable print data, file-structure analyzing section 17 conducts an analysis of the file structure of the document file to classify pages of the document file into pages each including a variable data portion and pages each composed of a static (fixed) data portion. For example, if the print setting information includes a piece of information about the number of copies to be printed, and one copy is specified to be printed in the print setting information, file-structure analyzing section 17 determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (in other words, estimates that the document file is the specific type of data), conducts the analysis of the file structure of the document file and sends a result of the analysis to data converting section 18. For another example, if the print setting information includes a piece of information about the number of copies to be printed and a piece of information about post-print processing (finishing) to be performed on the printed document, and further if one copy and is specified to be printed and post-print processing (finishing) is specified to be performed (post-print processing on the entire document is specified) in the print setting information, file-structure analyzing section 17 determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data (in other words, estimates that the document file is not the specific type of data), skips the analysis of the file structure of the document file and outputs the document file as print data to data converting section 18. For another example, if the print setting information includes a piece of information about a paper size to be used for printing the document file and a piece of information of double-sided printing to be performed on the document file, and further if a postcard size or a size of multiple postcards is specified as the paper size and double-sided printing to be performed on the document file is specified in the print setting information, file-structure analyzing section 17 determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (in other words, estimates that the document file is the specific type of data), conducts the analysis of the file structure of the document file and outputs the document file as print data to data converting section 18. Data converting section 18 converts the document file into variable print data on the basis of a result of the analysis conducted by file-structure analyzing section 17. In concrete terms, data converting section 18 converts a page composed of a static (fixed) data portion in the document file into a piece of data in which the position of the page in the document and the number of copies of the page to be printed are specified. Then, data converting section 18 outputs the variable print data to controller 20 as an image processing apparatus which performs raster image processing. Herein, the above-mentioned information obtaining section 16, file-structure analyzing section 17 and data converting section 18 may be constituted as hardware devices. Alternatively, the information obtaining section 16, file-structure analyzing section 17 and data converting section 18 may be provided by a print control program which causes the control section 11 to function as these sections when being executed by CPU 11 Controller 20 is an image processing apparatus which is configured to create image data which can be printed by image forming apparatus 30 on the basis of print data. As illustrated in Control section 21 includes CPU 21 Storage section 22 is constituted by a memory, such as a HDD and a SSD. The storage section 22 stores programs (including a print control program) which, when being executed, cause the CPU 21 RIP section 23 includes an image processing ASIC (Application Specific Integrated Circuit). RIP section 23 is configured to create raster image data by converting a document file or variable print data obtained from print server 10 into a bitmap, and create data of print images for pages of the document, if needed, by performing screening or image processing on the raster image data. RIP section 23 is further configured to, if needed, perform screening, tone correction, image density balance adjustment, thinning, halftone dotting processing, etc. on the data of print images. Network I/F section 24 includes components such as a NIC (Network Interface Card) and a modem, and establishes data communications with print server 10 connected via the network, and receives a document file or variable print data. Printer I/F section 25 is an exclusive interface for connecting to the image forming apparatus 30, and sends data of print images to the image forming apparatus 30. Image forming apparatus 30 is a printer, multi-functional peripheral (MFP) or the like, and as illustrated in Controller 31 includes CPU 31 Controller I/F section 32 is an exclusive interface for connecting to controller 20, and receives data of print images and others from controller 20. Panel operation section 33 is a device, such as a touch panel which includes a display unit like a LCD and transparent electrodes arranged on the display unit in a lattice shape, and is configured to display various screens about printing thereon and allow a user to various operations about printings thereon. Print section 34 is an engine which executes print processing based on a print image. In concrete terms, print section 34 performs following processes. That is, exposure units perform exposure processing by irradiating the corresponding photoreceptor drums, which are charged by respective charging units, with a laser beam in accordance with an image, to form latent images on the photoreceptor drums. Developing units develop the latent images by adhering charged toners onto the photoreceptor drums, and the developed toner images are transferred onto a transfer belt (first transfer processing), further are transferred from the transfer belt onto a sheet of paper (second transfer processing), and are fixed onto the sheet by fixing unit. The structures illustrated in Hereinafter, description is given to an example of the operation of the print server 10 having the above-described structure. CPU 11 First, control section 11 (image obtaining section 16) of print server 10 obtains print setting information appended to a document file input into print server 10 or created in print server 10 (S101). In this example, as illustrated in Next, control section 11 (file-structure analyzing section 17) determines whether to analyze the file structure of the document file, that is, determines, on the basis of the print setting information obtained, whether the document file is a specific type of data which can be converted into variable print data. First, on the basis of the print setting information obtained, the control section 11 (file-structure analyzing section 17) confirms whether the number of copies to be printed is set to one copy (S102). In many types of variable data printing, there are created printed matters including different contents by using a static (fixed) data portion as a common printing element and changing a variable data portion successively for each printed matter. Therefore, it can be considered that plural copies of the same printed matter would not be printed in variable printing. Therefore, if the number of copies to be printed is not set to one copy, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is not the specific type of data), skips an analysis of the file structure of the document file (S103), and outputs the document file as it is to controller 20 (S110). If confirming that the number of copies to be printed is set to one copy in S102, the control section 11 may determine that there is a high probability that the document file is a specific type of data which can be converted into variable print data and conduct an analysis of the file structure of the document file; or may further determine whether to analyze the file structure of the document file by using another kind of print setting information. In the example of If confirming that post-print processing on the entire document in S104 is not specified, control section 11 (file-structure analyzing section 17) confirms, on the basis of print setting information obtained, whether a paper size to be used for printing the document file is set of a postcard size of a size of multiple postcards and whether double-sided printing to be performed on the document file is specified in the print setting information (S105). Variable data printing is used for direct mailing, and direct mails include postcards, which include standard-sized postcards, folded postcards in the size of double or multiple postcards and so on, each having one side on which an address is printed and the other side on which an advertisement is printed. Therefore, if confirming that the paper size to be used for printing is set to a postcard size or a size of multiple postcards and double-sided printing is specified in the print setting information, control section 11 (file-structure analyzing section 17) determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is the specific type of data), and conducts an analysis of the file structure of the document file, and then control section 11 (data converting section 18) converts the document file into variable print data in accordance with a result of the analysis (S106) and outputs the variable print data to controller 20 (S110). If confirming that the paper size to be used for printing is not set to a postcard size or a size of multiple postcards or double-sided printing is not specified in S105, control section 11 (file-structure analyzing section 17), on the basis of print setting information obtained, confirms per-page settings (post-print processing to be performed per page), that is, confirms whether post-print processing to be performed on each set of a certain number of pages is set in the print setting information (S107). Many printed matters are prepared with variable data printing by binding each set of pages to form a booklet or stapling each set of pages. Therefore, if confirming that making a booklet or stapling is set to each set of pages (each set of a certain number of pages), control section 11 (file-structure analyzing section 17) determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is the specific type of data), and conducts an analysis of the file structure of the document file, and control section 11 (data converting section 18) converts the document file into variable print data in accordance with a result of the analysis (S109) and outputs the variable print data to controller 20 (S110). On the other hand, if confirming that making a booklet or stapling is not set to each set of pages (each set of a certain number of pages), it is hardly considered that there is a high probability that the document file is a specific type of data which can be converted into variable print data. However, with variable data printing, plural printed matters are created by inserting pages each composed of a static (fixed) data portion into pages each composed of a variable data portion, and it is still possible that the document file is a specific type of data which can be converted into variable print data, if the document to be printed has a page structure with regularity (like periodicity). Therefore, if making a booklet or stapling is not set to each set of pages (each set of a certain number of pages), control section 11 (file-structure analyzing section 17) conducts an analysis of the file structure of the document file, and further determines whether the document has the page structure with regularity, for example, determines whether there are static (fixed) portions in the document file, while conducting the analysis. On determining that the document file has the page structure without regularity (without static or fixed data portions) after the analysis of the file structure was conducted on a predetermined number or more of pages, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data, brakes off the analysis of the file structure halfway (S108), and outputs the document file as it is to controller 20 (S110). As described above, the print control apparatus performs the following control. That is, the control includes determining, on the basis of print setting information, such as settings of the number of copies of a document to be printed, settings of the paper size to be used for printing the document file, settings of double-sided printing to be performed on the document file, and setting of post-print processing or finishing, whether or not there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimate whether or not the document file is the specific type of data). The control further includes, on determining that there is a low probability that the document file is a specific type of data which can be converted into variable print data, outputting the document file as it is to controller 20 without conducting an analysis of the file structure; and, on determining that there is a high probability that the document file is a specific type of data which can be converted into variable print data, conducting the analysis of the file structure, converting the document file into variable print data on the basis of a result of the analysis, and outputting the variable print data to controller 20. With this control, a problem that time to analyze the file structure is wasted can be avoided before it happens, and effective print processing can be achieved. In the above-described flow, when determining that post-print processing on the entire document is not specified in the print setting information in S104, the control section 11 of print server 10 further determines whether to conduct or skip an analysis of the file structure of a document file, on the basis of settings of the paper size to be used for printing and settings of double-sided printing in S105; and when determining that the paper size is not set to a postcard size or a size of multiple postcards or that double-sided printing is not specified in print setting information, the control section 11 of print server 10 further determines whether to conduct or skip the analysis, on the basis of per-page settings (post-print processing to be performed per page) in S107. It should be noted that the order of these determining steps can be modified appropriately. For example, the control section 11 of print server 10 may perform the determining steps of S105 and S107 in response to determining that the number of copies to be printed is set to one copy in S102, or may perform the determining step of S107 in response to determining that post-print processing on the entire document is not specified in S104. Next, description will be given to a print creation control program, a print control apparatus, and a print control method pertaining to Example 2 with reference to In the above-mentioned Example 1, descriptions were given to an example that page data with a JDF file including descriptions of print setting information are used as a document file which is input to a print server. However, other types of document file which does not include print setting information (for example, a PDF file) can be input into a printer server for printing purpose. In view of that, in the present example, the print server is configured to determine, on receiving a file not including print setting information, whether there is a high probability that the document file is a specific type of data which can be converted into variable print data, on the basis of file information, and then conduct or skip an analysis of the file structure of the document file on the basis of a result of the determination. In this processing, the structure of printing system is the same as that of Example 1, illustrated in Hereinafter, description is given to an example of the operation of the print server 10. CPU 11 First, control section 11 (image obtaining section 16) of print server 10 obtains file information, such as information of the paper sizes of pages, the file size and the number of pages, from a header of the document file input into print server 10 or created in print server 10 (S201). In this example, it is assumed that a PDF file as a document file is input into print server 10. The PDF file is composed of, for example, data of pages of a document, as illustrated in Next, control section 11 (file-structure analyzing section 17) determines whether to conduct or skip an analysis of the file structure of the document file, that is, determines, on the basis of the file information obtained, whether the document file is a specific type of data which can be converted into variable print data. First, on the basis of the file information obtained, the control section 11 (file-structure analyzing section 17) confirms whether the document file includes mixed-size pages (document to be printed onto mixed-size sheets) and confirms whether the order of the sizes of pages has a regularity (S202). In variable data printing, since a printed matter is created by combining various kinds of document, many of document files for variable data printing contain mixed-size pages the order of the sizes of which causes a regularity. Therefore, when the document file includes mixed-size pages and the order of the sizes of pages has a regularity (in the example of If the document file does not include mixed-size pages or the order of the sizes of pages does not have a regularity in S202, it is hardly considered that there is a high probability that the document file is a specific type of data which can be converted into variable print data. However, in variable data printing, plural printed matters having different contents are created by using static (fixed) portions and variable data portions, and it can be considered that the file size and the number of pages of the document file can become great to a certain extent. Therefore, if the document file does not include mixed-size pages and the order of the sizes of the pages does not have a regularity, control section 11 (file-structure analyzing section 17) confirms, on the basis of the file information, whether the file size and the number of pages of the document file are equal to or greater than certain values predetermined respectively (S204). If at least one of the file size and the number of pages of the document file is less than the certain value, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data, skips the analysis of the file structure (S205), and outputs the document file as it is to controller 20 (S207). On the other hand, if the file size and the number of pages of the document file are equal to or greater than the respective values, control section 11 (file-structure analyzing section 17) determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimate whether that the document file is the specific type of data), and conducts an analysis of the file structure of the document file. The control section 11 (file-structure analyzing section 17) further determines whether the document has the page structure with regularity, for example, determines whether there are static (fixed) portions in the document file, while conducting the analysis. On determining that the document file has the page structure without regularity (without static or fixed data portions) after the analysis of the file structure was conducted on a predetermined number or more of pages, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data, brakes off the analysis of the file structure halfway (S206), and outputs the document file as it is to controller 20 (S207). As described above, the print control apparatus performs the following control. That is, the control includes determining, on the basis of file information, such as information of paper sizes of pages contained in a document file, the file size and the number of pages contained in a document file, whether there is a high probability that the document file is a specific type of data which can be converted into variable print data. The control further includes, on determining that there is a low probability that the document file is a specific type of data which can be converted into variable print data, outputting the document file as it is to controller 20 without conducting an analysis of the file structure; and, on determining that there is a high probability that the document file is a specific type of data which can be converted into variable print data, conducting the analysis of the file structure, converting the document file into variable print data on the basis of a result of the analysis, and outputting the variable print data to controller 20. With this control, a problem that time to analyze the file structure is wasted can be avoided before it happens, and effective print processing can be achieved. In the above-described flow, when determining that the document file does not include mixed-size pages or the order of the sizes of the pages does not have a regularity in S202, the control section 11 of print server 10 further determines whether to conduct an analysis of the file structure of a document file, on the basis of the file size and the number of pages in S204. It should be noted that the order of these determining steps can be modified appropriately. For example, the control section 11 of print server 10 may perform the determining on the basis of the file size and the number of pages prior to other determining steps. Next, description will be given to a print creation control program, a print control apparatus, and a print control method pertaining to Example 3 with reference to In the above-mentioned Examples 1 and 2, descriptions were given to an example that the print server is configured to determine whether to conduct or skip an analysis of the file structure of a document file on the basis of the document file. In one situation that the printing system is in a certain state (for example, a state that controller 20 as image processing apparatus is in the middle of raster image processing), controller 20 cannot start raster image processing immediately, in response to receiving a document file output from the print server 10. In such a situation, print processing can be completed earlier by conducting an analysis of the file structure of the document file. In another situation that the controller 20 as image processing apparatus is not in the middle of raster image processing, controller 20 can start raster image processing immediately after receiving a document file. In view of that, in the present example, the print server is configured to determine whether there is a high probability that the document file is a specific type of data which can be converted into variable print data, on the basis of the operation status of the printing system (for example, the operations status of the image processing apparatus). In this processing, the structure of printing system is the same as that of Example 1, illustrated in In concrete terms, control section 21 of controller 20 outputs device information indicating the state of the controller 20 itself (in particular, the operation status of RIP section 23) to print server 10. Control section 11 (information obtaining section 16) of print server 10 obtains device information from controller 20, and control section (file-structure analyzing section 17) determines whether to conduct or skip an analysis of the file structure of the document file, on the basis of the device information. For example, if controller 20 is in the middle of raster image processing, the control section 11 (file-structure analyzing section 17) determines that the control section 11 has time enough to conduct an analysis of the file structure of the document file, and then conducts the analysis of the file structure. Hereinafter, description is given to an example of the operation of the print server 10. CPU 11 First, control section 11 (image obtaining section 16) of print server 10 obtains device information from controller 20 (S301). In this example, control section 11 obtains information about whether or not controller 20 is in the middle of performing raster image processing. Next, control section 11 (file-structure analyzing section 17) determines whether to conduct or skip an analysis of the file structure of the document file, that is, determines, on the basis of the device information, whether the document file is a specific type of data which can be converted into variable print data. As illustrated in On the other hand, if controller 20 is not in the middle of performing raster image processing, controller 20 can immediately start raster image processing on a newly input document file, in response to receiving the document file output to controller. Therefore, control section 11 (file-structure analyzing section 17) skips an analysis of the file structure of the document file (S304), and outputs the document file as it is to controller 20 (S305). As described above, the print control apparatus is configured to perform the following control. That is, the control includes determining whether to conduct or skip an analysis of the file structure of a document file, on the basis of device information indicating the operation status of the printing system (the operation status of image processing apparatus), for example, whether controller 20 being image processing apparatus is in the middle of performing raster image processing. The control further includes, in accordance with a result of the determining, outputting the document file as it is to controller 20 without conducting an analysis of the file structure; or conducting the analysis of the file structure, converting the document file into variable print data on the basis of a result of the analysis, and outputting the variable print data to controller 20. With this control, a problem that time to analyze the file structure is wasted can be avoided before it happens, and effective print processing can be achieved. In the above-described flow, the control section 11 of print server 10 determines whether to conduct or skip an analysis of the file structure of the document file, on the basis of device information indicating the operation status of RIP section 23 of controller 20. The information to be used as a criterion of the determination should not be limited to the device information as described above, and it should be noted that arbitrary information indicating the operation status of any apparatus in the printing system, for example, information indicating the operation status of print section 34 of image forming apparatus 30, can be used for the criterion. Next, description will be given to a print creation control program, a print control apparatus, and a print control method pertaining to Example 4 with reference to In the above-mentioned Example 1, the print server is configured to determine whether to conduct or skip an analysis of the file structure of a document file on the basis of print setting information; in the above-mentioned Example 2, the print server is configured to determine whether to conduct or skip an analysis of the file structure of a document file on the basis of file information; and above-mentioned Example 3, the print server is configured to determine whether to conduct or skip an analysis of the file structure of a document file on the basis of device information of controller 20. The print server may be configured to perform a combination of those types of control. Hereinafter, description is given to an example of the operation of the print server 10 employing such control. CPU 11 First, control section 11 (image obtaining section 16) of print server 10 obtains print setting information appended to a document file input into print server 10 (S401), and confirms, on the basis of the print setting information obtained, whether the number of copies of a document to be printed is set to one copy in the setting information (S402). If the number of copies is not set to one copy, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is not the specific type of data), skips an analysis of the file structure of the document file (S411), and outputs the document file as it is to controller 20 (S412). If confirming that the number of copies is set to one copy, the control section 11 further confirms, on the basis of the print setting information obtained, whether post-print processing or finishing to be performed on the entire document is specified in the print setting information (S403). If post-print processing (finishing), such as making a booklet or stapling printed pages, to be performed on the entire document is specified, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is not the specific type of data), skips an analysis of the file structure of the document file (S411), and outputs the document file as it is to controller 20 (S413). If confirming that post-print processing to be performed on the entire document is not specified, control section 11 (file-structure analyzing section 17) confirms, on the basis of print setting information obtained, whether the a paper size to be used for printing the document file is set to a postcard size or a size of multiple postcards and whether double-sided printing to be performed on the document file is specified in the print setting information (S404). If the print size is set to a postcard size or a size of multiple postcards and double-sided printing is specified in the print setting information, control section 11 (file-structure analyzing section 17) determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is the specific type of data), and conducts an analysis of the file structure of the document file, and then control section 11 (data converting section 18) converts the document file into variable print data in accordance with a result of the analysis (S412) and outputs the variable print data to controller 20 (S413). If confirming that the paper size to be used for printing is not set to one of a postcard size and a size of multiple postcards, or confirmed that double-sided printing is not specified, control section 11 (file-structure analyzing section 17), on the basis of print setting information obtained, confirms per-page settings (post-print processing to be performed per page), that is, confirms whether post-print processing to be performed on each set of a certain number of pages of the document is specified in the print setting information (S405). If confirming that making a booklet or stapling to be performed on each set of pages (each set of a certain number of pages) is specified in the print setting information, control section 11 (file-structure analyzing section 17) determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is the specific type of data), and conducts an analysis of the file structure of the document file, and then control section 11 (data converting section 18) converts the document file into variable print data in accordance with a result of the analysis (S412) and outputs the variable print data to controller 20 (S413). If confirming that post-print processing to be performed on each set of a certain number of pages is not specified in the print setting information, control section 11 obtains file information, such as information of paper sizes of pages contained in the document file, the file size and the number of pages contained in the document file, from a header of a document file input into print server 10 or created in print server 10 (S406). Next, control section 11 (file-structure analyzing section 17) confirms whether the document file includes mixed-size pages (document to be printed onto mixed-size sheets) and whether the order of the sizes of the pages has a regularity (S407). If confirming that the document file includes mixed-size pages and the order of the sizes of the pages has a regularity, control section 11 (file-structure analyzing section 17) determines that there is a high probability that the document file is a specific type of data which can be converted into variable print data (estimates that the document file is the specific type of data) and conducts an analysis of the file structure of the document file, and then control section 11 (data converting section 18) converts the document file into variable print data in accordance with a result of the analysis (S412) and outputs the variable print data to controller 20 (S413). If confirming that the document file does not include mixed-size pages or the order of the sizes of the pages does not have a regularity, control section 11 (file-structure analyzing section 17) confirms, on the basis of the file information, whether the file size and the number of pages of the document file are equal to or greater than certain values predetermined respectively (S408). If confirming that the file size is less than a predetermined size and/or the number of pages is less than a predetermined number, control section 11 (file-structure analyzing section 17) determines that there is a low probability that the document file is a specific type of data which can be converted into variable print data, skips the analysis of the file structure (S411), and outputs the document file as it is to controller 20 (S413). If confirming that the file size is equal to or greater than a predetermined size and the number of pages is equal to or greater than a predetermined number, control section 11 obtains, from controller 20, device information (S409). If controller 20 is in the middle of performing raster image processing, control section 11 (file-structure analyzing section 17) conducts an analysis of the file structure of the document file, and in accordance with a result of the analysis, control section 11 (data conversion section 18) converts the document file into variable print data (S412), and outputs the variable print data to controller 20 (S413). On the other hand, if controller 20 is not in the middle of performing raster image processing, control section 11 (file-structure analyzing section 17) skips an analysis of the file structure of the document file (S411), and outputs the document file as it is to controller 20 (S413). As described above, the print control apparatus is configured to perform the control which includes determining whether to conduct an analysis of the file structure of a document file, on the basis of print setting information, file information and device information. With this control, a problem that time to analyze the file structure is wasted can be avoided before it happens, and effective print processing can be achieved. The present invention should not be limited to the above examples, and the constitution and control of the printing system and each apparatus can be modified appropriately unless such modification deviates from the intention of the present invention. For example, in each of the above-mentioned examples, print setting information, file information and device information were used for specific information which is a criterion of determining whether to conduct or skip an analysis of the file structure. As the print setting information, pieces of information of settings of the number of copies of a document to be printed, a paper size to be used for printing a document file, double-sided printing to be performed on a document file, and post-print processing (finishing) to be performed on a document were cited. As the file information, pieces of information of paper sizes of pages contained in a document file, the file size and the number of pages contained in a document file were cited. As the device information, information about whether controller 20 is in the middle of performing raster image processing was cited. However, those were given by way of illustration only, and it should be noted that arbitrary information can be used as far as the print control apparatus can determine, on the basis of the information, whether there is a high probability that a document file is a specific type of data which can be converted into variable print data. The present invention is applicable to a print control program which, when being executed, causes an apparatus to analyze a file to be printed and create a file for variable printing; a non-transitory computer-readable storage medium storing the print control program; a print control apparatus, such as a print server, configured to execute the print control program; and a printing system including the print control apparatus. Provided is a non-transitory computer-readable storage medium storing a print control program which, when being executed by a processor of a print control apparatus, causes the print control apparatus to perform the following processing. The processing includes, obtaining specific information about a document file or an image processing apparatus; determining whether to conduct or skip an analysis of a file structure of the document file, on a basis of the specific information; and conducting or skipping the analysis in accordance with a result of the determining. The processing further includes, converting the document file into variable print data in response to receiving a result of the analysis; on conducting the analysis, outputting the variable print data to the image processing apparatus; and on skipping the analysis, outputting the document file to the image processing apparatus. 1. A non-transitory computer-readable storage medium storing a print control program to be executed in a print control apparatus which outputs print data based on a document file to an image processing apparatus which performs raster image processing, the print control program, when being executed by a processor of the print control apparatus, causing the print control apparatus to perform processing comprising:
obtaining specific information about a document file or the image processing apparatus; analyzing a file structure of the document file, including
determining whether to conduct or skip an analysis of a file structure of the document file, on a basis of the specific information, the analysis including classifying contents of the document file into fixed data portions and variable data portions, and conducting or skipping the analysis in accordance with a result of the determining; converting the document file into variable print data, in response to receiving a result of the analysis; on conducting the analysis, outputting the variable print data to the image processing apparatus; and on skipping the analysis, outputting the document file to the image processing apparatus. 2. The non-transitory computer-readable storage medium of wherein the obtaining the specific information, includes
obtaining print setting information appended to the document file, and the analyzing the file structure, includes determining whether the document file is a specific type of data which can be converted into variable print data, on a basis of the print setting information, and conducting the analysis, on determining that the document file is the specific type of data. 3. The non-transitory computer-readable storage medium of wherein the print setting information includes a piece of information of a number of copies of a document to be printed, and the analyzing the file structure, includes
on the number of copies being set to one copy in the print setting information, determining that there is a high probability that the document file is the specific type of data, and conducting the analysis. 4. The non-transitory computer-readable storage medium of wherein the print setting information includes a piece of information of a number of copies of a document to be printed and a piece of information of post-print processing to be performed on the document, and the analyzing the file structure, includes
on the number of copies being set to one copy and post-print processing on the entire document being set in the print setting information, determining that there is a low probability that the document file is the specific type of data, and skipping the analysis. 5. The non-transitory computer-readable storage medium of wherein the print setting information includes a piece of information of a paper size to be used for printing the document file and a piece of information of double-sided printing to be performed on the document file, and the analyzing the file structure, includes
on the print size being set to a postcard size or a size of multiple postcards and double-sided printing being set in the print setting information, determining that there is a high probability that the document file is the specific type of data, and conducting the analysis. 6. The non-transitory computer-readable storage medium of wherein the print setting information includes a piece of information of post-print processing to be performed per page, and the analyzing the file structure, includes
on post-print processing to be performed on each set of a certain number of pages of the document being set in the print setting information, determining that there is a high probability that the document file is the specific type of data, and conducting the analysis. 7. The non-transitory computer-readable storage medium of wherein the obtaining the specific information, includes
obtaining file information of the document file, and the analyzing the file structure, includes
determining whether the document file is a specific type of data which can be converted into variable print data, on a basis of the file information, and conducting the analysis, on determining that the document file is the specific type of data. 8. The non-transitory computer-readable storage medium of wherein the file information includes a piece of information of paper sizes of pages contained in the document file, and the analyzing the file structure, includes
on the document file containing mixed-size pages and an order of paper sizes of the pages having a regularity, determining that there is a high probability that the document file is the specific type of data, and conducting the analysis. 9. The non-transitory computer-readable storage medium of wherein the file information includes a file size of the document file and a number of pages contained in the document file, and the analyzing the file structure, includes
on the file size being equal to or greater than a predetermined size and the number of pages being equal to or greater than a predetermined number, determining that there is a high probability that the document file is the specific data, and conducting the analysis. 10. The non-transitory computer-readable storage medium of wherein the obtaining the specific information, includes
obtaining device information from the image processing apparatus, the device information indicating an operation status of the image processing apparatus, and the analyzing the file structure, includes
determining whether to conduct or skip the analysis, on a basis of the device information. 11. A print control apparatus which outputs print data based on a document file to an image processing apparatus which performs raster image processing, the print control apparatus comprising:
an information obtaining section that obtains specific information about a document file or the image processing apparatus; a file-structure analyzing section that
determines whether to conduct or skip an analysis of a file structure of the document file, on a basis of the specific information, the analysis including classifying contents of the document file into fixed data portions and variable data portions, and conducts or skips the analysis in accordance with a result of the determining; and a data conversion section that, in response to receiving a result of the analysis, converts the document file into variable print data and outputs the variable print data to the image processing apparatus. 12. The print control apparatus of wherein the information obtaining section obtains print setting information appended to the document file, and the file-structure analyzing section
determines whether the document file is a specific type of data which can be converted into variable print data, on a basis of the print setting information, and conducts the analysis, on determining that the document file is the specific type of data. 13. The print control apparatus of wherein the print setting information includes a piece of information of a number of copies of a document to be printed, and on the number of copies being set to one copy in the print setting information, the file-structure analyzing section determines that there is a high probability that the document file is the specific type of data, and conducts the analysis. 14. The print control apparatus of wherein the print setting information includes a piece of information of a number of copies of a document to be printed and a piece of information of post-print processing to be performed on the document, and on the number of copies being set to one copy and post-print processing on the entire document being set in the print setting information, the file-structure analyzing section determines that there is a low probability that the document file is the specific type of data, and skips the analysis. 15. The print control apparatus of wherein the print setting information includes a piece of information of a paper size to be used for printing the document file and a piece of information of double-sided printing to be performed on the document file, and on the print size being set to a postcard size or a size of multiple postcards and double-sided printing being set in the print setting information, the file-structure analyzing section determines that there is a high probability that the document file is the specific type of data, and conducts the analysis. 16. The print control apparatus of wherein the print setting information includes a piece of information of post-print processing to be performed per page, and on post-print processing to be performed on each set of a certain number of pages of the document being set in the print setting information, the file-structure analyzing section determines that there is a high probability that the document file is the specific type of data, and conducts the analysis. 17. The print control apparatus of wherein the information obtaining section obtains file information of the document file, and the file-structure analyzing section
determines whether the document file is a specific type of data which can be converted into variable print data, on a basis of the file information, and conducts the analysis, on determining that the document file is the specific type of data. 18. The print control apparatus of wherein the file information includes a piece of information of paper sizes of pages contained in the document file, and on the document file containing mixed-size pages and an order of paper sizes of the pages having a regularity, the file-structure analyzing section determines that there is a high probability that the document file is the specific type of data, and conducts the analysis. 19. The print control apparatus of wherein the file information includes a file size of the document file and a number of pages contained in the document file, and on the file size being equal to or greater than a predetermined size and the number of pages being equal to or greater than a predetermined number, the file-structure analyzing section determines that there is a high probability that the document file is the specific data, and conducts the analysis. 20. The print control apparatus of wherein the information obtaining section obtains device information from the image processing apparatus, the device information indicating an operation status of the image processing apparatus, and the file-structure analyzing section determines whether to conduct or skip the analysis, on a basis of the device information.TECHNICAL FIELD
BACKGROUND
DESCRIPTION OF THE RELATED ART
SUMMARY
BRIEF DESCRIPTION OF THE DRAWINGS
DESCRIPTION OF THE PREFERRED EMBODIMENTS
EXAMPLES
Example 1
Print Server:
Controller:
Image Forming Apparatus:
Example 2
Example 3
Example 4












