US5031115A - Printer interface using printer response to determine printer type - Google Patents

Printer interface using printer response to determine printer type Download PDF

Info

Publication number
US5031115A
US5031115A US07/342,789 US34278989A US5031115A US 5031115 A US5031115 A US 5031115A US 34278989 A US34278989 A US 34278989A US 5031115 A US5031115 A US 5031115A
Authority
US
United States
Prior art keywords
printer
image data
coupled
data
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
US07/342,789
Inventor
Yasushi Hayashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Assigned to KABUSHIKI KAISHA TOSHIBA reassignment KABUSHIKI KAISHA TOSHIBA ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: HAYASHI, YASUSHI
Application granted granted Critical
Publication of US5031115A publication Critical patent/US5031115A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0005Accepting output data; Preparing data for the controlling system
    • G06K2215/0017Preparing data for the controlling system, e.g. status, memory data

Definitions

  • the present invention relates to a printer interface which permits selective connection of printers of different specifications.
  • the image processing apparatus should be provided with interface circuits and operating systems for the individual printers, and the interface circuits and operating systems should be properly and selectively switched in accordance with the types of printers coupled to the apparatus.
  • an object of this invention to provide an interface apparatus which can automatically and quickly set up a system in accordance with the operating characteristics of a printer to be coupled to an image processing apparatus.
  • an interface apparatus comprising a plurality of printer means for printing image data, and outputting mutually different status data in response to an input operation command; connection means selectively coupled to one of the plurality of printer means; first supply means for supplying print data through the connection means to the one printer means; second supply means for supplying an operation command to the one printer means; and selection means for selecting a timing at which the first supply means supplies the image data in accordance with the status data output from the one printer means.
  • FIG. 1 is a diagram illustrating one embodiment of this invention
  • FIG. 2 is a diagram illustrating a first section of FIG. 1;
  • FIGS. 3 and 4 are diagrams for explaining the structure of command data
  • FIGS. 5 and 6 are diagrams for explaining the structure of status data.
  • FIG. 7 is a flowchart for explaining the operation of the illustrated embodiment of this invention.
  • a control module CPM and a communication control module CCM are coupled to a system bus 11.
  • a memory module MM and an image processing module IPM are coupled to the system bus 11 and an image bus 20.
  • the control module CPM includes a CPU 12 and an interface 15 both coupled to the system bus 11.
  • the CPU 12 controls the general control of the apparatus and can execute a multitask operation.
  • CPU 12 is coupled to a keyboard 13 for entering various data including command data, and a mouse 14 serving as a pointing device.
  • the mouse 14 moves a cursor on the screen of a CRT display 26 (which will be described below) and has first and second buttons (not shown) for specifying the position of the cursor on the screen.
  • the interface 15 is coupled to an optical disk device 17 and magnetic disk devices 18 and 19.
  • the optical disk device 17 is loaded with an optical disk OD which stores image data.
  • the magnetic disk device 18 comprises, for example, a floppy disk device and is loaded with a floppy disk FD.
  • the magnetic disk device 19 comprises, for example, a hard disk device, and includes a hard disk HD. These magnetic disk devices 18 and 19 store retrieval data of the optical disk OD, display data (processing data) necessary for data retrieval, etc.
  • the magnetic disk device 19 further stores a printer discrimination program and operating systems associated with a plurality of printers having different operating characteristics.
  • the memory module MM comprises a main memory 16 coupled to the system bus 11, a page memory 21, a buffer memory 21A, a display memory 22A, a working display memory 22B, and a display controller 25 coupled to the display memory 22A.
  • the memories 21, 21A, 22A and 22B are coupled between the system bus 11 and the image bus 20.
  • the main memory 16 stores operation programs for CPU 12.
  • the page memory 21 stores data scanned by a scanner 27 (which will be described below) and data enlarged or reduced by a zoom circuit 23.
  • the buffer memory 21A provided at part of the page memory 21, stores data read out from the optical disk device 17.
  • the display memory 22A and working display memory 22B store display data.
  • the display controller 25 is coupled to the CRT display 26 and displays the data stored in the display memory 22A on the CRT display 26.
  • the image processing module IPM comprises the zoom circuit 23, a vertical/horizontal converter 24, both coupled to the system bus 11 and image bus 20, a coder/decoder (CODEC) 31 coupled to the converter 24, a scanner interface 29, and a printer interface 30, both coupled to the CODEC 31.
  • the scanner interface 29 is coupled to the scanner (two-dimensional scanner) 27, and the printer interface 30 is adapted to be selectively coupled to a printer 28A or a printer 28B.
  • These printers 28A and 28B provide a hard copy of image data scanned by the scanner 27 or image data read out from the optical disk device 17 and have different operating characteristics including command data, status data and printing speeds, for example.
  • the printer 28A has a horizontal sync signal generator (HSYNC GEN.) 28C for generating horizontal sync signals (HSYNC) synchronous with the printing operation of the printer 28A.
  • Printer 28B has a dot clock signal generator (DOTC GEN.) 28D for generating dot clock signals synchronous with the printing operation of the printer 28B.
  • HSYNC GEN. horizontal sync signal generator
  • DRC GEN. dot clock signal generator
  • the zoom circuit 23 performs an enlarge/reduce process on image data supplied from the page memory 21.
  • the vertical/horizontal converter 24 executes vertical/horizontal conversion of the image data from the page memory 21.
  • the CODEC 31 converts, for example, the image data supplied through the scanner interface 29 from the scanner 27 into a predetermined code, converts a code from the page memory 21 into image data, and sends out the resultant, converted data to the printer 28A or 28B through the printer interface 30.
  • the scanner 27 scans an original image data bearing medium (for example, a document) with light to provide an electric signal corresponding to the image data of the original document.
  • the scanner 27 is provided with an operation section 27A for setting various parameters, such as the size of an original document to be scanned, the density of the original document and the scanning density, a CPU 27B for controlling the scanner 27 and a memory 27C for storing the various parameters set by the operation section 27A.
  • the communication control module CCM comprises a UCP (universal communication processor) 32 coupled to the system bus 11, and a BCP (business communication processor) 33 coupled to the UCP 32.
  • the UCP 32 is an interface for devices such as an RS-232C, a GPIB and a SCSI, while the BCP 33 is a LAN (local area network) interface.
  • FIG. 2 illustrates the printer interface 30, which has a common command protocol and different image protocols for the printers 28A and 28B.
  • a line buffer memory 30A is supplied with image data IMD read from, for example, the page memory 21, and stores four lines of image data, for example.
  • the line buffer memory 30A is coupled to a parallel/serial (P/S) converter 30B.
  • the parallel/serial converter 30B converts a 16-bit parallel signal from the line buffer memory 30A into a 1-bit serial signal and is coupled to a terminal 30D of a connector 30C.
  • the connector 30C is supplied at terminal 30E with a horizontal sync signal (HSYNC) from a printer.
  • Terminal 30E is also coupled to a dot clock generator 30F.
  • Dot clock generator 30F generates a first dot clock signal DOTCl in accordance with the horizontal sync signal (HSYNC) output from printer 28A, which is coupled to connector 30C.
  • the dot clock generator 30F is coupled to selector 30G which is also coupled to a terminal 30H of the connector 30C.
  • Printer 28B is coupled to the connector 30C, and terminal 30H is supplied with a second dot clock signal DOTC2 from the printer 28B.
  • the selector 30G selects either the first dot clock signal supplied from the dot clock generator 30F or the second dot clock signal supplied through the terminal 30H.
  • the selector 30G is coupled to a readout circuit 30I which is coupled to a read signal input terminal of the aforementioned line buffer memory 30A.
  • This readout circuit 30I counts the dot clock signal from the selector 30G 16 times and generates a read signal for the line buffer memory 30A.
  • a command controller 30J is supplied with command data (CMD), a command write signal W and a status read signal R from the CPU 12 and is coupled to a terminal 30K of the connector 30C.
  • the command controller 30J receives 1-byte command data CMD in synchronism with the command write signal W, sends the data CMD to the printer coupled to the connector 30C and sends status data STS, supplied from this printer in association with the command data CMD, to the CPU 12 in synchronism with the status read signal R.
  • FIGS. 3 and 4 illustrate the structures of command data used for two different types of printers 28A and 28B adapted to be coupled to the aforementioned printer interface 30, FIG. 3 corresponding to the printer 28A and FIG. 4 to the printer 28B.
  • FIGS. 5 and 6 illustrate the structures of status data associated with the command data; FIG. 5 corresponding to the printer 28A and FIG. 6 to the printer 28B. Both the command data and status data have a 1-byte structure.
  • the command data for the printer 28A as shown in FIG. 3 has bit 7 (MSB) serving as an odd parity bit and the remaining seven bits, 0 (LSB) to 6, representing the content of the command data.
  • MSB bit 7
  • LSB 0
  • Table 1 illustrates different command data for the printer 28A.
  • the command data for the printer 28B as shown in FIG. 4 has the same structure as that shown in FIG. 3 except that bit 0 (LSB) instead of bit 7 serves as the odd parity bit.
  • Table 2 below illustrates different command data for the printer 28B.
  • the status data for the printer 28A as shown in FIG. 5 has bit 7 (MSB) serving as an odd parity bit.
  • Bit 0 (LSB) is "0" in the normal status, and bits 1 to 6 represent the content of the normal status.
  • bit 0 becomes “1”.
  • Bit 1 is "1” in case of a parity error and is "0” in case of an improper command error.
  • Bits 1 to 5 are unsettled.
  • Table 3 illustrates the contents of an error status in the case a parity error has occurred.
  • the status data for the printer 28B as shown in FIG. 6 has bit 0 (LSB) serving as an odd parity bit.
  • Bit 7 (MSB) is "0" in the normal status, and bits 1 to 6 represent the content of the normal status.
  • bit 7 becomes “1” and is fixed to "80” in hexadecimal numbers. Table 4 below illustrates the content of an error status in the case a parity error has occurred.
  • the type of printer coupled to the printer interface 30 is discriminated using the difference in the status data associated with the command data, and connection of the printer interface circuit is switched to the proper destination printer and operating system in accordance with the discrimination result.
  • an IPL initial program loader
  • a printer discrimination program stored in the magnetic disk device 19 is loaded in the main memory 16 by this IPL (step ST1).
  • the printer discrimination program permits a parity command to be sent through the printer interface 30 to a printer (step ST2).
  • the parity command may be "00" (Hex), "03" (Hex), etc.
  • the command controller 30J in the printer interface 30 has a common protocol for the printers 28A and 28B, it can send the parity command to either printer.
  • the status data sent from the printer in response to the parity command has bits 0 and 1 set to "1" when the printer 28A is presently coupled and set to "80" (Hex) for the printer 28B.
  • the CPU 12 Upon reception of the status data from the printer through the command controller 30J (step ST3), the CPU 12 discriminates, based on the received data, whether the printer 28A or 28B is presently coupled to the image processing apparatus (step ST4). If the printer 28A is coupled, the operating system for the printer 28A is loaded into the main memory 16 from the magnetic disk device 19, and a switch command SW is sent to the selector 30G of the printer interface 30. The selector 30G then selects the first dot clock signal DOTC1 from the dot clock generator 30F (step ST5). If the printer 28B is coupled in step ST4, the operating system for printer 28B is similarly loaded into the main memory from the magnetic disk device 19, and the switch command SW is sent to the selector 30G of the printer interface 30. Selector 30G then selects the second dot clock signal DOTC2 supplied from the printer 28B through the terminal 30H (step ST6).
  • the type of printer presently coupled to the image processing apparatus is discriminated by checking the status bit pattern returned from the printer in response to the parity command.
  • the operation system for the connected printer is loaded into the main memory 16 from the magnetic disk device 19, and the connection of the printer interface circuit is switched to the proper printer (selecting the proper dot clock signal for the printer).

