WO2004072844A1 - 情報処理装置および印刷処理方法ならびにプログラム、記憶媒体 - Google Patents

情報処理装置および印刷処理方法ならびにプログラム、記憶媒体 Download PDF

Info

Publication number
WO2004072844A1
WO2004072844A1 PCT/JP2004/001391 JP2004001391W WO2004072844A1 WO 2004072844 A1 WO2004072844 A1 WO 2004072844A1 JP 2004001391 W JP2004001391 W JP 2004001391W WO 2004072844 A1 WO2004072844 A1 WO 2004072844A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
print
color
printing
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2004/001391
Other languages
English (en)
French (fr)
Inventor
Shukei Kurihara
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to EP04709705A priority Critical patent/EP1594045A4/en
Priority to US10/844,410 priority patent/US7265862B2/en
Publication of WO2004072844A1 publication Critical patent/WO2004072844A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/50Picture reproducers
    • H04N1/506Reproducing the colour component signals picture-sequentially, e.g. with reproducing heads spaced apart from one another in the subscanning direction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00912Arrangements for controlling a still picture apparatus or components thereof not otherwise provided for
    • H04N1/00933Timing control or synchronising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00249Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0008Connection or combination of a still picture apparatus with another apparatus
    • H04N2201/0074Arrangements for the control of a still picture apparatus by the connected apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0082Image hardcopy reproducer

