Printing system and method of printing graphic data

Abstract: To increase the efficiency of graphic data print process in a printer, graphic print data such as diagrams and images are compressed in a personal computer according to a special compression/coding format specific of the printer to be used so that the resultant compressed graphic print data can be developed into dot image data in the printer. The resultant compressed graphic print data is transmitted to the printer and is temporarily stored in reception data buffer of the printer. The compressed graphic print data stored in the reception data buffer is developed into dot image print data. Printing is performed on a print sheet by a printing mechanism according to the developed dot image print data.

Description: The present invention relates to a printing system, a printer and a method of printing wherein compressed print data is transmitted from a print data preparation device to a printer, the compressed print data is developed into dot image data and printed in the printer, and more particularly to compressing and encoding graphic print data using a compression encoding format which produces print data with print positions that allow its development into dot images and to transmit the print data to the printer. EP-A-0 550 247 describes a compression/expansion method in which, at a data output apparatus side, raster image information, which is obtained by means of performing an exclusive OR operation between raster image information on the preceding line and raster image information current line, is compression-processed in a raster direction and then transmitted to a data processing apparatus. In the data processing apparatus, the received image information is expansion-processed, an exclusive OR operation between image information after the expansion and image information on the preceding line is carried out, and a processing for recording and the like is performed taking the thus obtained information as the raster image information on the current line. Thus it is possible to provide a higher compression rate of the image information with a simple processing and to improve a processing speed. EP-A-0545 648 describes an output apparatus such as a laser beam printer comprising: a storage medium to store a control code which is peculiar to a control program; a judging circuit to judge whether the peculiar code is in input data or not; and a deciding circuit to decide that the control program having the peculiar code is made correspond to the input data. The control program comprises control codes. The input data includes the peculiar control code and character code. When an amount of input data is less than an amount of data which is needed to perform the judgment, the deciding means decides that a predetermined control program is made correspond to the input data. Previously, there has been known a printing system wherein print data is prepared in a print data preparation device, such as a host computer or a personal computer, and then printed with, for example, a laser printer capable of printing the prepared print data at high speeds. When transmitting print data formed from graphic data (image data) prepared using the print data preparation device, a transmission driver (such as a transmission data compression control program) for compressing, encoding, outputting, and transmitting the graphic print data is provided in connection with the print data preparation device because the graphic data is composed from several bits of data. The graphic print data is compressed, encoded, outputted, and transmitted by the transmission driver. Examples of transmission drivers include run-length formats wherein data is compressed according to detection of repetitions in bit data and delta low formats wherein data is compressed by comparing raster bit data from one raster scan with raster data from the previous raster scan. Compressed graphic print data transmitted from the print data preparation device is temporarily received in a reception data buffer of the laser printer. The compressed print data in the reception data buffer is decoded into the original graphic print data. Then the graphic print data is again compressed into compressed print data with a format that allows its development into dot image data, which the printing mechanism can use for printing. The compressed print data is transmitted to and stored in an intermediate buffer. The compressed data is retrieved from the intermediate buffer and decoded and then developed into bit image data that can be used for printing. The bit image data is stored in a print data buffer. The bit image data is serially retrieved from the print data buffer in dot lines that correspond to one raster scan worth of data. The laser printer or other type or print mechanism then prints the corresponding characters or images on a print sheet. As described above, print data formed from graphic data prepared in a print data preparation device, such as a personal computer, is compressed and encoded for transmission by a transmission driver and then outputted by transmission. The compressed print data is received in the laser printer and decoded temporarily into the original graphic print data. The graphic print data is then again compressed into a special type of compressed print data that can be developed into dot image data for printing by the printer. The special type of compressed print data is stored in an intermediate buffer. Because both processes for decoding the received compressed print data and processes for again compressing the data into the special type of compressed print data are performed in the laser printer, a great deal of time is required to perform these complicated data processes. Processes for receiving data and for printing are also delayed. As a result, processes for printing graphics data are inefficient. It is an object of the present invention to overcome the above-described problems and provide a printing system and method of printing wherein graphic print data prepared in a print data preparation device is compressed for transmission according to a special compression/coding format that allows the printer to develop the resultant compressed print data into dot images so that efficiency of the print process-as for graphic data in the printer can be improved. To attain the above and other objects, according to the present invention there is provided a method of printing print data, comprising the steps of: (a) preparing graphic print data in a print data preparation device ; (b) compressing and encoding the graphic data according to a predetermined compression/coding program in the print data preparation device so that resultant compressed and encoded graphic data can be directly developed into dot image print data; (c) transmitting the compressed and encoded graphic print data from the print data preparation device (PC) to a printing device together with identification data indicating the compression/coding program used for compressing and encoding the graphic data ; (d) receiving the transmitted graphic print data at the printing device ; (e) storing the received graphic print data in a buffer (82) of the printing device ; (f) identifying the compression/coding program used for compressing and encoding the graphic data based on the identification data ; (g) developing the compressed encoded graphic print data stored in the buffer into dot image print data; (h) storing the dot image print data; and (i) printing the dot image print data on a print medium according to the dot image print data corresponding to the graphic print data. The predetermined compression/coding program used for compressing and encoding the graphic print data is dependent on a variety of the printing device which performs printing. The compression/coding program used for compressing and encoding the text print data is selectable independently of the variety of the printing device which performs printing. In the printing method of the present invention, step (a) further includes preparing text print data; step (b) further includes compressing and encoding the text print data according to a preselected compression/coding program; step (c) further includes transmitting the compressed and encoded text print data from the print data preparation device to the printing device; step (d) further includes receiving the transmitted text print data at the printing device; step (e) further includes storing the received text print data in the buffer; step (g) further includes developing the text print data stored in the buffer into dot image print data corresponding to the text print data; and step (i) further includes printing the dot image print data corresponding to the text print data on the print medium according to the dot image print data corresponding to the text print data. Step (c) includes steps of: (c1) transmitting identification data indicating used compression/coding program; (c2) transmitting identification data indicating a variety of print data that is compressed and encoded by the compression/coding program identified in step (c1); and (c3) transmitting compressed and encoded print data that is compressed and encoded for the variety of print data identified in step (c2) by the compression/coding program identified in step (c1). Step (g) includes the steps of: (g1) determining whether or not a predetermined amount of the compressed and encoded print data is stored in the buffer; (g2) searching whether or not the identification data indicating the predetermined compression/coding program is present in relation to the compressed and encoded print data stored in the buffer; (g3) transferring the compressed and encoded print data stored in the buffer into an intermediate buffer of the printing device when the search performed in step (g2) indicates that the predetermined compression/coding program is present; and (g4) developing the compressed and encoded print data stored in the intermediate buffer into the dot image print data. Step (g) may include the steps of: (g11) determining whether or not a predetermined amount of the compressed and encoded print data is stored in the buffer; (g12) searching whether or not the identification data indicating the predetermined compression/coding program is present in relation to the compressed and encoded print data stored in the buffer; (g13) decoding the compressed and encoded print data stored in the buffer to reproduce the print data prepared at step (a), when the search performed in step (g12) indicates that the predetermined compression/coding program is not present; (g14) compressing and encoding the reproduced print data in step (g13) according to the predetermined compression/coding program in the printing device; (g15) storing the compressed and encoded print data produced in step (g14) in an intermediate buffer of the printing device; and (g16) developing the compressed and encoded print data stored in the intermediate buffer in step (g15) into dot image print data. In the printing method according to the present invention, to transmit graphic print data, such as for diagrams and images, prepared in the print data preparation device to the printing device, the graphic print data is compressed and encoded according to the predetermined compression and encoding program that allows its development into dot image print data. The transmitted compressed graphic print data is received and temporarily stored in the buffer of the printing device. Next, the compressed graphic print data stored in the buffer is developed into dot image print data, according to which the printing device prints on the print medium. Because graphic print data prepared in the print data preparation device is transmitted to the printing device by compressing and encoding it according to the predetermined compression and encoding format that allows the printer to develop it into dot image print data, the resultant compressed graphic print data received in the printing device can be developed into dot image print data in the buffer of the printing device. Therefore, complicated data processes, such as for decoding the compressed print data into the original graphic print data and for again compressing it into a special compressed print data that can be developed into dot image data by the printer, that are performed when compressed print data that was compressed and encoded into a compression format normally used for data transmission need not be performed. Therefore, the efficiency of print processes for graphic print data can be improved. According to another aspect of the present invention, there is provided a printing system comprising: a print data preparation device for preparing print data, the print data including at least graphic print data ; first compression/encoding means for compressing and encoding the graphic print data according to a predetermined compression/coding program so that resultant compressed and encoded graphic print data can be directly developed into dot image print data; first storage means for storing the compressed and encoded graphic data produced by the first compression/encoding means together with identification data indicating the compression/coding program used for compressing and encoding the graphic data; developing means for developing the compressed and encoded graphic data stored in the first storage means into dot image print data upon identifying the compression/coding program used for compressing and encoding the graphic data based on the identification data; second storage means for storing the dot image print data; and printing means for printing the dot image print data on a print medium according to the dot image print data corresponding to the graphic data. According to yet another aspect of the present invention, there is provided a printer 1 for use in a printing system comprising a print data preparation device for preparing print data, the print data including at least graphic print data; the print data preparation device including : first compression/encoding means for compressing and encoding the graphic print data according to a predetermined compression/coding program so that resultant compressed and encoded graphic print data can be directly developed into dot image print data; the printer comprising: first storage means for storing the compressed and encoded graphic data produced by the first compression/encoding means together with identification data indicating the compression/coding program used for compressing and encoding the graphic data; developing means (S47) for developing the compressed and encoded graphic data stored in the first storage means into dot image print data upon identifying the compression/coding program used for compressing and encoding the graphic data based on the identification data; second storage means for storing the dot image print data; and printing means for printing the dot image print data on a print medium according to the dot image print data corresponding to the graphic data. The predetermined compression/coding program used for compressing and encoding the graphic print data is correlated to the printing means. On the other hand, the compression/coding program used for compressing and encoding the text print data is selectable independently of a variety of the printing means. The compressed and encoded print data includes first identification data indicating used compression/coding program, and second identification data indicating a variety of print data that is compressed and encoded by the compression/coding program identified by the first identification data. The developing means includes determining means for determining whether or not a predetermined amount of the compressed and encoded print data is stored in the first storage means, searching means for searching whether or not the first identification data indicating the predetermined compression/coding program is present in relation to the compressed and encoded print data stored in the first storage means, transferring means for transferring the compressed and encoded print data stored in the first storage means into the second storage means when the searching means indicates that the predetermined compressed/coding program is present, and dot image developing means for developing the compressed and encoded print data stored in the second storage means into the dot image print data. The developing means may include determining means for determining whether or not a predetermined amount of the compressed and encoded print data is stored in the first storage means, searching means for searching whether or not the first identification data indicating the predetermined compression/coding program is present in relation to the compressed and encoded print data stored in the first storage means, decoding means for decoding the compressed and encoded print data stored in the first storage means to reproduce the print data prepared by the print data preparation device, when the searching means indicates that the predetermined compressed/coding program is not present, second compression/encoding means for compressing and encoding the reproduced print data by the decoding means according to the predetermined compression/coding program. The compressed and encoded print data produced by the second compression/encoding means is stored in the first storage means, and the compressed and encoded print data stored in the first storage means is developed into dot image print data. In the printing system according to the present invention, when graphic print data, such as for drawings and images, is received from the print data preparation device, the first compression/encoding means compresses and encodes the graphic print data into compressed and encoded print data that can be developed by the printing means into dot image print data. The printing means receives the compressed and encoded graphic print data from the first compression/coding means and stores it in the first storage means. When the compressed and encoded text print data is stored in the first storage means, the compressed and encoded text print data is once decoded to reproduce the text print data produced by the print data preparation device and is again compressed and encoded according to the predetermined compression/coding program so that it can be developed into dot image print data. The compressed and encoded print data is then stored in the second storage means. The developing means develops the compressed print data received from the second storage means into dot image print data. Further, the printing means prints the developed dot image print data onto a print medium. Graphic print data received from the print data preparation device is compressed and encoded according to the predetermined compression/coding program specific to the printing means, which program differs from the compression and encoding program used for normal transmission of data. The compressed print data can be developed into dot image print data in the printing means. Complicated data processes, such as for decoding the compressed print data into the original graphic print data and for again compressing it into a special compressed print data that can be developed into dot image data by the printer, that are performed when compressed print data that was compressed and encoded into a compression format normally used for data transmission need not be performed. Therefore, the efficiency of print processes for graphic print data can be improved. The particular features and advantages of the invention as well as other objects will become more apparent from the following description taken in connection with the accompanying drawings, in which: Fig. 1 is a view showing configuration of a print system; Fig. 2 is a block diagram showing control system of a laser printer and a personal computer; Fig. 3 is an explanatory view showing a memory map of a RAM; Fig. 4 is a flowchart schematically showing a routine for controlling transmission of print data; Fig. 5 is a flowchart schematically showing an interrupt routine for controlling processes when print data is received; Fig. 6 is a flowchart schematically showing a routine for controlling processes for preparing print image data; Fig. 7(a) is a view showing print data in the form originally transmitted; Fig. 7(b) is a view showing print data after having undergone compression/coding processes according to a transmission compression/coding format; Fig. 7(c) is a view showing print data decoded into its original form; Fig. 7(d) is a view showing print data after having undergone compression/coding processes according to a special compression/coding format specific to the printer; Fig. 8(a) is a view showing print data in the form originally transmitted; and Fig. 8(b) is a view showing print data after having undergone compression/coding processes according to a special compression/coding format specific to the printer. A preferred embodiment of the present invention will be described with reference to the accompanying drawings. Fig. 1 shows schematically a printing system which includes a personal computer PC (serving as a print data preparation device) for preparing print data and a laser printer LP (or a laser facsimile device) for printing compressed print data transmitted over a transmission cable from the personal computer PC. First, a brief explanation of the personal computer PC will be provided. As shown in Fig. 1, the personal computer PC includes a CRT display 2, a keyboard 3, a mouse (serving as coordinate input unit) 4, and a control portion 5. The control portion 5 and the laser printer LP are connected by a transmission cable L so that print data such as graphics and text prepared with the personal computer PC can be transmitted to the laser printer LP. Next, a brief explanation of the control system of the personal computer PC will be provided based on the block diagram in Fig. 2. The keyboard (K/B) 3; a CRT display controller (CRTC) 51 for outputting display data to the CRT display 2; a floppy disk drive controller (FDC) 53 for controlling a floppy disk drive (FDD) 52 provided to the control portion 5; and the mouse 4 are individually connected to an input/output interface (input/output I/F) 54 provided in the control portion 50. The control device 50 includes a CPU 55; the input/output interface 54 connected to the CPU 55 by a bus such as a data bus; a hard disk drive controller (HDC) 57 for driving a hard disk driver (HDD) 56 that is provided with a hard disk; a transmission interface (transmission I/F) 58; and a RAM 59. In the hard disk are stored various control programs that allow the computer to function; a transmission driver for compression/coding, outputting, and transmitting print data according to a print control language PCL (data transmission command system); and a print data transmission control routine (to be described later) for transmitting print data to the laser printer LP via the transmission interface 58. Several coding programs serving as transmission drivers are stored in the hard disk. Such programs are applied selectively to text data and graphic data. For text data, a run length coding program and a delta row coding program are, for example, stored in the hard disk. As is well known in the art, in the run length coding, compression of the text data is performed according to detection of repetitions in bit data, and in the delta row coding, compression of the text data is performed by comparing raster bit data of a raster scan with raster bit data of a preceding raster scan. Compression/coding of the graphic data is performed according to a special compression/coding format that is specific to the printer. Graphic data such as for diagrams or images can be developed into dot image print data in the laser printer LP by using the special compression/coding format. Any one of theses three formats, that is, the delta row coding format, the run length coding format, or the printer-dependent coding format can be set as the compression/coding format data according to which data is coded by compression. The transmission interface 58, the transmission driver, and the transmission control program serve as a compression transmission means provided in connection with the personal computer PC. The laser printer LP, which serves as a printer, includes an image transfer and sheet separation device, a fixing device, and a transport unit in addition to the laser scanner, the process cartridge, and the like. The control system for the laser printer LP will be described while referring to the block diagram shown in Fig. 2. The control system is basically the same as the type typically used in laser printers so will only be briefly described here. The video controller 70 of the laser printer LP includes a 16 bit CPU 71; a ROM 72 for storing various programs; a RAM 80 provided with various memories such as a reception data buffer 82 for receiving and storing compressed print data transmitted from the personal computer PC; a timing control circuit (TC) 73 for generating a timing signal for controlling timing at which received compressed print data is stored into and retrieved from the reception data buffer 82; a transmission interface (transmission I/F) for receiving compressed print data transmitted from the personal computer PC via the transmission cable L; a video interface (V I/F) 75 having two 4 kilobyte scan buffers for serially outputting print information converted into bit image data; and a panel interface (P I/F) for receiving a signal from the operation panel 76 that is provided with a plurality of switches for printing process, data reception, and the like. These components are individually connected to the CPU 71 via a bus 78 such as a data bus. In addition to the laser scanner, the process cartridge, the image transfer and sheet separation device, the fixing unit, and the transport device, the printing mechanism PM further includes various other electrical components and a main motor for driving a photosensitive drum and the transport device. In addition to the main motor and various electrical components, the DC controller 79 is configured to control drive of a scanner motor for driving a semiconductor laser, a hexagonal mirror, and other components. In addition to various control programs normally provided for controlling a laser facsimile device, the ROM 72 is prestored with a font memory storing print dot pattern data for a plurality of characters including characters and symbols; a memory management program for managing start addresses and memory capacities of the memories 81 through 86 that are provided to the RAM 80; and a print control language interpreter for interpreting processes of a print control language (PCL) of the compressed print data received from the external source. As shown in Fig. 3, the RAM 80 is provided with a control memory 81 with a predetermined capacity; a reception data buffer 82 for temporarily storing compressed print data received from the personal computer PC; an intermediate buffer 83 for storing one page worth of compressed print data received from the reception data buffer 82; a load font memory 84 for receiving and storing font data transmitted from the personal computer PC; a production font memory 85 for storing production font data produced by modifying the font data from the load font memory 84 or from font data received from the font memory of the ROM 72; and a print image buffer 86 with a predetermined capacity. The control memory 81 includes various memories such as various pointers and buffers for temporarily storing results of calculations performed in the CPU 71. That is, the predetermined capacity of the control memory 81 starting from the start address A000; the predetermined capacity of the reception data buffer 82 starting from the address B000; and the intermediate buffer 83, the load font memory 84, the production font memory 85, and the print image buffer 86 from address C0000 to the end address Z0000 coexist adjacent to each other in the RAM 80. Next, an explanation of a routine performed in the control unit 50 of the personal computer PC for controlling transmission of print data will be provided while referring to the flowcharts shown in Figs. 4 and 5. Individual steps are indicated in the drawings as Si (wherein i represents individual step numbers). This print data transmission control routine is for transmitting compressed print data (produced by the PCL transmission driver) when a transmission key on the keyboard 3 is operated. Further, print data to be transmitted, such as text data or graphic data, is stored in a floppy disk inserted in the floppy disk drive 52. The compression/coding files to be used in compression and encoding the text print data and the graphic print data are stored in the hard disk 56. When this control routine is started, when the accessed compression/coding file does not indicate the printer-dependent compression/coding file for use in the graphic print data, that is, special compression/coding program file specific to the printer (i.e., S10 is NO), compression/coding processes are performed on the text print data according to the prescribed compression/coding program which is distinct from the printer-dependent special compression/coding program, in S12. Next, identification data on the used compression/coding format is transmitted in S13. The identification data that indicates whether the print data is text data (character data) or graphic data is transmitted in S14. Further, header control data is transmitted in S15. The head control data is formed from various types of control data required for printing the print data. Examples of control data include print start position and control data set during initialization of the printing mechanism PM. The compressed and encoded print data is transmitted in S16, whereupon this routine is completed and the program proceeds to the main routine. An example will be given for transmitting print data with the configuration "F0, F0, F0, F0, 88, F0, ...F0" as shown in Fig. 7(a) when the compression/coding format is set to a compression/coding format other than the special compression/coding format specific to the printer, for example, when the compression/coding format is met to run-length coding. Compressed print data of "03, F0" is produced to represent the "F0" repeated four times in succession at the start of the transmitted print data. Next, compressed print data of "00, 88" is produced to represent the single succeeding "88" in the print data. This routine is continued to form the compressed print data shown in Fig. 7(b), which is transmitted to the laser printer LP over the transmission cable L. When the special compression/coding file is accessed when this routine starts (i.e., S10 is YES), graphic print data is compressed and encoded in S11 according to the special compression/coding program. Then, S13 through S16 are performed in the same manner as described above. The compressed and encoded graphic print data, control data, and various types of identification data are transmitted. Then, this routine is completed and the program returns to the main routine. An example will be given for transmitting graphic data with the configuration "F0, F0, F0, F0, 88, F0, ...F0" as shown in Fig. 8(a) when the special compression/coding format specific to the printer is set as the compression/coding format type. Compressed print data "C2, F0" is produced to represent the "F0" repeated four times in succession at the start of the transmitted graphic data. Next, compressed print data of "80, 03" is produced to represent the "88,F0" repeated three times in the succeeding 16 bits of data in the print data. This process is continued to form the compressed print data shown in Fig. 8(b), which is transmitted to the laser printer LP over the transmission cable L. Next, an explanation of an interrupt routine for controlling processes during reception of print data performed by the video controller 70 of the laser printer LP will be provided while referring to the flowchart in Fig. 5. This interrupt routine is started by interrupting the CPU 1 each time print data, various control data, and the like from the personal computer PC are received at the transmission interface 74 via the transmission cable L. The received print data, various control data, and the like is written in S30 in the addresses of the reception data buffer 82 that indicates the pointer value WP of the write address pointer. The write address pointer value WP is incremented in S31 by the total bites α in one series of received print data. Then this routine is completed and the program returns to the main routine. Next, an explanation of a routine for controlling processes performed by the video controller 70 of the laser printer LP for producing image data will be provided while referring to the flowchart of Fig. 6. This routine is started when the power source of the laser printer LP is turned on. First, compressed print data received during reception of print data is serially stored in the reception data buffer 82. When a predetermined amount of compressed print data (for example, one tenth of a page worth of print data) is stored in the reception data buffer 82 (i.e., S40 is YES), whether or not variety data indicating the special compression/coding format of the printer is stored with the predetermined amount of compressed print data is searched in S41. When variety data indicating the special compression/coding format of the printer is not present, that is, when variety data indicating a transmission compression/coding format such as run-length compression/coding or delta row compression/coding exists (i.e., S42 is NO), decoding processes are performed in S44 for decoding the compression print data stored in the reception data buffer 82 back to the original character print data. Next, the original character print data is compressed and encoded in S45 according to the special compression/coding format specific to the printer to produce compressed and encoded print data that can be developed into dot image print data. The compressed and encoded print data is transmitted to and stored in the intermediate buffer 83 in S46. For example, when the compressed print data shown in Fig. 7(b) is transmitted, the transmitted compressed print data is serially stored in the reception data buffer 82, temporarily decoded into the original print data shown in Fig. 7(c), compressed and coded as shown in Fig. 7(d) according to the special compression/coding format specific for the printer, and serially stored after the address C0000 of the intermediate buffer 83. Next, in S47, the character compressed print data stored in the intermediate buffer 83 is developed into dot image print image data based on the font data such as that in the composition format memory 85 and the load font memory 84. The dot image print image data is stored in the print image buffer 86 and the program returns to 840. Next, S40 through S47 are repeated for each one raster scan worth of print data until all the received print data is developed into print image data and stored in the print image buffer 86. Then a print process routine (not shown in the drawings) is performed as an interrupt routine in the CPU 71. The print image data stored in the print image buffer 86 is retrieved in units equivalent to one raster scan. The retrieved print image data is outputted to the laser scanner with each print timing signal and printed on the recording sheet. When the search of the compression print data stored in the reception data buffer 82 reveals that variety data indicating the special compression/coding format is stored with the compressed print data (i.e., S42 is YES), the compressed print data stored in the reception data buffer 82, that is, the graphic compressed print data that was compressed and encoded according to the special compression/coding format is transmitted directly to the intermediate buffer 83 in S43 without being compressed and encoded according to the special compression/coding format in S44 and S45. The program then returns to S40 via S47. For example, when the graphic compressed print data shown in Fig. 8(b) is transmitted, the transmitted compressed print data is serially stored in the reception data buffer 82. Afterward, the graphic compressed print data is directly transmitted to the intermediate buffer 83 without being compressed and encoded according to the special compression/coding format. Afterward, S40 through S43, and S47 are repeatedly executed for each raster scan worth of print data. All received graphic print data is developed into dot image print data, which is then stored in the print image buffer 86. In the same manner as described above, the print data stored in the print image buffer 86 is retrieved in raster scan units, outputted to the laser scanner at each print timing signal, and printed on the recording sheet. As described above, graphic print data prepared in the personal computer PC is compressed and encoded according to the special compression/coding format, this format being different from a transmission compression/coding format normally used when transmitting data. In this way compressed print data that can be developed into dot image print data by the laser printer LP is transmitted to the laser printer LP. The laser printer LP transmits the compressed print data (that was compressed and encoded according to the special compression/coding format) from the reception buffer, where the print data was received, directly to an intermediate buffer. Therefore, many complicated data processes can be omitted. For example, compressed print data, that was compressed and encoded according to a compression format normally used for transmitting data, need not be decoded back to the original graphic data. Also, the graphic data need not be compressed and encoded according to the special compression/coding format into compressed print data that can be developed into dot image data by the printer. In this way, printing of graphic print data becomes more efficient. Here an explanation will be provided for the correspondence between the various means of the claims and the components described in the embodiment. The first compression/coding means corresponds to the print data transmission routine, particularly to S11. The second compression/coding means corresponds to the print image data preparation routine, particularly to S12. The developing means corresponds to the print image data preparation routine, particularly to S47. Based on existing technology or technology obvious to one skilled in the art, various modifications can be made to the various devices and programs of the above-described embodiment. For example, the present invention can be applied to any printer which receives and prints prepared and transmitted print data. Thus, graphic print data which is prepared in the print data preparation device may be compressed and encoded according to the predetermined compression/coding program into compressed and encoded print data that can be developed into dot image print data. by the printer. The compressed and encoded print data is transmitted to the printer. The received graphic compressed print data can be developed into dot image print data in the buffer of the printer. Therefore, many complicated data processes can be omitted. For example, compressed print data, that was compressed and encoded according to a compression format normally used for transmitting data, need not be decoded back to the original graphic data. Also, the graphic data need not be compressed and encoded according to the special compression/coding program specific to the printer into compressed print data that can be developed into dot image data by the printer. In this way, printing graphic print data becomes more efficient.

