KR20070077949A - Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method - Google Patents

Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method Download PDF

Info

Publication number
KR20070077949A
KR20070077949A KR1020060007877A KR20060007877A KR20070077949A KR 20070077949 A KR20070077949 A KR 20070077949A KR 1020060007877 A KR1020060007877 A KR 1020060007877A KR 20060007877 A KR20060007877 A KR 20060007877A KR 20070077949 A KR20070077949 A KR 20070077949A
Authority
KR
South Korea
Prior art keywords
image forming
command
forming apparatus
timeout
host
Prior art date
Application number
KR1020060007877A
Other languages
Korean (ko)
Inventor
이승돈
Original Assignee
삼성전자주식회사
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 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020060007877A priority Critical patent/KR20070077949A/en
Publication of KR20070077949A publication Critical patent/KR20070077949A/en

Links

Images

Classifications

    • 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/1211Improving printing performance
    • 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/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1247Job translation or job parsing, e.g. page banding by conversion to printer ready format
    • 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/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device

Abstract

A device and a method for controlling a timeout value between a host and an image forming device, and the image forming device using the same are provided to effectively print various large documents without timeout by controlling the timeout value between the host and the image forming device. A data size obtainer(221) obtains an original data size of the document to be printed. A timeout command generator(222) generates a command for increasing the timeout value, which is set to allow the image forming device to wait to receive data or a control command from a host driver without canceling a printing job, if the original data size is bigger than a reference data size. A timeout command transmitter(223) transmits the command to the image forming device. A controller enables the image forming device to wait/complete the printing job without canceling the printing job by changing the timeout value based on the timeout value increasing command received from the host. A printing part prints the printing data received from the host by receiving a printing command from the controller.

Description

호스트와 화상형성장치 사이의 타임아웃값 제어방법 및 장치 및 이를 이용한 화상형성장치{Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method}Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method}

도 1은 일반적인 화상형성장치와 호스트 사이의 타임아웃 방법을 흐름도로 도시한 것이다.1 is a flowchart illustrating a timeout method between a general image forming apparatus and a host.

도 2는 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어장치를 구비한 호스트 컴퓨터의 구성을 블록도로 도시한 것이다.2 is a block diagram showing the configuration of a host computer including a timeout control device between the host and the image forming apparatus according to the present invention.

도 3은 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법을 흐름도로 도시한 것이다.3 is a flowchart illustrating a timeout control method between a host and an image forming apparatus according to the present invention.

도 4는 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법을 이용하여 화상을 형성하는 방법의 일 실시예를 도시한 것이다.4 illustrates an embodiment of a method of forming an image using a timeout control method between a host and an image forming apparatus according to the present invention.

도 5는 본 발명에 의한 타임아웃 제어방법 및 장치를 이용한 화상형성장치의 구성을 블록도로 도시한 것이다.5 is a block diagram illustrating a configuration of an image forming apparatus using a timeout control method and apparatus according to the present invention.

<도면의 주요 부호에 대한 간단한 설명><Brief description of the major symbols in the drawings>

200: 호스트 컴퓨터 210: 애플리케이션200: host computer 210: application

220: 타임아웃 제어장치 221: 데이터사이즈 획득부220: timeout control device 221: data size acquisition unit

222: 타임아웃명령 생성부 223: 타임아웃명령 전송부222: timeout command generator 223: timeout command transmitter

230: 입출력 포트 500: 화상형성장치230: input and output port 500: image forming apparatus

510: 통신인터페이스부 520: 제어부510: communication interface unit 520: control unit

530: 저장부 540: 인쇄부530: storage unit 540: printing unit

본 발명은 호스트와 연결된 화상형성장치에서 수행되는 화상형성작업의 제어에 관한 것으로서, 특히 화상형성장치의 타임아웃값(timeout value)을 제어하는 호스트와 화상형성장치 사이의 타임아웃 제어장치 및 방법과 이를 이용한 화상형성장치에 관한 것이다.The present invention relates to the control of an image forming operation performed in an image forming apparatus connected to a host, and more particularly, to a timeout control apparatus and method between a host and an image forming apparatus for controlling a timeout value of the image forming apparatus. An image forming apparatus using the same.

도 1은 일반적인 화상형성장치와 호스트 사이의 타임아웃 방법을 흐름도로 도시한 것이다. 먼저 화상형성장치는 인쇄데이터를 수신한다(100단계). 인쇄대상 문서에는 문자, 숫자, 기호 등으로 구성되는 텍스트뿐만 아니라, 그림이나 사진과 같은 영상이 포함될 수 있다. 화상형성장치는 수신한 인쇄데이터를 처리하고(110단계) 다음 인쇄데이터를 기다린다(120단계). 인쇄데이터를 기다리는 시간이 타임아웃값보다 큰지 판단하며(130단계) 타임아웃값이란 호스트 컴퓨터는 화상형성장치로 인쇄데이터를 전송하는데 호스트 컴퓨터에서 데이터를 제대로 전송하지 못하거나 호스트 컴퓨터와 화상형성장치와 연결이 끊어져 화상형성장치가 데이터를 받을 수 없는 경우 화상형성장치가 언제까지 인쇄작업을 취소하지 않고 호스트로부터 데이터를 받을 때까지 기다릴지 미리 설정해 놓은 값이다. 화상형성장치가 호스트 컴퓨 터로부터 인쇄데이터를 기다리는 경우, 기다리는 시간이 타임아웃값보다 길어지면 화상형성장치는 인쇄작업에 문제가 발생하였다고 판단하여 인쇄작업을 취소한다(140단계). 만약 인쇄데이터를 기다리는 시간이 타임아웃값보다 작은 경우에는 120단계로 다시 돌아가 인쇄데이터를 기다린다. 종래의 타임아웃 기능은 사용자가 한번 타임아웃값을 설정하면 타임아웃값은 사용자가 변경할 때까지 변하지 않고 그 값이 유지된다.1 is a flowchart illustrating a timeout method between a general image forming apparatus and a host. First, the image forming apparatus receives print data (step 100). The document to be printed may include an image such as a picture or a picture, as well as text composed of letters, numbers, and symbols. The image forming apparatus processes the received print data (step 110) and waits for the next print data (step 120). It is determined whether the waiting time for the print data is greater than the timeout value (step 130). The timeout value means that the host computer transmits the print data to the image forming apparatus. If the image forming apparatus cannot receive data because the connection is lost, the value is set in advance to wait until the image forming apparatus receives data from the host without canceling the print job. When the image forming apparatus waits for the print data from the host computer, if the waiting time is longer than the timeout value, the image forming apparatus determines that a problem has occurred in the print job and cancels the print job (step 140). If the waiting time for the print data is smaller than the timeout value, the process returns to step 120 to wait for the print data. In the conventional timeout function, once a user sets a timeout value, the timeout value is not changed until the user changes the value.

그런데 상기와 같이 타임아웃을 제어하는 하는 경우에, 데이터 처리에 많은 시간이 필요한 그래픽 문서나 애플리케이션을 사용하게 되는 경우 정상적으로 호스트 컴퓨터의 드라이버가 데이터를 처리하고 있는 도중이라도 화상형성장치는 특정시간 이상 데이터를 받지 못하면 타임아웃을 발생시키고 따라서 인쇄가 취소되는 문제가 있으며 이를 방지하기 위해 인위적으로 타임아웃값을 연장시켜 놓으면 실제로 인쇄 도중에 문제가 발생한 경우에도 연장된 타임아웃값만큼 화상형성장치는 기다린 후에 타임아웃을 발생시키는 문제점이 있다. However, in the case of controlling the timeout as described above, when using a graphic document or an application that requires a large amount of time for data processing, the image forming apparatus may perform data for a specific time or more even while the driver of the host computer is processing data. If you don't receive it, it may cause a timeout and therefore the printing is canceled. To prevent this, if you artificially extend the timeout value, the image forming apparatus waits for the extended timeout value even after a problem occurs during printing. There is a problem causing out.

본 발명이 이루고자 하는 기술적 과제는 다양한 대용량 문서를 타임아웃 없이 효과적으로 인쇄할 수 있는 호스트와 화상형성장치 사이의 타임아웃 제어장치 및 방법과 이를 이용한 화상형성장치를 제공하는 것이다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a timeout control apparatus and method between a host and an image forming apparatus capable of effectively printing various large documents without timeout, and an image forming apparatus using the same.

상기 기술적 과제를 이루기 위한 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법은 (a) 화상형성장치의 인쇄명령이 시작되면 인쇄하고자 하 는 원본데이터를 읽어 오면서 원본데이터의 사이즈를 구하는 단계; 및 (b) 상기 원본데이터 사이즈가 미리 설정된 기준데이터 사이즈보다 더 큰 경우 인쇄 작업과 관련된 설정을 변경하는 명령을 생성하여 화상형성장치에 전송하는 단계를 포함하는 것을 특징으로 한다.According to an embodiment of the present invention, a timeout control method between a host and an image forming apparatus includes: (a) obtaining a size of original data by reading original data to be printed when a print command of the image forming apparatus is started; ; And (b) generating a command for changing a setting related to a print job when the original data size is larger than a preset reference data size and transmitting the command to the image forming apparatus.

상기 (b)단계는 상기 원본데이터 사이즈가 미리 설정된 기준데이터 사이즈보다 더 큰 경우 호스트 드라이버가 데이터 또는 제어명령을 전송할 때까지 인쇄작업을 취소하지 않고 기다리도록 설정된 시간인 타임아웃값을 증가시키는 명령을 생성하여 화상형성장치에 전송하는 것이 바람직하다.In the step (b), if the original data size is larger than the preset reference data size, the step of increasing the timeout value, which is a time set to wait without canceling a print job until the host driver transmits data or a control command, is executed. It is preferable to generate and transmit to the image forming apparatus.