Definitions

  • the present invention relates to an information processing device connected to an output device capable of outputting data, and particularly to a printing process for inducing a print start instruction of the output device at an appropriate timing.
  • the printing method used to print the print data received from the host computer has been used to reduce the required memory capacity.
  • a method is known in which printing is instructed at the same time as reception of data, and printing is performed while receiving print data.
  • the time for each page from when the engine starts printing to when it finishes is fixed, and it is not possible to receive the entire print data that constitutes one page by the time printing ends. In such a case, a normal printing result cannot be obtained. Therefore, if the interface connecting the host computer and the printer is not fast enough, and if the amount of print data that composes one page is large, it takes one time from when the print start is instructed to when the print ends. The entire print data that constitutes the page cannot be completely received, and a normal print result cannot be obtained.
  • Japanese Patent Application Laid-Open No. 06-320806 discloses that a printer receiving print data receives a header when a “sleek transfer page” command is received. A portion is processed, and according to the threshold value in the header, the RAM portion allocated as a buffer is set to operate as an IZO buffer, and the raster image satisfying the threshold value is set.
  • a technology has been disclosed in which print engine 34 is turned on when page data is buffered and print processing is performed. According to the publication, the setting of the threshold value in the host computer is determined according to the known print speed of the laser, print, and engine and the transfer speed assumed in advance of the standard I / O. I have.
  • Japanese Patent Application Laid-Open No. 2000-140702 discloses that a certain amount of data is printed from the image data size in consideration of the image data compression ratio and the transfer speed of the interface.
  • a technology has been disclosed in which printing of the engine is started after the transfer in the evening, and then printing is continued while transferring the data in the evening.
  • An advantage of some aspects of the invention is to provide an information processing apparatus connected to an output device that performs output processing of print data of a plurality of color planes. It is an object of the present invention to obtain a normal print result even when printing a plurality of color planes by giving an instruction to start printing at a timing.
  • an information processing apparatus has the following configuration. That is, An information processing device connected to an output device that outputs color printing data,
  • a print start instruction is issued to the output device based on the calculated data amount of each color data and a surface transfer amount that is a data amount that can be transferred to the output device while outputting one page of each color data.
  • FIG. 1 is a block diagram illustrating a system configuration of a print processing system including an information processing apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating a configuration of a print processing system including an information processing device according to an embodiment of the present invention.
  • FIG. 3 is a flowchart showing a flow of processing for calculating an image data amount in a transmission program of the information processing apparatus according to one embodiment of the present invention.
  • FIG. 4 is a flowchart showing a flow of processing for calculating a delay transfer amount in a transmission program of the information processing device according to one embodiment of the present invention.
  • FIGS. 5A and 5B show transmission processes of an information processing apparatus according to an embodiment of the present invention.
  • 9 is a flowchart showing a flow of a printing process in a program.
  • FIG. 6 is a diagram showing a state of delay when printing is performed by the conventional method. .
  • FIG. 7 is a diagram illustrating a state of processing at the time of print processing according to the first embodiment.
  • FIG. 8 is a diagram illustrating a state of processing at the time of print processing according to the second embodiment.
  • FIG. 9 is a diagram illustrating a state of processing at the time of print processing according to the second embodiment.
  • a printer including at least a memory for storing print data received from a host computer or the like, and printing means for developing the print data stored in the memory into a dot image and printing out the data
  • High-speed printing can be performed as much as possible.
  • FIG. 1 is a block diagram illustrating an entire printing system including an information processing apparatus according to an embodiment of the present invention.
  • Reference numeral 102 denotes an image data generation unit which generates image data from data received from an application (not shown).
  • An image data calculation unit 103 determines whether the image data is monochrome or color, and calculates the data amount of each color plane.
  • Reference numeral 104 denotes an image data transfer unit which transfers the image data received from the image data calculation unit 103 to the printer (note that, of the image data generated in the host computer 101, the printer The data transferred to 107 is called "print data". The same applies hereinafter.
  • Reference numeral 105 denotes a print start instruction judging unit which receives the type of image data (color or monochrome) and the amount of image data from the image data amount calculator 103, and an image data transfer unit 104. The transfer speed of the print data is received from, and the appropriate print start instruction timing is determined based on these.
  • Reference numeral 106 denotes a print start instruction unit, and an image data transfer unit 1 Monitors the data amount of the print data transferred from 04 to printer 107, and, based on the appropriate print start instruction evening determined by print start instruction determination unit 105, determines Instruct 107 to start printing.
  • FIG. 2 is a diagram showing a configuration related to a communication control unit in the printing system shown in FIG. First, a configuration related to communication control of the host computer 101 will be described.
  • the operating system (OS) 20 manages hardware such as CPU, memory, hard disk, and communication port 25, as well as application programs 21, printer driver programs 22, transmission programs 23, Manages software such as communication driver 24.
  • the application program 21 creates image data in accordance with the operator's instructions, sends the image data to the printer driver program 22 via the operating system 20, and issues a print command.
  • the printer driver program 22 creates image data for the printer 107 to print based on a print command issued from the application program 21. It is assumed that the image data is compressed.
  • the image data compression process may be performed by the print driver program 22, may be performed by a compression module different from the print driver program 22, or may be performed by the communication program 23. May be.
  • the image data generated by the printer driver program 22 includes a plurality of pages having a similar configuration. Each page includes one page start command, one image data start command, and one or more pages. It consists of an image data command and one page end command.
  • the page start command is used to specify information required for controlling printing, such as the paper size, the width and height of image data, and the size of image data.
  • the image data command is a command for specifying a block to be printed (generated according to a print command issued by the application program 21).
  • the compressed image data is compressed and divided into blocks of, for example, 32 KB or less.
  • the page end command is a command indicating the end of print data of one page.
  • the transmission program 23 prints the image data created by the printer driver program 22 via the communication driver 24 and the communication port 25 according to the printer status obtained from the printer 107 according to the procedure described later. De—send to the pudding evening as evening.
  • the communication driver 24 controls the communication port in accordance with the request of the transmission program 23, and performs transmission and reception with the printer 107.
  • the communication port 30 is connected to the communication port 25 of the host computer 101 by, for example, a parallel interface cable. .
  • the connection may be made via a network.
  • the control circuit 31 is composed of, for example, a one-chip CPU including a ROM, a RAM, and a timer, and includes a communication port 30, a FIFO memory 32, a decoding circuit 33, a shift register 34, and a built-in timer. In addition to the control of the engine, transmission of the engine command and reception of the engine status are performed by using a serial signal with the print engine 35.
  • the FIFO (first-in first-out) memory 32 has a capacity of, for example, 0.5 MB, stores print data received by the communication port 30, and stores the stored print data in a decoding circuit in a first-in first-out order. Output to 3.
  • the FIF memory 32 outputs a signal indicating whether or not there is free space to the control circuit 31.
  • the decoding circuit 33 decodes the print data stored in the FIFO memory 32 and outputs it to the shift register 34.
  • the shift register 34 When the shift register 34 receives a signal indicating the start of main scanning from the printer engine 35, the shift register 34 serially outputs the parallel data output from the decoding circuit 33. And output to the printer engine 35.
  • the printer engine 35 includes a laser one-beam printer engine, receives an engine command and transmits an engine status using a serial signal with the control circuit 31, and issues a PRINT command from the control circuit 31. Upon receipt, the printing process for one page is started, and when the paper reaches a predetermined position where main scanning should be started, a signal notifying the start of main scanning is output to shift register 34, and shift register 34 outputs. Print according to the serial data.
  • the print start is often instructed at the same time as the print data is received.
  • a normal print result cannot be obtained.
  • the user may be instructed to start printing after the transfer of the print data is completed. In this case, however, there is a problem that the throughput is reduced more than necessary.
  • One solution is to transfer the amount of data calculated from the print data and the transfer rate of the interface to the printer in advance, and then start printing, as described above. According to this, if the print data is empty, the overall data amount is not large, but if only the data amount of a certain color plane is large, a normal print result cannot be obtained. I will. In other words, since the amount of print data is not large in the conventional method, it is determined that there is no problem even if printing is started at an early timing, and when a plane with a large amount of data is printed, the printing starts from the start of printing. This means that the time until the end of printing does not fall within a certain time, and the printing will fail.
  • FIGS. 3, 4, 5A and 5B are flowcharts showing the operation of the host computer (information processing device) according to the present embodiment. Actually, it is executed by the cooperation of the transmission program 23 of the host combination 101 or the communication program 23 and the printer driver program 22. In the actual printing process, the processes are performed in the order of FIGS. 3, 4, 5A, and 5B.
  • FIG. 3 is a flowchart showing a process of calculating the data amount from the image data, which is executed by the image data calculation unit 103 in FIG. ImageSize and P1anneSize [1] to [4] are initialized to zero.
  • the transmission program 23 that has received the image data first determines whether the command received in step S301 is an image data command. If the command is an image data command, the process proceeds to step S302, and the transmission program 23 proceeds to step S302. If not, the process proceeds to step S311.
  • step S302 the data size of the image data command is added to Image Size. Since the size of all image data commands is added to ImageSize, ImageSize is the size of the image data for that page.
  • step S303 it is determined whether the image data is the image data of Ye11ow, and if the image data is the image data of Yellow, the process proceeds to step S304, and if not, the process proceeds to step S305.
  • step S304 the data size is added to Plane Size [1].
  • Plane Size indicates the surface order during printing (the order when transferring to a transfer body).
  • Ye 11 ow, Mage nta, Cyan, B 1 ack It is assumed that the images are printed on the transfer body in the order of surface.
  • step S305 it is determined whether the image data is the image data of Magneta. If the image data is the image data of Magneta, the process proceeds to step S306. Otherwise, the process proceeds to step S307. In step S306, the data size is added to PlaneSize [2].
  • step S307 it is determined whether or not the image data is Cy image data. If the image data is Cy image data, the process proceeds to step S308. If not, the process proceeds to step S309. In step S308, the data size is added to P1aneSize [3].
  • step S309 it is determined whether the image data is B1ck image data. If the image data is B1ack image data, the process proceeds to step S310; otherwise, the process proceeds to step S301.
  • step S311 it is determined whether the command is an end-of-page command. If not, the process returns to step S301 to process the next command. In the case of a page end command, it is determined that the calculation of the data amount of the page has been completed, and the processing is terminated.
  • Fig. 4 shows the difference between the total data amount calculated in the process of Fig. 3 and the surface transfer amount in the monochrome case.
  • the delay image data size (MaxDe 1 ay Size) is determined from the largest of the sum of the difference between the image transfer size and the surface transfer amount, and the difference between the image data size of the other color to be transmitted first and the surface transfer amount.
  • 6 is a flowchart showing the processing to be performed. The flowchart shown in FIG. 4 is executed by the print start instruction determining unit 105 in FIG.
  • MaxDe 1 ay S i z e and Del ai S i z e [1] to [4] are initialized to 0.
  • De 1 ayS i z e [i] stores the amount of data that needs to be transmitted in the printer before starting printing when printing each color plane (hereinafter, the amount of delay transfer).
  • step S401 it is determined whether or not the received image data is color image data. Whether or not the image data is color image data is determined by looking at the flag set in the received data in the transmission program. In the case of empty image data, the process proceeds to step S402, and in the case of monochrome image data, the process proceeds to step S411.
  • the transfer amount of one plane of the color plane is determined by the transfer speed, the engine speed, and the time required to print one plane. Calculated based on For example, if the engine is 4 ppm color and the color plane is 4 colors, the time to print one color plane is 60 times the value obtained by dividing 4 (pm) by 4 (color) by 60, 60 sec / 4 (ppm) / 4 (the number of colors)
  • step S403 a variable i used for processing is initialized to 0.
  • step S404 i is incremented and processing is performed in the order of printing.
  • step S406 it is determined whether i is 1 or not.
  • the color plane is determined, and the process proceeds to step S407. If not 1, go to step S409.
  • step S407 the difference between PlaneSize [1] (the image data size of Ye11ow in this embodiment) and the surface transfer amount is substituted for De1aySize [1].
  • the image data size is larger than the surface transfer amount, the print data must be transferred in advance because the print data cannot be transferred in time during the printing process.
  • the value obtained by subtracting the plane transfer amount from the data amount of the color plane is stored in De 1 ay Sise [1] as the delay transfer amount of the first plane (Ye.11ow).
  • the surface transfer amount is larger than P 1 an S Size [1]
  • the value of De 1 ay Size [1] is calculated as a minus value.
  • step S408 DeLaySise [1] is substituted for MaxDelaySise.
  • step S409 the delay transfer amount for the second and subsequent surfaces (Magenta, Cyan, Black) is calculated.
  • the delay transfer amount up to the front, DelaySize [i-1] must be added to the delay transfer amount of that surface.
  • MaxDelaySize [i] at that time is compared with DeLaySise [i], and the larger one is substituted for the delayed image data size (MaxDelaySize).
  • FIGS. 5A and 5B are flowcharts showing processing when printing is actually performed using the delayed image data size (Max De1 ay Size) calculated in the processing of FIG. This is executed for each color page by the image transfer section 104 in FIG. 1, the print start instructing section 106 or the communication program in FIG.
  • the transmission program 23 holds the number of output pages, the number of pages that have been transmitted overnight, and the size of transmitted data as a work area.
  • the initial value is 0.
  • the type of port is determined. The type of port is determined based on, for example, the port name. If LPT, USB, etc. are included, it is determined to be local; otherwise, it is determined to be a network. If so, the process proceeds to step S502, and if it is a network, printing is performed by another process and the process ends. For example, another process includes a process in which all data is received in a memory of a network interface card provided in a printer and printing is performed. It is assumed that the network interface card has sufficient memory.
  • the process from step S502 is executed, and the data transfer speed may fluctuate dynamically. If the port is compatible with such a network interface, instead of the processing after step S502, receiving and printing all the image data, a more stable and more memory capacity can be obtained. It is possible to construct a system that can be made smaller.
  • a status acquisition command is transmitted from the printer 107.
  • the status acquisition is executed to determine whether an error such as a jam or paper out has occurred in the printer, or whether the communication state between the host computer and the print is normal.
  • step S503 the status of the printer 107 is received. This includes a process of monitoring whether or not the printer 107 is operating normally.
  • the status consists of an error flag, the number of printed pages, a command transmission prohibition flag, and a data transmission prohibition flag.
  • the error flag indicates that an error has been detected in the printing process of the printer 107.
  • the number of printed pages indicates the number of pages that have been printed successfully.
  • the command transmission prohibition flag indicates that the printer 107 cannot receive the page start command and the page end command.
  • the overnight transmission prohibition flag indicates that the printer 107 cannot receive print data.
  • step S504 it is determined whether the error flag of the received status is 1. If the error flag is 1, a predetermined printing error has occurred, and the processing ends with an error. If the error flag is 0, the flow advances to step S505.
  • step S505 it is determined whether the number of print completion pages of the received status is equal to the total number of pages. If the number of printed pages is equal to the total number of pages, all pages have been printed normally, and the process ends normally. If the number of printed pages is not equal to the total number of pages, printing of all pages has not been completed normally, and the process advances to step S506.
  • step S506 it is determined whether the number of output pages is equal to the total number of pages. If the number of output pages is equal to the total number of pages, transmission of all pages has been completed, and the process returns to step S502. If the number of output pages is not equal to the total number of pages, the process proceeds to step S507.
  • step S507 it is determined whether the command to be transmitted is an image data command. If the command to be transmitted is not an image data command, the flow advances to step S508.
  • step S508 it is determined whether the command transmission prohibition flag of the received status is 1. If the command transmission prohibition flag is 1, command transmission other than the image data—evening command is prohibited, and the process returns to step S502. When the command transmission prohibition flag is 0, other than image data command Since the transmission of this command is permitted, the flow advances to step S509.
  • step S509 it is determined whether or not the command to be transmitted is a page start command. If it is determined that the command is a page start command, the process proceeds to step S510.
  • step S510 the transmitted data size is set to 0, and the flow advances to step S510.
  • step S509 If it is determined in step S509 that the command is not a page start command, the process proceeds to step S511.
  • step S511 it is determined whether the command to be transmitted is a data start command. If it is determined that the command is a data start command, the process proceeds to step S512. If it is any other command, the process proceeds to step S515.
  • step S 5 12 it is determined whether or not printing can be started. (If Max D e 1 ay Size is 0 or less, it is not necessary to transfer data in advance, and printing is started at the same time as data start. Is possible). If it is determined that printing can be started, the process proceeds to step S 5 13. If it is determined that printing cannot be started, the process proceeds to step S515. When the page start command is received, the image data has not been transferred yet. At this time, if the value stored in MaxDe1aySize is 0 or less, it is determined that printing can be instructed before transferring the data.
  • step S 5 13 a predetermined command (data start command) is transmitted.
  • step S 5 14 since it is determined in step S 5 12 that printing can be started, a print start command is transmitted.
  • step S515 a predetermined command (a page start command, a page end command, etc.) is transmitted.
  • step S 5 16 it is determined whether all blocks of the currently output page have been transmitted. If there is an untransmitted block on the currently output page, the process returns to step S502. If all blocks of the page currently being output have been transmitted, the process proceeds to step S 5 17, and —Add 1 to the divisor and return to step S502.
  • step S518 it is determined whether the data transmission prohibition flag of the received status is “1”. When the receiving buffer becomes full, the data transmission disable flag is set to “1”. If the data transmission prohibition flag is 1, the image data transmission is prohibited, and the flow advances to step S 5 19. If the data transmission prohibition flag is 0, transmission of image data is permitted, and the process proceeds to step S520.
  • step S520 it is determined whether printing can be started.
  • the transmitted data size is the data size of each color, the calculated data amount of each color data, and the data that can be transferred to the output device while outputting one page of each color data. If it is larger than Max De1aySize calculated based on the surface transfer amount, which is the amount, the necessary amount of data is transmitted before printing starts, and it is determined that printing is possible. If it is determined that printing is possible, the process proceeds to step S522, and if it is determined that printing cannot be started, the process proceeds to step S522.
  • step S 518 If it is determined that the overnight transmission prohibition flag is 1 in step S 518, the process proceeds to step S 519.
  • the fact that the data transmission prohibition flag is 1 means that the buffer on the printer side is already full at that time, so no further image data can be transferred in advance. Send.
  • step S522 one block (predetermined amount) of image data is transmitted. Transmitting one block (predetermined amount) of image data in step S522 allows the memory to be fully utilized when the memory capacity provided for the printer is small.
  • step S522 the size of the image data transmitted in step S522 is added to the transmitted data size. Then, by repeating the processing from step S502 to step S523, the Max Delay Size or more is obtained. Is transmitted in advance. Further, the transfer of image data for each block may be repeated in the process of step S522, but the process of step S522 may be performed in advance by transmitting image data of MaxDelaySize or more. May be.
  • the image data amount calculation unit 103 calculates the image data amount of each color according to the flowchart shown in FIG. 3, and the print start instruction determination unit 105 according to the flowchart shown in FIG. Size is obtained, and based on the MaxDelaySize, the print start instruction is sent from the print start instruction unit 106 to the printer 107 at the timing shown in the flowcharts of FIGS. 5A and 5B, from the start of printing to the end of printing. Time can be made constant. This makes it possible to avoid a situation where the entire image data constituting one page cannot be received from the time the engine starts printing to the time the printing ends.
  • the time required for the printer to print one plane is Tp
  • the data transfer speed is D
  • the plane transfer amount that is, TpXD
  • TpXD the plane transfer amount
  • the image data is composed of four colors, Ye 11 ow, Magneta, Cyan, and B 1 ack, and shall be printed in this order.
  • the size of each plane is as follows: .
  • FIG. 6 is a conceptual diagram of a process when a print process is performed at a print start instruction timing obtained by a conventional print processing method.
  • reference numeral 601 denotes an ideal print processing time from the start of printing to the end of printing. (In the figure, the 'horizontal direction indicates the time direction). In other words, in this embodiment, four planes (Y, M, C, and K) are printed in comparison to the time Tp required for the printer to print one plane, so the ideal print processing time is four times. ⁇ .
  • the print start timing is calculated based only on the relationship between the total amount of print data to be transferred and the surface transfer amount.
  • the print start timing may be the same as the start of the data transfer. There is a delay during printing, and the overall print processing time from the start to the end of printing is the ideal print processing time (4Tp) Was to be exceeded.
  • the print processing time from the start of printing to the end of printing can be kept constant (4Tp).
  • Fig. 7 shows a conceptual diagram of the process when a print start instruction is issued after transferring Yellow Data by the amount of 60 minutes.
  • the time Tp for printing the Ye 11 ow (one plane) elapses. Since all data (160) of Ye 11 ow is transferred to the printer, print processing can be performed without delay.
  • a print start instruction can be sent at an appropriate evening, so that the print processing time from the start of printing to the end of printing is reduced to the ideal print processing time ( 4Tp).
  • the print processing method even when the data amount of a specific plane is large as in the first embodiment, it is possible to calculate the optimal print start instruction timing for keeping the print processing time constant.
  • the features of the print processing method according to the present embodiment are not limited to this. For example, when there are two print data, the data amount of each plane constituting each print data is the same, and the transfer order (plane order) of the print data is different, It is possible to calculate the optimal print start instruction timing for keeping the print processing time constant for each print job. In this embodiment, a case where such a feature becomes clear will be described.
  • the time required for the printer to print one plane is Tp
  • the data transfer speed is D
  • the surface transfer amount is 100.
  • the two image data are composed of four colors, Ye 11 ow, Magenta, Cyan, and B 1 ack.
  • the size and plane order of each plane for each image are as follows. (Data 1 and Data 2 are Size is the same, only the surface order is different).
  • FIG. 8 is a conceptual diagram of processing in a case where printing processing is performed on data 1 under the above preconditions at the print start instruction timing obtained by the printing processing method according to the present embodiment.
  • MaxDe1aySize 70.
  • the print processing time can be kept constant as shown by 802 and 803 in FIG.
  • FIG. 9 is a conceptual diagram of processing in a case where print processing is performed on data 2 under the above preconditions at the print start instruction timing obtained by the print processing method according to the present embodiment.
  • 601 is the ideal print processing time
  • 803 is the print processing time when a print start instruction is issued based on the MaxD e 1 ay Size obtained for one day. Are shown respectively.
  • Data 1 and Data 2 have the same amount of data in each plane, but the surface order is different However, as is clear from 803, if the print start instruction is given based on the Max De 1 ay Size obtained for Day 1, the print processing time cannot be kept constant. .
  • the print processing time can be kept constant.
  • the printing start instruction is issued after transferring the Ye 11 ow data by the data amount of 80, the transfer of the K data has already been completed by the data amount of 30 at the start of printing of the K data. In state. Therefore, before the time Tp elapses from the start of printing the K data (until the printing process of the K data is completed), a further data amount of 100 is transferred to the K data, and the entire data is transferred.
  • Data volume 130 can be transferred. As a result, there is no delay in printing K data, and printing can be performed in an ideal print processing time (4 Tp). In other words, assuming that a print job has already been prepared, a printing apparatus that does not wait for or cannot wait for image formation processing between the start of printing and the end of printing Also, the printing process can be terminated normally.
  • the print start instruction timing obtained by the print processing method according to the present embodiment satisfies the following requirements. That is, if a print start instruction is issued at the print start instruction timing,
  • the color print data that cannot maintain a constant print processing time from the start of printing to the end of printing at the print start instruction timing obtained based on the conventional print processing method. Even in this case, it is possible to calculate an appropriate print start instruction timing that can keep the print processing time constant.
  • the print processing method it is possible to calculate an appropriate print start instruction timing even when the transfer order (plane order) of print data including a plurality of planes is changed. .
  • an appropriate amount of print data for each color plane is considered.
  • the determination of the print start instruction is connected to the printing device.
  • the description has been made in such a way as to be performed in a selected information processing apparatus.
  • the present invention is not limited to this, and a part of the processing of the first and second embodiments may be executed by the printer.
  • the result of the calculation according to the flowchart of FIG. 3 executed by the host computer is notified to the printer, and the printer receives the calculation result based on the received calculation result and outputs the results shown in FIGS. 4, 5A, and 5B.
  • Execute the flowchart it is assumed that the plane transfer amount is stored in advance in the printing process. For example, a form in which the surface transfer amount is calculated from the transfer speed notified from the host computer, the color engine speed of the own device, and the number of color planes is assumed.
  • 5A and 5B can be described as a process between the control circuit 31 and the print engine 35 in FIG.
  • the host computer 101 corresponds to a control circuit 31 which is a printer controller
  • the printer 107 corresponds to a printer engine 35 (including an engine control circuit not shown), and the processing of each step is performed. Can be explained.
  • step S520 is the process of the control circuit 31 with the content of "image data size received from host computer 101> MaxDe1aySize".
  • the host computer does not know the engine speed and the like of each of the plurality of printers, it is possible to obtain a special effect that an appropriate print start timing can be determined. Can be. .
  • the present invention may be applied to a system including a plurality of devices or to an apparatus including a single device.
  • the program codes of the software for realizing the functions of the above-described embodiments are downloaded and executed via a network or the like, or a recording medium on which the program codes are recorded is stored in a system.
  • a recording medium on which the program codes are recorded is stored in a system.
  • this can be achieved by supplying the program to the device and causing the computer (or CPU or MPU) of the system or device to read and execute the program code stored in the recording medium.
  • the program code itself read from the recording medium implements the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention.
  • Examples of the recording medium for supplying the program code include a floppy disk (registered trademark), a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, ROM or the like can be used.
  • the program code read from the recording medium is written into the memory provided in the function expansion unit inserted into the computer and the function expansion unit connected to the computer, the program code is read based on the instruction of the program code.
  • the CPU included in the function expansion board and the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
  • print data of a multi-color plane is In a printing system including an output device for performing output processing and an information processing device connected to the output device, a print start is instructed at an appropriate timing in consideration of a print data amount for each color plane, so that a plurality of color planes can be output. It is possible to obtain a normal printing result even in a printing job.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

複数色の色プレーンの印刷データにおいても、正常な印刷結果を得ることができる情報処理装置を提供する。具体的には、カラー印刷データを出力するプリンタ107と接続されるホストコンピュータ101であって、プリンタ107において出力されるカラー印刷データ1頁を構成する各色データのデータ量を算出する手段(103)と、前記算出された各色データのデータ量と前記各色データ1頁を出力する間にプリンタ107に転送可能なデータ量である面転送量とに基づいて、前記出力装置に印刷開始指示を行うタイミングを決定する手段(105)と、前記出力するカラー印刷データをプリンタ107に転送後、前記決定されたタイミングでプリンタ107に印刷開始指示を行う手段(106)とを備えることを特徴とする。

Description

情報処理装置および印刷処理方法ならびにプログラム、 記憶媒体 技術分野
本発明は、 データの出力が可能な出力装置に接続される情報処理装置に 関するものであり、 特に適切なタイミングで出力装置の印刷開始指示を導 き出す印刷処理に関するもので明ある。 背景技術 書
レーザ一ビームプリン夕に代表されるように、 従来より、 ホストコン ピュー夕から受信した印刷デ一夕を印刷するべ一ジプリン夕の印刷方法と して、 必要なメモリ容量を小さくするために、 印刷デ一夕の受信と同時に 印刷開始を指示し、 印刷データを受信しながら印刷する方法が知られてい る。 しかし、 ページプリンタでは、 エンジンが印刷を開始してから終了す るまでのページごとの時間が一定に定められており、 印刷終了までに 1ぺ ージを構成する印刷データの全体を受信できなかった場合には、 正常な印 刷結果を得ることが出来ない。 従って、 ホストコンピュータとプリンタと の間を接続しているィンタ一フェースが十分に高速でない場合、 1ページ を構成する印刷データの量が多ければ、 印刷開始を指示してから印刷終了 するまでに 1ページを構成する印刷データの全体を受信し終えることが出 来ず、 正常な印刷結果を得ることが出来ない。
そこで、 このような問題に対処すべく、 例えば、 特開平 0 6— 3 2 0 8 0 6号公報には、 印刷データを受信したプリンタにおいて、 「スリーク転 送ページ」 コマンドが受信されるとヘッダ一部分が処理され、 ヘッダ一内 のしきい値に従つて、 パッファとして割り当てられた R AM部分が I ZO バッファとして動作するように設定され、 しきい値を満たすラスタ ·ィメ ージ ·データがバッファされるとプリントエンジン 3 4がオンされ、 印刷 処理がなされる技術が開示されている。 そして、 同公報によればホストコ ンピュー夕におけるしきい値の設定は、 レ一ザ ·プリント ·エンジンの周 知のプリント速度及び標準 Iノ〇の予め想定された転送速度に従って決定 することとなっている。
また、 特開 2 0 0 1— 1 4 2 6 7 0号公報には、 画像データの圧縮率を 考慮した画像デ一夕サイズとインタ一フェースの転送速度とから、 ある一 定量のデータをプリン夕に転送後、 エンジンの印刷を開始し、 その後はデ —夕を転送しながら印刷を継続するという技術が開示されている。
しかしながら、 上記いずれの従来技術を用いても、 印刷デ一夕がカラ一 の場合 (複数色の色プレーンを有する場合) には、 データによっては正常 な印刷結果が得られないことがある。 つまりカラーの印刷デ一夕の場合、 エンジンは各色プレーンをそれぞれ所定の順番で転写体に印刷するので、 印刷デー夕が全体として比較的大きくないデ一夕量であったとしても、 あ る 1つの色プレーンのデータ量が大きい場合には、 その色プレーンの印刷 において、 その色プレーンの印刷データの受信が間に合わず、 印刷に失敗 してしまう (つまり、 印刷開始から印刷終了までの時間が一定時間内にお さまらない) という問題点があった。 発明の開示 ·
本発明は、 上述した課題に鑑みてなされたもので、 複数色プレーンの印 刷データを出力処理する出力装置に接続される情報処理装置において、 各 色プレーンごとの印刷データ量を考慮した適切なタイミングで印刷開始を 指示することで、 複数色の色プレーンの印刷デ一夕においても、 正常な印 刷結果を得ることができるようにすることを目的とする。
上記の目的を達成するために本発明に係る情報処理装置は以下のような 構成を備える。 即ち、 カラー印刷デ一夕を出力する出力装置と接続される情報処理装置であつ て、
前記出力装置において出力されるカラ一印刷デ一夕 1頁を構成する各色 データのデータ量を算出する算出手段と、
前記算出された各色データのデータ量と、 前記各色データ 1頁を出力す る間に前記出力装置に転送可能なデータ量である面転送量とに基づいて、 前記出力装置に印刷開始指示を行うタイミングを決定する決定手段と、 前記出力するカラー印刷データを前記出力装置に転送後、 前記決定され たタイミングで前記出力装置に印刷開始指示を行う指示送信手段とを備え る。
本願発明の他の特徴や利点は、 添付図面を参照してなされる以下の説明 により明らかになるであろう。 図面の簡単な説明
本発明の特徴と利点は、 以下の添付図面と共に好適な実施形態の詳細な 説明を読めばより十分に理解されるだろう。
図 1は、 本発明の一実施形態にかかる情報処理装置を備える印刷処理シ ステムのシステム構成を示すブロック図である。
図 2は、 本発明の一実施形態にかかる情報処理装置を備える印刷処理シ ステムの構成を説明するブロック図である。
図 3は、 本発明の一実施形態にかかる情報処理装置の送信プログラムに おける、 画像データ量を算出するための処理の流れを示すフローチャート である。
図 4は、 本発明の一実施形態にかかる情報処理装置の送信プログラムに おける、 遅延転送量を算出するための処理の流れを示すフローチャートで ある。
図 5 A、 5 B は、 本発明の一実施形態にかかる情報処理装置の送信プロ グラムにおける、 印刷処理の流れを示すフローチャートである。
図 6は、 従来の方式により印刷処理した場合の遅延の様子を示した図で ある。 .
図 7は、 実施例 1の印刷処理時の処理の様子を示した図である。
図 8は、 実施例 2の印刷処理時の処理の様子を示した図である。
図 9は、 実施例 2の印刷処理時の処理の様子を示した図である。 発明を実施するための最良の形態
一実施の形態
以下、 図面を参照して、 本発明の実施の形態を詳細に説明する。 本発明 によれば、 例えば、 ホストコンピュータ等から受信した印刷データを格納 するメモリと、 該メモリに格納された印刷データをドットイメージに展開 すると共に印刷出力する印刷手段とを少なくとも備えるプリン夕において、 可能な限りの高速印刷を行うことが可能となる。
図 1は本発明を一実施形態にかかる情報処理装置を備える印刷システム 全体を示すブロック図である。 1 0 2は画像データ生成部であり、 アプリ ケ一シヨン (不図示) から受け取ったデータから画像データを生成する。 1 0 3は画像データ計算部であり、 画像データがモノクロかカラ一かを判 別し、 各色プレ一ンのデータ量を算出する。 1 0 4は画像データ転送部で あり、 画像データ計算部 1 0 3から受け取った画像データをプリン夕へ転 送する (なお、 ホストコンピュ一夕 1 0 1において生成された画像データ のうち、 プリンタ 1 0 7に転送されるデータを "印刷データ" と呼ぶこと とする。 以下同じ)。 1 0 5は印刷開始指示判断部であり、 画像データ量 計算部 1 0 3から画像データの種別 (カラーまたはモノクロ) と画像デ一 夕のデータ量とを受け取るとともに、 画像データ転送部 1 0 4から印刷デ 一夕の転送速度を受け取り、 これらに基づいて適切な印刷開始指示のタイ ミングを判断する。 1 0 6は印刷開始指示部であり、 画像データ転送部 1 0 4からプリン夕 1 0 7へ転送された印刷デ一夕のデータ量を監視し、 印 刷開始指示判断部 1 0 5において判断された適切な印刷開始指示の夕イミ ングに基づいて、 プリンタ 1 0 7へ印刷開始の指示を行う。
図 2は、 図 1に示した印刷システムのうち、 通信制御部に関連する構成 を示す図である。 はじめにホストコンピュータ 1 0 1の通信制御に関する 構成について説明する。
ォペレ一ティングシステム (O S ) 2 0は、 C P U、 メモリ、 ハードデ イスク、 通信ポート 2 5などのハードウェアの管理、 およびアプリケ一シ ヨンプログラム 2 1、 プリンタドライパプログラム 2 2、 送信プログラム 2 3、 通信ドライバ 2 4などのソフトウェアの管理を行う。
アプリケーションプログラム 2 1は、 操作者の指示に従って画像データ を作成するとともに、 ォペレ一ティングシステム 2 0を経由してプリンタ ドライバプログラム 2 2に画像データを送り、 印刷指令を発行する。 プリン夕ドライバプログラム 2 2は、 アプリケーションプログラム 2 1 から発行された印刷指令に基づき、 プリン夕 1 0 7が印刷を行うための画 像デ一タを作成する。 この画像データには圧縮が施されるものとする。 な お、 画像データの圧縮処理はプリン夕ドライバプログラム 2 2により行わ れても良いし、 プリン夕ドライバプログラム 2 2とは別の圧縮モジュール により行われても良いし、 通信プログラム 2 3により行われても良い。 プリンタドライバプログラム 2 2が生成する画像データは、 同様の構成 を有する複数のページを備えており、 各ぺ一ジは、 1つのページ開始コマ ンドと 1つの画像データ開始コマンド、 ならびに 1つ以上の画像データコ マンドおょぴ 1つのページ終了コマンドとによって構成されている。 ページ開始コマンドは、 用紙サイズ、 画像データの幅と高さ、 画像デー 夕のサイズなど、 印刷の制御に必要な情報を指定するコマンドである。 画 像デー夕コマンドは、 印刷されるべきブロックを指定するコマンドである (アプリケーションプログラム 2 1が発行した印刷指令に従って生成され た画像データは、 圧縮された上で、 例えば 3 2 K B以下のブロックに分割 されている)。 ページ終了コマンドは、 1つのページの印刷データの終了 を示すコマンドである。
送信プログラム 2 3は、 後述する手順により、 プリン夕 1 0 7から取得 したプリン夕ステータスに従って、 プリンタドライバプログラム 2 2が作 成した画像データを通信ドライバ 2 4、 通信ポート 2 5を経由して印刷デ —夕としてプリン夕 1 0 7に送信する。 通信ドライバ 2 4は、 送信プログ ラム 2 3の要求に従い、 通信ポートを制御して、 プリン夕 1 0 7との間の 送受信を行う。
次にプリン夕 1 0 7の通信制御に関する構成について説明する。 通信ポ —卜 3 0は、 例えばパラレルインタフエ一スケーブルにより、 ホストコン ピュ一タ 1 0 1の通信ポート 2 5に接続される。 .もちろん接続は、 ネット ワークを介して行われていてもよい。
制御回路 3 1は、 例えば、 R OM、 R AMおよびタイマーを内蔵した 1 チップ C P Uで構成され、 通信ポート 3 0、 F I F Oメモリ 3 2、 復号回 路 3 3、 シフトレジスタ 3 4、 および内蔵するタイマーの制御を行うとと もにプリン夕エンジン 3 5との間でシリアル信号を用いてエンジンコマン ドの送信およびエンジンステ一タスの受信を行う。
F I F O (ファーストインファーストアウト) メモリ 3 2は、 例えば、 0 . 5 MBの容量を有し、 通信ポート 3 0が受信した印刷データを記憶し、 記憶した印刷デ一夕を先入れ先出しの順に復号回路 3 3に出力する。 F I F〇メモリ 3 2は、 空き容量があるか否かを示す信号を制御回路 3 1に出 力する。
復号回路 3 3は、 F I F Oメモリ 3 2に記憶された印刷デ一夕を復号し、 シフトレジスタ 3 4に出力する。
シフトレジス夕 3 4は、 プリンタエンジン 3 5から主走査の開始を通知 する信号を受信すると、 復号回路 3 3が出力したパラレルデ一夕をシリア ルデータに変換し、 プリンタエンジン 3 5に出力する。
プリンタエンジン 3 5は、 レーザ一ビームプリンタエンジンからなり、 制御回路 3 1との間でシリアル信号を用いてエンジンコマンドの受信およ びエンジンステータスの送信を行い、 制御回路 3 1から P R I N Tコマン ドを受信すると 1ページの印刷処理を開始し、 用紙が主走査を開始すべき 所定の位置に達すると、 主走査の開始を通知する信号をシフトレジス夕 3 4に出力し、 シフトレジス夕 3 4が出力したシリアルデータに従って印刷 を行う。
ホストコンピュータ 1 0 1から受信した印刷データを印刷するプリンタ 1 0 7では、 スル一プットを向上させるため、 印刷データを受信すると同 時に印刷開始を指示することが多い。 しかし、 印刷データのサイズが大き く、 転送が間に合わない場合は、 正常な印刷結果を得ることができない。 その時、 正常な印刷結果が得られるかどうかは実際に印刷してみないとわ からず、 トナ一や用紙の無駄な消費になっているという問題がある。 逆に、 正常な印刷結果を得るために印刷データの転送が終わってから印刷開始を 指示することがあるが、 その場合、 必要以上にスル一プットを低下させて しまうという問題がある。
その 1つの解決策として、 印刷データとィンターフェースの転送速度と から算出したデータ量を予めプリン夕本体に転送し、 その後印刷を開始す るという方法があるが、 上述したように、 この方法によれば印刷デ一夕が カラ一の場合、 全体のデ一夕量が多くないが、 ある色プレーンのデ一夕量 のみが多い場合に、 正常な印刷結果が得られないこととなってしまう。 つ まり、 従来の方法では印刷データ量としては多くないので、 早いタイミン グで印刷開始をしても問題ないと判断されてしまい、 データ量の多いプレ ―ンが印刷されるときに印刷開始から印刷終了までの時間が一定時間内に おさまらず、 失敗してしまうということとなる。
そこで以下では、 カラーの印刷データを出力する出力装置と通信可能に 接続されるホストコンピュータであって、 OSを介して供給される描画命 令に基づき生成された各色の画像データサイズとプリンタが所定色の印刷 データを 1頁処理する間に転送可能な面転送量とに基づき、 適切な夕イミ ングでプリン夕に対して印刷開始指示を行うことが可能なホストコンビュ 一夕における印刷処理の詳細について説明する。
図 3、 4、 5A、 5B は、 本実施形態にかかるホストコンピュータ (情 報処理装置) の動作を示すフローチャートである。 実際にはホストコンビ ユー夕 101の送信プログラム 23、 あるいは通信プログラム 23とプリ ン夕ドライバプログラム 22との協働によって実行される。 また、 実際の 印刷処理においては図 3、 4、 5A、 5 Bの順で処理が行われる。
図 3は、 画像デ一夕からそのデータ量を算出する処理を示すフローチヤ —卜であり、 図 1中の画像デ一夕計算部 103により実行される。 Ima g e S i z e及び P 1 a n e S i z e [1] 乃至 [4] は 0に初期化され ている。 画像デ一夕を受け取った送信プログラム 23は、 まずステップ S 301で受け取ったコマンドが画像デー夕コマンドであるかどうかを判別 し、 画像データコマンドである場合には、 ステップ S 302に進み、 画像 データコマンドでない場合には、 ステップ S 311に進む。
ステップ S 302では、 その画像データコマンドのデータサイズを Im a g e S i z eに加算する。 すべての画像データコマンドのサイズが I m a g e S i z eに加算されるので、 I m a g e S i z e力そのページの画 像データのサイズとなる。 ステップ S 303で画像データが Ye 1 1 ow の画像デ一夕かを判別し、 Ye l l owの画像デ一夕の場合は、 ステップ S 304に進み、 違う場合はステップ S 305に進む。
ステップ S 304では、 P l an e S i z e [1] にデータサイズを加 算する。 P l ane S i z eの添え字は印刷時の面順 (転写体に転写する 際の順序) を示している。 本実施形態では特別のことわりがない限り、 以 下、 原則として Ye 1 1 ow、 Mage n t a, Cyan, B 1 a c kの 面順で転写体に印刷されるものとする。
ステップ S 305で画像データが Ma g e n t aの画像デ一夕かを判別 し、 Ma g e n t aの画像デ一夕の場合は、 ステップ S 306に進み、 違 う場合はステップ S 307に進む。 ステップ S 306では、 P l ane S i z e [2] にデータサイズを加算する。
ステップ S 307では画像デ一夕が Cy a nの画像デ一夕かを判別し、 Cy anの画像データの場合には、 ステップ S 308に進み、 違う場合は ステップ S 309に進む。 ステップ S 308では、 P 1 ane S i z e [ 3] にデータサイズを加算する。
ステップ S 309では画像データが B 1 c kの画像データかを判別し、 B 1 a c kの画像データの場合には、 ステップ S 310に進み、 違う場合 はステップ S 301に進む。 ステップ S 311では、 コマンドがページ終 了コマンドかを判別し、 ページ終了コマンドでない場合にはステップ S 3 01に戻り、 次のコマンドを処理する。 ページ終了コマンドの場合には、 そのページのデータ量の算出は終了したと判断し、 処理を終える。
図 4は、 モノクロの場合においては図 3の処理で算出された全体のデー 夕量と面転送量との差から、 カラーの場合においては、 各色のうち転送さ れる所定の色の画像データサイズと面転送量との差と、 先に送信する他の 色の画像データサイズと面転送量との差との和で最大のものから遅延画像 デ一夕サイズ (MaxDe 1 a y S i z e) を決定する処理を示すフロ一 チャートである。 この図 4に示されるフロ一チャートは図 1中の印刷開始 指示判断部 105により実行される。
転送速度は、 現在、 一般的に使用されている LPTポート、 USBポー トの平均的な速度である 75 OKB/s e cとする。 USB2. 0の H i -Sp e e d ( 60 MB/S) 等の高速なインターフェースで接続される 場合も考えられるが、 画像データの転送自体が数百 ms e cで終わってし まうので、 かかる転送速度により転送しても問題ない。 また、 送信プログ ラムは自分がどのようなエンジンの送信プログラムであるかを知っている ので、 色プレーン数 =4色 (P 1 an eNum=4) は既知とする。
MaxDe 1 ay S i z e, De l ayS i z e [1] 乃至 [4] は 0 に初期化されている。 De 1 ayS i z e [i] は、 各色プレーンを印刷 する際に、 印刷を開始する前に予めプリン夕に送信が必要なデータ量 (以 後、 遅延転送量) が格納される。
まず、 ステップ S 401では受け取った画像データがカラー画像デ一夕 であるか否かを判別する。 カラー画像データであるか否かは、 送信プログ ラムにおいて受け取ったデータに設定されているフラグを見ることで判別 される。 カラ一画像データの場合には、 ステップ S402に進み、 モノク 口画像データの場合にはステップ S 411に進む。
ステップ S 402では、 色プレーンの 1面がプリンタにおいて転写体に 対して印刷処理を完了するまでに転送可能なデータ量である面転送量を、 転送速度とエンジンスピードと 1つのプレーンを印刷する時間とに基づい て算出する。 例えば、 エンジンがカラー 4 p pmで色プレーンが 4色だと すると、 1つの色プレーンを印刷する時間は、 4 ( pm) を 4 (色) で 割った値を 60倍した、 60 s e c/4 (ppm) /4 (色数) となるの で、 面転送量は、
面転送量 = 転送速度 (75 OKBZs e c) * 60Z4Z4 と計算される。
ステップ S 403では処理に使用する変数 iを 0に初期化する。 ステツ プ S 404では iをインクリメントレ、 印刷の面順に処理を行う。
ステップ S 405では iが P 1 aneNum (=4) 以下か否かを判別 し、 P 1 an eNum以下であれば、 まだプレーンがあるのでステップ S 406に進む。 P 1 a n eNumより大きい場合はすべてのプレーンに関 して処理を行ったと判断し、 処理を終了する。
ステップ S 406では、 iが 1かどうかを判別し、 1の場合は、 最初の 色プレーンと判断し、 ステップ S 407に進む。 1でない場合は、 ステツ プ S 409に進む。
ステップ S 407では、 P l an e S i z e [1] (本実施形態では Y e 1 1 owの画像データサイズ) と面転送量との差分を De 1 ay S i z e [1] に代入する。 つまり、 面転送量よりも画像データサイズが大きい 場合には、 印刷処理の間に印刷データの転送が間に合わないこととなるた め、 予め転送しておく必要がある。 そして、 色プレーンのデータ量から面 転送量を差し引いた値が第一面 (Ye.1 1 ow) の遅延転送量として De 1 ay S i z e [ 1 ] に保持される。 なお、 面転送量が P 1 an e S i z e [1] よりも大きな場合には De 1 ay S i z e [1] の値はマイナス として演算されることとなる。
ステップ S 408では、 De l ayS i z e [1] を MaxDe l ay S i z eに代入する。
一方、 ステップ S 409では、 第二面以降 (Ma g e n t a、 Cyan, B l a c k) の遅延転送量を算出する。 第二面以降は、 前の色プレ一ンの データ量が面転送量より小さい場合は、 前の色プレーンを印刷中に次の色 プレーンのデータを転送でき、 大きい場合には、 さらに遅延させなければ ならないため、 前面までの遅延転送量 De l ayS i z e [i— 1] をそ の面の遅延転送量に加算しなければならない。 ステップ S 410では、 そ の時の Ma xD e l ayS i z eと De l ayS i z e [ i ] とを比較し、 大きいほうを遅延画像データサイズ (MaxDe l ayS i z e) に代入 する。
なお、 モノクロ印刷の場合には、 ステップ S 411でカラ一印刷の場合 のステップ S 402と同様に面転送量を算出する。 モノクロの場合、 色プ レーン数は 1となる。 ステップ S412では、 色が 1つしかないので、 そ のページの画像デ一夕のサイズから面転送量を差し引いた値が、 遅延転送 量となるので、 その値を MaxDe l ayS i z eとする。 図 5 A、 5 B は、 図 4の処理で算出した遅延画像データサイズ (M a x D e 1 a y S i z e ) を使用して実際に印刷を行うときの処理を示すフロ 一チャートであり、 図 1中の画像転送部 1 0 4、 印刷開始指示部 1 0 6或 は図 2中の通信プログラムにより各色のページ毎に実行される。 送信プロ グラム 2 3は、 ワーク領域として出力済みページ数、 デ一夕送信が完了し たページ数、 送信済みデータサイズを保持しており、 初期値は 0である。 まず、 ステップ S 5 0 1にて、 ポートの種類を判断する。 ポートの種類 は、 例えばポート名から判断し、 L P T、 U S B等が含まれていればロー カル、 そうでなければネットワークであると判断する。 口一カルであれば、 ステップ S 5 0 2に進み、 'ネットワークの場合は、 別の処理によって印刷 が行われ、 終了する。 例えば、 別の処理としてはプリンタに備えられたネ ッ卜ワークインタフェースカードのメモリに全データを受信させて、 印刷 を行わせるような処理等が挙げられる。 尚、 ネットワークインタフェース カードにはメモリが十分に備えられているものとする。
ポートの種類がデ一夕の転送速度が安定しているィン夕ーフェースに対 応したポートであればステップ S 5 0 2以降の処理を実行させ、 データの 転送速度が動的に変動し得るようなネットワークインタフエースに対応し たポートであればステップ S 5 0 2以降の処理の代わりに全画像データを 受信させ印刷を実行させるようにすれば、 より安定した、 且つメモリの容 量を全体として小さくすることができるシステムを構築することが可能と なる。
次にステップ S 5 0 2にて、 プリン夕 1 0 7からステ一タス取得コマン ドが送信される。 プリンタにおいてジャムや紙無し等のエラーが発生して いないか、 あるいはホストコンピュータとプリントとの通信状態が正常か 否かを判断するためにステ一夕ス取得が実行される。
ステップ S 5 0 3では、 プリン夕 1 0 7のステータスを受信する。 これ はプリンタ 1 0 7が正常に動作しているか否かを監視する処理が含まれる。 なお、 ステータスは、 エラーフラグ、 印刷完了ページ数、 コマンド送信禁 止フラグ、 およびデ一タ送信禁止フラグにより構成される。 エラーフラグ は、 プリンタ 1 0 7の印刷過程でエラーが検出されたことを示す。 印刷完 了ページ数は、 印刷が正常に終了したページ数を示す。 コマンド送信禁止 フラグは、 プリンタ 1 0 7がページ開始コマンド、 ページ終了コマンドを 受信することができないことを示す。 デ一夕送信禁止フラグは、 プリン夕 1 0 7が印刷データを受信することができないことを示す。
ステップ S 5 0 4では、 受信したステータスのエラーフラグが 1である かどうかを判定する。 エラーフラグが 1である場合は、 所定の印刷エラ一 が発生しているので、 エラー終了する。 エラ一フラグが 0である場合は、 ステップ S 5 0 5に進む。
ステップ S 5 0 5では、 受信したステータスの印刷完了べ一ジ数が、 総 ベージ数に等しいかを判定する。 印刷完了ページ数が総べ一ジ数と等しい 場合は、 全てのページの印刷が正常に終了したので、 正常終了する。 印刷 完了ページ数が総ページ数と等しくない場合は、 全てのページの印刷が正 常に終了していないので、 ステップ S 5 0 6に進む。
ステップ S 5 0 6では、 出力済みぺ一ジ数が総ページ数に等しいかを判 定する。 出力済みページ数が総ページ数と等しい場合は、 全てのページの 送信が終了しているので、 ステップ S 5 0 2に戻る。 出力済みページ数が 総ページ数と等しくない場合はステップ S 5 0 7に進む。
ステップ S 5 0 7では、 これから送信しょうとするコマンドが画像デー タコマンドであるか判定する。 これから送信しょうとするコマンドが画像 データコマンドでない場合は、 ステップ S 5 0 8に進む。
ステップ S 5 0 8では、 受信したステータスのコマンド送信禁止フラグ が 1であるかを判定する。 コマンド送信禁止フラグが 1の場合は、 画像デ —夕コマンド以外のコマンド送信が禁止されているのでステップ S 5 0 2 に戻る。 コマンド送信禁止フラグが 0の場合は、 画像データコマンド以外 のコマンドの送信が許可されているのでステップ S 5 0 9に進む。
ステップ S 5 0 9では、 これから送信しょうとしているコマンドがぺー ジ開始コマンドであるかを判定する。 ページ開始コマンドであると判定さ れた場合は、 ステップ S 5 1 0に進む。
ステップ S 5 1 0では、 送信済みデータサイズを 0にし、 ステップ S 5 1 5に進む。
ステップ S 5 0 9でぺージ開始コマンドでないと判定された場合は、 ス テツプ S 5 1 1に進む。 ステップ S 5 1 1では、 これから送信しようとし ているコマンドがデータ開始コマンドであるかを判定する。 データ開始コ マンドであると判定された場合は、 ステップ S 5 1 2に進む。 それ以外の コマンドであれば、 ステップ S 5 1 5に進む。
ステップ S 5 1 2では、 印刷開始が可能かどうかを判定する (M a x D e 1 a y S i z eが 0以下であれば、 予めデ一夕を転送する必要がなく、 データの開始と同時に印刷開始が可能となる)。 印刷開始が可能であると 判断された場合は、 ステップ S 5 1 3に進む。 印刷開始が可能でないと判 定された場合は、 ステップ S 5 1 5に進む。 ページ開始コマンドを受け取 つた時点では、 まだ画像デ一夕は転送されていない。 このとき、 M a x D e 1 a y S i z eに格納されている値が 0以下であれば、 デ一夕を転送す る前に印刷を指示することが出来ると判断する。
ステップ S 5 1 3では、 所定のコマンド (データ開始コマンド) を送信 する。 ステップ S 5 1 4では、 ステップ S 5 1 2で印刷開始が可能である と判定されているので、 印刷開始コマンドを送信する。
ステップ S 5 1 5では、 所定のコマンド (ページ開始コマンド、 ページ 終了コマンド等) を送信する。 ステップ S 5 1 6では、 現在出力中のベー ジのブロックを全て送信したかを判定する。 現在出力中のページに未送信 のブロックがある場合は、 ステップ S 5 0 2に戻る。 現在出力中のページ のブロックを全て送信した場合は、 ステップ S 5 1 7に進み、 出力済みべ —ジ数に 1を加算し、 ステップ S 5 0 2に戻る。
ステップ S 5 0 7において、 画像データコマンドであると判断された場 合は、 ステップ S 5 1 8に進む。 ステップ S 5 1 8では、 受信したステ一 タスのデータ送信禁止フラグが 1であるかを判定する。 プリン夕は受信バ ッファがフルになった場合にデ一夕送信禁止フラグを 1にする。 デ一タ送 信禁止フラグが 1の場合は、 画像データの送信が禁止されているのでステ ップ S 5 1 9に進む。 データ送信禁止フラグが 0の場合は、 画像データの 送信が許可されているので、 ステップ S 5 2 0に進む。
ステップ S 5 2 0において、 印刷開始が可能であるかを判別する。 送信 済みデ一夕サイズが、 図 3、 4のフローチャートに従い、 各色のデ一夕量 と算出された各色データのデータ量と前記各色データ 1頁を出力する間に 前記出力装置に転送可能なデータ量である面転送量とに基づいて算出され た M a x D e 1 a y S i z eより大きければ、 印刷開始前に転送必要な量 のデータを送信したので、 印刷可能と判断する。 印刷可能であると判別さ れた場合は、 ステップ S 5 2 1に進み、 印刷開始が可能でないと判別され た場合はステツプ S 5 2 2に進む。
ステップ S 5 1 8においてデ一夕送信禁止フラグが 1であると判定され た場合はステップ S 5 1 9に進む。 データ送信禁止フラグが 1であるとい うことは、 その時すでに、 プリン夕側のバッファがフルであるということ であるので、 これ以上予め画像データを転送することが出来ないので、 印 刷開始コマンドを送信する。 ステップ S 5 2 2で、 1ブロック (所定量) の画像データを送信する。 ステップ S 5 2 2で 1ブロック (所定量) の画 像データを送信することは、 プリン夕に備えられたメモリ容量が小さい場 合に、 メモリを十分に活用することができる。
ステップ S 5 2 3で送信済みデータサイズにステップ S 5 2 2で送信し た画像データのサイズを加算する。 そして、 ステップ S 5 0 2からステツ プ S 5 2 3の処理を繰り返すことにより、 M a x D e l a y S i z e以上 の画像デ一夕の送信を予め行う。 また、 ステップ S 522の処理で 1プロ ックづっの画像デー夕を転送を繰り返すようにしても良いが、 ステップ S 522の処理を M axDe l ayS i z e以上の画像データを予め送信す るようにしても良い。
以上のように、 画像データ量計算部 103において、 図 3に示すフロー チャートに従って各色の画像データ量を算出し、 印刷開始指示判断部 10 5において、 図 4に示すフローチヤ一トに従って、 MaxDe 1 a y S i z eを求め、 該 MaxDe l ayS i z eに基づいて印刷開始指示部 10 6等において図 5A、 5B のフローチャートによるタイミングで、 プリン 夕 107に印刷開始指示を送信することで、 印刷開始から印刷終了までの 時間を一定にすることが可能となる。 これにより、 エンジンが印刷を開始 してから終了までに 1ページを構成する画像データの全体を受信できない といったことを回避することが可能となる。
ここで、 本発明の印刷処理方法の特徴をより明確にすべく、 上記実施形 態 (図 1の構成、 図 2等のフローチャート) のもと、 具体的な実施例 (実 施例 1乃至 3) について以下に説明する。
[実施例 1 ]
上述した本発明の一実施形態の具体例を以下に説明する。 本実施例では プリンタが 1プレーン印刷するのに必要な時間を Tp、 データ転送速度を D、 面転送量 (すなわち、 TpXD) を 100とする (なお、 説明の便宜 上、 以下の説明においては、 単位の記載を省略するものとする)。
また、 画像データは Y e 1 1 ow、 Mag en t a, Cyan、 B 1 a c kの 4色から構成されており、 かかる面順で印刷されるものとし、 各プ レーンのサイズは下記の通りとする。
P l ane S i z e [1] (=Y e l l ow) =160
P 1 a n e S i z e [2] (=Ma g e n t a) =90
P l ane S i z e [3] (=Cy a n) =90 P 1 a n e S i z e [ 4] B l a c k) = 6 0
なお、 本実施例の説明にあたっては、 かかる前提条件のもと、 従来の印 刷処理方法により求められた印刷開始指示タイミングにより印刷する場合 と、 本発明の実施形態にかかる印刷処理方法により求められた印刷開始指 示タイミングにより印刷する場合とを対比して説明するものとする。
図 6は、 従来の印刷処理方法により求められた印刷開始指示タイミング により印刷処理を行った場合の、 処理の概念図である。
同図において、 6 0 1は印刷開始から印刷終了までの理想的な印刷処理 時間を示したものである 〈同図において'横方向は時間方向を示すものとす る)。 つまり、 プリン夕が 1プレーンを印刷するのに必要な時間 Tp に対 して、 本実施例では 4プレーン (Y、 M、 C、 K) を印刷するので、 理想 的な印刷処理時間としては 4 Τρとなる。
また、 6 0 2は転送される印刷デ一夕を示したもので、 横軸が時間、 縦 軸がデータ転送速度 (=D) を表している。 つまり、 6 0 2に示す長方形 の面積は、 所定時間内に転送されるデータ量となる。
ここで、 上記従来技術の説明において記載したように、 従来の印刷処理 方法では、 転送される印刷データの総データ量と、.面転送量との関係のみ に基づいて印刷開始タイミングを算出していた。 そして、 本実施例の場合、 総データ量は、 1 6 0 + 9 0 + 9 0 + 6 0 = 4 0 0であり、 面転送量は 1 0 0であるため、 4プレーンでは 4 0 0となり、 総データ量と面転送量と が等しくなる。 このため、 従来の印刷処理方法によれば、 印刷開始指示と データ転送開始とは同時に行えば足りると判断されていた。
しかしながら、 図 6に示すように、 Yデータ (Y e l l o wのデータ) の転送開始とともに Yデ一夕の印刷開始を指示すると、 プリン夕は Yデ一 夕 (1プレーン) を印刷するのに時間 Tp で済むが、 デ一夕転送は Tp の 間に 1 0 0しか行えない。 このため、 Yデータのデータ量 (1 6 0 ) を転 送し終えるまで、 プリンタは途中で印刷処理を待機する必要が生じる (図 6の 603の Tp+o;における αは、 この待機時間に相当する)。 つまり、 印刷開始から印刷終了までの印刷処理時間も、 4 Τ ρ + αだけ必要となり、 印刷処理時間が増加することとなる。 この結果、 印刷開始から印刷終了ま での時間が一定時間内におさまらなくなってしまう。 そして、 電子写真方 式を採用した印刷装置においては、 既に印刷データが用意されていること が前提となっており、 印刷開始から印刷終了の間において画像形成処理を 待機するようなことはできないものも存在する。 このため、 図 6のような 条件の印刷処理結果は失敗となる。
なお、 本実施例の場合、 Ye l l ow以外のデ一夕転送における遅延要 因はない。 つまり、 Ye 1 1 owの印刷完了後、 Magen t aの印刷を 開始した場合、 Ma g e n t aの印刷開始時には、 同時に Ma g e n t a のデータ転送も開始されており、 印刷開始時の遅延は生じない。 また、 面 転送量は 100であるため、 Mag en t a (1プレーン) を印刷する時 間 Tp の間に、 Ma g e n t aのデータ (デ一夕量 = 90) のデータ転送 を完了させることができるため、 Ma g e n t aを印刷中には、 必要な M age n t aのデータはすべてデ一夕転送を完了していることとなり遅延 は生じない。 また、 Cy a nについても Ma g e n t aと同様に、 遅延は 生じない。
さらに、 Cy anの印刷終了とともに B 1 a c kの印刷を開始したとき には、 すでに B 1 a c kのデ一夕 (データ量 =20) は転送が完了した状 態にある。 さらに、 面転送量は 100であるため、 B l a c k (1プレー ン) を印刷する時間 Tp の間に残りのデータ (データ量 =40) を受け取 ることができる。
このように、 従来の方法によれば、 印刷デ一夕の全体データ量が 400 であるため、 印刷開始タイミングをデ一夕転送開始と同時にしてもよいと 判断してしまい、 Ye l l owの印刷時に遅延が生じ、 全体としても印刷 開始から印刷終了までの印刷処理時間が理想的な印刷処理時間 (4Tp) を越えてしまうこととなっていた。
これに対して、 本実施形態にかかる印刷処理方法により求められた印刷 開始指示タイミングによれば、 印刷開始から印刷終了までの印刷処理時間 を一定 (4Tp) に保つことが可能となる。
まず、 図 4のステップ S 407より、 De l ayS i z e [1] =P 1 ane S i z e [1] —面転送量 =60となり、 ステップ S 408より、 Ma De l ayS i z e=60と算出される。
さらに、 ステップ S 409では、 De l ayS i z e [2] =D e 1 a y S i z e [1] +P l ane S i z e [2] —面転送量 = 60 + 90— 100 = 50となり、 ステップ S 410では Max (Ma De 1 y S i z e、 De l ayS i z e [2]) =Ma x (60、 50) =60と算 出される。
同様に、 De l ayS i z e [3]、 De l ayS i z e [4] につい ても算出すると、 最終的に MaxDe 1 ay S i z e = 60と算出される。 この結果、 本実施形態にかかる印刷処理方法によれば、 Ye l l owを データ量 60だけ転送した後に印刷を開始すれば、 印刷処理時間を一定に 保つことができると判断される。
Ye l l owデータをデ一夕量 60だけ転送後に印刷開始指示をした場 合の処理の概念図を図 7に示す。 同図の 602、 703より明らかなよう に、 予め Ye 1 1 owのデータをデータ量 60だけ転送しているため、 Y e 1 1 ow (1プレ一ン) を印刷する時間 Tp が経過するまでに Ye 1 1 owの全データ (160) が転送されるため、 遅延なく印刷処理が可能と なる。
次に Mag en t a (1プレーン) を印刷開始しょうとした際には、 す でに Ma g e n t aのデ一夕転送を開始しているため、 同様に遅延なく印 刷が開始できる。 また、 Ma g e n t aを印刷する時間 Tpが経過するま でに Mage n t aのデータ転送は完了しているため、 ここでも遅延は生 じない。 さらに、 Cy anについても同様の結果となる。
さらに、 Cy anの印刷終了とともに、 B 1 a c kの印刷を開始したと き、 すでに B 1 a c kのデータ (データ量 =20) は転送が完了した状態 にある。 そして、 B l ac k (1プレーン) を印刷する時間 Tp が経過す るまでに転送できるデ一夕量は 100であるため、 B l a c k (1プレ一 ン) を印刷する時間 Tp の間に残りのデ一夕 (データ量 =40) を受け取 ることができる。
このように、 本実施形態にかかる印刷処理方法によれば、 適切な夕イミ ングで印刷開始指示を送ることができるため、 印刷開始から印刷終了まで の印刷処理時間を理想的な印刷処理時間 (4Tp) にすることができる。
[実施例 2]
本実施形態にかかる印刷処理方法によれば、 実施例 1のように特定のプ レーンのデータ量が多い場合でも、 印刷処理時間を一定にするための最適 な印刷開始指示タイミングを算出することが可能となるが、 本実施形態に かかる印刷処理方法の特徴はこれに限られない。 例えば、 2つの印刷デ一 夕があり、 各印刷データを構成する各プレーンのデータ量がそれぞれ同じ で、 かつ印刷デ一夕の転送順序 (面順) が異なる関係にある場合にも、 そ れぞれの印刷デ一夕に対して印刷処理時間を一定にするための最適な印刷 開始指示タイミングを算出することが可能である。 本実施例では、 かかる 特徴が明確になるケースについて説明することとする。
上記実施例 1同様、 本実施例でもプリン夕が 1プレーン印刷するのに必 要な時間を Tp、 デ一タ転送速度を D、 面転送量 (すなわち、 TpXD) を 100とする (なお、 説明の便宜上、 以下の説明においては、 単位の記載 を省略するものとする)。
また、 2つの画像データは Y e 1 1 ow、 Ma g e n t a、 Cy a n、 B 1 a c kの 4色から構成されており、 各画像デ一夕の各プレーンのサイ ズおよび面順は下記の通りとする (データ 1と、 データ 2とは、 各プレー ンのサイズが同じで面順のみが異なる)。
(データ 1 )
P l ane S i z e [1] (= Ye l l ow) =16 0
P l aneS i z e [2] (= M a g e n t a) = 9 0
P l ane S i z e [3] (= Cy an) =90
P l ane S i z e [4] (= B l a c k) =130
(デ一夕 2)
P l an eS i z e [1] (= Ye l l ow) =16 0
P l aneS i z e C2] (= M a g e n t a) = 9 0
P l neS i z e [3] (= B l a c k) =130
P l an e S i z e [4] (= Cyan) =90
図 8は、 上記前提条件のもとデータ 1に対して、 本実施形態にかかる印 刷処理方法により求められた印刷開始指示タイミングにより印刷処理を行 つた場合の処理の概念図である。
上記実施例 1と同様に図 4のフローチヤ一トに従って Ma xDe 1 ay S i z eを求めると、 最終的に MaxDe l ayS i z e = 70と算出さ れる。
したがって、 データ 1の Ye 1 1 owデータをデータ量 70だけ転送後 に印刷開始指示をだすと、 図 8の 802、 803に示すように、 印刷処理 時間を一定に保つことができることがわかる。
一方、 図 9は、 上記前提条件のもとデータ 2に対して、 本実施形態にか かる印刷処理方法により求められた印刷開始指示タイミングにより印刷処 理を行った場合の処理の概念図である。 差異が明確になるように、 601 に理想的な印刷処理時間を、 803にデ一夕 1に対して求めた M a xD e 1 ay S i z eに基づいて印刷開始指示をした場合の印刷処理時間をそれ ぞれ示す。
データ 1とデータ 2とは各プレーンのデ一夕量が同じで、 面順が異なる だけであるが、 803より明らかなように、 デ一夕 1に対して求めた Ma xDe 1 ay S i z eに基づいて印刷開始指示をしたのでは、 印刷処理時 間を一定に維持することができない。
つまり、 Ye 1 1 owデ一夕をデータ量 70だけ転送後に印刷開始指示 を出した場合、 Yデータ、 Mデ一夕の印刷処理は遅延なく実施することが 可能であるが、 Kデータの印刷処理において遅延が生じる。
Kデータの印刷処理開始時点では、 Kデータの一部 (データ量 =20) がすでに転送を完了した状態にあるが、 Kデ一夕の印刷開始から時間 Tp が経過するまでの間に (Kデ一夕の印刷処理が完了するまでの間 ίこ)、 Κ データはさらにデータ量 100が転送されるのみで、 全データ (デ一夕量 130) を転送することはできない。 このため、 Κデータの印刷途中で印 刷処理が待機状態となり遅延が生じる (結果的に、 印刷処理時間は 4Τρ + /3となる)。 また、 待機が行えない印刷装置の場合には、 実施例 1にお いて説明したのと同様に印刷処理は失敗する。
これに対して、 903に示すように、 データ 2に対して求めた Ma xD e 1 a y S i z e (図 4のフローチャートに従って処理すると、 MaxD e l ayS i z e = 80となる) に基づいて印刷開始指示を出した場合に は、 印刷処理時間を一定に保つことが可能となる。 つまり、 Ye 1 1 ow データをデ一タ量 80だけ転送後に印刷開始指示を出すため、 Kデ一夕の 印刷開始時点において、 Kデ一夕はすでにデ一夕量 30だけ転送を完了し た状態にある。 このため、 Kデータの印刷開始から時間 Tp が経過するま での間に (Kデータの印刷処理が完了するまでの間に)、 Kデータはさら にデータ量 100が転送され、 全デ一夕 (データ量 130) を転送するこ とができる。 このため、 Kデータの印刷時の遅延は生じず、 理想的な印刷 処理時間 (4Tp) で印刷処理することが可能となる。 言い換えれば、 既 に印刷デ一夕が用意されていることを前提とし、 印刷開始から印刷終了の 間において画像形成処理を待機しない、 或は待機できないような印刷装置 においても正常に印刷処理を終了させることができる。
上記実施例 1、 実施例 2の説明からわかるように、 本実施形態にかかる 印刷処理方法により求められる印刷開始指示タイミングは以下の要件を満 たすこととなる。 つまり、 当該印刷開始指示タイミングで印刷開始指示が なされた場合、
( i ) 所定のプレーン印刷開始時には、 すでに、 あるいは同時に当該プ レーンのデータ転送が開始されており、
( i i ) 所定のプレーン印刷終了時には、 すでに、 あるいは同時に当該 プレーンのデータ転送が完了しており、
( i i i ) 上記 (i )、 (i i ) の要件が、 印刷データを構成する各プレ ーンの印刷において具備されている、
こととなる。
そして、 かかる要件を具備することにより、 従来の印刷処理方法に基づ いて求められた印刷開始指示タイミングでは、 印刷開始から印刷終了まで の印刷処理時間を一定に保つことができないようなカラー印刷データであ つても印刷処理時間を一定に保つことができる、 適切な印刷開始指示タイ ミングを算出することが可能となる。
さらに、 本実施形態にかかる印刷処理方法によれば、 複数のプレーンか らなる印刷データの転送順序 (面順) が変更になった場合でも適切な印刷 開始指示タイミングを算出することが可能となる。
以上の説明から明らかなように、 本実施形態によれば、 複数色プレーン の印刷データを出力処理する出力装置に接続された情報処理装置において、 各色プレーンごとの印刷デ一夕量を考慮した適切なタイミングで印刷開始 を指示することで、 複数色の色プレーンの印刷デ一夕においても、 正常な 印刷結果を得ることが可能となる。
[実施例 3 ]
実施例 1および 2においては、 印刷開始指示の判断を印刷装置に接続さ れた情報処理装置において行うようにして説明を行ってきた。 しかしなが ら、 これに限定されるものではなく、 プリン夕により実施例 1、 2の処理 の一部を実行させるようにしても良い。
即ち、 ホストコンピュータ (情報処理装置) で実行された図 3のフロー チャートに従う演算結果をプリン夕に通知し、 プリン夕は受^言した演算結 果に基づき図 4、 図 5 A、 5 B のフローチャートを実行する。 この場合に は、 プリン夕には事前に面転送量が記憶されているものとする。 例えば、 ホス卜コンピュータから通知された転送速度と、 自装置のカラーエンジン スピ一ドと、 色プレーン数とから面転送量の演算を行うような形態が想定 される。
また、 図 5 A、 5 B のフローチャートは、 図 2の制御回路 3 1とプリン 夕エンジン 3 5との間の処理として説明することができる。
即ち、 ホストコンピュータ 1 0 1をプリン夕コントローラであるところ の制御回路 3 1に、 プリン夕 1 0 7をプリンタエンジン 3 5 (不図示のェ ンジン制御回路を含む) に相当させて各ステップの処理を説明することが できる。
但し、 ステップ S 5 2 0の処理は 「ホストコンピュータ 1 0 1から受信 済み画像データサイズ >M a x D e 1 a y S i z e」 の内容の、 制御回路 3 1の処理とする。
実施例 3によれば、 ホストコンピ ータが、 複数のプリンタ夫々のェン ジン速度等を把握していいない場合でも、 適切な印刷開始タイミングを決 定することが出来るという格別の効果を得ることができる。 .
他の実施形態
なお、 本発明は、 複数の機器から構成されるシステムに適用しても、 1 つの機器からなる装置に適用してもよい。 前述した実施形態の機能を実現 するソフトウェアのプログラムコードをネットワークなどを介してダウン ロードして実行したり、 プログラムコードを記録した記録媒体をシステム 或いは装置に供給し、 そのシステム或いは装置のコンピュータ (または C P Uや M P U) が記録媒体に格納されたプログラムコードを読み出し実行 することによつても、 達成されることは言うまでもない。
この場合、 記録媒体から読み出されたプログラムコード自体が前述した 実施形態の機能を実現することになり、 そのプログラムコードを記録した 記録媒体は本発明を構成することになる。
プログラムコードを供給するための記録媒体としては、 例えば、 フロッ ピ一 (登録商標) ディスク、 ハードディスク、 光ディスク、 光磁気デイス ク、 C D— R OM、 C D - R, 磁気テープ、 不揮発性のメモリカード、 R OMなどを用いることができる。
また、 コンピュータが読み出したプログラムコードを実行することによ り、 前述した実施形態の機能が実現されるだけでなく、 そのプログラムコ 一ドの指示に基づき、 コンピュータ上で稼働している 0 Sなどが実際の処 理の一部または全部を行い、 その処理によって前述した実施形態の機能が 実現される場合も含まれることは言うまでもない。
更に、 記録媒体から読み出されたプログラムコードが、 コンピュータに 挿入された機能拡張ポ一ドゃコンピュータに接続された機能拡張ュニット に備わるメモリに書き込まれた後、 そのプログラムコードの指示に基づき、 その機能拡張ボ一ドゃ機能拡張ュニッ卜に備わる C P Uなどが実際の処理 の一部または全部を行い、 その処理によって前述した実施形態の機能が実 現される場合も含まれることは言うまでもない。
本発明は上述した実施例に限定されるものでなく種々の変更や修正が考 えられる。 よって、 本願発明の技術的範囲は、 以下の請求の範囲に基づい て決定される。 産業上の利用可能性
以上説明したように、 本発明によれば、 複数色プレーンの印刷データを 出力処理する出力装置と該出力装置に接続された情報処理装置とを備える 印刷システムにおいて、 各色プレーンごとの印刷データ量を考慮した適切 なタイミングで印刷開始を指示することで、 複数色の色プレーンの印刷デ 一夕においても、 正常な印刷結果を得ることが可能となる。

