KR19990038544A - Data storage method and device - Google Patents

Data storage method and device Download PDF

Info

Publication number
KR19990038544A
KR19990038544A KR1019970058329A KR19970058329A KR19990038544A KR 19990038544 A KR19990038544 A KR 19990038544A KR 1019970058329 A KR1019970058329 A KR 1019970058329A KR 19970058329 A KR19970058329 A KR 19970058329A KR 19990038544 A KR19990038544 A KR 19990038544A
Authority
KR
South Korea
Prior art keywords
data
printer
application
ram
analyzed
Prior art date
Application number
KR1019970058329A
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 KR1019970058329A priority Critical patent/KR19990038544A/en
Publication of KR19990038544A publication Critical patent/KR19990038544A/en

Links

Abstract

본 발명은 PC 에플리케이션으로부터 데이터를 분석하고, 분석한 커맨드 및 데이터를 램에 임시 저장하고 저장한 데이터를 프린터 드라이버에 전송하여 프린터로 인쇄할 수 있게 한 데이터 저장 방법 및 그 장치에 관한 것이다.The present invention relates to a data storage method and apparatus for analyzing data from a PC application, temporarily storing the analyzed commands and data in a RAM, and transmitting the stored data to a printer driver for printing with a printer.

본 발명은 이를 위해 PC 에플리케이션으로부터 데이터를 분석하고 분석한 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 방법에 있어서, 히스터리 입력 옵션 선택인가를 판별하는 단계와, 입력 옵션선택이면 하드 디스크 드라이브의 일정영역확보인가를 판별하는 단계와, 일정영역확보이면 램에 이름 테그와 에플리케이션으로부터 분석한 커맨드 및 데이터를 저장하는 단계와, 커맨드 및 데이터 저장후 히스터리 출력 옵션 선택인가를 판별하는 단계와, 출력 옵션선택이면 이름 테그가 지적되었는가를 판별하는 단계와, 이름 테그 지적이면 램에 저장된 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 단계를 포함하는 것을 그 특징으로 한다.According to an aspect of the present invention, a method of analyzing data from a PC application and transmitting the analyzed data to a printer driver and printing the data to a printer includes: determining whether to select a hysterical input option; Determining whether the area is secured, storing the command and data analyzed from the name tag and the application in the RAM if the area is secured, determining whether or not the hysteresis output option is selected after storing the command and data, and output options. If optional, determining whether a name tag is indicated; and if the name tag is indicated, transmitting data stored in the RAM to a printer driver and printing it to a printer.

본 발명에 따르면 에플리케이션으로부터 분석된 커맨드 혹은 데이터를 램에 임시 저장하였다가 프린터 드라이버에 전송하여 프린터로 인쇄하므로써 사용자의 편의를 제공하고 PC사용의 효율을 향상시키게 된다.According to the present invention, by temporarily storing the command or data analyzed from the application in the RAM and then transmitting to the printer driver to print to the printer to provide a user's convenience and improve the efficiency of using the PC.

Description

데이터 저장 방법 및 그 장치Data storage method and device

본 발명은 히스터리(History) 기능을 가진 프린터 드라이버에 관한 것으로, 더욱 상세하게는 PC 에플리케이션(application)으로부터 데이터를 분석하고 분석한 커맨드(Command) 혹은 데이터를 램에 임시 저장하고 저장한 데이터를 프린터 드라이버에 전송하여 프린터로 인쇄할 수 있게 한 데이터 저장 방법 및 그 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer driver having a history function. More particularly, the present invention analyzes data from a PC application and temporarily stores and stores the stored command or data in RAM and stores the data. The present invention relates to a data storage method and a device for transmitting the data to a printer so as to be printed by a printer.

최근, 윈도우 에플리케이션에서 만들어진 문서나 그래픽 데이터를 프린터에서 인쇄하기 위해서는 윈도우 프린터 드라이버에서 문서를 분석하고 분석한 결과를 명령(Command)으로 변환하여 프린터로 전송한다. 이렇게 전송된 명령을 프린터 펌웨어에서 분석하여 다시 프린터에서 인쇄할 수 있는 도트(dot)단위의 이미지를 만들기 위해 래스터를 거쳐 실제로 인쇄할 수 있는 이미지가 완성되면 프린터로 이미지를 전송하여 인쇄한다.Recently, in order to print a document or graphic data created in a Windows application on a printer, the document is analyzed by a Windows printer driver, and the analysis result is converted into a command and transmitted to the printer. The transmitted command is analyzed by the printer firmware to make a dot-level image that can be printed on the printer. After the raster image is actually printed, the image is sent to the printer and printed.

또한, PC로부터의 특정한 에플리케이션 데이터를 프린터 드라이버에 전달하면 이 프린터 드라이버는 프린터 펌웨어(firmware)에 맞는 적합한 커맨드 혹은 데이터를 프린터로 전송한다. 프린터에 전송된 데이터는 펌웨어를 거쳐 비트맵 형태로 변경되고 변경된 비트맵 데이터는 영상 콘트롤러를 통하여 엔진 콘트롤러에 전달되고 전달된 데이터는 기구적인 메카니즘을 통해 인쇄된다.In addition, when certain application data from a PC is delivered to the printer driver, the printer driver sends appropriate commands or data corresponding to the printer firmware to the printer. The data transmitted to the printer is changed into a bitmap form through firmware, and the changed bitmap data is transmitted to the engine controller through the image controller, and the transferred data is printed through a mechanical mechanism.

그러나 이런 종래의 프린터 드라이버는 특정한 출력물을 얻기위해 반드시 PC상에 에플리케이션이 존재되어야 하고, 또는 원하는 출력물의 데이터가 에플리케이션에 로드(load)되어 있어야 한다.However, such a conventional printer driver must have an application on the PC in order to obtain a specific output, or the data of the desired output must be loaded in the application.

이런 경우에 특정한 에플리케이션을 PC에 반드시 로드해야하는 문제점이 있다. 또한, 펌웨어를 위해 프린터 드라이버가 만들어 냈던 커맨드 혹은 데이터의 결과가 과거와 동일하다 하더라도 상기의 과정을 반복하여 수행해야하는 번거로운 문제점이 뒷따르고 있다.In this case, there is a problem that a specific application must be loaded on the PC. In addition, even if the result of the command or data generated by the printer driver for the firmware is the same as in the past, there is a cumbersome problem of repeating the above process.

본 발명은 상기와 같은 종래의 문제점을 해결하고자 이루어진 것으로서, 그 목적은 출력물을 동일 에플리케이션이나, 동일 데이터를 PC에 로드하지 않고, 에플리케이션으로부터 분석한 커맨드 및 데이터를 프린터의 펌웨어에 전달하기전에 하드 디스크 드라이브(HDD:Hard Disk Drive)의 일정영역 또는 램(RAM)에 저장하고 램에 저장된 데이터를 프린터로 인쇄하므로써 사용자에게 편의를 제공하고 PC사용의 효율을 향상시키도록 하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and an object thereof is to load a printout of the same application or to load the same data into a PC, and to transmit the analyzed command and data from the application to the printer's firmware. It is to provide convenience to the user and improve the efficiency of using a PC by storing it in a certain area or RAM of a drive (HDD: Hard Disk Drive) and printing the data stored in the RAM by a printer.

도 1은 본 발명의 PC와 프린터간의 블록 구성도1 is a block diagram of a PC and a printer of the present invention

도 2a,b는 본 발명에 따른 신호 흐름도2a, b is a signal flow diagram according to the present invention

<도면의 주요 부분에 사용된 부호의 설명><Description of the code used for the main part of the drawing>

1:PC 2:사용자데이터1: PC 2: User Data

3:프린터 PD는 프린터 드라이버3: printer PD printer driver

HDD:하드 디스크 드라이브 RAM:램HDD: Hard Disk Drive RAM: RAM

CPU:중앙처리장치CPU: Central Processing Unit

상기의 목적을 달성하고자 본 발명은 PC 에플리케이션으로부터 데이터를 분석하고 분석한 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 방법에 있어서, 히스터리 입력 옵션 선택인가를 판별하는 단계와, 입력 옵션선택이면 하드 디스크 드라이브의 일정영역확보인가를 판별하는 단계와, 일정영역확보이면 램에 이름 테그와 에플리케이션으로부터 분석한 커맨드 및 데이터를 저장하는 단계와, 상기 커맨드 및 데이터 저장후 히스터리 출력 옵션 선택인가를 판별하는 단계와, 출력 옵션선택이면 이름 태그가 지적되었는가를 판별하는 단계와, 이름 테그 지적이면 상기 하드 디스크 드라이브 및 램에 저장된 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 단계를 포함하는 것을 그 특징으로 한다.In order to achieve the above object, the present invention provides a method for analyzing data from a PC application and transmitting the analyzed data to a printer driver and printing the data to a printer. Determining whether the disk drive is secured in a certain area; storing the command and data analyzed from the name tag and the application in RAM if the fixed area is secured; and determining whether a history output option is selected after storing the command and data. Determining whether a name tag is indicated if the output option is selected, and transmitting data stored in the hard disk drive and the RAM to a printer driver and printing the printer to the printer if the name tag is indicated. .

본 발명의 다른 특징은 PC 에플리케이션으로부터 데이터를 분석하고 분석한 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 장치에 있어서, 상기 에플리케이션으로부터의 데이터를 분석하고, 분석한 커맨드 및 데이터를 프린터 드라이버로 전송하는 PC와, 상기 에플리케이션으로부터 분석한 커맨드 및 데이터를 프린터의 펌웨어에 전송하기전에 하드 디스크 드라이브의 일정영역및 램에 저장하였다가 프린터로 전송하는 프린터 드라이버를 포함하는 것을 그 특징으로 한다.Another feature of the present invention is an apparatus for analyzing data from a PC application and transmitting the analyzed data to a printer driver and printing the data to a printer, wherein the data from the application is analyzed and the analyzed commands and data are transmitted to the printer driver. It includes a PC and a printer driver that stores the commands and data analyzed by the application in a predetermined area and RAM of the hard disk drive before transmitting to the printer firmware.

이하, 본 발명의 일실시예에 따른 구성을 첨부 도면에 의거하여 상세히 설명하면 다음과 같다.Hereinafter, the configuration according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 PC와 프린터간의 블록 구성도로서, 에플리케이션(1)으로부터의 데이터를 분석하고, 분석한 커맨드 및 데이터를 프린터 드라이버로 전송하는 PC와, 상기 에플리케이션으로부터 분석한 커맨드 및 데이터를 프린터의 펌웨어에 전송하기전에 하드 디스크 디라이브(HDD)의 일정영역 및 램(RAM)에 저장했다가 프린터(3)로 전송하는 프린터 드라이버(PD)로 구성된다.1 is a block diagram of a PC and a printer of the present invention, which analyzes data from the application 1 and transmits the analyzed command and data to the printer driver, and the command and data analyzed from the application. It consists of a printer driver (PD) which is stored in a predetermined area of the hard disk de-live (HDD) and RAM (RAM) before being transferred to the firmware of the firmware and transmitted to the printer (3).

도 2a,b는 본 발명에 따른 신호 흐름도로서, 히스터리 입력 옵션 선택인가를 판별하는 단계(S1)와, 입력 옵션선택이면 하드 디스크 드라이브의 일정영역확보인가를 판별하는 단계(S2)와, 일정영역확보이면 램에 이름 테그와 에플리케이션으로부터 분석한 커맨드 및 데이터를 저장하는 단계(S3)와, 상기 커맨드 및 데이터 저장후 히스터리 출력 옵션 선택인가를 판별하는 단계(S5)와, 출력 옵션선택이면 이름 테그가 지적되었는가를 판별하고(S6) 이름테그 지적이면 상기 하드 디스크 드라이브 및 램에 저장된 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 단계(S8)로 포함되어 구성된다.2A and 2B are signal flows according to the present invention, in which step S1 of determining whether or not a hysteresis input option is selected, and step S2 of determining whether a predetermined area of a hard disk drive is secured when input option is selected, and Storing the command and data analyzed from the name tag and the application in the RAM if the area is secured (S3), determining whether or not the hysteresis output option is selected after storing the command and the data (S5); It is determined whether the tag is pointed out (S6), and if the name tag is pointed out, the data stored in the hard disk drive and the RAM are transmitted to the printer driver and printed by the printer (S8).

이와 같이 구성된 본 발명의 작용효과를 설명하면 다음과 같다.Referring to the effects of the present invention configured as described above are as follows.

먼저, 에플리케이션(1)으로부터의 데이터를 분석하고 분석한 커맨드 혹은 데이터를 프린터(3)의 펌웨어로 전송한다.First, the data from the application 1 is analyzed and the analyzed commands or data are transmitted to the firmware of the printer 3.

이때 펨웨어에 적합한 데이터는 PC내의 램(RAM)과 하드 디스크 드라이브(HDD)에 저장된다. 이렇게 저장된 데이터는 센트로닉스(contronics)를 통해 펌웨어로 전송이 완료되고나면 모두 지워진다.At this time, the data suitable for the firmware is stored in the RAM (RAM) and the hard disk drive (HDD) in the PC. The data stored in this way is erased after completion of transfer to firmware via Centronics.

그리고 프린터 드라이버(PD)는 에플리케이션(1)의 정보데이터에 따라 복사(copy)매수, 오리엔테이션(oriontation), 히스터리 파일(History file)등의 정보를 프린터(3)의 펌웨어에 전달하는 기능을 가지고 있다.The printer driver PD has a function of transferring information, such as the number of copies, an orientation, and a history file, to the firmware of the printer 3 according to the information data of the application 1. have.

이러한 프린터 드라이버(PD)는 에플리케이션(1)으로부터 분석된 커맨드 혹은 데이터를 프린터(3)의 펌웨어에 전달하기전에 이미 그 모든 데이터를 하드 디스크 드라이브(HDD) 혹은 램(RAM)에 저장했다가 프린터(3)로 전송하여 인쇄할 수 있는 히스터리 기능을 추가한다.The printer driver PD has already stored all the data in the hard disk drive (HDD) or RAM (RAM) before transferring the command or data analyzed from the application 1 to the firmware of the printer 3 and then the printer ( 3) Add a hysterics function that can be sent to print.

이렇게 프린터 드라이버(PD)의 기능중에 상기와 같은 히스터리 기능을 추가하므로써 이 히스터리 기능이 설정되지 않으면 모든 데이터는 종래의 방법과 동일하게 처리한다.If the hysteresis function is not set by adding the above hysteresis function among the functions of the printer driver PD as described above, all data are processed in the same manner as in the conventional method.

이러한 상태에서 중앙처리장치(CPU)는 일단 히스터리 입력 옵션이 선택되었는가를 판별하여(S1) 아니면 프린터(3)로 정상 인쇄하고(S4), 히스터리 입력 옵션이면(S1) 중앙처리장치(CPU)에서는 하드 디스크 드라이브(HDD)의 일정영역이 확보되었는가를 판별하여(S2) 아니면 프린터(3)로 정상 인쇄하고, 일정영역 확보이면 하드 디스크 드라이브(HDD)의 여유공간을 히스터리 버퍼로 할당하여 에플리케이션(1)으로부터 분석한 커맨드 혹은 데이터와 이름 테그(에플리케이션/파일명/파일크기/시간/날짜등)를 프린터(3)의 펌웨어에 전송하기전에 하드 디스크 드라이브(HDD) 및 램(RAM)에 저장한다(S3).In this state, the CPU determines whether the hysteresis input option has been selected (S1) or normally prints to the printer 3 (S4), and if the hysteresis input option is (S1), the CPU (CPU) ), It is determined whether a predetermined area of the hard disk drive (HDD) is secured (S2) or the printer 3 is normally printed. If the fixed area is secured, the free space of the hard disk drive (HDD) is allocated as a history buffer. Save commands or data and name tags (application / file name / file size / time / date, etc.) analyzed by the application 1 to the hard disk drive (HDD) and RAM (RAM) before transferring them to the printer 3 firmware. (S3).

상기 램(RAM)에 저장되는 데이터는 최근에 사용한 순서로 수개(약 10개)정도를 하드 디스크 드라이브(HDD)가 허락할때까지 저장한다.The data stored in the RAM is stored in the order recently used until the hard disk drive HDD permits several (about 10) data.

이때 사용자가 동일한 데이터를 레지스트할 경우에 프린터 드라이버(PD)는 이미 사용자데이터(2)가 하드 디스크 드라이브(HDD)에 존재한다는 것을 사용자에게 알려준다.At this time, when the user registers the same data, the printer driver PD informs the user that the user data 2 already exists in the hard disk drive HDD.

이러한 상태에서 일단 사용자가 히스터리 출력 옵션을 선택하면(S5) 최근에 출력한 이름 테그(에플리케이션 및 파일명)을 팝-업(POP-UP)하고, 이름 테그가 지적되면(S6) 프린터 드라이버(PD)는 하드 디스크 드라이브(HDD) 및 램(RAM)에 저장된 커맨드 혹은 데이터(S7)를 프린터(3)로 전송하여 인쇄한다(S8).In this state, once the user selects the hysteresis output option (S5), the recently printed name tag (application and file name) is popped up (POP-UP), and when the name tag is indicated (S6), the printer driver (PD) ) Transmits a command or data (S7) stored in the hard disk drive (HDD) and RAM (RAM) to the printer 3 to print (S8).

이상에서와 같이 동작되는 본 발명은 사용자가 특정 출력물을 종래와 같이 동일한 것을 원한다면 에플리케이션과 특정데이터를 PC에 로드하지 않고, 에플리케이션으로부터 분석된 커맨드 혹은 데이터를 램에 임시 저장하였다가 프린터 드라이버에 전송하여 프린터로 인쇄하므로써 사용자의 편의를 제공하고, 또한 PC사용의 효율을 향상시키는 효과가 있다.According to the present invention operated as described above, if a user wants a specific output to be the same as before, the application or specific data are not loaded into a PC, but the command or data analyzed from the application is temporarily stored in a RAM and then transmitted to a printer driver. By printing with a printer, there is an effect of providing convenience to the user and improving the efficiency of using a PC.

Claims (2)

PC 에플리케이션으로부터 데이터를 분석하고 분석한 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 방법에 있어서,In the method of analyzing the data from the PC application and sending the analyzed data to the printer driver and printing to the printer, 히스터리 입력 옵션선택인가를 판별하는 단계와;Determining whether the history input option is selected; 입력 옵션선택이면 하드 디스크 드라이브의 일정영역확보인가를 판별하는 단계와;Determining whether to secure a predetermined area of the hard disk drive if the input option is selected; 일정영역확보이면 램에 이름 테그와 에플리케이션으로부터 분석한 커맨드 및 데이터를 저장하는 단계와;Storing the command and data analyzed from the name tag and the application in the RAM if the predetermined area is secured; 커맨드 및 데이터 저장후 히스터리 출력 옵션 선택인가를 판별하는 단계와;Determining whether the history output option is selected after storing the command and data; 출력 옵션선택이면 이름 테그가 지적되었는가를 판별하는 단계와;If an output option is selected, determining whether a name tag is indicated; 이름 테그 지적이면 램에 저장된 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 단계를 포함하는 것을 특징으로 하는 데이터 저장 방법.And if the name tag is pointed out, transmitting the data stored in the RAM to the printer driver and printing to the printer. PC 에플리케이션으로부터 데이터를 분석하고 분석한 데이터를 프린터 드라이버에 전송하고 프린터로 인쇄하는 장치에 있어서,In the device for analyzing the data from the PC application and sending the analyzed data to the printer driver and printing to the printer, 상기 에플리케이션으로부터 데이터를 분석하고, 분석한 커맨드 및 데이터를 프린터 드라이버에 전송하는 PC와;A PC for analyzing data from the application and transmitting the analyzed command and data to a printer driver; 상기 에플리케이션으로부터 분석한 커맨드 및 데이터를 프린터의 펌웨어에 전송하기전에 하드 디스크 드라이브의 일정영역 및 램에 저장하였다가 프린터로 전송하는 프린터 드라이버를 포함하는 것을 특징으로 하는 데이터 저장 장치.And a printer driver for storing the command and data analyzed by the application in a predetermined area and a RAM of the hard disk drive before transmitting the command and data to the printer firmware.
KR1019970058329A 1997-11-06 1997-11-06 Data storage method and device KR19990038544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970058329A KR19990038544A (en) 1997-11-06 1997-11-06 Data storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970058329A KR19990038544A (en) 1997-11-06 1997-11-06 Data storage method and device

Publications (1)

Publication Number Publication Date
KR19990038544A true KR19990038544A (en) 1999-06-05

Family

ID=66086969

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970058329A KR19990038544A (en) 1997-11-06 1997-11-06 Data storage method and device

Country Status (1)

Country Link
KR (1) KR19990038544A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6641439B2 (en) 2000-09-08 2003-11-04 Viewtech Ic Co., Ltd. D-subconnector provided with ferrite cores

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6641439B2 (en) 2000-09-08 2003-11-04 Viewtech Ic Co., Ltd. D-subconnector provided with ferrite cores

Similar Documents

Publication Publication Date Title
US7158243B2 (en) Printing apparatus and printing system, control method, storage medium and program
US7319533B2 (en) System for face-up printing from a duplex printer
US7068387B2 (en) Quick edit and speed print capability for a stand-alone ink jet printer
US20020131070A1 (en) Using e-mail to facilitate soft proofing and for print job status
KR970002660A (en) Printer control with monitor function
US6476938B1 (en) Print control system and method
US5483623A (en) Printing apparatus
US7385715B2 (en) Quick edit and speed print capability for a stand-alone ink jet printer
JP2004074783A (en) Method of suppressing printing of nearly-blank page
US6496279B2 (en) Image processing apparatus, method and memory medium therefor
US7352484B2 (en) Printing system and management method therefor
KR19990038544A (en) Data storage method and device
KR0155082B1 (en) Data conversion method of printer driver
JP3814371B2 (en) Information processing apparatus and method
EP1315075A2 (en) Printing engine control system and printing engine control program
JP2002244821A (en) Method of printing by using print server, print server, program and recording medium
EP1321849A2 (en) Print data output system and print data output program
KR100402917B1 (en) Method for reprint and system thereof
KR100346186B1 (en) Apparatus and method for reprinting the printed documents in pc
KR100389858B1 (en) Printer and method of processing print data by the same
JP4254252B2 (en) Printer control device and printer control program
KR100485790B1 (en) Printing system for displaying print data stored in a printer and method for controlling the same
KR100193804B1 (en) How to Support Printer Emulation Using Computer
JP3902854B2 (en) Data processing apparatus, data processing method, and storage medium
KR100341802B1 (en) Printing page number display method of printer

Legal Events

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