Abstract

A Central Processing Unit (CPU) sends a parity command to each printer in a printing system including a plurality of printers and discriminates status data returned from the printers in response to the parity command to determine which printer is coupled to a printer interface and reads out a system program associated with the printer from a magnetic disk device. The CPU also causes a selector of the printer interface to select a dot clock signal for the printer presently coupled to the printer interface, reads out image data from a memory using this dot clock signal and sends the acquired data to the coupled printer.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a printer interface which permits selective connection of printers of different specifications.
2. Description of the Related Art
An image processing apparatus which can print out image data scanned from an original document or read out from a memory is described in, for example, U.S. Pat. No. 4,661,988. Only one printer is coupled to the apparatus and different printers having different command data and status data cannot be coupled thereto.
There is a growing demand for an image processing apparatus of a type which allows printers having different command data and status data to be coupled thereto. In this case, the image processing apparatus should be provided with interface circuits and operating systems for the individual printers, and the interface circuits and operating systems should be properly and selectively switched in accordance with the types of printers coupled to the apparatus.
However, it is inconvenient and time consuming to manually switch the interface circuits and operating systems from one to another in accordance with the actual printer to be coupled to the image processing apparatus.
SUMMARY OF THE INVENTION
Accordingly, it is an object of this invention to provide an interface apparatus which can automatically and quickly set up a system in accordance with the operating characteristics of a printer to be coupled to an image processing apparatus.
To achieve this and other objects, there is provided an interface apparatus comprising a plurality of printer means for printing image data, and outputting mutually different status data in response to an input operation command; connection means selectively coupled to one of the plurality of printer means; first supply means for supplying print data through the connection means to the one printer means; second supply means for supplying an operation command to the one printer means; and selection means for selecting a timing at which the first supply means supplies the image data in accordance with the status data output from the one printer means.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram illustrating one embodiment of this invention;
FIG. 2 is a diagram illustrating a first section of FIG. 1;
FIGS. 3 and 4 are diagrams for explaining the structure of command data;
FIGS. 5 and 6 are diagrams for explaining the structure of status data; and
FIG. 7 is a flowchart for explaining the operation of the illustrated embodiment of this invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
A preferred embodiment of this invention will now be described referring to the accompanying drawings.
In FIG. 1, a control module CPM and a communication control module CCM are coupled to a system bus 11. A memory module MM and an image processing module IPM are coupled to the system bus 11 and an image bus 20. The control module CPM includes a CPU 12 and an interface 15 both coupled to the system bus 11. The CPU 12 controls the general control of the apparatus and can execute a multitask operation. CPU 12 is coupled to a keyboard 13 for entering various data including command data, and a mouse 14 serving as a pointing device. The mouse 14 moves a cursor on the screen of a CRT display 26 (which will be described below) and has first and second buttons (not shown) for specifying the position of the cursor on the screen.
The interface 15 is coupled to an optical disk device 17 and magnetic disk devices 18 and 19. The optical disk device 17 is loaded with an optical disk OD which stores image data. The magnetic disk device 18 comprises, for example, a floppy disk device and is loaded with a floppy disk FD. The magnetic disk device 19 comprises, for example, a hard disk device, and includes a hard disk HD. These magnetic disk devices 18 and 19 store retrieval data of the optical disk OD, display data (processing data) necessary for data retrieval, etc. The magnetic disk device 19 further stores a printer discrimination program and operating systems associated with a plurality of printers having different operating characteristics.
The memory module MM comprises a main memory 16 coupled to the system bus 11, a page memory 21, a buffer memory 21A, a display memory 22A, a working display memory 22B, and a display controller 25 coupled to the display memory 22A. The memories 21, 21A, 22A and 22B are coupled between the system bus 11 and the image bus 20.
The main memory 16 stores operation programs for CPU 12. The page memory 21 stores data scanned by a scanner 27 (which will be described below) and data enlarged or reduced by a zoom circuit 23. The buffer memory 21A, provided at part of the page memory 21, stores data read out from the optical disk device 17. The display memory 22A and working display memory 22B store display data. The display controller 25 is coupled to the CRT display 26 and displays the data stored in the display memory 22A on the CRT display 26.
The image processing module IPM comprises the zoom circuit 23, a vertical/horizontal converter 24, both coupled to the system bus 11 and image bus 20, a coder/decoder (CODEC) 31 coupled to the converter 24, a scanner interface 29, and a printer interface 30, both coupled to the CODEC 31. The scanner interface 29 is coupled to the scanner (two-dimensional scanner) 27, and the printer interface 30 is adapted to be selectively coupled to a printer 28A or a printer 28B. These printers 28A and 28B provide a hard copy of image data scanned by the scanner 27 or image data read out from the optical disk device 17 and have different operating characteristics including command data, status data and printing speeds, for example. The printer 28A has a horizontal sync signal generator (HSYNC GEN.) 28C for generating horizontal sync signals (HSYNC) synchronous with the printing operation of the printer 28A. Printer 28B has a dot clock signal generator (DOTC GEN.) 28D for generating dot clock signals synchronous with the printing operation of the printer 28B.
The zoom circuit 23 performs an enlarge/reduce process on image data supplied from the page memory 21. The vertical/horizontal converter 24 executes vertical/horizontal conversion of the image data from the page memory 21. The CODEC 31 converts, for example, the image data supplied through the scanner interface 29 from the scanner 27 into a predetermined code, converts a code from the page memory 21 into image data, and sends out the resultant, converted data to the printer 28A or 28B through the printer interface 30.
The scanner 27 scans an original image data bearing medium (for example, a document) with light to provide an electric signal corresponding to the image data of the original document. The scanner 27 is provided with an operation section 27A for setting various parameters, such as the size of an original document to be scanned, the density of the original document and the scanning density, a CPU 27B for controlling the scanner 27 and a memory 27C for storing the various parameters set by the operation section 27A.
The communication control module CCM comprises a UCP (universal communication processor) 32 coupled to the system bus 11, and a BCP (business communication processor) 33 coupled to the UCP 32. The UCP 32 is an interface for devices such as an RS-232C, a GPIB and a SCSI, while the BCP 33 is a LAN (local area network) interface.
FIG. 2 illustrates the printer interface 30, which has a common command protocol and different image protocols for the printers 28A and 28B.
A line buffer memory 30A is supplied with image data IMD read from, for example, the page memory 21, and stores four lines of image data, for example. The line buffer memory 30A is coupled to a parallel/serial (P/S) converter 30B. The parallel/serial converter 30B converts a 16-bit parallel signal from the line buffer memory 30A into a 1-bit serial signal and is coupled to a terminal 30D of a connector 30C.
The connector 30C is supplied at terminal 30E with a horizontal sync signal (HSYNC) from a printer. Terminal 30E is also coupled to a dot clock generator 30F. Dot clock generator 30F generates a first dot clock signal DOTCl in accordance with the horizontal sync signal (HSYNC) output from printer 28A, which is coupled to connector 30C. The dot clock generator 30F is coupled to selector 30G which is also coupled to a terminal 30H of the connector 30C. Printer 28B is coupled to the connector 30C, and terminal 30H is supplied with a second dot clock signal DOTC2 from the printer 28B.
In accordance with a switch command SW supplied from the CPU 12, the selector 30G selects either the first dot clock signal supplied from the dot clock generator 30F or the second dot clock signal supplied through the terminal 30H.
The selector 30G is coupled to a readout circuit 30I which is coupled to a read signal input terminal of the aforementioned line buffer memory 30A. This readout circuit 30I counts the dot clock signal from the selector 30G 16 times and generates a read signal for the line buffer memory 30A.
A command controller 30J is supplied with command data (CMD), a command write signal W and a status read signal R from the CPU 12 and is coupled to a terminal 30K of the connector 30C. The command controller 30J receives 1-byte command data CMD in synchronism with the command write signal W, sends the data CMD to the printer coupled to the connector 30C and sends status data STS, supplied from this printer in association with the command data CMD, to the CPU 12 in synchronism with the status read signal R.
FIGS. 3 and 4 illustrate the structures of command data used for two different types of printers 28A and 28B adapted to be coupled to the aforementioned printer interface 30, FIG. 3 corresponding to the printer 28A and FIG. 4 to the printer 28B.
FIGS. 5 and 6 illustrate the structures of status data associated with the command data; FIG. 5 corresponding to the printer 28A and FIG. 6 to the printer 28B. Both the command data and status data have a 1-byte structure.
The command data for the printer 28A as shown in FIG. 3 has bit 7 (MSB) serving as an odd parity bit and the remaining seven bits, 0 (LSB) to 6, representing the content of the command data. Table 1 below illustrates different command data for the printer 28A.
              TABLE 1                                                     