Claims: A method of printing print data, comprising the steps of: (a) preparing graphic print data in a print data preparation device (PC); (b) compressing and encoding (S11) the graphic data according to a predetermined compression/coding program in the print data preparation device (PC) so that resultant compressed and encoded graphic data can be directly developed into dot image print data; (c) transmitting (S16) the compressed and encoded graphic print data from the print data preparation device (PC) to a printing device (LP) together with identification data indicating the compression/coding program used for compressing and encoding the graphic data (S13); (d) receiving the transmitted graphic print data at the printing device (LP) ; (e) storing the received graphic print data in a buffer (82) of the printing device (LP); (f) identifying the compression/coding program used for compressing and encoding the graphic data based on the identification data (S42) ; (g) developing (S47) the compressed encoded graphic print data stored in the buffer (82) into dot image print data; (h) storing the dot image print data; and (i) printing the dot image print data on a print medium according to the dot image print data corresponding to the graphic print data. A method as claimed in claim 1, wherein the predetermined compression/coding program used for compressing and encoding the graphic print data is dependent on the variety of the printing device (LP) which is to perform printing. A method as claimed in claim 1 or 2, wherein step (a) further includes (a') preparing text print data; step (b) further includes (b') compressing and encoding (S12) the text print data according to a preselected compression/coding program; step (c) further includes (c') transmitting (S16) the compressed and encoded text print data from the print data preparation device (PC) to the printing device (LP); step (d), further includes (d') receiving the transmitted text print data at the printing device (LP); step (e) further includes (e') storing the received text print data in the buffer (82); step (g) further includes (g') developing (S47) the text print data stored in the buffer (82) into dot image print data corresponding to the text print data; and step (i) further includes (i') printing the dot image print data corresponding to the text print data on the print medium according to the dot image print data corresponding to the text print data. A method as claimed in claim 3, wherein the preselected compression/coding program used for compressing and encoding the text print data is selectable independently of the variety of the printing device which is to perform printing. A method as claimed in claim 3 or 4, wherein step (c) includes the steps of: (c1) transmitting (S13) identification data indicating the compression/coding program that has been used; (c2) transmitting (S14) identification data indicating the variety of the print data that has been compressed and encoded by the compression/coding program identified in step (c1); and (c3) transmitting (S16) compressed and encoded print data that has been compressed and encoded for the variety of print data identified in step (c2) by the compression/coding program identified in step (c1). A method as claimed in claim 5 , wherein step (g) comprises the steps of: (g1) determining (S40) whether or not a predetermined amount of the compressed and encoded print data is stored in the buffer (82); (g2) searching (S41) whether or not the identification data indicates that the predetermined compression/coding program has been used in relation to the compressed and encoded print data stored in the buffer (82); (g3) transferring (S43) the compressed and encoded print data stored in the buffer (82) into an intermediate buffer (83) of the printing device (LP) when the search performed in step (g2) indicates that the predetermined compression/coding program has been used; and (g4) developing (S47) the compressed and encoded print data stored in the intermediate buffer (83) into the dot image print data. A method as claimed in claim 5, wherein step (g) comprises the steps of: (g11) determining (S40) whether or not a predetermined amount of the compressed and encoded print data is stored in the buffer (82); (g12) searching (S41) whether or not the identification data indicates that the predetermined compression/coding program has been used in relation to the compressed and encoded print data stored in the buffer (82); (g13) decoding (S44) the compressed and encoded print data stored in the buffer (82) to reproduce the print data prepared at step (a), when the search (S41) performed in step (g12) indicates that the predetermined compression/coding program has not been used; (g14) compressing and encoding (S45) the reproduced print data in step (g13) according to the predetermined compression/coding program in the printing device (LP) ; (g15) storing (S46) the compressed and encoded print data produced in step (g14) in an intermediate buffer (83) of the printing device (LP) ; and (g16) developing (S47) the compressed and encoded print data stored in the intermediate buffer (83) in step (g15) into dot image print data. A printing system comprising: a print data preparation device (PC) for preparing print data, the print data including at least graphic print data; first compression/encoding means (S11) for compressing and encoding the graphic print data according to a predetermined compression/coding program so that resultant compressed and encoded graphic print data can be directly developed into dot image print data; first storage means (82) for storing the compressed and encoded graphic data produced by the first (S11) compression/encoding means together with identification data indicating the compression/coding program used for compressing and encoding the graphic data; developing means (S47) for developing the compressed and encoded graphic data stored in the first storage means (82) into dot image print data upon identifying the compression/coding program used for compressing and encoding the graphic data based on the identification data; second storage means for storing the dot image print data; and printing means (LP) for printing the dot image print data on a print medium according to the dot image print data corresponding to the graphic data. A printing system as claimed in claim 8, further comprising second compression/encoding means (S12) for compressing and encoding text print data according to the preselected compression/coding program, wherein the first storage means (82) further stores the compressed and encoded text print data produced by the second (S12) compression/encoding means, the developing means (S47) further develops the compressed and encoded text print data stored in the first storage means (82) into dot image print data, and the printing means (LP) further prints the dot image print data corresponding to the text print data. A printer (LP) for use in a printing system (PC) comprising a print data preparation device (PC) for preparing print data, the print data including at least graphic print data; the print data preparation device (PC) including: first compression/encoding means (S11) for compressing and encoding the graphic print data according to a predetermined compression/coding program so that resultant compressed and encoded graphic print data can be directly developed into dot image print data; the printer comprising: first storage means (82) for storing the compressed and encoded graphic data produced bv the first (S11) compression/encoding means together with identification data indicating the compression/coding program used for compressing and encoding the graphic data; developing means (S47) for developing the compressed and encoded graphic data stored in the first storage means (82) into dot image print data upon identifying the compression/coding program used for compressing and encoding the graphic data based on the identification data; second storage means for storing the dot image print data; and printing means (LP) for printing the dot image print data on a print medium according to the dot image print data corresponding to the graphic data. A printer according to claim 10 for use with a preparation device (PC) having a second compression/encoding means (S12) for compressing and encoding text print data according to a preselected compression/coding program, the first storage means (82) being for storing the text print data produced by the second (S12) compression/encoding means. A printing system as claimed in claim 8 or a printer as claimed in claim 11, wherein the preselected compression/coding program used for compressing and encoding the text print data is selectable independently of a variety of the printing means. A printing system as claimed in claim 8 or a printer as claimed in claim 10, 11 or 12 wherein the predetermined compression/coding program used for compressing and encoding the graphic print data is correlated to the printing means (LP). A printing system or a printer as claimed in claim 12 or 13 wherein the compressed and encoded print data includes: first identification data (S13) indicating the compression/coding program that has been used; and second identification data (S14) indicating the variety of the print data that has been compressed and encoded by the compression/coding program identified by the first identification data. A printing system or a printer as claimed in claim 14, wherein the developing means comprises: determining means (S40) for determining whether or not a predetermined amount of the compressed and encoded print data is stored in the first storage means (82); searching means (S41) for searching whether or not the first identification data (S13) indicates that the predetermined compression/coding program has been used in relation to the compressed and encoded print data stored in the first storage means (82); transferring means (S43) for transferring the compressed and encoded print data stored in the first storage means (82) into a second storage means (83) when the searching means (S41) indicates that the predetermined compression/coding program has been used; and dot image developing means (S47) for developing the compressed and encoded print data stored in the second. storage means (83) into the dot image print data. A printing system or a printer as claimed in claim 14, wherein the developing means comprises: determining means (S46) for searching whether or not the first identification data indicates that the predetermined compression/coding program has been used in relation to the compressed and encoded print data stored in the first storage means (82); searching means (S41) for searching whether or not the first identification data indicates that the predetermined compression/coding program has been used in relation to the compressed and encoded print data stored in the first storage means (82); decoding means (S44) for decoding the compressed and encoded print data stored in the first storage means (82) to reproduce the print data prepared by the print data preparation device (PC), when the searching means (S41) indicates that the predetermined compression/coding program has been used; second compression/encoding means (S45) for compressing and encoding the reproduced print data by the decoding means (S44) according to the predetermined compression/coding program; transferring means (S46) for transferring the compressed and encoded print data produced by the second compression/encoding means into a second storage means; and dot image developing means (S47) for developing the compressed and encoded print data stored in the second storage means into dot image print data.

Inventors: SASAKI ICHIRO, SASAKI, ICHIRO, SASAKI, ICHIRO, C/O BROTHER KOGYO K. K.
Applicants: BROTHER IND LTD, BROTHER KOGYO KABUSHIKI KAISHA
Application year: 1995
Main classification: G06F3
IPC codes: B41J5, G06F3