상기 (b) 단계의 상기 기준데이터 사이즈는 인쇄모드 또는 인쇄미디어에 따라 다른 값을 가지는 것이 바람직하다.Preferably, the reference data size in step (b) has a different value depending on the print mode or the print media.

상기 기술적 과제를 이루기 위한 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어장치는 인쇄하고자 하는 문서의 원본데이터 사이즈를 구하는 데이터사이즈 획득부; 상기 원본 데이터 사이즈가 기준데이터 사이즈보다 더 큰 경우 호스트 드라이버가 데이터 또는 제어명령을 전송할 때까지 인쇄작업을 취소하지 않고 기다리도록 설정된 시간인 타임아웃값을 증가시키는 명령을 생성하는 타임아웃명령 생성부; 및 상기 명령을 화상형성장치로 전송하는 타임아웃명령 전송부를 포함하는 것을 특징으로 한다.The timeout control device between the host and the image forming apparatus according to the present invention for achieving the technical problem is a data size acquisition unit for obtaining the original data size of the document to be printed; A timeout command generation unit for generating a command for increasing a timeout value that is a time set to wait without canceling a print job until a host driver transmits data or a control command when the original data size is larger than a reference data size; And a timeout command transmitter for transmitting the command to the image forming apparatus.

상기 기술적 과제를 이루기 위한 본 발명에 의한 화상형성장치는 호스트로부터 타임아웃값을 증가시키는 명령을 수신하여 타임아웃값을 변경하여 인쇄작업을 취소하지 않고 기다려 인쇄작업을 완료하도록 제어하는 제어부; 및 상기 제어부로 부터 인쇄명령을 받아 상기 호스트로부터 수신한 인쇄데이터를 이용하여 인쇄하는 인쇄부를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided an image forming apparatus including a control unit configured to receive a command to increase a timeout value from a host, change a timeout value, and wait to complete a print job without canceling the print job; And a printing unit which receives a printing command from the control unit and prints using the printing data received from the host.

이하 첨부된 도면을 참조하여 본 발명에 따른 호스트와 화상형성장치 사이의 타임아웃 제어장치 및 방법과 이를 이용한 화상형성장치에 대해 상세히 설명한다. Hereinafter, an apparatus and method for controlling timeout between a host and an image forming apparatus and an image forming apparatus using the same will be described in detail with reference to the accompanying drawings.

본 발명을 설명함에 있어서 관련된 공지기술 또는 구성에 대한 구체적인 설명이 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략할 것이다. 그리고 후술할 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.In the following description of the present invention, if it is determined that the detailed description of the related well-known technology or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. Terms to be described later are terms defined in consideration of functions in the present invention, and may be changed according to intention or custom of a user or an operator. Therefore, the definition should be made based on the contents throughout the specification.

도 2는 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어장치를 구비한 호스트 컴퓨터의 구성을 블록도로 도시한 것이다. 도 3은 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법을 흐름도로 도시한 것이다. 이하도 2에 도시된 타임아웃 제어장치를 도 3에 도시된 타임아웃 제어방법과 함께 상세히 설명하기로 한다. 도 2에 도시된 호스트 컴퓨터는 애플리케이션(210), 타임아웃 제어장치(220) 및 입출력포트(230)를 포함하여 이루어진다. 타임아웃 제어장치(220)는 데이터사이즈 획득부(221), 타임아웃명령 생성부(222) 및 타임아웃명령 전송부(223)를 포함하여 이루어진다. 2 is a block diagram showing the configuration of a host computer including a timeout control device between the host and the image forming apparatus according to the present invention. 3 is a flowchart illustrating a timeout control method between a host and an image forming apparatus according to the present invention. Hereinafter, the timeout control device shown in FIG. 2 will be described in detail with the timeout control method shown in FIG. 3. The host computer shown in FIG. 2 includes an application 210, a timeout control device 220, and an input / output port 230. The timeout control device 220 includes a data size acquisition unit 221, a timeout command generation unit 222, and a timeout command transmission unit 223.

애플리케이션(210)은 응용프로그램으로써 인쇄하고자 하는 문서 또는 이미지의 원본데이터 생성한다. 원본데이터는 이미지 또는 문서로서 문서는 문자, 숫자, 기호 등으로 구성되는 텍스트뿐만 아니라, 그림이나 사진과 같은 영상이 포함될 수 있다. 애플리케이션(210)에서 생성하는 원본데이터는 애플리케이션과 문서마다 데이터 사이즈에 있어서 많은 차이가 있다. 일반적으로 텍스트의 원본데이터는 데이터 사이즈가 작으나 포토샵이나 일러스트레이터와 같은 애플리케이션에서 생성된 원본데이터는 데이터의 사이즈가 크다. The application 210 generates original data of a document or image to be printed as an application program. The original data is an image or a document, and the document may include not only text composed of letters, numbers, symbols, etc., but also an image such as a picture or a picture. The original data generated by the application 210 has many differences in data size for each application and document. In general, original data of text has a small data size, but original data generated in an application such as Photoshop or Illustrator has a large data size.

