KR20000033393A - System for preventing print error and method thereof - Google Patents

System for preventing print error and method thereof Download PDF

Info

Publication number
KR20000033393A
KR20000033393A KR1019980050237A KR19980050237A KR20000033393A KR 20000033393 A KR20000033393 A KR 20000033393A KR 1019980050237 A KR1019980050237 A KR 1019980050237A KR 19980050237 A KR19980050237 A KR 19980050237A KR 20000033393 A KR20000033393 A KR 20000033393A
Authority
KR
South Korea
Prior art keywords
sample data
print
host
printer
image
Prior art date
Application number
KR1019980050237A
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 KR1019980050237A priority Critical patent/KR20000033393A/en
Publication of KR20000033393A publication Critical patent/KR20000033393A/en

Links

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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1256User feedback, e.g. print preview, test print, proofing, pre-flight checks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • 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
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G2215/00Apparatus for electrophotographic processes
    • G03G2215/00025Machine control, e.g. regulating different parts of the machine
    • G03G2215/00109Remote control of apparatus, e.g. by a host

Abstract

PURPOSE: A method for preventing print error is provided to immediately stop printing when an image to output is not in concord with a host image by comparing a certain part of the image to output with a host image. CONSTITUTION: A method for preventing print error includes a first steps of storing sample data for checking print errors and transmitting the position data of the sample data and PDL(page description language) stream of a document to print to a printer, a second step of receiving the PDL stream and forming an image thereof to extract a sample data with reference to the position information, a third step of transmitting the extracted sample data to a host after encoding, a fourth step of decoding the received sample data, and a fifth step of comparing the data decoded in the fourth step with the sample data stored in the first step and determining whether or not to print the image formed in the second step according to the comparison result.

Description

프린트 에러 방지 시스템 및 그 방법Print error prevention system and method

본 발명은 프린터에 관한 것으로, 보다 상세하게는 프린트 에러 방지 시스템 및 그 방법에 관한 것이다.The present invention relates to a printer, and more particularly to a print error prevention system and method thereof.

도 1은 종래의 호스트와 프린터 사이의 일반적인 인쇄 프로세스를 설명하기 위한 블록도이다. 도 1에 도시된 장치는 애플리케이션(10), 호스트(12) 및 프린터(14)를 포함한다. 또한 호스트(12)는 GDI(Graphics Device Interface; 120), SPOOL 파일부(122), 프린트 프로세서(124) 및 프린터 드라이버(126)를 포함한다. 그리고, 프린터(14)는 PDL 해석기(Page Description Language Interpreter; 142), 프린트 엔진(144)을 포함한다. 이하, 도 1에 도시된 장치의 동작을 설명하면 다음과 같다.1 is a block diagram illustrating a general printing process between a conventional host and a printer. The device shown in FIG. 1 includes an application 10, a host 12, and a printer 14. The host 12 also includes a graphics device interface (GDI) 120, a SPOOL file unit 122, a print processor 124, and a printer driver 126. The printer 14 also includes a PDL interpreter (Page Description Language Interpreter) 142 and a print engine 144. Hereinafter, the operation of the apparatus shown in FIG. 1 will be described.

애플리케이션(10; 예컨대 워드 프로세서)에서 사용자가 인쇄 명령을 내리면 애플리케이션(10)은 호스트(12)의 GDI(120)를 호출한다. GDI(120)는 프린터 드라이버(126)를 호출하여 애플리케이션(10)에서 표시되고 있는 각종 도형, 이미지 및 문자들이 어떤 형식으로 프린터(14)에 보내져야 할 것인지를 결정한다. 또한, GDI(120)는 프린터 드라이버(126)로부터의 페이지 데이터를 SPOOL 파일부(122)에 쓰게 된다.When the user issues a print command in the application 10 (eg, a word processor), the application 10 calls the GDI 120 of the host 12. The GDI 120 calls the printer driver 126 to determine in what format the various figures, images and characters being displayed in the application 10 should be sent to the printer 14. In addition, the GDI 120 writes page data from the printer driver 126 to the SPOOL file unit 122.

프린터 드라이버(126)는 애플리케이션(10)에 있는 그래픽스 데이터(도형, 이미지 및 문자)들을 사용하고자 하는 프린터가 이해할 수 있는 PDL(Page Description Language; 일반적으로 PostScript나 PCL)로 바꾸어주는 프로그램 모듈로서, 일반적으로 프린터 제조업체에서 공급된다. 예를 들어, PostScript 프린터 드라이버는 애플리케이션(10)에 있는 각종 도형, 이미지 및 문자들을 PostScript language specification에 맞추어 GDI(120)로 보내주게 되며, PCL 프린터 드라이버는 PCL language specification에 맞추어 GDI(120)로 보내준다.The printer driver 126 is a program module for converting graphics data (graphics, images, and characters) in the application 10 into a page description language (PDL, generally PostScript or PCL) that can be understood by a printer. Is supplied by the printer manufacturer. For example, the PostScript printer driver sends various figures, images, and characters in the application 10 to the GDI 120 according to the PostScript language specification, and the PCL printer driver sends the GDI 120 according to the PCL language specification. give.

OS의 모듈 중의 하나인 프린트 프로세서(124)는 SPOOL 파일부(122)에 있는 페이지 데이터를 프린터(14)로 전송한다.The print processor 124, which is one of the modules of the OS, transmits the page data in the SPOOL file unit 122 to the printer 14.

프린터(14)는 호스트(12)로부터 전송되는 페이지 데이터를 받아 해당 PDL 해석기(142)를 구동하여 화상을 생성한 후, 이 생성된 화상을 프린터(14) 내부의 인쇄 장치인 프린트 엔진(144)으로 보내어 종이에 인쇄된 출력결과를 얻게 된다.The printer 14 receives the page data transmitted from the host 12, drives the corresponding PDL interpreter 142 to generate an image, and then prints the generated image in the print engine 144, which is a printing device inside the printer 14. To get the output printed on paper.

그런데, 도 1에 도시된 종래의 프린트 시스템은 호스트에서 프린터(특히, 네트워크 프린터)로 출력시 잘못된 데이터(예; PCL 해독기를 가진 프린터로 PostScript 페이지 데이터를 보내는 경우)나 컨트롤러 소프트웨어의 오동작으로 인해 이미지가 잘못 생성된 경우에 잘못된 페이지를 다량으로 출력하는 것을 방지할 수 없는 문제점이 있다. 특히, 네트워크 컴퓨터인 경우에는 프린터가 컴퓨터와 멀리 떨어져 있는 경우가 많기 때문에 프린트 에러가 발생했는지를 즉각적으로 확인하여 이를 방지할수 없는 문제점이 있다.However, the conventional print system shown in FIG. 1 is an image due to a malfunction of the controller software or an incorrect data (for example, when sending PostScript page data to a printer having a PCL decoder) when outputting from a host to a printer (especially, a network printer). There is a problem that can not prevent the output of a large number of invalid pages in the case of incorrectly generated. In particular, in the case of a network computer, since the printer is often far from the computer, there is a problem in that it is not possible to immediately check whether a print error has occurred and prevent it.

본 발명의 목적은, 상기와 같은 문제점을 해결하기 위해, 출력할 이미지의 특정 부분을 지정하여 호스트로 전송한 후, 호스트 이미지와 비교하여 일치하지 않을 경우 프린트 출력을 중단하는 프린트 에러 방지 시스템 및 그 방법을 제공하는 것이다.SUMMARY OF THE INVENTION An object of the present invention is to solve a problem as described above, and to designate a specific portion of the image to be output to the host, and after comparing with the host image, the print error prevention system for stopping the print output if it does not match To provide a way.

도 1은 종래의 호스트와 프린터 사이의 일반적인 인쇄 프로세스를 설명하기 위한 블록도이다.1 is a block diagram illustrating a general printing process between a conventional host and a printer.

도 2는 본 발명에 따른 프린트 에러를 방지하기 위한 시스템의 일실시예의 블록도이다.2 is a block diagram of one embodiment of a system for preventing print errors in accordance with the present invention.

도 3은 본 발명에 따른 프린트 에러를 방지하기 위한 방법의 일실시예의 흐름도이다.3 is a flowchart of one embodiment of a method for preventing a print error in accordance with the present invention.

상기의 목적을 달성하기 위하여, 호스트에서 프린터로의 프린트 동작을 제어하기 위한 시스템에 있어서, 상기 호스트는 프린트 에러를 체크할 샘플 데이터를 저장하기 위한 샘플 메모리와, 상기 프린트에서 전송되어 온 데이터를 호스트가 인식할 수 있도록 디코딩하기 위한 디코더 및 상기 샘플 메모리에 저장된 샘플 데이터와 상기 디코더에서 디코딩된 데이터의 패턴이 매칭되는지의 여부에 따라 인쇄 시작 여부를 결정하기 위한 패턴 매칭부를 포함하여 상기 샘플 데이터의 위치 정보와 인쇄할 문서의 PDL 스트림을 상기 프린터로 전송하고, 상기 프린터는 호스트로부터 PDL 스트림을 전송받아 화상을 생성한 후 페이지 단위로 메모리하기 위한 페이지 메모리와 상기 위치 정보를 참조하여 페이지 메모리에서 메모리된 샘플 데이터를 추출하여 호스트가 인식할 수 있도록 인코딩하기 위한 인코더를 포함하여 상기 인코딩된 샘플 데이터를 상기 호스트로 전송하는 것을 특징으로 하는 프린트 에러를 방지하기 위한 시스템이 제공된다.In order to achieve the above object, in a system for controlling a print operation from a host to a printer, the host includes a sample memory for storing sample data to check for print errors, and a host for data transmitted from the print. A location of the sample data, including a decoder for decoding so that the user can recognize the pattern and a pattern matching unit for determining whether to start printing according to whether the sample data stored in the sample memory and the pattern of the data decoded in the decoder match. Information and a PDL stream of a document to be printed to the printer, and the printer receives the PDL stream from the host to generate an image, and then stores the page memory for storing in units of pages and in the page memory with reference to the position information. Extract Sample Data to Host The system for preventing the print error, characterized in that for transferring the sample data encoded by an encoder for encoding to be recognized by the host is provided.

상기의 다른 목적을 달성하기 위하여, 호스트에서 프린터로의 프린트 동작을 제어하기 위한 방법에 있어서, 프린트 에러를 체크할 샘플 데이터를 지정하여 저장하고, 상기 샘플 데이터에 대한 위치정보와 인쇄할 문서의 PDL 스트림을 상기 프린터로 전송하는 제1단계; 상기 제1단계에서 전송한 PDL 스트림를 수신하여 그에 대한 화상을 형성한 후 상기 제1단계에서의 위치 정보를 참조하여 샘플 데이터를 추출하는 제2단계; 상기 제2단계에서 추출된 샘플 데이터를 호스트가 인식할 수 있도록 인코딩하여 호스트로 전송하는 제3단계; 상기 제3단계에서 전송한 샘플 데이터를 수신하여 디코딩하는 제4단계; 및 상기 제4단계에서 디코딩된 데이터와 상기 제1단계에서 저장된 샘플 데이터를 비교하고, 그 비교 결과에 따라 상기 제2단계에서 형성된 화상에 대한 인쇄 개시 여부를 결정하는 제5단계를 포함함을 특징으로 하는 프린트 에러를 방지하기 위한 방법이 제공된다.In order to achieve the above another object, in a method for controlling a print operation from a host to a printer, designating and storing sample data to check for a print error, and storing location information on the sample data and a PDL of a document to be printed. Transmitting a stream to the printer; A second step of receiving a PDL stream transmitted in the first step, forming an image thereof, and extracting sample data with reference to the position information in the first step; A third step of encoding the sample data extracted in the second step so that the host can recognize and transmitting the encoded sample data to the host; A fourth step of receiving and decoding the sample data transmitted in the third step; And a fifth step of comparing the data decoded in the fourth step with the sample data stored in the first step, and determining whether to start printing on the image formed in the second step according to the comparison result. A method for preventing a print error is provided.

상기 제5단계는, 상기 제4단계에서 디코딩된 데이터와 상기 제1단계에서 저장된 샘플 데이터를 패턴 매칭하여 비교오차값(t)를 구하는 (a)단계; 상기 (a)단계에서 구해진 비교오차값(t)과 소정의 오차 한계값(m)을 비교하는 (b)단계; 상기 (b)단계에서 비교된 결과 비교오차값(t)이 소정의 오차 한계값(m) 보다 작은 경우 프린트 동작이 개시되도록 하고, 비교오차값(t)이 소정의 오차 한계값(m) 보다 큰 경우에는 프린트 작업을 취소하는 (c)단계를 포함함을 특징으로 한다.The fifth step may include: (a) obtaining a comparison error value (t) by pattern matching the data decoded in the fourth step and the sample data stored in the first step; (B) comparing the comparison error value t obtained in step (a) with a predetermined error limit value m; In the step (b), when the comparison error value (t) is smaller than the predetermined error limit value (m), the print operation is started, and the comparison error value (t) is larger than the predetermined error limit value (m). If large, it comprises the step (c) of canceling the print job.

이어서, 첨부한 도면들을 참조하여 본 발명의 실시예를 상세히 설명하기로 한다.Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 프린트 에러를 방지하기 위한 시스템의 블록도이다.2 is a block diagram of a system for preventing a print error in accordance with the present invention.

도 2에 도시된 시스템은 애플리케이션(10), 호스트(20) 및 프린터(30)를 포함한다. 또한 호스트(20)는 GDI(202), SPOOL 파일부(204), 프린트 프로세서(206), 샘플 메모리(208), 프린터 드라이버(210), 패턴 매칭부(212) 및 디코더(214)를 포함한다. 그리고, 프린터(30)는 PDL 해석기(302), 페이지 메모리(304), 인코더(306) 및 프린트 엔진(144)을 포함한다.The system shown in FIG. 2 includes an application 10, a host 20, and a printer 30. The host 20 also includes a GDI 202, a SPOOL file unit 204, a print processor 206, a sample memory 208, a printer driver 210, a pattern matching unit 212, and a decoder 214. . The printer 30 also includes a PDL interpreter 302, a page memory 304, an encoder 306, and a print engine 144.

GDI(202)는 프린터 드라이버(210)를 호출하여 애플리케이션(10)에서 표시되고 있는 각종 도형, 이미지 및 문자들이 어떤 형식으로 프린터(30)에 보내져야 할 것인지를 결정한다.The GDI 202 calls the printer driver 210 to determine in what format the various figures, images and characters being displayed in the application 10 should be sent to the printer 30.

프린터 드라이버(210)는 애플리케이션(10)에 있는 그래픽스 데이터(도형, 이미지 및 문자)들을 사용하고자 하는 프린터(30)가 이해할 수 있는 PDL로 바꾸어준다.The printer driver 210 converts the graphics data (graphics, images and characters) in the application 10 into a PDL that can be understood by the printer 30 wishing to use it.

SPOOL 파일부(204)는 프린터 드라이버(210)에서 바꾸어진 PDL 페이지 데이터를 저장한다. 그리고, 사용자에 의해 프린트 에러를 체크하기 위해 지정된 샘플 데이터를 샘플 메모리(208)로 보낸다.The SPOOL file unit 204 stores the PDL page data changed by the printer driver 210. Then, the sample data designated by the user to check for a print error is sent to the sample memory 208.

샘플 메모리(208)는 사용자에 의해 지정된 샘플 데이터를 저장한다. 여기서, 샘플의 크기는 처리 속도를 고려하여 적당히 선택할 수 있다.The sample memory 208 stores sample data specified by the user. Here, the sample size can be appropriately selected in consideration of the processing speed.

프린트 프로세서(124)는 지정된 샘플 데이터의 위치 정보와 함께 PDL 스트림을 프린트 프로세서(206)로 출력한다.The print processor 124 outputs the PDL stream to the print processor 206 together with the location information of the designated sample data.

PDL 해석기(302)는 호스트(20)로부터 전송되는 PDL 스트림에 대한 화상을 형성한다.PDL interpreter 302 forms an image for the PDL stream sent from host 20.

페이지 메모리(304)는 PDL 해석기(302)에서 형성된 화상을 페이지 단위로 저장한다.The page memory 304 stores images formed by the PDL interpreter 302 in units of pages.

인코더(306)는 호스트(20)로부터 전송된 샘플 데이터의 위치 정보를 참고하여 상기 샘플 데이터를 호스트(20)가 인식할 수 있도록 인코딩하여 호스트(20)로 전송한다.The encoder 306 refers to the position information of the sample data transmitted from the host 20, and encodes the sample data so that the host 20 can recognize the transmitted data to the host 20.

디코더(214)는 프린터(30)에서 인코딩 되어 전송된 샘플 데이터를 디코딩한다.The decoder 214 decodes sample data encoded and transmitted by the printer 30.

패턴 매칭부(212)는 샘플 메모리(208)에 저장된 샘플 데이터와 디코더(214)에서 디코딩된 데이터의 패턴이 매칭되는지의 여부에 따라 인쇄 시작 여부를 결정한다. 즉, 양자의 패턴이 매칭되는 경우 프린트 프로세서(206)를 제어하여 PDL 스트림을 프린터(30)로 전송하여 인쇄가 시작되도록 한다. 반면, 양자의 패턴이 매칭되지 않는 경우는 인쇄작업을 취소하게 된다. 그리고, 양자의 패턴이 매칭되지 않는 경우에도 그 정도에 따라 인쇄 작업을 취소할 수도 있고, 사용자에 의한 강제적인 인쇄 명령에 따라 인쇄를 계속할 수도 있다.The pattern matching unit 212 determines whether to start printing according to whether the pattern of the sample data stored in the sample memory 208 and the data decoded in the decoder 214 match. That is, when both patterns match, the print processor 206 is controlled to transmit the PDL stream to the printer 30 to start printing. On the other hand, if the patterns do not match, the print job is canceled. And even if both patterns do not match, a printing job may be canceled according to the extent and printing may continue according to a forced printing command by a user.

프린트 엔진(144)은 페이지 메모리((304)에 저장된 데이터를 종이에 인쇄한다.The print engine 144 prints the data stored in the page memory 304 on paper.

도 3은 본 발명에 따른 프린트 에러를 방지하기 위한 방법의 일실시예의 흐름도이다.3 is a flowchart of one embodiment of a method for preventing a print error in accordance with the present invention.

호스트 드라이버를 기동한다.(310 단계)Start the host driver (step 310).

비교하고자 하는 샘플, 즉 프린트 에러를 체크하고자 하는 샘플 데이터를 지정한다.(312 단계) 이는 사용자가 호스트(20)의 Preview 메뉴에서 지정한다.A sample to be compared, that is, sample data to be checked for print errors is designated (step 312). This is designated by the user in the preview menu of the host 20.

지정된 샘플의 위치 정보와 함께 인쇄할 문서의 PDL 스트림을 프린터(30)로 전송한다.(314 단계)The PDL stream of the document to be printed is transmitted to the printer 30 together with the location information of the designated sample (step 314).

314 단계에서 호스트(20)로부터 전송되어 온 PDL 스트림에 대한 화상을 형성한다.(316 단계)In step 314, an image of the PDL stream transmitted from the host 20 is formed.

316 단계에서 형성된 화상을 페이지 단위로 메모리한다.(318 단계)The image formed in step 316 is stored in units of pages (step 318).

314 단계에서 전송되어 온 샘플의 위치 정보를 참고하여 샘플 데이터를 추출한 후 호스트가 인식할 수 있도록 인코딩한다.(320 단계)The sample data is extracted by referring to the location information of the sample transmitted in step 314 and then encoded so that the host can recognize it (step 320).

320 단계에서 인코딩된 샘플 데이터를 호스트(20)로 전송한다.(322 단게)In step 320, the encoded sample data is transmitted to the host 20 (step 322).

322 단계에서 프린터(30)로부터 전송되어 온 샘플 데이터를 디코딩한다.(324 단계)In step 322, the sample data transmitted from the printer 30 is decoded.

312 단계에서 지정된 샘플 데이터와 324 단계에서 디코딩된 샘플 데이터를 패턴 매칭하여 비교오차(t)를 구한다.(326 단계) 즉, 양 데이터의 패턴을 대조하여 매칭되지 않는 정도를 구한다.A comparison error t is obtained by pattern matching the sample data designated in step 312 and the sample data decoded in step 324 (step 326). That is, a degree of mismatch is obtained by matching patterns of both data.

비교오차(t)가 오차 한계값(m) 보다 작은지를 판단한다.(328 단계) 여기서, 오차한계값(m)은 프린트 에러를 용인할 수 있는 범위를 의미하며 시스템 가동 초기에 적절히 세팅할 수 있다.It is determined whether the comparison error t is smaller than the error limit value (m) (step 328). Here, the error limit value (m) means a range that can tolerate a print error and can be set appropriately at the beginning of the system operation. have.

328 단계에서 비교오차(t)가 오차 한계값(m) 보다 작으면 출력할 문서에 대해 프린트를 시작한다.(334 단계)If the comparison error t is less than the error limit m in step 328, printing starts for the document to be output (step 334).

328 단계에서 비교오차(t)가 오차 한계값(m) 보다 큰 경우에는 사용자에 의한 프린트 명령이 인가되었는지를 판단한다.(330 단계) 즉, 비교오차(t)가 오차 한계값(m) 보다 큰 경우에도 즉시 프린트 작업을 취소하는 것이 아니라 그러한 경우에도 사용자가 인쇄를 계속하고자 하는지를 체크하는 것이다.If the comparison error t is greater than the error limit value m in step 328, it is determined whether a print command by the user has been applied (step 330), that is, the comparison error t is greater than the error limit value m. Even if it is large, it is not to cancel the print job immediately, but to check whether the user wants to continue printing even in such a case.

330 단계에서 프린트 명령이 인가되지 않은 경우에는 출력할 문서의 프린트 작업을 취소한다.(332 단계)If the print command is not authorized in step 330, the print job of the document to be printed is canceled (step 332).

330 단계에서 프린트 명령이 인가된 경우에는 출력할 문서에 대해 프린트를 시작한다.If the print command is authorized in step 330, printing starts for the document to be output.

한편, 본 발명의 실시예는 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하다. 그리고 컴퓨터에서 사용되는 매체로부터 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 매체는 마그네틱 저장매체(예: 롬, 플로피 디스크, 하드 디스크 등), 광학적 판독매체(예: CD-ROM, DVD 등) 및 캐리어 웨이브(예: 인터넷을 통해 전송)와 같은 기록매체를 포함한다.Meanwhile, embodiments of the present invention can be written as a program that can be executed on a computer. And it can be implemented in a general-purpose digital computer for operating the program from a medium used in the computer. The media includes recording media such as magnetic storage media (e.g. ROM, floppy disk, hard disk, etc.), optical read media (e.g. CD-ROM, DVD, etc.) and carrier waves (e.g., transmitted over the Internet). .

상기 기록매체는, 호스트에서 프린터로의 프린트 동작을 제어하기 위한 방법에 있어서, 프린트 에러를 체크할 샘플 데이터를 지정하여 저장하고, 상기 샘플 데이터에 대한 위치정보와 인쇄할 문서의 PDL 스트림을 상기 프린터로 전송하는 제1단계; 상기 제1단계에서 전송한 PDL 스트림를 수신하여 그에 대한 화상을 형성한 후 상기 제1단계에서의 위치 정보를 참조하여 샘플 데이터를 추출하는 제2단계; 상기 제2단계에서 추출된 샘플 데이터를 호스트가 인식할 수 있도록 인코딩하여 호스트로 전송하는 제3단계; 상기 제3단계에서 전송한 샘플 데이터를 수신하여 디코딩하는 제4단계; 및 상기 제4단계에서 디코딩된 데이터와 상기 제1단계에서 저장된 샘플 데이터를 비교하고, 그 비교 결과에 따라 상기 제2단계에서 형성된 화상에 대한 인쇄 개시 여부를 결정하는 제5단계를 컴퓨터에서 실행할 수 있는 프로그램 코드를 저장한다.The recording medium, in a method for controlling a print operation from a host to a printer, designates and stores sample data for checking a print error, and stores the location information on the sample data and a PDL stream of a document to be printed. Transmitting to the first step; A second step of receiving a PDL stream transmitted in the first step, forming an image thereof, and extracting sample data with reference to the position information in the first step; A third step of encoding the sample data extracted in the second step so that the host can recognize and transmitting the encoded sample data to the host; A fourth step of receiving and decoding the sample data transmitted in the third step; And a fifth step of comparing the data decoded in the fourth step with the sample data stored in the first step, and determining whether to start printing on the image formed in the second step according to the comparison result. Save the program code.

그리고, 상기 프로그램은 상기 제4단계에서 디코딩된 데이터와 상기 제1단계에서 저장된 샘플 데이터를 패턴 매칭하여 비교오차값(t)를 구하는 (a)단계; 상기 (a)단계에서 구해진 비교오차값(t)과 소정의 오차 한계값(m)을 비교하는 (b)단계; 상기 (b)단계에서 비교된 결과 비교오차값(t)이 소정의 오차 한계값(m) 보다 작은 경우 프린트 동작이 개시되도록 하고, 비교오차값(t)이 소정의 오차 한계값(m) 보다 큰 경우에는 프린트 작업을 취소하는 (c)단계를 수행할 수 있는 프로그램 코드를 포함함을 특징으로 한다.The program may include: (a) obtaining a comparison error value (t) by pattern matching the data decoded in the fourth step and the sample data stored in the first step; (B) comparing the comparison error value t obtained in step (a) with a predetermined error limit value m; In the step (b), when the comparison error value (t) is smaller than the predetermined error limit value (m), the print operation is started, and the comparison error value (t) is larger than the predetermined error limit value (m). If large, it comprises a program code to perform step (c) to cancel the print job.

또한, 상기 프로그램은 상기 비교오차값(t)이 소정의 오차 한계값(m) 보다 큼에도 불구하고 사용자에 의한 프린트 명령이 인가된 경우 프린트 동작이 개시되도록 하는 단계를 수행할 수 있는 프로그램 코드를 더 포함한다.In addition, the program may execute a program code for performing a step of starting a print operation when a print command is applied by a user despite the comparison error value t being greater than a predetermined error limit value m. It includes more.

또한, 본 발명을 구현하기 위한 기능적인(funtional) 프로그램, 코드 및 코드 세그멘트들을 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.In addition, functional programs, codes, and code segments for implementing the present invention can be easily inferred by programmers in the art to which the present invention belongs.

본 발명은 상술한 실시예에 한정되지 않으며, 본 발명의 사상내에서 당업자에 의한 변형이 가능함은 물론이다.The present invention is not limited to the above-described embodiment, and of course, modifications may be made by those skilled in the art within the spirit of the present invention.

본 발명에 따르면, 출력할 이미지의 특정 부분을 지정하여 호스트로 전송한 후, 호스트 이미지와 비교하여 일치하지 않을 경우 프린트 출력을 중단함으로써 잘못된 인쇄에 의해 다량으로 종이를 낭비하는 문제점을 방지할 수 있다. 특히, 프린터가 컴퓨터와 멀리 떨어져 있는 경우가 많은 네트워크 프린터에 대해서도 즉각적으로 프린트 에러가 발생한 것을 확인하여 그것을 방지할 수 있다.According to the present invention, after designating a specific portion of the image to be output to the host and then comparing the host image, if it does not match by stopping the print output, it is possible to prevent the problem of wasting a large amount of paper by wrong printing. . In particular, even for a network printer that is often far from the computer, it is possible to immediately confirm that a print error has occurred and prevent it.

Claims (4)

호스트에서 프린터로의 프린트 동작을 제어하기 위한 시스템에 있어서,In a system for controlling a print operation from a host to a printer, 상기 호스트는 프린트 에러를 체크할 샘플 데이터를 저장하기 위한 샘플 메모리와, 상기 프린트에서 전송되어 온 데이터를 호스트가 인식할 수 있도록 디코딩하기 위한 디코더 및 상기 샘플 메모리에 저장된 샘플 데이터와 상기 디코더에서 디코딩된 데이터의 패턴이 매칭되는지의 여부에 따라 인쇄 시작 여부를 결정하기 위한 패턴 매칭부를 포함하여 상기 샘플 데이터의 위치 정보와 인쇄할 문서의 PDL 스트림을 상기 프린터로 전송하고,The host includes a sample memory for storing sample data to check for print errors, a decoder for decoding so that the host can recognize data transmitted from the print, and sample data stored in the sample memory and decoded at the decoder. Transmitting the position information of the sample data and the PDL stream of the document to be printed to the printer, including a pattern matching unit for determining whether to start printing according to whether the patterns of the data match. 상기 프린터는 호스트로부터 PDL 스트림을 전송받아 화상을 생성한 후 페이지 단위로 메모리하기 위한 페이지 메모리와 상기 위치 정보를 참조하여 페이지 메모리에서 메모리된 샘플 데이터를 추출하여 호스트가 인식할 수 있도록 인코딩하기 위한 인코더를 포함하여 상기 인코딩된 샘플 데이터를 상기 호스트로 전송하는 것을 특징으로 하는 프린트 에러를 방지하기 위한 시스템.The printer receives the PDL stream from the host, generates an image, and then extracts the sample data stored in the page memory by encoding the page memory and the location information with reference to the location information and encodes the host for recognition. And transmitting the encoded sample data to the host. 호스트에서 프린터로의 프린트 동작을 제어하기 위한 방법에 있어서,In the method for controlling the print operation from the host to the printer, 프린트 에러를 체크할 샘플 데이터를 지정하여 저장하고, 상기 샘플 데이터에 대한 위치정보와 인쇄할 문서의 PDL 스트림을 상기 프린터로 전송하는 제1단계;A first step of designating and storing sample data to check for a print error, and transmitting location information on the sample data and a PDL stream of a document to be printed to the printer; 상기 제1단계에서 전송한 PDL 스트림를 수신하여 그에 대한 화상을 형성한 후 상기 제1단계에서의 위치 정보를 참조하여 샘플 데이터를 추출하는 제2단계;A second step of receiving a PDL stream transmitted in the first step, forming an image thereof, and extracting sample data with reference to the position information in the first step; 상기 제2단계에서 추출된 샘플 데이터를 호스트가 인식할 수 있도록 인코딩하여 호스트로 전송하는 제3단계;A third step of encoding the sample data extracted in the second step so that the host can recognize and transmitting the encoded sample data to the host; 상기 제3단계에서 전송한 샘플 데이터를 수신하여 디코딩하는 제4단계; 및A fourth step of receiving and decoding the sample data transmitted in the third step; And 상기 제4단계에서 디코딩된 데이터와 상기 제1단계에서 저장된 샘플 데이터를 비교하고, 그 비교 결과에 따라 상기 제2단계에서 형성된 화상에 대한 인쇄 개시 여부를 결정하는 제5단계를 포함함을 특징으로 하는 프린트 에러를 방지하기 위한 방법.And a fifth step of comparing the data decoded in the fourth step with the sample data stored in the first step, and determining whether to start printing on the image formed in the second step according to the comparison result. To prevent print errors. 제2항에 있어서, 상기 제5단계는The method of claim 2, wherein the fifth step 상기 제4단계에서 디코딩된 데이터와 상기 제1단계에서 저장된 샘플 데이터를 패턴 매칭하여 비교오차값(t)를 구하는 (a)단계;(A) obtaining a comparison error value (t) by pattern matching the data decoded in the fourth step and the sample data stored in the first step; 상기 (a)단계에서 구해진 비교오차값(t)과 소정의 오차 한계값(m)을 비교하는 (b)단계;(B) comparing the comparison error value t obtained in step (a) with a predetermined error limit value m; 상기 (b)단계에서 비교된 결과 비교오차값(t)이 소정의 오차 한계값(m) 보다 작은 경우 프린트 동작이 개시되도록 하고, 비교오차값(t)이 소정의 오차 한계값(m) 보다 큰 경우에는 프린트 작업을 취소하는 (c)단계를 포함함을 특징으로 하는 프린트 에러를 방지하기 위한 방법.In the step (b), when the comparison error value (t) is smaller than the predetermined error limit value (m), the print operation is started, and the comparison error value (t) is larger than the predetermined error limit value (m). And (c) canceling the print job if it is large. 제3항에 있어서,The method of claim 3, 상기 비교오차값(t)이 소정의 오차 한계값(m) 보다 큼에도 불구하고 사용자에 의한 프린트 명령이 인가된 경우 프린트 동작이 개시되도록 하는 단계를 더 포함함을 특징으로 하는 프린트 에러를 방지하기 위한 방법.Preventing a print error, wherein the print operation is initiated when a print command by the user is applied despite the comparison error value t being greater than a predetermined error threshold value m. Way.
KR1019980050237A 1998-11-23 1998-11-23 System for preventing print error and method thereof KR20000033393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980050237A KR20000033393A (en) 1998-11-23 1998-11-23 System for preventing print error and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980050237A KR20000033393A (en) 1998-11-23 1998-11-23 System for preventing print error and method thereof

Publications (1)

Publication Number Publication Date
KR20000033393A true KR20000033393A (en) 2000-06-15

Family

ID=19559337

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980050237A KR20000033393A (en) 1998-11-23 1998-11-23 System for preventing print error and method thereof

Country Status (1)

Country Link
KR (1) KR20000033393A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0825764A (en) * 1994-07-13 1996-01-30 Nec Corp Printer
JPH08274923A (en) * 1995-03-31 1996-10-18 Canon Inc Check device for image forming system
JPH0916357A (en) * 1995-06-30 1997-01-17 Canon Inc Printer and control method for the same
KR970069356A (en) * 1996-04-09 1997-11-07 김광호 How to inspect inkjet printer nozzles
JPH1021018A (en) * 1996-07-08 1998-01-23 Fuji Xerox Co Ltd Print controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0825764A (en) * 1994-07-13 1996-01-30 Nec Corp Printer
JPH08274923A (en) * 1995-03-31 1996-10-18 Canon Inc Check device for image forming system
JPH0916357A (en) * 1995-06-30 1997-01-17 Canon Inc Printer and control method for the same
KR970069356A (en) * 1996-04-09 1997-11-07 김광호 How to inspect inkjet printer nozzles
JPH1021018A (en) * 1996-07-08 1998-01-23 Fuji Xerox Co Ltd Print controller

Similar Documents

Publication Publication Date Title
US8149432B2 (en) Information processing apparatus, method, and recording medium storing program for modifying print instructions
JP2009507687A (en) N-UP imaging controlled and dynamically changed by a printer
US6476938B1 (en) Print control system and method
US7643160B2 (en) Spool file modifying device
JP3209102B2 (en) Print system, printer driver and printer
JP5013068B2 (en) Print setting instruction apparatus, print setting instruction system, and control program
KR100772376B1 (en) Apparatus and method for direct printing of meta data
US7590766B2 (en) Image processing system, image forming system, information processing system, image processing method, information processing method and computer readable medium
JP2007329919A (en) Image forming apparatus and control method therefor
EP1703371A2 (en) Method and systems for providing index data for print job data
KR100644671B1 (en) Apparatus and method for changing printer driver, and printing system and method using it
KR20000033393A (en) System for preventing print error and method thereof
JP3209911B2 (en) Print control device and data processing method of print control device
JP4532760B2 (en) Image forming apparatus, data processing method of image forming apparatus, and storage medium
KR100366657B1 (en) Method of reverse-transforming print output image data to text data file and apparatus therefor
US20090044037A1 (en) Image processing apparatus and control method thereof
JP4419104B2 (en) Image forming apparatus
KR100538208B1 (en) Apparatus for preventing print error and method thereof in network printer
JPS62235631A (en) Print controller
JP2008262439A (en) Information processor, print document adjustment processing program and storage medium
KR20000033392A (en) Apparatus and method for preventing printing error in network printers
JPH1049317A (en) Device and method for print control, and storage medium
JP2843809B2 (en) Printing control device
JPH07144444A (en) Communication controller
KR20000013020A (en) Picture data processing system of picture formation device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application