Claims

請求の範囲
1 . カラ一印刷データを出力する出力装置と接続される情報処理装置であ つて、
前記出力装置において出力されるカラ一印刷データ 1頁を構成する各色 データのデ一夕量を算出する算出手段と、
前記算出された各色データのデータ量と、 前記各色データ 1頁を出力す る間に前記出力装置に転送可能なデ一夕量である面転送量とに基づいて、 前記出力装置に印刷開始指示を行うタイミングを決定する決定手段と、 前記出力するカラ一印刷データを前記出力装置に転送後、 前記決定され たタイミングで前記出力装置に印刷開始指示を行う指示送信手段と を備えることを特徴とする情報処理装置。
2 . 前記決定手段は、
前記算出された各色のデータ量と前記面転送量との各差分を、 前記各色 のデ一夕転送の順に和算していった場合の最大値を算出し、 前記カラ一印 刷データを転送開始してから、 該最大値のデータ量を転送するのに必要な 時間分だけ、 印刷開始指示を遅らせるように前記タイミングを決定するこ とを特徴とする請求項 1に記載の情報処理装置。
3 . 前記決定手段は、
前記出力されるカラ一印刷データ 1頁ごとに前記タイミングを決定する ことを特徴とする請求項 1に記載の情報処理装置。
4. 前記各色は、 YM C Kの 4色からなり、 Y、 M、 C、 Kの順にデ一夕 転送が行われることを特徴とする請求項 1に記載の情報処理装置。
5 . カラ一印刷データを出力する出力装置と接続される情報処理装置にお ける印刷処理方法であって、
前記出力装置において出力されるカラ一印刷データ 1頁を構成する各色 データのデータ量を算出する算出工程と、 前記算出された各色データのデータ量と、 前記各色デ一夕 1頁を出力す る間に前記出力装置に転送可能なデータ量である面転送量とに基づいて、 前記出力装置に印刷開始指示を行うタイミングを決定する決定工程と、 前記出力するカラー印刷データを前記出力装置に転送後、 前記決定され たタイミングで前記出力装置に印刷開始指示を行う指示送信工程と を備えることを特徴とする印刷処理方法。
6 . 前記決定工程は、
前記算出された各色のデ一夕量と前記面転送量との各差分を、 前記各色 のデータ転送の順に和算していった場合の最大値を算出し、 前記カラ一印 刷データを転送開始してから、 該最大値のデ一夕量を転送するのに必要な 時間分だけ、 印刷開始指示を遅らせるように前記タイミングを決定するこ とを特徴とする請求項 5に記載の印刷処理方法。
7 . 前記決定工程は、
前記出力されるカラ一印刷データ 1頁ごとに前記タイミングを決定する ことを特徴とする請求項 5に記載の印刷処理方法。
8 . 前記各色は、 YM C Kの 4色からなり、 Y、 M、 C、 Kの順にデ一夕 転送が行われることを特徴とする請求項 5に記載の印刷処理方法。
9 . 請求項 5乃至 8のいずれか 1つに記載の印刷処理方法をコンピュータ によって実現させるための制御プログラム。
1 0 . 請求項 5乃至 8のいずれか 1つに記載の印刷処理方法をコンビユー 夕によつて実現させるための制御プログラムを格納した記録媒体。
PCT/JP2004/001391 2003-02-12 2004-02-10 情報処理装置および印刷処理方法ならびにプログラム、記憶媒体 Ceased WO2004072844A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP04709705A EP1594045A4 (en) 2003-02-12 2004-02-10 INFORMATION PROCESSING DEVICE, PRINTING METHOD AND PROCESSING, PROGRAM, AND STORAGE MEDIUM
US10/844,410 US7265862B2 (en) 2003-02-12 2004-05-13 Information processing apparatus for color printer and method of controlling same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003034344A JP3689699B2 (ja) 2003-02-12 2003-02-12 情報処理装置および印刷処理方法ならびにプログラム、記憶媒体
JP2003-034344 2003-02-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US10/844,410 Continuation US7265862B2 (en) 2003-02-12 2004-05-13 Information processing apparatus for color printer and method of controlling same

