Output control method and apparatus

Abstract: Output control method and apparatus for receiving data from an external apparatus such as a floppy disk and generating are disclosed. ID data that is peculiar to a printer is previously non-volatilely stored into a writable/readable non-volatile secondary memory device such as a hard disc or the like. The ID No. which is sent from an external apparatus such as a host computer is compared with the ID No. stored. When the ID numbers don't coincide, the data reception from the external apparatus is inhibited. When they coincide, the data from the external apparatus is received and stored into the secondary memory device. The data from the external apparatus is printed with reference to the data stored in the secondary memory device.

Description: Field of the Invention The present invention relates to output control method and apparatus for receiving data from an external apparatus and for outputting. Related Background Art Hitherto, in a printer having a writable/readable non-volatile secondary memory device such as a hard disc or the like, there is a printer such that fonts which are used to print are down loaded or a table such as type styles or character codes or the like is down loaded from an apparatus such as a host computer or the like which is connected to such a printer and provides print information, print data can be printed in the mode suitable for an output request of the host computer. In such a printer as mentioned above, data which is registered into writable/readable non-volatile secondary memory means such as a hard disc or the like is merely registered in accordance with a registration command and registration data which are sent from the host computer through a communication path. In the conventional apparatus as mentioned above, since data is merely registered on the basis of the registration command from the host computer, the data can be unconditionally down loaded to any printer, so that there is a fear such that the data is illegally copied. There is, consequently, a problem such that even in case of a printed matter which onerously uses certain fonts, by down loading such fonts to a printer, document data or the like using such fonts can be easily copied. In IBM TECHNICAL DISCLOSURE BULLETIN, Vol. 33, No. 5, Oct. 1, 1990, page 30 to 32, "Dynamic Printer Definition", a printer ID is suggested to be stored in a device connected to a respective printer. When a Read Info command is transmitted from a work station controller to the device, the printer ID is returned as a response to the Read Info command. If the work station controller detects a new printer ID, it loads a printer definition table for the new printer into a memory of the device. The device then uses the new printer definition table to convert the data stream from a host into a correct printer data stream. Thus, the printer ID is used to inform the work station controller of the type of printer data stream required by the printer manufacturer, such that the data stream from the external apparatus (host) can be converted into a proper printer data stream. It is an object of the present invention to provide an output control method and apparatus which can prevent illegally copying of host data. This object is achieved by an output control apparatus and method as claimed in claims 1 and 2, respectively. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing a schematic construction of a printer of an embodiment of the present invention; Fig. 2 is a cross sectional diagram showing a structure of a laser beam printer according to the embodiment; Fig. 3 is a flowchart showing processes in a stationary state of the printer according to the embodiment; Fig. 4 is a flowchart showing processes in the case where a host computer registers data into a hard disc of the printer according to the embodiment; Fig. 5 is a schematic diagram showing an ink jet recording apparatus according to another embodiment to which the invention can be applied; and Fig. 6 is a block diagram showing a schematic control construction of the ink jet recording apparatus of Fig. 5. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will now be described in detail hereinbelow with reference to the drawings. Fig. 1 is a block diagram showing a schematic construction of a printer according to an embodiment. In Fig. 1, reference numeral 1 denotes a CPU to control the whole printer and 2 indicates an ROM in which programs by which the CPU 1 operates, data, and the like have been stored. The ROM 2 is not necessarily limited to an ROM but can also use any other memory having a function to store programs, data, and the like. Reference numeral 3 denotes an RAM which is used as a work area or the like to temporarily store data or the like; 4 a printer interface to control the interface with a printer mechanism 5; and 5 the printer mechanism having a construction, for example, as shown in detail in Fig. 2. The printer mechanism 5 is a portion such as wire-dot printer, thermal copy transfer printer, laser beam printer, or the like and is a portion to print a dot image onto a paper. The printer interface 4 is a portion for converting a bit image drawn in the RAM 3 by the CPU 1 into a dot image in a form adapted to the mechanism of the printer mechanism 5. For example, the printer interface 4 executes a process to convert parallel data into serial data or the like. Reference numeral 6 denotes a data input/output unit for inputting or outputting data to/from a host computer 12; 7 a communication path to transmit the input data or the like which is transmitted between the data I/O unit 6 and the host computer 12; 8 an operation panel to display or input various kinds of information; and 9 an EEPROM in which ID data and the like of the printer has been stored. The EEPROM 9 is not necessarily limited to an EEPROM but can use any other non-volatile memory device. Reference numeral 11 denotes a hard disc to store various kinds of data which is down loaded from the host computer 12. The CPU 1 executes the reading operation, writing operation, and the like for the hard disc 11 through a hard disc interface 10. The hard disc 11 is not necessarily limited to a hard disc but can also use any other writable/readable non-volatile secondary memory device. In this case, the hard disc interface 10 such as to be adopted to the form of the writable/readable non-volatile secondary memory device is also constructed by an interface unit corresponding thereto. Fig. 2 is a cross sectional view showing an internal structure of a laser beam printer (LBP) 100 according to an embodiment. The LBP 100 is constructed so that it can register character patterns from a data source (host computer 12 or the like), fixed format (form data), and the like. In Fig. 2, the LBP main body 100 receives and stores character information (character codes), form information and macro instruction, or the like which is supplied from the host computer or the like connected to the outside. The LBP 100 makes the corresponding character pattern, form pattern, and the like in accordance with those information and forms an image onto a recording paper as a recording medium. Reference numeral 8 denotes the operation panel on which various kinds of switches for operation, an LED display, and the like are arranged. Reference numeral 101 denotes a printer control unit for controlling the whole LBP 100 and for analyzing the character information or the like which is supplied from the host computer. The printer control unit 101 mainly converts character information into a video signal of the corresponding character pattern and supplies to a laser driver 102. The laser driver 102 is a circuit to drive a semiconductor laser 103 and for on/off switching the semiconductor laser in accordance with the inputted video signal. A laser beam 104 emitted from the semiconductor laser 103 is swung to the right and left by a rotary polygon mirror 105 and scans on an electrostatic drum 106, so that an electrostatic latent image of a character pattern is formed on the drum 106. The latent image is developed by a developing unit 107 arranged around the drum 106 and is copy transferred onto a recording paper after that. Cut sheets are used as recording papers. The cut recording sheets are enclosed in a paper cassette 108 attached in the LBP main body 100 and are picked up and conveyed one by one into the LBP main body by a feed roller 109 and conveying rollers 110 and 111 and supplied to the drum 106. Fig. 3 is a flowchart showing processes in a stationary state of the printer of the embodiment. Fig. 4 is a flowchart showing processes for the host computer 12 to register data or the like into the hard disc of the printer in the embodiment. First, an outline of the operation of a whole system including the host computer 12 when the present printer is used will be first described with reference to a flowchart of Fig. 4 with respect to the processes of the host computer 12 in the case where the host computer 12 registers data into the hard disc 11. First, in step S301, a check is made to see if a supply medium such as a floppy disk or the like in which registration data has been stored is used for data registration (down load) for the first time or not. In the above discrimination, the data is first read out from the supply medium. When the data is registered to the hard disc 11 of the printer, judgment data indicating that the supply medium has been used for data registration is previously written into the supply medium such as a floppy disk. The judgment in step S301 is performed on the basis of such judgment data. If YES in step S301, step S302 follows and an ID number display command to display the ID number of the printer is issued to the printer. The printer displays the ID number that is peculiar to the printer onto the operation panel 8 in accordance with the ID number display command. The processing routine advances to step S303 and the operator instructs the ID number displayed on the operation panel 8 from an input device such as a keyboard or the like connected to the host computer 12. In step S304, an ID number collation command is issued to the printer of the embodiment together with the ID No. inputted in step S303. In this instance, when the result of the collation indicates that the ID numbers don't coincide, the printer sets the data I/O unit 6 into an input impossible state and stops the processes. In step S305, a check is made to see if the data I/O unit 6 is in the input impossible state or not. If YES, the processes are stopped. If NO, step S306 follows and the ID No. of the printer which was inputted in step S303 is written into the registration data supply medium such as a floppy disc or the like. In step S307, the data in the supply medium such as a floppy disk or the like is registered into the hard disc 11 by a registration command. If NO in step S301, step S308 follows and the ID No. of the apparatus written in step S306 at the first time is read out from the supply medium such as a floppy disk. The processes in step S304 and subsequent steps are similarly executed by using the read-out ID No. of the printer. According to the above embodiment, the data can be registered into a non-volatile secondary memory device of a single printer from the registration data supply medium such as a floppy disk connected to the host computer. The embodiment has been described with respect to the case of the system such that the registration data which is supplied from the host computer 12 connected to the printer and is down loaded into the hard disc of the printer is supplied from the floppy disk and the reading operation of the data from the floppy disk is executed by the host computer 12. The registration data supply medium is not limited to the floppy disk. For example, a similar effect is also obtained even by using other memory device such as memory card, CDROM, or the like. Processes in a stationary state of the printer of the embodiment will now be described with reference to a flowchart of Fig. 3. Prior to execute the processes, the ID No. of the printer is previously stored into the EEPROM 9. It is sufficient to register the printer ID No. into the EEPROM 9 only once. In step S201, the input data from the host computer 12 is received through the data I/O unit 6. In step S202, a check is made to see if the input data indicates the ID No. display command or not. If YES, the ID No. that is peculiar to the printer and has been stored in the EEPROM 9 is read out and displayed on the operation panel 8. The processing routine is returned to step S201. On the other hand, if NO in step S202, step S203 follows and a check is made to see if the input data indicates the ID No. collation command or not. If NO, step S207 follows and the ordinary processes are executed. The processing routine is returned to step S201. If YES in step S203, step S204 follows and the ID No. which is sent from the host computer 12 together with the ID No. collation command is collated with the ID No. stored in the EEPROM 9. In the next step S205, when the result of the collation in step S204 indicates that the ID numbers coincide, the processing routine is returned to step S201 and the processes are executed. If NO in step S205, the data I/O unit 6 is set into the input impossible state and the processes are stopped. The embodiment is not limited to the above embodiment but many modifications and variations are possible within the purview of the spirit of the present invention. For example, in the above embodiment, in place of the EEPROM 9 to store the ID No., the printer ID No. can be also stored into the hard disc 11. In this case, the processes are executed in a manner similar to the above except that in the apparatus of the embodiment, the ID No. is read out from the hard disc 11 in the processes of the ID No. display command and ID No. collation command. Even by such an embodiment, data can be registered into only a writable/readable non-volatile secondary memory device of only one printer for only a single registration data supply medium such as a floppy disk or the like. Although the invention has been described with respect to the laser beam printer as an example of the image forming apparatus of the embodiment, the invention is not limited to such a printer but can be also similarly applied to an ink jet printer or the like which will be explained hereinlater. Fig. 5 is a schematic diagram of an ink jet recording apparatus IJRA to which the invention can be applied. In the diagram, a lead screw 5005 is rotated in association with the forward/reverse rotation of a driving motor 5013 through driving force transfer gears 5011 and 5009. A carriage HC has a pin (not shown) which is adapted to be come into engagement with a spiral groove 5004 of the lead screw 5005. The carriage HC is reciprocated in the directions indicated by arrows a and b in the diagram. An ink jet cartridge IJC is mounted on the carriage HC. Reference numeral 5002 denotes a paper pressing plate for pressing a recording paper onto a platen 5000 in the moving direction of the carriage. Reference numerals 5007 and 5008 denote photocouplers as home position detecting means for checking the presence of a lever 5006 of the carriage in each area where the photocoupler is arranged and for executing the switching of the rotating direction of a motor 5013 or the like. Reference numeral 5016 denotes a member to support a cap member 5022 to cap the front surface of the recording head; 5015 sucking means for sucking the inside of the cap and for performing a sucking recovery of a recording head through an opening 5023 in the cap; 5017 a cleaning blade; and 5019 a member for enabling the cleaning blade to be moved in the front/back direction. The members 5017 and 5018 are supported to a main body supporting plate 5018. The cleaning blade is not limited to the shape shown in the diagram but any other well-known cleaning blade can be also obviously used in the embodiment. Reference numeral 5012 denotes a lever to start the sucking operation in the sucking recovery. The lever 5012 is moved in association with the movement of a cam 5020 which is come into engagement with the carriage. A driving force from the driving motor is transferred and controlled by well-known transfer means such as clutch switching means or the like. Desired one of the capping, cleaning, and sucking recovery processes can be executed at the corresponding position by the operation of the lead screw 5005 when the carriage arrives at the region on the home position side. So long as a desired one of those processes can be executed at a well-known timing, any of them can be also applied to the invention. A control construction to execute the recording control of the printer mentioned above will now be described with reference to a block diagram shown in Fig. 6. In the Fig. 6 showing a control circuit, reference numeral 1700 denotes an interface to input a recording signal. The interface 1700 corresponds to the foregoing data I/O unit 6. Reference numeral 1701 denotes an MPU; 1702 a program ROM to store control programs which are executed by the MPU 1701; and 1703 a dynamic RAM to preserve various kinds of data (the above, recording signal, recording data which is supplied to the head, etc.). Those component elements 1701, 1702, and 1703 correspond to the CPU 1, ROM 2, and RAM 3 mentioned above in Fig. 1. Reference numeral 1704 denotes a gate array to supply and control recording data to a recording head 1708. The gate array 1704 also controls the data transfer among the interface 1700, MPU 1701, and RAM 1703. Reference numeral 1709 denotes a carriage motor to convey the recording head 1708; 1709 a paper feed motor to convey a recording paper; 1705 a head driver to drive the head; 1706 a motor driver to drive the paper conveying motor 1709; and 1707 a motor driver to drive a carriage motor 1710. The operation of the above control construction will now be described. When a recording signal is supplied to the interface 1700, the recording signal is converted into the recording data for printing between the gate array 1704 and the MPU 1701. Both of the motor drivers 1706 and 1707 are driven. The recording head is driven in accordance with the recording data sent to the head driver 1705 and the printing operation is executed. The component elements of the invention can be assembled to the control construction of the ink jet printer as mentioned above. The invention is not limited to the laser beam printer but can be also obviously applied to the above ink jet printer or the like. The invention can be applied to a system comprising one or a plurality of apparatuses. The invention can be also obviously applied to the case where the invention is accomplished by supplying the programs for executing the invention to a system or an apparatus. According to the embodiment as described above, since the ID No. that is peculiar to the printer can be managed by the host computer, so that it is possible to prevent that the registration data supply medium is illegally copied and used. The invention is, therefore, also fairly useful from a viewpoint of the copyright. There is also an effect such that by allowing the down loading to only a special apparatus, an erroneous operation such that the content in the secondary memory means of the printer is erroneously rewritten can be also prevented. According to the invention as described above, since data can be transmitted and stored to only a special printer, there is an effect such that it is possible to prevent that the data is copied to other apparatuses. As described above, according to the invention, it is possible to provide output control method and apparatus in which data can be transmitted and stored into only a special printer. According to the invention as mentioned above, it is possible to provide output control method and apparatus in which ID data of a printer is previously non-volatilely stored, the ID No. which is sent from an external apparatus is compared with the ID number stored, and when those ID numbers don't coincide as a result of the comparison, the data reception from the external apparatus is inhibited, and when they coincide as a result of the comparison, the data from the external apparatus is received and stored. According to the invention as described above, it is possible to provide output control method and apparatus in which ID data of a printer is previously non-volatilely stored, the ID No. which is sent from an external apparatus is compared with the ID number stored, and when those ID numbers don't coincide as a result of the comparison, the data reception from the external apparatus is inhibited, and when they coincide as a result of the comparison, the data from the external apparatus is received and stored into a secondary memory device, and the data from the external apparatus is printed with reference to the data stored in the secondary memory device. Output control method and apparatus for receiving data from an external apparatus such as a floppy disk and generating are disclosed. ID data that is peculiar to a printer is previously non-volatilely stored into a writable/readable non-volatile secondary memory device such as a hard disc or the like. The ID No. which is sent from an external apparatus such as a host computer is compared with the ID No. stored. When the ID numbers don't coincide, the data reception from the external apparatus is inhibited. When they coincide, the data from the external apparatus is received and stored into the secondary memory device. The data from the external apparatus is printed with reference to the data stored in the secondary memory device.

