Claims
- 1. A print control apparatus for receiving a print command train from a host computer and for performing a print control to a printer engine, in which said print command train has at least drawing commands which are arranged in accordance with the order of print pages and indicate drawing information such as characters, figures, images, or the like, and attribute parameter setting commands which are arranged at arbitrary positions and indicate a format or the like to draw said drawing information regarding the drawing commands after said arbitrary positions as image data, comprising:
- a communication control section to receive said print command train;
- a command buffer to store the received print command train;
- a drawing processing section for sequentially reading out the print command train from the command buffer and executing a drawing process of drawing dot image data in accordance with the print command train in a normal state and for again sequentially reading out the print command train after a page which is not yet discharged at a time point of the occurrence of an abnormality and executing the drawing process in accordance with the print command train in a state in which the abnormality occurs;
- a page buffer to store the dot image data drawn by said drawing processing section;
- a print processing section to instruct a printer control section to print with respect to the dot image data stored in said page buffer;
- a printer control section for reading out the dot image data from the page buffer and executing the print control to the printer engine in accordance with an instruction from said print processing section;
- an abnormality processing section for monitoring an abnormality of the printer engine and for activating a reprinting process of the drawing processing section in the case where an abnormality which needs a reprint has occurred; and
- an attribute parameter table to store at least current attribute parameters set in accordance with the print command train read out by the drawing processing section until all of the pages regarding said attribute parameters are discharged;
- wherein said drawing processing section executes the drawing process by the attribute parameters of the page whose drawing process is again performed which have been stored in said attribute parameter table when the abnormality which needs the reprint occurs.
- 2. An apparatus according to claim 1, wherein the attribute parameters which are stored into said attribute parameter table are stored in correspondence to memory positions of every page of the print command train in the command buffer.
- 3. An apparatus according to claim 1, wherein said attribute parameter table is made of a series of command blocks each of which includes:
- a pointer to the next command block;
- a command page end pointer preserving section indicative of the end of paper discharge waiting page of the command buffer section; and
- an attribute parameter table preserving section to preserve the attribute parameters at such a time point.
- 4. An apparatus according to claim 1, wherein processes by said drawing processing section and said print processing section have a multi task construction and are executed in a concurrent or parallel manner.
- 5. An apparatus according to claim 1, wherein the start of said reprinting process at the time of detection of the error is performed in accordance with an instruction from the host computer.
- 6. An apparatus according to claim 1, further comprising:
- a secondary memory device for storing the print command train received from said command buffer as a plurality of command files such that the print commands of each page are described;
- a command file preservation control section to control the writing and reading operations of the command files; and
- a command file management table to manage the memory positions in said secondary memory device of the command files,
- wherein when said abnormality processing section activates the reprinting process of said drawing processing section, said command file preservation control section reads out the command files of the page which needs the reprint from the secondary memory device to the command buffer by recognizing the memory positions by said command file management table section, and said drawing processing section executes the drawing process to reprint by the print command train newly stored in the command buffer.
- 7. An apparatus according to claim 6, wherein said command file preservation control section further stores the attribute parameters at the time of the start of the drawing of each page as an attribute parameter file into the secondary memory device.
- 8. An apparatus according to claim 7, wherein said command file management table section describes command file names and attribute parameter file names with respect to each page as a queue in accordance with the receiving and printing order of the pages.
- 9. A print control apparatus for receiving a print command train from a host computer and for performing a print control to a printer engine, in which said print command train has at least drawing commands which are arranged in accordance with the order of print pages and indicate drawing information such as characters, figures, images, or the like, and attribute parameter setting commands which are arranged at arbitrary positions and indicate a format or the like to draw said drawing information regarding the drawing commands after said arbitrary positions as image data, comprising:
- a communication control section to receive said print command train;
- a command buffer to store the received print command train;
- a drawing processing section for sequentially reading out the print command train from the command buffer and executing a drawing process of drawing dot image data in accordance with the print command train in a normal state and for again sequentially reading out the print command train after a page which is not yet discharged at a time point of the occurrence of an abnormality and executing the drawing process in accordance with the print command train in a state in which the abnormality occurs;
- a page buffer to store the dot image data drawn by said drawing processing section;
- a print processing section to instruct a printer control section to print with respect to the dot image data stored in said page buffer;
- a printer control section for reading out the dot image data from the page buffer and executing the print control to the printer engine in accordance with an instruction from said print processing section;
- an abnormality processing section for monitoring an abnormality of the printer engine and for activating a reprinting process of the drawing processing section in the case where an abnormality which needs a reprint has occurred; and
- an attribute parameter table to store at least attribute parameters set in accordance with the print command train read out by the drawing processing section until all of the pages regarding said attribute parameters are discharged;
- wherein said drawing processing section executes the drawing process by the attribute parameters of the page whose drawing process is again performed which have been stored in said attribute parameter table when the abnormality which needs the reprint occurs;
- the apparatus further comprising:
- a secondary memory device for storing the print command train received from said command buffer as a plurality of command files such that the print commands of each page are described;
- a command file preservation control section to control the writing and reading operations of the command files; and
- a command file management table to manage the memory positions in said secondary memory device of the command files;
- wherein when said abnormality processing section activates the reprinting process of said drawing processing section, said command file preservation control section reads out the command files of the page which needs the reprint from the secondary memory device to the command buffer by recognizing the memory positions by said command file management table section, and said drawing processing section executes the drawing process to reprint by the print command train newly stored in the command buffer; and
- wherein an error recovering function which doesn't use said secondary memory device and an error recovering function which uses the secondary memory device are switched in accordance with the print command received from said host computer or a user's input from an operation panel in the print control apparatus.
- 10. A print control apparatus for receiving a print command train from a host computer and executing a print control to a printer engine, in which said print command train indicates at least drawing information of characters, figures, images, or the like, and attribute parameter setting information indicative of a format to draw said drawing information as image data, comprising:
- a communication control section to receive said print command train;
- a command buffer to store the received print command train;
- a drawing processing section for sequentially reading out said print command train from said command buffer and executing a drawing process of drawing dot image data of every page in accordance with the print command train;
- a page buffer for storing the dot image data drawn by said drawing processing section until printing of a current page is finished;
- a print processing section to instruct a printer control section to print with respect to the dot image data stored in said page buffer;
- a printer control section for reading out the dot image data from said page buffer and executing a print control to said printer engine in accordance with an instruction from said print processing section;
- an abnormality processing section for monitoring an abnormality of the printer engine and for activating a reprinting process of the printer control section in the case where an abnormality which needs a reprint has occurred; and
- a page buffer number preserving section to preserve page buffer numbers indicative of memory positions in said page buffer of a paper discharge waiting page;
- wherein when the abnormality which needs the reprint occurs, said printer control section reads out the dot image data of the page in which the abnormality has occurred based on the page buffer number of the page in which the abnormality has occurred which has been preserved in said page buffer number preserving section and executes the print control of the print engine.
- 11. An apparatus according to claim 10, wherein said page buffer number preserving section is made of a series of command blocks each of which includes:
- a pointer to the next command block;
- a page buffer number; and
- a print task number of the printer control section.
- 12. An apparatus according to claim 10, wherein the processes by said drawing processing section and said print processing section are set into a multi task construction and are executed in a concurrent or parallel manner.
- 13. An apparatus according to claim 10, wherein the start of the reprinting process at the time of the error detection is performed in accordance with an instruction from a host computer.
- 14. A print control method for a printing apparatus in which a print command train is received by a communication control section and is temporarily stored into a command buffer and a drawing process and a print control are executed to a printer engine by the print command train in said command buffer, and said print command train has at least drawing commands which are arranged in accordance with the order of print pages and indicate drawing information such as characters, figures, images, or the like, and attribute parameter setting commands which are arranged at arbitrary positions and indicate a format or the like to draw said drawing information regarding said drawing commands after said arbitrary positions as image data, wherein said method comprises:
- a first step of receiving said print command train by said communication control section;
- a second step of storing the received print command train into the command buffer;
- a third step of sequentially reading out the print command train from the command buffer and interpreting the commands;
- a fourth step of storing attribute parameters obtained by the command interpretation of said attribute parameter setting commands in said third step in correspondence to memory positions in said command buffer of the print commands to which said attribute parameters belong;
- a fifth step of executing a drawing process of drawing image data in accordance with the command interpretation in said third step;
- a sixth step of executing a print control to said printer engine in accordance with the image data which has been drawing-processed in said fifth step;
- a seventh step of monitoring an abnormality in said sixth step, and when an abnormality which needs a reprint occurs, sequentially reading out the print command train from the command buffer and interpreting the commands, with respect to a page which needs a reprint, and retrieving the attribute parameters stored in said fourth step in correspondence to the print commands of the page which needs a reprint;
- an eighth step of again executing the drawing process of drawing image data in accordance with the command interpretation and the retrieved attribute parameters in said seventh step; and
- a ninth step of again printing in accordance with the image data which has been drawing-processed in said eighth step.
- 15. A method according to claim 14, wherein the storage of the attribute parameters in said sixth step is executed in correspondence to the memory positions of every page of the print command train in said command buffer.
- 16. A method according to claim 15, wherein the processes in the seventh to ninth steps are executed in accordance with instructions from the host computer which transmits said print command train.
- 17. A print control method for a printing apparatus in which a print command train is received by a communication control section, said print command train indicates drawing information such as characters, figures, images, or the like, and attribute parameter setting information indicative of a format or the like to draw said drawing information as image data, a drawing process of drawing image data is executed by said print command train, the image data obtained by said drawing process is temporarily stored into a page buffer, and a print control of the image data of said page buffer is performed to a printer engine, wherein said method comprises:
- a first step of receiving the print command train from a host computer by said communication control section;
- a second step of storing the received print command train into a command buffer;
- a third step of sequentially reading out the print command train from the command buffer and interpreting the commands;
- a fourth step of executing a drawing process of drawing image data of every page in accordance with the command interpretation in said third step;
- a fifth step of temporarily storing the image data which has been drawing-processed in said fourth step into the page buffer and preserving memory positions of the image data of every page in said page buffer;
- a sixth step of reading out the image data stored in said fifth step and executing the print control to said printer engine;
- a seventh step of monitoring an abnormality in said sixth step and, when an abnormality which needs a reprint occurs, again reading out the image data of a page which needs a reprint from the page buffer by said preserved memory positions and again executing the print control to said printer engine; and
- an eighth step of confirming the end of printing of a relevant page in said sixth or seventh step and, thereafter, erasing or updating the image data at the memory positions of the relevant page in said page buffer.
- 18. A method according to claim 17, wherein the process in said seventh step is executed in accordance with an instruction from the host computer to transmit said print command train.
- 19. An apparatus according to claim 6, wherein when the abnormality processing section activates the reprinting process of the drawing processing section and an amount of data in the command files stored in the secondary memory device exceeds a predetermined amount of data, the reprinting process is performed in a command buffer preservation error recovering mode or a page buffer preservation error recovering mode until the amount of data in the command files stored in the secondary memory device no longer exceed the predetermined amount of data, and is then performed in a command file preservation error recovering mode by the command file preservation control section.
- 20. An apparatus according to claim 1, further comprising a secondary memory device for storing the dot image data drawn by the drawing processing section for a plurality of pages.
- 21. An apparatus according to claim 1, wherein the attribute parameters include registration data; and
- wherein the attribute parameter table stores at least some of the registration data commonly with respect to a plurality of pages.
Priority Claims (1)
Number |
Date |
Country |
Kind |
3-219606 |
Aug 1991 |
JPX |
|
CROSS-REFERENCES TO RELATED APPLICATION
This is a continuation-in-part of the patent application (Ser. No. 07/605,280) filed on Oct. 30, 1990.
US Referenced Citations (5)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
605280 |
Oct 1990 |
|