Publications (1)

Publication Number Publication Date
WO2004072844A1 true WO2004072844A1 (ja) 2004-08-26

Family

ID=32866266

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/001391 Ceased WO2004072844A1 (ja) 2003-02-12 2004-02-10 情報処理装置および印刷処理方法ならびにプログラム、記憶媒体

Country Status (4)

Country Link
US (1) US7265862B2 (ja)
EP (1) EP1594045A4 (ja)
JP (1) JP3689699B2 (ja)
WO (1) WO2004072844A1 (ja)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8368950B2 (en) * 2003-10-06 2013-02-05 Marvell International Technology Ltd. Method of pre-processing data on a host machine for a host-based print system
DE602006002242D1 (de) * 2006-02-15 2008-09-25 Jaycrypto Ltd Verfahren und Vorrichtung zum Erzeugen von Initialwerten für einen Zufallszahlengenerator
JP4785577B2 (ja) * 2006-03-17 2011-10-05 キヤノン株式会社 情報処理装置及びその制御方法、プログラム
JP4829733B2 (ja) * 2006-09-19 2011-12-07 株式会社リコー 画像処理装置と画像処理方法
JP5561465B2 (ja) * 2009-11-05 2014-07-30 富士ゼロックス株式会社 画像形成装置、画像形成システム、処理プログラム
JP5754891B2 (ja) * 2010-03-30 2015-07-29 キヤノン株式会社 画像処理装置及びその制御方法又はプログラム
JP2012190188A (ja) * 2011-03-09 2012-10-04 Canon Inc クライアント装置及びその制御方法
JP6675408B2 (ja) * 2015-09-10 2020-04-01 富士フイルム株式会社 情報処理システム、情報処理方法、情報処理プログラム、及び記憶媒体
JP7354635B2 (ja) * 2019-07-12 2023-10-03 株式会社リコー 画像処理装置、画像処理方法、及びプログラム
JP2024102475A (ja) * 2023-01-19 2024-07-31 キヤノン株式会社 画像処理装置、画像形成装置、画像処理方法、およびプログラム

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06320806A (ja) 1993-04-26 1994-11-22 Hewlett Packard Co <Hp> プリンタ・システムおよびラスタ・プリント・データを受信してプリントをおこなう方法
EP0917093A2 (en) 1997-11-14 1999-05-19 Lexmark International, Inc. Methods and apparatus for isochronous printing with minimal buffering
JP2001142670A (ja) 1999-11-11 2001-05-25 Seiko Epson Corp プリントシステム、及びプリンタ
JP2002172821A (ja) * 2000-09-29 2002-06-18 Ricoh Co Ltd 描画用データの処理方法及び画像形成装置
US20020176104A1 (en) 2001-05-28 2002-11-28 Minolta Co., Ltd. Image processing apparatus, image forming apparatus, image processing method, and program product thereof
JP2002373069A (ja) * 2001-06-18 2002-12-26 Seiko Epson Corp 印刷装置用ドライバプログラム、印刷システム、及び印刷制御方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3241274B2 (ja) * 1996-08-20 2001-12-25 株式会社日立製作所 印刷制御方法および印刷制御装置
JPH10150553A (ja) * 1996-09-18 1998-06-02 Ricoh Co Ltd 画像処理システム,ハガキ印刷システム,画像処理方法,ハガキ印刷方法,およびそれらの方法の各工程をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体
JPH10147019A (ja) * 1996-11-20 1998-06-02 Fuji Xerox Co Ltd 印刷処理装置
JP3448462B2 (ja) * 1997-06-25 2003-09-22 三洋電機株式会社 画像データ圧縮装置
JP3405159B2 (ja) * 1997-12-05 2003-05-12 富士ゼロックス株式会社 印刷装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06320806A (ja) 1993-04-26 1994-11-22 Hewlett Packard Co <Hp> プリンタ・システムおよびラスタ・プリント・データを受信してプリントをおこなう方法
EP0917093A2 (en) 1997-11-14 1999-05-19 Lexmark International, Inc. Methods and apparatus for isochronous printing with minimal buffering
JP2001142670A (ja) 1999-11-11 2001-05-25 Seiko Epson Corp プリントシステム、及びプリンタ
JP2002172821A (ja) * 2000-09-29 2002-06-18 Ricoh Co Ltd 描画用データの処理方法及び画像形成装置
US20020176104A1 (en) 2001-05-28 2002-11-28 Minolta Co., Ltd. Image processing apparatus, image forming apparatus, image processing method, and program product thereof
JP2002373069A (ja) * 2001-06-18 2002-12-26 Seiko Epson Corp 印刷装置用ドライバプログラム、印刷システム、及び印刷制御方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1594045A4