______________________________________                                    
(MSB)      (LSB)   (HEX)                                                  
______________________________________                                    
1 0 0 0 0 0 0 0    8 0                                                    
0 0 0 0 0 0 0 1    0 1                                                    
0 0 0 0 0 0 1 0    0 2                                                    
1 0 0 0 0 0 1 1    8 3                                                    
0 0 0 0 0 1 0 0    0 4                                                    
.                  .                                                      
.                  .                                                      
.                  .                                                      
0 1 1 1 1 1 1 1    E F                                                    
______________________________________                                    
The command data for the printer 28B as shown in FIG. 4 has the same structure as that shown in FIG. 3 except that bit 0 (LSB) instead of bit 7 serves as the odd parity bit. Table 2 below illustrates different command data for the printer 28B.
              TABLE 2                                                     
______________________________________                                    
(MSB)      (LSB)   (HEX)                                                  
______________________________________                                    
0 0 0 0 0 0 0 1    0 1                                                    
0 0 0 0 0 0 1 0    0 2                                                    
0 0 0 0 0 1 0 0    0 4                                                    
0 0 0 0 0 1 1 1    0 7                                                    
0 0 0 0 1 0 0 0    0 8                                                    
.                  .                                                      
.                  .                                                      
1 1 1 1 1 1 1 0    F E                                                    
______________________________________                                    
The status data for the printer 28A as shown in FIG. 5 has bit 7 (MSB) serving as an odd parity bit. Bit 0 (LSB) is "0" in the normal status, and bits 1 to 6 represent the content of the normal status. For an error status, bit 0 becomes "1". Bit 1 is "1" in case of a parity error and is "0" in case of an improper command error. Bits 1 to 5 are unsettled. Table 3 illustrates the contents of an error status in the case a parity error has occurred.
              TABLE 3                                                     