Claims: An output control apparatus comprising: a) memory means (9) for non-volatilely storing ID data of a printer (5); b) comparing means (1) for comparing an ID number which is sent from an external apparatus (12) and an ID number stored in said memory means (9) ; c) inhibiting means (6) for inhibiting the data reception from the external apparatus (12) when said ID numbers don't coincide as a result of the comparison by said comparing means (1) ; and d) data memory means (11) for receiving and storing the data from the external apparatus (12) when said ID numbers coincide as a result of the comparison means (1), characterized in that e) said sent ID number is peculiar to a special printer, such that the data from the external apparatus (12) can be transmitted and stored to said special printer. An apparatus according to claim 1, characterized in that said apparatus is an electrophotographic printer or an ink jet printer. An output control method comprising: a) non-volatilely storing ID data of a printer (5); b) comparing an ID number which is sent from an external apparatus (12) and an ID number stored; c) inhibiting a data reception from the external apparatus (12) when said ID numbers don't coincide as a result of the comparison; d) receiving the data from the exzernal apparatus and storing into a secondary memory device (11) the data from the external apparatus (12) when said ID numbers coincide as a result of the comparison; and e) printing the data from the external apparatus (12) with reference to the data stored in said secondary memory device, characterized in that f) said sent ID number is peculiar to a special printer, such that the data from the external apparatus (12) can be transmitted and stored to said special printer. A method according to claim 3, characterized in that said method is used for protecting a copyright. A method according to claim 3 or 4, characterized in that the data from the external apparatus is font data. An output control system comprising an external apparatus (12) and an output control apparatus as defined in claim 1. A system according to claim 6, wherein said external apparatus is a host computer (12) . A computer program product directly loadable into the internal memory of an apparatus, comprising software code portions for performing all the steps of claim 3 when said product is run on said apparatus. A computer program product according to claim 8, wherein said computer program product is stored on a memory medium readable by said apparatus. A computer program product according to claim 8, wherein said computer program product is downloaded to said apparatus.

Inventors: SHIMURA AKIHIRO, SHIMURA, AKIHIRO, SHIMURA, AKIHIRO, C/O CANON K.K.
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: G06F1
IPC codes: G06F3, G06F1, G06F21, B41J29, G06K15, B41J5