Also Published As

Publication number Publication date
EP1594045A4 (en) 2010-08-25
US20040207860A1 (en) 2004-10-21
EP1594045A1 (en) 2005-11-09
JP3689699B2 (ja) 2005-08-31
JP2004264903A (ja) 2004-09-24
US7265862B2 (en) 2007-09-04

Similar Documents

Publication Publication Date Title
US6249835B1 (en) System for converting print instruction into image data or print data based on whether a rasterization level is of a first level or a second level
US8472043B2 (en) Information processing apparatus and its control method for managing distributed processing
US7684070B2 (en) Printing system, information processing apparatus and method, and computer program and computer-readable storage medium
US8705101B2 (en) Printing system and printing device having two information transmission paths
WO2004072844A1 (ja) 情報処理装置および印刷処理方法ならびにプログラム、記憶媒体
EP0550158B1 (en) Printing apparatus and printing control method
US20090244601A1 (en) Systems and Methods for Color Data Compression
US8786900B2 (en) Printing device and method of controlling printing device
US7212303B2 (en) Print control method for a multifunctional printer including a facsimile feature
JP4328689B2 (ja) 画像処理装置および画像処理装置の制御方法
JP2008269074A (ja) 画像形成装置
JP2002103750A (ja) プリンタシステム
JP3222697B2 (ja) 印字データ送信方法
JP4035300B2 (ja) 印刷システム、情報処理装置、印刷装置及び情報処理方法
KR100301005B1 (ko) 화상인쇄시스템의 컴퓨터로부터 프린터로의 이미지데이터 전송방법
JP4054604B2 (ja) 画像処理装置、画像処理方法、記憶媒体、及びプログラム
JP2005149030A (ja) プリントシステム
JP2002236563A (ja) 画像情報処理装置及び印刷システム
JP2008262471A (ja) 画像出力装置
JP2008044307A (ja) プリンタ制御装置
JP2000047976A (ja) プリンタ制御装置
JP2007055079A (ja) プリンタ制御装置
JP2005169716A (ja) プリンタ制御装置
JP2002200795A (ja) 画像形成装置
JP2002273953A (ja) 画像記録装置、画像記録システム、及び画像記録方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 10844410

Country of ref document: US

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2004709705

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2004709705

Country of ref document: EP