데이터사이즈 획득부(221)는 상기 애플리케이션(210)이 생성한 원본데이터를 읽어와(300단계) 원본데이터의 사이즈를 구한다(310단계). 데이터사이즈 획득부(221)는 데이터를 읽어오면서 데이터의 합을 구하여 원본데이터의 사이즈를 구하며 원본데이터의 양이 많은 경우에는 원본데이터의 처리 시간이 많이 소요되므로 이를 예측하기 위한 기본 정보로서 원본데이터 사이즈를 구한다. 원본데이터의 사이즈가 큰 경우에는 처리시간이 많이 소요되어 정상적인 동작임에도 타임아웃이 발생하여 사용자에게 불편을 초래한다. 특히 오퍼레이팅 시스템에서는 데이터의 양이 많을 경우 하드디스크를 이용하는 가상 메모리 기법을 사용하는데 이처럼 하드디스크를 이용하는 메모리 관리의 경우에는 하드디스크를 읽고 쓰는 데 더욱 많은 시간이 소요된다. The data size obtaining unit 221 reads the original data generated by the application 210 (step 300) and obtains the size of the original data (step 310). The data size acquisition unit 221 obtains the sum of the data while reading the data and obtains the size of the original data. When the amount of the original data is large, the processing time of the original data takes much time, so the original data size is used as a basic information to predict this. Obtain If the size of the original data is large, it takes a lot of processing time and timeout occurs even in normal operation, causing inconvenience to the user. In particular, the operating system uses a virtual memory technique using a hard disk when a large amount of data is used. In the case of the memory management using the hard disk, it takes more time to read and write the hard disk.

타임아웃명령 생성부(222)는 데이터사이즈 획득부(221)에서 구한 원본데이터 사이즈를 이용하여 원본데이터 사이즈가 미리 설정된 기준 데이터사이즈보다 큰지 판단하고(320단계) 그 결과 원본데이터 사이즈가 미리 설정된 기준 데이터사이즈보다 작은 경우에는 타임아웃값을 변경하는 명령을 생성하지 않는다(330단계). 만약, 원본데이터 사이즈가 미리 설정된 기준 데이터사이즈보다 큰 경우에는 타임아웃값을 증가시키는 명령을 생성한다(340단계). 기준 데이터사이즈란 타임아웃명령 생성 부(222)에서 화상형성장치의 타임아웃값을 변경하는 명령을 생성할지 여부를 판단하기 위하여 원본데이터 사이즈와 비교하는 기준값을 의미한다. 즉, 원본데이터 사이즈가 미리 설정된 기준 데이터사이즈보다 크다고 판단될 경우에는 호스트 컴퓨터의 화상형성장치 드라이버에서 원본데이터를 처리하는데 소요되는 시간이 많을 것으로 판단하여 타임아웃값을 변경하는 명령을 생성하도록 하는 기준값으로서 특정 데이터 사이즈에 해당한다. 기준 데이터사이즈는 인쇄모드 또는 인쇄미디어에 따라 다른 값을 가진다. 인쇄모드는 600dpi(dot per inch) 와 1200dpi 등과 같은 인쇄물의 해상도에 따른 모드를 의미한다. 예로 들면 1200dpi로 인쇄하는 경우에 600dpi로 인쇄하는 때보다 고해상도로 인쇄하므로 원본 데이터사이즈가 더 크며 호스트 컴퓨터의 화상형성장치의 드라이버에서 원본데이터를 처리하는 시간이 더 길어진다. 따라서, 해상도에 따라 원본데이터의 사이즈가 상이하게 되므로 이를 고려하여 각 해상도별로 다른 기준 데이터사이즈를 설정한다. 또한, 인쇄미디어는 인쇄용지에 관련된 내용으로 화상형성장치 드라이버에서 인쇄용지를 광택지와 같은 고급용지를 선택하는 경우에 일반인쇄용지를 인쇄미디어로 선택하는 경우보다 고해상도를 요구하므로 광택지를 인쇄미디어로 선택하는 경우의 원본데이터 사이즈가 일반인쇄용지를 인쇄용지로 선택할 때의 원본데이터 사이즈보다 크다. 따라서 인쇄미디어에 따라 원본 데이터사이즈가 상이하므로 이를 고려하여 각 인쇄미디어별로 다른 기준 데이터사이즈를 설정한다. The timeout command generation unit 222 determines whether the original data size is larger than the preset reference data size using the original data size obtained by the data size obtaining unit 221 (step 320). If it is smaller than the data size, a command for changing the timeout value is not generated (step 330). If the original data size is larger than the preset reference data size, a command for increasing the timeout value is generated (step 340). The reference data size means a reference value compared with the original data size in order to determine whether the timeout command generation unit 222 generates a command for changing the timeout value of the image forming apparatus. That is, when it is determined that the original data size is larger than the preset reference data size, the reference value for determining that the time required for processing the original data by the image forming apparatus driver of the host computer will be large, thereby generating a command for changing the timeout value. This corresponds to a specific data size. The reference data size has different values depending on the print mode or the print media. The print mode means a mode according to the resolution of a printed material such as 600 dpi (dot per inch) and 1200 dpi. For example, when printing at 1200 dpi, printing at a higher resolution than printing at 600 dpi, the original data size is larger and the processing time of the original data is longer in the driver of the image forming apparatus of the host computer. Therefore, since the size of the original data varies depending on the resolution, a different reference data size is set for each resolution in consideration of this. In addition, since print media is related to printing paper, when printing paper is selected from high-quality paper such as glossy paper in the image forming apparatus driver, it requires higher resolution than printing paper is selected as printing media. Original data size is larger than the original data size when the general paper is selected as the printing paper. Therefore, since the original data size is different depending on the print media, a different reference data size is set for each print media in consideration of this.