______________________________________                                    
(MSB)      (LSB)   (HEX)                                                  
______________________________________                                    
1 0 0 0 0 0 1 1    8 3                                                    
0 0 0 0 0 1 1 1    0 7                                                    
1 0 0 0 1 1 1 1    8 F                                                    
______________________________________                                    
The status data for the printer 28B as shown in FIG. 6 has bit 0 (LSB) serving as an odd parity bit. Bit 7 (MSB) is "0" in the normal status, and bits 1 to 6 represent the content of the normal status. For an error status, bit 7 becomes "1" and is fixed to "80" in hexadecimal numbers. Table 4 below illustrates the content of an error status in the case a parity error has occurred.
              TABLE 4                                                     
______________________________________                                    
(MSB)      (LSB)   (HEX)                                                  
______________________________________                                    
1 0 0 0 0 0 0 0    8 0                                                    
______________________________________                                    
Comparing the status of the printer 28A with that of the printer 28B in the case where a parity error has occurred, it should be understood that the bits 0 and 1 are always "1" for the printer 28A whereas they are always "0" for the printer 28B.
According to this embodiment, the type of printer coupled to the printer interface 30 is discriminated using the difference in the status data associated with the command data, and connection of the printer interface circuit is switched to the proper destination printer and operating system in accordance with the discrimination result.
Referring to FIG. 7, the operation of the CPU 12 will be described below.
When power of the apparatus is turned ON, an IPL (initial program loader) stored in the magnetic disk device 19 is loaded in the main memory 16 by a bootstrap (not shown), and a printer discrimination program stored in the magnetic disk device 19 is loaded in the main memory 16 by this IPL (step ST1). Then, the printer discrimination program permits a parity command to be sent through the printer interface 30 to a printer (step ST2). The parity command may be "00" (Hex), "03" (Hex), etc.
Since the command controller 30J in the printer interface 30 has a common protocol for the printers 28A and 28B, it can send the parity command to either printer. The status data sent from the printer in response to the parity command has bits 0 and 1 set to "1" when the printer 28A is presently coupled and set to "80" (Hex) for the printer 28B.
Upon reception of the status data from the printer through the command controller 30J (step ST3), the CPU 12 discriminates, based on the received data, whether the printer 28A or 28B is presently coupled to the image processing apparatus (step ST4). If the printer 28A is coupled, the operating system for the printer 28A is loaded into the main memory 16 from the magnetic disk device 19, and a switch command SW is sent to the selector 30G of the printer interface 30. The selector 30G then selects the first dot clock signal DOTC1 from the dot clock generator 30F (step ST5). If the printer 28B is coupled in step ST4, the operating system for printer 28B is similarly loaded into the main memory from the magnetic disk device 19, and the switch command SW is sent to the selector 30G of the printer interface 30. Selector 30G then selects the second dot clock signal DOTC2 supplied from the printer 28B through the terminal 30H (step ST6).
According to this embodiment, since printers with different specifications have different status bit patterns with respect to a parity command, the type of printer presently coupled to the image processing apparatus is discriminated by checking the status bit pattern returned from the printer in response to the parity command. In accordance with the discrimination result, the operation system for the connected printer is loaded into the main memory 16 from the magnetic disk device 19, and the connection of the printer interface circuit is switched to the proper printer (selecting the proper dot clock signal for the printer). With the above design, system setting can be automatically performed when the apparatus is turned ON, thus making the set-up operation easier and significantly reducing the time required for the system set-up.
Although the above embodiment has been described with reference to two types of printers coupled to the image processing apparatus, more than two types of printers may be coupled to the image processing apparatus.
In addition, although the description of the above embodiment has been given with reference to printer devices, this invention is not limited to this case and can apply to other input/output devices as well.

Claims (2)

What is claimed is:
1. An interface apparatus, comprising:
first and second printer means for printing image data and outputting mutually different status data in response to an input operation command;
connection means selectively coupled to one of said first and second printer means;
memory means for storing said image data;
readout means for reading out said image data stored in said memory means and supplying said image data to said one of said first and second printer means;
supply means for supplying an operation command to said one of said first and second printer means; and
selection means for selecting a read timing of said readout means in accordance with said status data output from said one of said first and second printer means in response to said operation command.
wherein said first printer means includes a first signal generator for generating a horizontal sync signal in synchronization with printing of said image data;
said second printer means includes a second signal generator for generating a first read signal for reading out said image data in synchronization with printing of said image data; and
said selection means includes a third signal generator for generating a second read signal in response to said horizontal sync signal from said first printer means, and a selection circuit for selecting said second read signal from said third signal generator when said first printer means is coupled to said connection means and for selecting said first read signal from said second signal generator when said second printer means is coupled to said connection means, in accordance with said status data from said one of said first and second printer means.
2. An interface apparatus, comprising:
first and second printer means for printing image data and outputting mutually different status data in response to an input operation command;
connection means selectively coupled to one of said first and second printer means;
first memory means for storing said image data;
first readout means for reading out said image data stored in said first memory means and supplying said image data to said one first and second printer means;
second memory means for storing first control data for controlling an operation of said first printer means and second control data for controlling an operation of said second printer means;
third memory means for storing one of said first and second control data stored in said second memory means;
supply means for supplying an operation command to said one of said first and second printer means;
selection means for selecting a read timing of said first readout means in accordance with said status data output from said one of said first and second printer means in response to said operation command; and
second readout means for reading out one of said first and second control data stored in said second memory means and for storage said read control data in said third memory means in accordance with said status data,
wherein said first printer means includes a first signal generator for generating a horizontal sync signal in synchronization with printing of said image data;
wherein said second printer means includes a second signal generator for generating a first read signal for reading out said image data in synchronization with printing of said image data; and
wherein said selection means includes a third signal generator for generating a second read signal in response to said horizontal sync signal from said first printer means, and a selection circuit for selecting said second read signal from said third signal generator when said first printer means is coupled to said connection means and selecting said first read signal from said second signal generator when said second printer means is coupled to said connection means, in accordance with said status data from said one of said first and second printer means.
US07/342,789 1988-04-28 1989-04-25 Printer interface using printer response to determine printer type Expired - Fee Related US5031115A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP63-106527 1988-04-28
JP63106527A JPH01277929A (en) 1988-04-28 1988-04-28 Information processor

Publications (1)

Publication Number Publication Date
US5031115A true US5031115A (en) 1991-07-09

Family

ID=14435867

Family Applications (1)

Application Number Title Priority Date Filing Date
US07/342,789 Expired - Fee Related US5031115A (en) 1988-04-28 1989-04-25 Printer interface using printer response to determine printer type

Country Status (2)

Country Link
US (1) US5031115A (en)
JP (1) JPH01277929A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5101496A (en) * 1988-01-22 1992-03-31 Kabushiki Kaisha Toshiba Printer interface system which selectively receives horizontal sync signal and dot clock signals from plural printing image data
US5182650A (en) * 1990-02-13 1993-01-26 Canon Kabushiki Kaisha Information processing apparatus capable of connecting printer
US5247623A (en) * 1991-08-15 1993-09-21 Primax Electronics Ltd. Automatic multiple personal computer/computer printer connecting system
EP0575169A1 (en) * 1992-06-19 1993-12-22 Canon Kabushiki Kaisha Information processing apparatus and output apparatus
EP0575172A1 (en) 1992-06-19 1993-12-22 Canon Kabushiki Kaisha Printer driver selection
US5274771A (en) * 1991-04-30 1993-12-28 Hewlett-Packard Company System for configuring an input/output board in a computer
US5367640A (en) * 1991-04-30 1994-11-22 Hewlett-Packard Company System for configuring an input/output board in a computer
EP0673156A2 (en) * 1994-03-15 1995-09-20 Canon Kabushiki Kaisha Color image processing
US5461701A (en) * 1992-12-18 1995-10-24 Microsoft Corporation System and method for peripheral data transfer
US5537626A (en) * 1992-11-18 1996-07-16 Canon Kabushiki Kaisha Apparatus for coupling printer with LAN to control printer operation by transferring control parameters, printer status data and printer configuration data between printer and LAN
US5596169A (en) * 1995-05-12 1997-01-21 Iomega Corporation Combined SCSI/parallel port cable
US5619635A (en) * 1990-12-13 1997-04-08 F3 Software Corporation Program controlled system for forms engineering
US5664222A (en) * 1990-11-08 1997-09-02 Seiko Epson Corporation System for automatically determining printer type using duration of timing signals of printer head traveling between first and second reference positions
US5832244A (en) * 1996-02-20 1998-11-03 Iomega Corporation Multiple interface input/output port for a peripheral device
US5862404A (en) * 1997-02-12 1999-01-19 Toshiba America Information Systems, Inc. Network device discovery and status information distribution using independent information distribution processes
US5864652A (en) * 1993-05-14 1999-01-26 Dataproducts Corporation Image storage and retrieval for a printer
US5864651A (en) * 1995-06-25 1999-01-26 Scitex Corporation Ltd. System and method for on-demand printing
US5867637A (en) * 1989-07-13 1999-02-02 Canon Kabushiki Kaisha Document processing with flexible resolution and output style
US5923897A (en) * 1996-04-01 1999-07-13 Microsoft Corporation System for adapter with status and command registers to provide status information to operating system and processor operative to write eject command to command register
US5953132A (en) * 1995-07-18 1999-09-14 Canon Kabushiki Kaisha Image communication apparatus with enhanced utilization of CPU
US5978861A (en) * 1997-09-30 1999-11-02 Iomega Corporation Device and method for continuously polling for communication bus type and termination
US5991846A (en) * 1994-11-21 1999-11-23 Canon Kabushiki Kaisha Information processing apparatus with output device selection based on device characteristics and priorities
US6246486B1 (en) * 1996-01-18 2001-06-12 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and information processing system
US6249826B1 (en) 1997-04-14 2001-06-19 Microsoft Corporation System and method for media status notification
US20020172603A1 (en) * 2001-05-15 2002-11-21 Seiji Katayama Compressor
US6674535B1 (en) 1996-06-30 2004-01-06 Samsung Electronics Co., Ltd. Technique for processing print data
US6750980B1 (en) 1992-06-19 2004-06-15 Akihiro Shimura Information processing apparatus and output apparatus
US20040179879A1 (en) * 2003-03-10 2004-09-16 Heidelberger Druckmaschinen Ag Device and method for identifying modules in a graphics machine
US6816271B1 (en) 1996-01-18 2004-11-09 Canon Kabushiki Kaisha Information processing apparatus, method, and system to facilitate control of multiple printers by displaying the printers' languages
US6866434B2 (en) * 2000-11-11 2005-03-15 Best Gmbh Method of monitoring at least one printing parameter of a printer, and printing system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4179732A (en) * 1977-06-10 1979-12-18 Dataproducts Corporation Microprogrammable processor control printer system
US4394685A (en) * 1980-09-04 1983-07-19 Centronics Data Computer Corporation Interface for operating a dot matrix printer for printing a video image
US4486828A (en) * 1981-02-20 1984-12-04 Hitachi, Ltd. Data processing system providing data security through coded identification of accessing terminals
US4589063A (en) * 1983-08-04 1986-05-13 Fortune Systems Corporation Data processing system having automatic configuration
US4661988A (en) * 1983-08-26 1987-04-28 Kabushiki Kaisha Toshiba Image information-filing apparatus
US4680732A (en) * 1982-07-23 1987-07-14 Ncr Corporation Interface circuit for connecting peripheral equipment to a computer terminal
US4713780A (en) * 1985-04-15 1987-12-15 Express Communications, Inc. Electronic mail
US4760406A (en) * 1985-03-07 1988-07-26 Ricoh Company, Ltd. Laser printer interface circuit
US4924320A (en) * 1987-02-28 1990-05-08 Ricoh Company, Ltd. Image system with connection to operational units

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4179732A (en) * 1977-06-10 1979-12-18 Dataproducts Corporation Microprogrammable processor control printer system
US4394685A (en) * 1980-09-04 1983-07-19 Centronics Data Computer Corporation Interface for operating a dot matrix printer for printing a video image
US4486828A (en) * 1981-02-20 1984-12-04 Hitachi, Ltd. Data processing system providing data security through coded identification of accessing terminals
US4680732A (en) * 1982-07-23 1987-07-14 Ncr Corporation Interface circuit for connecting peripheral equipment to a computer terminal
US4589063A (en) * 1983-08-04 1986-05-13 Fortune Systems Corporation Data processing system having automatic configuration
US4661988A (en) * 1983-08-26 1987-04-28 Kabushiki Kaisha Toshiba Image information-filing apparatus
US4760406A (en) * 1985-03-07 1988-07-26 Ricoh Company, Ltd. Laser printer interface circuit
US4713780A (en) * 1985-04-15 1987-12-15 Express Communications, Inc. Electronic mail
US4924320A (en) * 1987-02-28 1990-05-08 Ricoh Company, Ltd. Image system with connection to operational units

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5101496A (en) * 1988-01-22 1992-03-31 Kabushiki Kaisha Toshiba Printer interface system which selectively receives horizontal sync signal and dot clock signals from plural printing image data
US5867637A (en) * 1989-07-13 1999-02-02 Canon Kabushiki Kaisha Document processing with flexible resolution and output style
USRE40328E1 (en) * 1989-07-13 2008-05-20 Canon Kabushiki Kaisha Document processing with flexible resolution and output style
US5528376A (en) * 1990-02-13 1996-06-18 Canon Kabushiki Kaisha Information processing apparatus capable of connecting one of a plurality of types of printers
US5182650A (en) * 1990-02-13 1993-01-26 Canon Kabushiki Kaisha Information processing apparatus capable of connecting printer
US5940185A (en) * 1990-02-13 1999-08-17 Canon Kabushiki Kaisha Information processing apparatus for controlling ejection recovery of connected ink jet printer
US5664222A (en) * 1990-11-08 1997-09-02 Seiko Epson Corporation System for automatically determining printer type using duration of timing signals of printer head traveling between first and second reference positions
US5619635A (en) * 1990-12-13 1997-04-08 F3 Software Corporation Program controlled system for forms engineering
US5367640A (en) * 1991-04-30 1994-11-22 Hewlett-Packard Company System for configuring an input/output board in a computer
US5274771A (en) * 1991-04-30 1993-12-28 Hewlett-Packard Company System for configuring an input/output board in a computer
US5524269A (en) * 1991-04-30 1996-06-04 Hewlett-Packard Company System for activating and configuring an input/output board in a computer
US5247623A (en) * 1991-08-15 1993-09-21 Primax Electronics Ltd. Automatic multiple personal computer/computer printer connecting system
US6750980B1 (en) 1992-06-19 2004-06-15 Akihiro Shimura Information processing apparatus and output apparatus
EP0575172A1 (en) 1992-06-19 1993-12-22 Canon Kabushiki Kaisha Printer driver selection
US7081970B2 (en) 1992-06-19 2006-07-25 Canon Kabushiki Kaisha Information processing apparatus
EP0575169A1 (en) * 1992-06-19 1993-12-22 Canon Kabushiki Kaisha Information processing apparatus and output apparatus
US20040061886A1 (en) * 1992-06-19 2004-04-01 Canon Kabushiki Kaisha Information processing apparatus
US6667812B1 (en) 1992-06-19 2003-12-23 Canon Kabushiki Kaisha Information processing apparatus with device control language based program selection
US5537626A (en) * 1992-11-18 1996-07-16 Canon Kabushiki Kaisha Apparatus for coupling printer with LAN to control printer operation by transferring control parameters, printer status data and printer configuration data between printer and LAN
US5461701A (en) * 1992-12-18 1995-10-24 Microsoft Corporation System and method for peripheral data transfer
US5864652A (en) * 1993-05-14 1999-01-26 Dataproducts Corporation Image storage and retrieval for a printer
EP0673156A2 (en) * 1994-03-15 1995-09-20 Canon Kabushiki Kaisha Color image processing
EP0673156B1 (en) * 1994-03-15 2001-05-23 Canon Kabushiki Kaisha Color image processing
US5991846A (en) * 1994-11-21 1999-11-23 Canon Kabushiki Kaisha Information processing apparatus with output device selection based on device characteristics and priorities
US5596169A (en) * 1995-05-12 1997-01-21 Iomega Corporation Combined SCSI/parallel port cable
US5864651A (en) * 1995-06-25 1999-01-26 Scitex Corporation Ltd. System and method for on-demand printing
US6608704B2 (en) 1995-07-18 2003-08-19 Canon Kabushiki Kaisha Image communication apparatus with enhanced utilization of CPU
US6912072B2 (en) 1995-07-18 2005-06-28 Canon Kabushiki Kaisha Image communication apparatus
US5953132A (en) * 1995-07-18 1999-09-14 Canon Kabushiki Kaisha Image communication apparatus with enhanced utilization of CPU
US20030043395A1 (en) * 1996-01-18 2003-03-06 Yoshinori Takahashi Information processing apparatus and method that determines the presence or absence of a printer connected to a network, and storage medium storing program therefor
US7057748B2 (en) 1996-01-18 2006-06-06 Canon Kabushiki Kaisha Information processing apparatus and method that determines the presence or absence of a printer connected to a network, and storage medium storing program therefor
US6246486B1 (en) * 1996-01-18 2001-06-12 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and information processing system
US6816271B1 (en) 1996-01-18 2004-11-09 Canon Kabushiki Kaisha Information processing apparatus, method, and system to facilitate control of multiple printers by displaying the printers' languages
US5832244A (en) * 1996-02-20 1998-11-03 Iomega Corporation Multiple interface input/output port for a peripheral device
US5923897A (en) * 1996-04-01 1999-07-13 Microsoft Corporation System for adapter with status and command registers to provide status information to operating system and processor operative to write eject command to command register
US6674535B1 (en) 1996-06-30 2004-01-06 Samsung Electronics Co., Ltd. Technique for processing print data
US5862404A (en) * 1997-02-12 1999-01-19 Toshiba America Information Systems, Inc. Network device discovery and status information distribution using independent information distribution processes
US6249826B1 (en) 1997-04-14 2001-06-19 Microsoft Corporation System and method for media status notification
US6205496B1 (en) 1997-09-30 2001-03-20 Iomega Corporation Device and method for continuously polling for communication bus type termination
US5978861A (en) * 1997-09-30 1999-11-02 Iomega Corporation Device and method for continuously polling for communication bus type and termination
US6866434B2 (en) * 2000-11-11 2005-03-15 Best Gmbh Method of monitoring at least one printing parameter of a printer, and printing system
US20020172603A1 (en) * 2001-05-15 2002-11-21 Seiji Katayama Compressor
US20040179879A1 (en) * 2003-03-10 2004-09-16 Heidelberger Druckmaschinen Ag Device and method for identifying modules in a graphics machine
US20080060539A1 (en) * 2003-03-10 2008-03-13 Heidelberger Druckmaschinen Ag Device and method for identifying modules in a graphics machine
US7444936B2 (en) 2003-03-10 2008-11-04 Goss International Americas, Inc. Device and method for identifying modules in a graphics machine
US7533611B2 (en) * 2003-03-10 2009-05-19 Goss International America, Inc. Device and method for identifying modules in a graphics machine
US20090211479A1 (en) * 2003-03-10 2009-08-27 Goss International Americas, Inc. Device and methods for identifying modules in a graphics machine
US8191474B2 (en) 2003-03-10 2012-06-05 Goss International Americas, Inc. Device and methods for identifying modules in a graphics machine

Also Published As

Publication number Publication date
JPH01277929A (en) 1989-11-08

Similar Documents

Publication Publication Date Title
US5031115A (en) Printer interface using printer response to determine printer type
US6018816A (en) Information processing system and method, image processing system and method, information processing apparatus and computer readable memory
JPH10226139A (en) Image forming system, image forming apparatus, and medium
JP2970529B2 (en) Image processing device
JP3148103B2 (en) Image forming device
JP3161031B2 (en) Image processing device
US6084686A (en) Buffer memory control device and control method, and an image processing device and method using the same
US5123757A (en) Printing system using received control program from word processor
US4700234A (en) Image processing system
US5101496A (en) Printer interface system which selectively receives horizontal sync signal and dot clock signals from plural printing image data
US4680699A (en) Terminal control apparatus for parallel execution of data editing and data transmission/reception control
JPH04227524A (en) Printing system
US20020016834A1 (en) Method of communicating digital data and a system for implementing the method
US7369173B2 (en) Image processing apparatus and control method therefor
JPH10229538A (en) Data communication system, print system and data communication equipment
JPH05328098A (en) Image processing system
JP3440117B2 (en) Printer control device
JP2001147790A (en) Device and method for processing information and storage medium
JP3412138B2 (en) Facsimile communication device
JP3184544B2 (en) Image processing device
JP3202477B2 (en) Information processing method and apparatus
JP2003173252A (en) Information processor, method and storage medium
JPS6157169A (en) Image processing system
KR940002819B1 (en) Picture magnifying processing circuit
JPS592482A (en) Facsimile transmission system

Legal Events

Date Code Title Description
AS Assignment

Owner name: KABUSHIKI KAISHA TOSHIBA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:HAYASHI, YASUSHI;REEL/FRAME:005094/0119

Effective date: 19890515

CC Certificate of correction
FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
FP Lapsed due to failure to pay maintenance fee

Effective date: 19950712

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362