Nova Patents
EP2275918A2

Printer and printer control method

Abstract

Described are a printer and a method of controlling it, wherein when an out-of-paper error occurs and printing stops, a control unit clears any data in a receive buffer, and reports the out-of-paper error and print stoppage to a host computer. When a clear buffer command is then received from the host computer, the control unit clears the receive buffer again.

EP2275918A2, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Projected expiry passed 26 August 2025, 1.1 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

3 claims: 1 independent, 2 dependent

  1. 1
    A print system (1) comprising:a printer (10);and a host computer (30) which is communicatably connectable to the printer (10) and is adapted to send data including print data to the printer (10), wherein: the printer (10) includes: a data receiving unit (41) for receiving data sent from the host computer (30);a data transmission unit (54) for sending data to the host computer (30);a receive buffer (42) for temporarily storing data received by the data receiving unit (41);an interpreting unit (43) for interpreting data stored in the receive buffer (42);a print buffer (45) for storing a print image generated in response to print data among the data stored in the receive buffer (42);a print mechanism (46) for printing the print image stored in the print buffer (45) on a slip (S);a detection unit (50) for detecting the length of the slip;and a control unit (44) for controlling the data receiving unit (41), the data transmission unit (54), the receive buffer (42), the interpreting unit (43), the print buffer (45), the print mechanism (46), and the detection unit (50);the control unit (44) of the printer (10) compares the length of the slip, detected by the detection unit (50) with the number of lines in the print data to determine if all of the print image generated in response to the print data can be printed on the slip (S);the control unit (44) of the printer (10) detects that an out-of-paper error occurs when the control unit (44) determines that all of the print image generated in response to the print data cannot be printed on the slip (S);the control unit (44) of the printer (10) causes the print mechanism (46) to stops printing the print image, clears the receive buffer (42), and causes the data transmission unit (54) to report the out-of-paper error and printing stop to the host computer (30) while keeping the printer on-line, when the out-of-paper error occurs, the host computer (30) stops sending the print data to the printer (10) and sends a clear buffer command to the printer (10) in response to the out-of-paper error;the control unit (44) of the printer (10) clears the receive buffer (42) again and causes the data transmission unit (54) to send a buffer clearing completion report to the host computer (30) when the data receiving unit (41) receives the clear buffer command;the host computer (30) restarts sending the print data to the printer (10) in response to the buffer clearing completion report;and the control unit (44) of the printer causes the print mechanism (46) to print the print image based on the print data which is sent from the host computer (30).