타임아웃명령 전송부(223)는 타임아웃명령 생성부(222)에서 생성한 타임아웃값을 증가시키는 명령을 화상형성장치로 전송한다(350단계). 상기 명령은 입출력포 트(230)을 통해서 화상형성장치로 전달된다. 도 3에 도시된 OUT1은 입출력포트(230)에서 출력되는 타임아웃값을 증가시키는 제어신호이다. 이로써 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법이 완료된다.The timeout command transmitter 223 transmits a command to increase the timeout value generated by the timeout command generator 222 to the image forming apparatus (step 350). The command is transmitted to the image forming apparatus through the input / output port 230. OUT1 shown in FIG. 3 is a control signal for increasing the timeout value output from the input / output port 230. This completes the timeout control method between the host and the image forming apparatus according to the present invention.

도 4는 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법을 이용하여 화상을 형성하는 방법의 일 실시예를 도시한 것이다. 이하 도 5를 이용하여 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법을 이용하여 화상을 형성하는 방법을 상세히 설명하도록 한다. 4 illustrates an embodiment of a method of forming an image using a timeout control method between a host and an image forming apparatus according to the present invention. Hereinafter, a method of forming an image using the timeout control method between the host and the image forming apparatus according to the present invention will be described in detail with reference to FIG. 5.

우선, 사용자가 호스트 컴퓨터의 애플리케이션에서 완성한 문서 또는 이미지의 인쇄가 시작되면 호스트 컴퓨터의 화상형성장치 드라이버는 인쇄시작명령을 생성하여 화상형성장치에 전송한다(400단계). 인쇄시작 명령은 인쇄작업의 전반적인 설정이 포함된다. 인쇄시작 명령에는 인쇄시작뿐만 아니라 인쇄작업의 이름이나 에뮬레이션 종류에 대한 명령이 포함된다. 화상형성장치는 상기 명령을 수신하여 인쇄작업준비를 개시한다.First, when a user starts printing a document or an image completed by an application of the host computer, the image forming apparatus driver of the host computer generates a print start command and transmits it to the image forming apparatus (step 400). The print start command includes the overall settings of the print job. The print start command includes commands for the print job name or the type of emulation as well as the print start. The image forming apparatus receives the command and starts to prepare a print job.

화상형성장치 드라이버는 페이지 시작명령을 생성하여 화상형성장치에 전송한다(405단계). 화상형성장치는 페이지 시작명령을 수신하여 인쇄할 페이지가 시작되었음을 인식한다. The image forming apparatus driver generates a page start command and transmits it to the image forming apparatus (step 405). The image forming apparatus receives the page start command and recognizes that the page to be printed has started.

화상형성장치 드라이버는 애플리케이션으로부터 원본데이터를 읽어와서 원본데이터의 사이즈를 구한다(410단계). 애플리케이션으로부터 원본데이터를 읽어오면서 읽어온 데이터들을 합하여 원본 데이터의 사이즈를 구한다.The image forming apparatus driver reads the original data from the application to obtain the size of the original data (step 410). Read the original data from the application and add the read data to get the size of the original data.

원본데이터의 사이즈가 미리 설정된 기준 데이터사이즈보다 큰지 판단하여 (415단계) 원본데이터 사이즈가 미리 설정된 기준 데이터사이즈보다 큰 경우 타임아웃값을 증가시키는 명령을 생성하여 화상형성장치로 전송한다(420단계). 원본데이터는 사이즈가 작은 문서일 수도 있고 사이즈가 큰 문서일 수도 있으므로 문서의 사이즈에 따라 화상형성장치에서 원본데이터를 처리하는데 소비되는 시간이 다르다. 따라서 원본데이터 사이즈가 기준 데이터사이즈보다 큰 경우 호스트 컴퓨터로부터 화상형성장치로의 데이터가 전송되기까지 대기 시간이 길어지는 것으로 판단하여 타임아웃값을 증가시키는 명령을 생성한다. It is determined whether the size of the original data is larger than the preset reference data size (step 415). If the original data size is larger than the preset reference data size, a command for increasing the timeout value is generated and transmitted to the image forming apparatus (step 420). . Since the original data may be a small document or a large document, the time required for processing the original data in the image forming apparatus varies depending on the size of the document. Therefore, when the original data size is larger than the reference data size, it is determined that the waiting time is long until the data is transmitted from the host computer to the image forming apparatus, thereby generating a command to increase the timeout value.

만약, 상기 원본데이터의 사이즈가 미리 설정된 기준 데이터사이즈보다 크지 않다면 화상형성장치의 드라이버에서 읽어온 데이터가 원본 데이터의 마지막인지 판단한다(425단계). 그 결과 원본 데이터의 마지막이 아니라면 다시 410단계로 돌아가 원본 데이터의 마지막이 될 때까지 데이터를 읽어온다.If the size of the original data is not larger than the preset reference data size, it is determined whether the data read from the driver of the image forming apparatus is the last of the original data (step 425). As a result, if it is not the end of the original data, go back to step 410 to read the data until the end of the original data.

만약, 원본데이터의 마지막이라면 화상형성장치의 드라이버는 원본 데이터를 렌더링하여 라스터비트맵 데이터를 생성하고 하프토닝을 통해 바이너리 데이터로 변환한다(430단계). 렌러딩에 있어서 모노 프린터 드라이버의 경우, 8비트 비트맵 데이터를 생성하고 컬러 프린터 드라이버의 경우 24비트 RGB(Red, Green, Blue) 비트맵 데이터를 생성하는 것이 일반적이다. 그리고 컬러 프린터 드라이버의 경우에는 프린터의 색공간에 맞도록 RGB 데이터를 변환시키는 컬러매칭 과정을 포함한다. 이처럼 랜더링이 끝난 비트맵 데이터는 하프토닝을 통해 바이너리 데이터로 변환되는데 최근에는 바이너리뿐만 아니라 다단계 값으로 변환되기도 한다. If the end of the original data, the driver of the image forming apparatus renders the original data, generates raster bitmap data, and converts the binary data into binary data through half-toning (step 430). In rendering, it is common for a mono printer driver to generate 8-bit bitmap data and for a color printer driver to generate 24-bit RGB (Red, Green, Blue) bitmap data. In addition, the color printer driver includes a color matching process of converting RGB data to match the color space of the printer. The rendered bitmap data is converted into binary data through half-toning. Recently, not only binary but also multi-level values are converted.

하프토닝을 마친 인쇄 데이터는 최종적으로 프린터가 해석 가능한 포맷으로 변환되어 화상형성장치로 보내진다(435단계). After half-toning, the print data is finally converted into a format that can be interpreted by the printer and sent to the image forming apparatus (step 435).

인쇄데이터를 화상형성장치로 전송한 후 화상형성장치는 페이지 끝 명령을 생성하여 화상형성장치로 전송한다(440단계). 화상형성장치는 페이지 끝 명령을 수신하면 인쇄데이터를 이용하여 인쇄데이터에 해당하는 페이지를 인쇄한다. After transmitting the print data to the image forming apparatus, the image forming apparatus generates an end-of-page command and transmits it to the image forming apparatus (step 440). When the image forming apparatus receives the end-of-page command, the image forming apparatus prints a page corresponding to the print data using the print data.

그리고 문서의 마지막 페이지인지 검사하여(445단계) 문서의 마지막 페이지가 아니라면 405단계로 되돌아 가고 문서의 마지막 페이지라면 문서 끝 명령을 생성하여 화상형성장치로 전송한다(450단계). 화상형성장치는 문서 끝 명령을 수신하여 인쇄작업을 종료하고 다음 인쇄 시작 명령을 수신할 때까지 대기 상태로 유지된다. 이로써 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어방법을 이용하여 화상을 형성하는 방법이 완료된다.If it is not the last page of the document, the process returns to step 405. If it is the last page of the document, the document end command is generated and transmitted to the image forming apparatus (step 450). The image forming apparatus receives a document end command to end a print job and remains in a waiting state until a next print start command is received. This completes the method of forming an image using the timeout control method between the host and the image forming apparatus according to the present invention.

도 5는 본 발명에 의한 화상형성장치의 구성을 블록도로 도시한 것이다. 이하 도 5를 이용하여 본 발명에 의한 화상형성장치의 동작을 상세히 설명하도록 한다. 화상형성장치(500)는 통신인터페이스부(510), 제어부(520), 저장부(530) 및 인쇄부(540)를 포함하여 이루어진다. IN1은 호스트에서 화상형성장치로 전송하는 타임아웃값을 증가시키는 제어신호이다.5 is a block diagram showing the configuration of the image forming apparatus according to the present invention. Hereinafter, the operation of the image forming apparatus according to the present invention will be described in detail with reference to FIG. 5. The image forming apparatus 500 includes a communication interface unit 510, a control unit 520, a storage unit 530, and a printing unit 540. IN1 is a control signal for increasing the timeout value transmitted from the host to the image forming apparatus.

통신인터페이스부(510)는 퍼스널 컴퓨터와 같은 호스트 장치와 접속 가능하게 마련되어 상호간의 데이터 통신을 수행한다. The communication interface unit 510 may be connected to a host device such as a personal computer to perform data communication with each other.

제어부(520)는 호스트로부터 타임아웃값을 증가시키는 명령을 수신하여 타임아웃값을 변경하여 인쇄작업을 취소하지 않고 기다려 인쇄작업을 완료하도록 제어한다. 제어부(520)은 통신인터페이스부(510)가 수신한 IN1신호를 전송받아 화상형 성장치(500)의 타임아웃값을 증가시켜 인쇄작업을 취소하지 않고 호스트로부터 다음 명령을 받을 때까지 대기하여 인쇄작업이 취소되지 않도록 제어한다. 저장부(530)는 화상형성장치(500)을 구동하기 위한 프로그램과 호스트로부터 전송받은 인쇄데이터 등이 저장되는 저장매체이다. 인쇄부는(540)는 제어부(520)의 제어에 따라, 호스트로부터 전송된 인쇄데이터에 대해 인쇄작업을 수행한다. 이로써 본 발명에 의한 타임아웃 제어장치 및 방법을 이용한 화상형성장치의 동작이 완료된다.The control unit 520 receives a command for increasing the timeout value from the host and changes the timeout value to control the waiting of the print job without completing the print job. The control unit 520 receives the IN1 signal received by the communication interface unit 510, increases the timeout value of the image growth value 500, and waits until the next command is received from the host without canceling the print job. Control not to cancel the job. The storage unit 530 is a storage medium that stores a program for driving the image forming apparatus 500 and print data transmitted from a host. The print unit 540 performs a print job on the print data transmitted from the host under the control of the controller 520. This completes the operation of the image forming apparatus using the timeout control apparatus and method according to the present invention.

한편, 상술한 본 발명의 실시예들은 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하고, 컴퓨터로 읽을 수 있는 기록매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 예컨데 롬, 플로피 디스크, 하드디스크 등과 같은 마그네틱 저장매체, 예컨데 씨디롬, 디브이디 등과 같은 광학적 판독매체, 및 예컨대 인터넷을 통한 전송과 같은 캐리어 웨이브와 같은 저장매체를 포함한다. Meanwhile, the above-described embodiments of the present invention can be written as a program that can be executed in a computer, and can be implemented in a general-purpose digital computer that operates the program using a computer-readable recording medium. The computer-readable recording medium includes, for example, magnetic storage media such as ROM, floppy disk, hard disk, etc., optical reading media such as CD-ROM, DVD, etc., and storage media such as carrier wave such as transmission over the Internet. .

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

상술한 바와 같이, 본 발명에 의한 호스트와 화상형성장치 사이의 타임아웃 제어장치 및 방법과 이를 이용한 화상형성장치에 의하면, 대용량 문서를 타임아웃 없이 효과적으로 인쇄할 수 있다. As described above, the timeout control apparatus and method between the host and the image forming apparatus according to the present invention and the image forming apparatus using the same can effectively print a large-capacity document without timeout.

Claims (5)

(a) 화상형성장치의 인쇄명령이 시작되면 인쇄하고자 하는 원본데이터를 읽어 오면서 원본데이터의 사이즈를 구하는 단계; 및(a) reading the original data to be printed and obtaining the size of the original data when a print command of the image forming apparatus is started; And (b) 상기 원본데이터 사이즈가 미리 설정된 기준데이터 사이즈보다 더 큰 경우 인쇄 작업과 관련된 설정을 변경하는 명령을 생성하여 화상형성장치에 전송하는 단계를 포함하는 것을 특징으로 하는 호스트와 화상형성장치 사이의 타임아웃 제어방법.(b) generating a command for changing a setting related to a print job when the original data size is larger than a preset reference data size, and transmitting the command to the image forming apparatus. How to control timeout. 제 1항에 있어서, 상기 (b)단계는The method of claim 1, wherein step (b) 상기 원본데이터 사이즈가 미리 설정된 기준데이터 사이즈보다 더 큰 경우 호스트 드라이버가 데이터 또는 제어명령을 전송할 때까지 인쇄작업을 취소하지 않고 기다리도록 설정된 시간인 타임아웃값을 증가시키는 명령을 생성하여 화상형성장치에 전송하는 것을 특징으로 하는 호스트와 화상형성장치 사이의 타임아웃 제어방법.If the original data size is larger than the preset reference data size, generate a command to increase the timeout value, which is a time set to wait without canceling the print job until the host driver transmits the data or control command to the image forming apparatus. And a timeout control method between the host and the image forming apparatus. 제 1항 또는 제 2항에 있어서, 상기 (b) 단계의 The process of claim 1 or 2, wherein in step (b) 상기 기준데이터 사이즈는 인쇄모드 또는 인쇄미디어에 따라 다른 값을 가지는 것을 특징으로 하는 호스트와 화상형성장치 사이의 타임아웃 제어방법.And the reference data size has a different value according to a print mode or a print media. 인쇄하고자 하는 문서의 원본데이터 사이즈를 구하는 데이터사이즈 획득부;A data size obtaining unit for obtaining an original data size of a document to be printed; 상기 원본 데이터 사이즈가 기준데이터 사이즈보다 더 큰 경우 호스트 드라이버가 데이터 또는 제어명령을 전송할 때까지 인쇄작업을 취소하지 않고 기다리도록 설정된 시간인 타임아웃값을 증가시키는 명령을 생성하는 타임아웃명령 생성부; 및A timeout command generation unit for generating a command for increasing a timeout value that is a time set to wait without canceling a print job until a host driver transmits data or a control command when the original data size is larger than a reference data size; And 상기 명령을 화상형성장치로 전송하는 타임아웃명령 전송부를 포함하는 것을 특징으로 하는 호스트와 화상형성장치 사이의 타임아웃 제어장치.And a timeout command transmitter for transmitting the command to the image forming apparatus. 호스트로부터 타임아웃값을 증가시키는 명령을 수신하여 타임아웃값을 변경하여 인쇄작업을 취소하지 않고 기다려 인쇄작업을 완료하도록 제어하는 제어부; 및A control unit configured to receive a command to increase the timeout value from the host, change the timeout value, and control the wait to complete the print job without canceling the print job; And 상기 제어부로부터 인쇄명령을 받아 상기 호스트로부터 수신한 인쇄데이터를 이용하여 인쇄하는 인쇄부를 포함하는 것을 특징으로 하는 화상형성장치.And a printing unit receiving a printing command from the control unit and printing using the print data received from the host.
KR1020060007877A 2006-01-25 2006-01-25 Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method KR20070077949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060007877A KR20070077949A (en) 2006-01-25 2006-01-25 Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060007877A KR20070077949A (en) 2006-01-25 2006-01-25 Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method

Publications (1)

Publication Number Publication Date
KR20070077949A true KR20070077949A (en) 2007-07-30

Family

ID=38502404

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060007877A KR20070077949A (en) 2006-01-25 2006-01-25 Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method

Country Status (1)

Country Link
KR (1) KR20070077949A (en)

Similar Documents

Publication Publication Date Title
US7800784B2 (en) Image printing apparatus, image printing system and control method
US7298523B2 (en) Printing apparatus, control method therefor, and storage medium
US8107142B2 (en) Image processing apparatus, image processing method, and program product for executing the method
US7760389B2 (en) Image forming device having resolution compensation function and method thereof
JP4726231B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2009206610A (en) Image processing apparatus, image processing method, and image processing program, and recording medium
JP2007300624A (en) System and method for enhancing stored binary images
US9036202B2 (en) Image processing device and image processing method performing image process according to attribute information of image object
JP5212886B2 (en) Image forming system and image forming program
JP2001310524A (en) System and method for printing image
KR20070077949A (en) Apparatus and method for controlling timeout value between host and image forming apparatus and image forming apparatus using the method
JP2009027224A (en) Print system, unit, method, and program for processing image, and unit, method, and program for correcting color
US9001388B2 (en) Imaging forming apparatus to merge print data with a rendering image, method of image forming, and computer-readable recording medium
JPH11320978A (en) Color imaging apparatus
US20080158576A1 (en) Image forming system and computer readable medium storing image forming program
CN102055871A (en) Image processing apparatus
KR100571788B1 (en) The method of printing the appointed domain of document enlargeably
JP2007175937A (en) Printer
JP4047147B2 (en) Recording apparatus and control method thereof
JP2006159648A (en) Recording system, image processor, inkjet recorder and image processing method
JP4268769B2 (en) Print command generation program, print system
KR100662211B1 (en) Method for controlling raster image processing of large format printer
JP2005197993A (en) Image forming apparatus, image forming method and program
JP2006044056A (en) Apparatus, method and program for controlling printing
JP2009232171A (en) Host device for sending printing job

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination