KR100193794B1 - Emulation analysis method of image forming apparatus - Google Patents

Emulation analysis method of image forming apparatus Download PDF

Info

Publication number
KR100193794B1
KR100193794B1 KR1019950019475A KR19950019475A KR100193794B1 KR 100193794 B1 KR100193794 B1 KR 100193794B1 KR 1019950019475 A KR1019950019475 A KR 1019950019475A KR 19950019475 A KR19950019475 A KR 19950019475A KR 100193794 B1 KR100193794 B1 KR 100193794B1
Authority
KR
South Korea
Prior art keywords
data
control code
analysis
input
image forming
Prior art date
Application number
KR1019950019475A
Other languages
Korean (ko)
Other versions
KR970007708A (en
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 KR1019950019475A priority Critical patent/KR100193794B1/en
Publication of KR970007708A publication Critical patent/KR970007708A/en
Application granted granted Critical
Publication of KR100193794B1 publication Critical patent/KR100193794B1/en

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 화상형성장치의 제어방법에 관한 것이다.The present invention relates to a control method of an image forming apparatus.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명의 목적은 에물레이션 에러를 재현 해결하기 위한 화상형상장치의 에물레이션 해석방법을 제공함에 있다.An object of the present invention is to provide an emulation analysis method of an image forming apparatus for reproducing and solving an emulation error.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은 소정 제어코드데이터들에 각각 대응하는 제어코드분석데이터를 구비하는 룸을 가지는 화상형성장치에 있어서: 소정 데이터입력에 대응하여 해석모드를 설정하는 해석모드설정단계와; 상기 해석모드설정에 대응하여 데이터입력을 검색하는 데이터입력검색단계와; 데이터입력이 검색되면 입력데이터가 제어코드데이터인가를 판단하여 제어코드데이터가 아니면 상기 입력데이터를 버퍼링 하는 데이터판단단계와; 상기 입력데이터가 제어코드데이터이면 제어코드분석가능한가를 판단하여 제어코드의 분석이 가능하면 상기 제어코드데이터에 대응하는 제어코드분석데이터를 상기 롬으로부터 독출하여 버퍼링 하며, 제어코드분석이 불가능하면 상기 제어코드데이터를 버퍼링 하는 분석단계와; 버퍼링된 데이터를 프린팅 출력하는 프린팅단계로 이루어짐을 특징으로 한다.An image forming apparatus having a room having control code analysis data corresponding to predetermined control code data respectively, comprising: an analysis mode setting step of setting an analysis mode in response to input of predetermined data; A data input search step of searching for a data input corresponding to the analysis mode setting; A data determination step of determining whether the input data is control code data when the data input is searched and buffering the input data if it is not the control code data; If the input data is control code data, it is determined whether control code analysis is possible. If the control code can be analyzed, the control code analysis data corresponding to the control code data is read out from the ROM and buffered. An analysis step of buffering code data; And a printing step of printing and outputting the buffered data.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 프린터에서 중요히 사용될 수 있다.The present invention can be importantly used in a printer.

Description

화상형성장치의 에물레이션 해석방법Emulation Analysis Method of Image Forming Device

제1도는 일반적인 화상형성장치의 블록 구성도이다.1 is a block diagram of a general image forming apparatus.

제2도는 본 발명의 바람직한 일 실시예에 따른 에물레이션 해석과정을 보여주는 수행 흐름도이다.2 is a flowchart illustrating an emulation analysis process according to an exemplary embodiment of the present invention.

본 발명은 화상형성장치의 제어방법에 관한 것으로, 특히 입력되는 제어코드데이터에 대응하는 에물레이션 상태를 프린팅 출력하는 에물레이션 해석방법에 관한 것이다.The present invention relates to a control method of an image forming apparatus, and more particularly, to an emulation analysis method for printing and outputting an emulation state corresponding to input control code data.

일반적으로 레이져 빔 프린터등과 같은 화상형성장치는 퍼스널 컴퓨터로부터 데이터를 입력받아, 상기 데이터가 제어코드데이터인지 프린팅 데이터인지를 판별하며, 제어코드데이터인 경우 해당 에물레이션모드를 설정하고 설정후 입력되는 데이터를 상기 에물레이션 모드에 따라 프린팅하게 된다. 이러한 일련의 과정에서 사용자가 의도하는 바와는 다른 상태가 프린팅출력물에서 발견되는 경우가 발생할 수 있으며, 이런 경우 종래에는 사용자가 어떤 에물레이션모드 하에 프린팅을 시도했는가를 일일이 확인하여야 했다. 이러한 경우, 확인결과에서 입력된 데이터를 해석하여 어플리케이션(Application)잘못인지, 프린팅에러인지를 판별할 수도 있지만, 대부분의 경우에 사용자들이 사용하는 어플리케이션의 종류가 해당 화상형성장치에서 지원하는 종류보다 다양하기 때문에 확인을 위한 상황재현이 쉽지 않다. 이러한 에물레이션 에러에 대응하여 종래에는 제작자가 헥사-덤프 모드(Hexa Dump mode)를 제공하고 있으나 오류가 발생한 위치를 추정하기가 쉽지 않으며, 추정된다 하더라도 그 데이터량이 적지않아 쉽게 상황을 재현하기 어렵다는 문제점이 있었다.In general, an image forming apparatus such as a laser beam printer receives data from a personal computer to determine whether the data is control code data or printing data, and in the case of control code data, sets an emulation mode and sets the data after input. Is printed according to the emulation mode. In such a series of processes, a situation other than the one intended by the user may be found in the printed output. In this case, it was necessary to check in which emulation mode the user attempted printing under the conventional circumstances. In this case, it is possible to determine whether the application is wrong or printing error by interpreting the input data from the verification result, but in most cases, the types of applications used by the user are more diverse than those supported by the image forming apparatus. It is not easy to reproduce the situation for confirmation. In order to cope with such emulation errors, the conventional manufacturer provides a hexa-dump mode, but it is not easy to estimate the location of the error, and even if it is estimated, the amount of data is not so small that it is difficult to easily reproduce the situation. there was.

따라서 본 발명의 목적은 에물레이션 에러를 재현 해결하기 위한 화상형성 장치의 에물레이션 해석방법을 제공함에 있다.Accordingly, an object of the present invention is to provide an emulation analysis method of an image forming apparatus for reproducing and solving an emulation error.

상술한 목적을 달성하기 위한 본 발명은 소정 제어코드데이터에 대응하는 제어코드분석 데이터를 구비하는 화상형성장치의 제어방법에 있어서, 소정 데이터 입력에 대응하여 해석모드를 설정하는 해석모드설정단계와, 상기 해석모드설정에 대응하여 데이터 입력을 검색하는 데이터입력검색단계와, 데이터입력이 검색되면 입력데이터가 제어코드데이터인가를 판단하여 제어코드데이터가 아니면 상기 입력데이터를 버퍼링하는 데이터판단단계와, 상기 입력데이터가 제어코드데이터이면 제어코드분석가능한가를 판단하여 제어코드분석 가능하면 상기 제어코드데이터에 대응하는 제어코드분석 데이터를 버퍼링하며, 제어코드분석이 불가능하면 상기 제어코드데이터를 버퍼링하는 분석단계와, 버퍼링된 데이터를 프린팅 출력하는 프린팅단계로 구성한다.According to an aspect of the present invention, there is provided a control method of an image forming apparatus including control code analysis data corresponding to predetermined control code data, comprising: an analysis mode setting step of setting an analysis mode in response to input of predetermined data; A data input search step of searching for data input in response to the analysis mode setting; and a data determination step of buffering the input data if it is not control code data by determining whether the input data is control code data when the data input is searched; An analysis step of determining whether control code analysis is possible if the input data is control code data and buffering control code analysis data corresponding to the control code data if control code analysis is possible, and buffering the control code data if control code analysis is not possible; Consists of a printing step that prints out the buffered data do.

제1도는 일반적인 화상형성장치의 블록 구성도로써, 일례로 레이져 빔 프린터의 주요구성을 도시하고 있으며 비데오제어부(100)와, 엔진부(200)로 구성된다.FIG. 1 is a block diagram of a general image forming apparatus. For example, FIG. 1 illustrates a main configuration of a laser beam printer and includes a video control unit 100 and an engine unit 200.

상기 비데오 제어부(100)는; 퍼스널 컴퓨터(50)와 입출력신호를 인터페이싱하는 PC인터페이스부(110)와, 상기 PC인터페이스부(110)로부터 입력된 제어코드데이터 및 사용자에 의해 설정된 에물레이션 모드에 대응하여 입력 데이터를 프린팅하기 위한 비트맵데이터 등으로 변환하며, 상기 화상형성장치의 전반적인 동작을 제어하는 제어부(120)와, 상기 제어부(120)의 제어하에 상기 엔진부(200)와 입출력신호를 인터페이싱하는 엔진인터페이스부(130)와, 키데이터를 발생시킬 수 있는 다수의 키를 구비하며, 상기 키데이터 발생시 이를 상기 제어부(120)로 출력하고, 상기 제어부(120)의 제어 동작중 생성되는 표시데이터를 디스플레이 하는 동작판넬부(Operating Panel Equipment 140 ; 이하 OPE라 함)와, 상기 제어부(120)의 제어 하에 상기 PC인터페이스부(120)로부터 입력되는 비데오 데이터 및 상기 제어부의 프린팅 동작 제어시 생성되는 각종데이터들을 일시적으로 저장하는 램(RAM:150)과, 상기 제어부(120)의 제어프로그램 및 각 에물레이션 모드에 대응하는 제어 코드데이터 및 폰트데이터들과, 상기 제어코드데이터 각각에 대응되는 제어코드 분석 데이터를 구비하는 롬(ROM:160)으로 구성된다.The video control unit (100); A bitmap for printing the input data corresponding to the PC interface unit 110 for interfacing the input / output signal with the personal computer 50, the control code data input from the PC interface unit 110, and the emulation mode set by the user. A controller 120 for converting the data into data and controlling the overall operation of the image forming apparatus, an engine interface 130 for interfacing the input / output signal with the engine unit 200 under the control of the controller 120; An operating panel having a plurality of keys capable of generating key data, which outputs the key data to the controller 120 when the key data is generated, and displays display data generated during a control operation of the controller 120. Equipment 140 (hereinafter referred to as OPE) and the video data and the control input from the PC interface unit 120 under the control of the controller 120. RAM 150 for temporarily storing various data generated during negative printing operation control, control code and font data corresponding to the control program of the controller 120 and each emulation mode, and the control code data. ROM (ROM) having control code analysis data corresponding to each.

엔진부(200)는 상술한 비데오 제어부(100)로부터 비트맵 데이터를 입력받아 용지에 프린팅시킨다.The engine unit 200 receives the bitmap data from the video control unit 100 described above and prints it on the paper.

제2도는 본 발명의 바람직한 일 실시예에 따른 에물레이션 해석과정을 보여주는 수행 흐름도이다.2 is a flowchart illustrating an emulation analysis process according to an exemplary embodiment of the present invention.

이하 상술한 제1∼2도를 참조하여 본 발명에 따른 바람직한 일 실시예의 수행과정을 살펴보면 다음과 같다.Hereinafter, a description will be given of a preferred embodiment of the present invention with reference to FIGS. 1 to 2 as described above.

일반적으로 프린터 등의 외부데이터를 입력받아 프린팅 하는 화상형성장치는 퍼스널 컴퓨터 등으로부터 데이터를 입력받으며, 입력데이터가 제어코드데이터인지 프린팅 할 데이터인지를 판별한다. 상기 입력데이터가 제어코드데이터인 경우에는 해당 에물레이션 모드를 설정하고, 프린팅 할 데이터인 경우에는 상기 에물레이션 모드 하에 비트맵데이터로 변환하여 프린팅 하게 된다. 또한 상기 입력데이터가 제어코드데이터인 경우, 해당 에물레이션의 제어문자에 해당하는 명령어를 찾기 위하여 제어코드분석(Parsing)을 수행하며, 상기 제어코드분석은 일례로 휴렛 팩커드사의 PCL명령어테이블에 나타난 바와 같이 입력되는 16진 데이터에 따라 해당 프린팅제어명령과 그 파라미터를 찾아내는 일련의 과정을 의미한다. 이러한 제어코드 분석이 완료되기 직전에는 이미 상기 제어코드는 완성된 단계이며, 이는 사용자 매뉴얼에 표기된 형태로 변환시키는 것이 어렵지 않다. 본 발명은 완성된 제어코드에 해당하는 16진데이터(Hexa Data)와 사용자들이 이해할 수 있는 매뉴얼상의 텍스트를 출력하게 하는 에물레이션 해석과정이다. 상술한 16진데이터와 사용자 매뉴얼에 표기된 텍스트의 일례를 PCL 에물레이션을 참조하면 다음과 같다.In general, an image forming apparatus that receives and prints external data such as a printer receives data from a personal computer or the like and determines whether the input data is control code data or data to be printed. If the input data is control code data, the corresponding emulation mode is set, and if the data to be printed is converted to bitmap data under the emulation mode, printing is performed. In addition, when the input data is control code data, a control code analysis is performed to find a command corresponding to a control character of the emulation. The control code analysis is, for example, as shown in the PCL command table of Hewlett Packard Corporation. It means a series of processes to find the printing control command and its parameters according to the input hexadecimal data. Immediately before such control code analysis is completed, the control code is already completed, and it is not difficult to convert the control code into the form indicated in the user manual. The present invention is an emulation analysis process for outputting the hexadecimal data (Hexa Data) corresponding to the completed control code and the text on the user can understand. An example of the hexadecimal data described above and the text indicated in the user manual is as follows with reference to PCL emulation.

예1) OX1B OX45 → RESETExample 1) OX1B OX45 → RESET

예2) OX1B OX2A OX74 OX33 OX30 OX52 → RASTER RESOLUTION 300Example 2) OX1B OX2A OX74 OX33 OX30 OX52 → RASTER RESOLUTION 300

한편 에러해석이 불가능한 제어코드데이터가 입력되는 경우에는 본 발명은 16진 데이터와 처리불능을 알리는 메시지를 출력한다. 이러한 경우 해당 에물레이션 모드의 모든 텍스트를 출력할 수도 있으며, 본 발명의 바람직한 일실시예에서는 에러에 해당하는 텍스트들을 출력한다.On the other hand, when control code data that cannot be interpreted as an error is input, the present invention outputs a hexadecimal data and a message informing that the process cannot be processed. In this case, all texts of the corresponding emulation mode may be output. In an exemplary embodiment of the present invention, texts corresponding to an error are output.

제2도를 참조하면 먼저 201단계에서 제어부(120)는 해석모드인가를 판단한다. 이때 해석모드는 OPE(140) 또는 PC인터페이스부(110)를 통해 설정될 수 있다. 이후 해석모드임이 판단되면, 203단계에서 상기 제어부(120)는 상기 PC인터페이스부를 통해 데이터를 입력받는다. 그리고, 205단계에서 상기 제어부(120)는 입력된 데이터가 제어코드데이터인가를 검색하며, 제어코드데이터가 아니면, 207단계에서 입력데이터를 프린팅 버퍼에 저장한다. 이때 상기 프린팅버퍼는 램(150)이 사용될 수 있다. 한편 상기 205단계에서 제어코드데이터이면, 209단계에서 상기 제어부(120)는 제어코드분석이 가능한가를 판단하여 분석이 불가능하면 219단계에서 헥사코드로써 프린팅 버퍼에 저장한다. 그러나 분석이 가능하면 211단계에서 해당 제어코드에 대응하는 제어코드 분석 데이터를 롬(160)으로부터 독출하여 이를 상기 프린팅버퍼에 저장한다. 그리고 215단계에서 상기 제어부(120)는 PC인터페이스부(110)를 통해 데이터가 입력되는가를 검색하며, 데이터 입력이 있으면 상기 205단계로 돌아가며, 데이터 입력이 없으면 217단계에서 프린팅버퍼에 저장된 데이터를 프린팅한다.Referring to FIG. 2, first, in step 201, the controller 120 determines whether an analysis mode is present. In this case, the analysis mode may be set through the OPE 140 or the PC interface unit 110. If it is determined that the analysis mode, in step 203, the control unit 120 receives data through the PC interface. In operation 205, the controller 120 searches whether the input data is control code data. If not, the controller 120 stores the input data in the printing buffer in operation 207. In this case, the printing buffer RAM 150 may be used. On the other hand, if the control code data in step 205, the control unit 120 determines whether the control code analysis is possible in step 209, and if the analysis is impossible in step 219 and stores in the printing buffer as a hexa code. However, if the analysis is possible, the control code analysis data corresponding to the control code is read from the ROM 160 in step 211 and stored in the printing buffer. In step 215, the control unit 120 searches whether data is input through the PC interface unit 110. If there is data input, the control unit 120 returns to step 205. If there is no data input, the controller 120 prints the data stored in the printing buffer in step 217. do.

상술한 바와 같이 본 발명은 프린팅에러상태 발생 시 해당 에러상태에서의 에물레이션 상태를 출력시킬 수 있어 프린팅에러상태를 효과적으로 파악할 수 있다.As described above, the present invention can output an emulation state in a corresponding error state when a printing error state occurs, thereby effectively identifying the printing error state.

Claims (2)

소정 제어코드데이터들에 각각 대응하는 제어코드분석데이터를 구비하는 룸을 가지는 화상형성장치의 에물레이션 해석방법에 있어서: 소정 데이터입력에 대응하여 해석모드를 설정하는 해석모드설정단계와; 상기 해석모드설정에 대응하여 데이터입력을 검색하는 데이터입력검색단계와; 데이터입력이 검색되면 입력데이터가 제어코드데이터인가를 판단하여 제어코드데이터가 아니면 상기 입력데이터를 버퍼링 하는 데이터판단단계와; 상기 입력데이터가 제어코드데이터이면 제어코드분석가능한가를 판단하여 제어코드의 분석이 가능하면 상기 제어코드데이터에 대응하는 제어코드분석데이터를 상기 롬으로부터 독출하여 버퍼링하며, 제어코드분석이 불가능하면 상기 제어 코드데이터를 버퍼링하는 분석단계와; 버퍼링된 데이터를 프린팅 출력하는 프린팅단계로 이루어짐을 특징으로 하는 방법.An emulation analysis method of an image forming apparatus having a room having control code analysis data corresponding to predetermined control code data, the method comprising: an analysis mode setting step of setting an analysis mode in response to input of predetermined data; A data input search step of searching for a data input corresponding to the analysis mode setting; A data determination step of determining whether the input data is control code data when the data input is searched and buffering the input data if it is not the control code data; If the input data is control code data, it is determined whether control code analysis is possible. If control code analysis is possible, control code analysis data corresponding to the control code data is read out from the ROM and buffered. An analysis step of buffering code data; And a printing step of printing and outputting the buffered data. 제1항에 있어서; 상기 제어코드데이터가 16진 데이터임을 특징으로 하는 방법.The method of claim 1; And said control code data is hexadecimal data.
KR1019950019475A 1995-07-04 1995-07-04 Emulation analysis method of image forming apparatus KR100193794B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950019475A KR100193794B1 (en) 1995-07-04 1995-07-04 Emulation analysis method of image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950019475A KR100193794B1 (en) 1995-07-04 1995-07-04 Emulation analysis method of image forming apparatus

Publications (2)

Publication Number Publication Date
KR970007708A KR970007708A (en) 1997-02-21
KR100193794B1 true KR100193794B1 (en) 1999-06-15

Family

ID=66526392

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950019475A KR100193794B1 (en) 1995-07-04 1995-07-04 Emulation analysis method of image forming apparatus

Country Status (1)

Country Link
KR (1) KR100193794B1 (en)

Also Published As

Publication number Publication date
KR970007708A (en) 1997-02-21

Similar Documents

Publication Publication Date Title
US6078400A (en) Printing system having function of displaying error information and method of displaying error information
JPH10333846A (en) Output control method and device therefor
KR100212986B1 (en) Direct printing method of image file of printer
EP0611657B1 (en) Printer
KR100193794B1 (en) Emulation analysis method of image forming apparatus
JPH1016344A (en) Printing control apparatus, printing control method and printing apparatus
KR100345880B1 (en) Method for selection paper cassette of printer
JP4211462B2 (en) Information processing apparatus and method, and image drawing apparatus
KR0181137B1 (en) Graphic printing method
KR940005442B1 (en) Control method for line buffer and page printer having line buffer
KR100243125B1 (en) Image information printing order processing method of computer
KR0155216B1 (en) The method to store and print the written form by image-shaping apparatus
KR20010035568A (en) Method for security printing of network printer
KR100341811B1 (en) Method for outputing data printer
JP2915673B2 (en) Print control device and print data identification method
JPH0631983A (en) Printer device
JP2891857B2 (en) Printing apparatus and printing method
JPH04290763A (en) Printing device
KR20000014938A (en) Method for printing additional information of printer
JPH03142271A (en) Printer
KR20010010299A (en) Method for printing partition of document
JPH09309247A (en) Method and apparatus for control of printing
JP2000238382A (en) Printing page management system
JPH07186465A (en) Printer
JPS62278630A (en) Printer device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120130

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20130130

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee