KR19980087636A - How to print web document - Google Patents

How to print web document Download PDF

Info

Publication number
KR19980087636A
KR19980087636A KR1019980036380A KR19980036380A KR19980087636A KR 19980087636 A KR19980087636 A KR 19980087636A KR 1019980036380 A KR1019980036380 A KR 1019980036380A KR 19980036380 A KR19980036380 A KR 19980036380A KR 19980087636 A KR19980087636 A KR 19980087636A
Authority
KR
South Korea
Prior art keywords
user
web document
output
script
check
Prior art date
Application number
KR1019980036380A
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 KR1019980036380A priority Critical patent/KR19980087636A/en
Publication of KR19980087636A publication Critical patent/KR19980087636A/en
Priority to AU45324/99A priority patent/AU4532499A/en
Priority to PCT/KR1999/000355 priority patent/WO2000014624A1/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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1206Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
    • 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/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
    • 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/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

본 발명은 웹 문서 프린팅 출력 방법에 관한 것으로서, 사용자의 라이센스 체크 및 사용자 등록 과정을 수행하는 관리 단계; 웹 문서의 출력 형식을 디자인하고 스크립을 생성하는 디자인 단계; 및 상기 단계에서 디자인된 인쇄 데이터를 분석하여 웹 문서를 출력하는 출력 단계를 포함하는 것임을 특징으로 한다. 본 발명에 의한 웹 문서 프린팅 출력 방법에 의하면, 그래픽 사용자 인터페이스 환경에서 사용자가 시각적으로 양식을 디자인 할 수 있을 뿐만 아니라, 인터넷 브라우져의 종류에 관계없이 사용이 가능하다. 본 발명에서는 웹 문서의 프린팅 출력시 단일의 프로세스로 출력되므로, 종래에 다량의 자료를 화면 단위로 조회하고 출력하는 것에 비하여 시간이 절약된다. 또한, 종래에 다량의 자료를 화면 단위로 조회 및 출력하므로 화면마다 호스트를 액서스하여야 하는 것을 개선하여 출력시 단일의 호스트를 액서스함으로써 네트워크 부하를 감소할 수 있다. 또한, 본 발명에 의한 방법이 구현된 프로그램을 서버에만 설치하고 개발자나 사용자의 컴퓨터에는 브라우져만 있으면 개발이나 사용이 가능한 장점이 있다.The present invention relates to a web document printing output method, comprising: a management step of performing a license check and user registration process of a user; A design step of designing an output format of the web document and generating a script; And an output step of outputting a web document by analyzing the print data designed in the above step. According to the web document printing output method according to the present invention, not only the user can visually design the form in a graphic user interface environment, but also can be used regardless of the type of the Internet browser. In the present invention, since the web document is printed in a single process, the time is saved as compared with the conventional query and display of a large amount of data in units of screens. In addition, since a large amount of data is inquired and output in units of screens in the related art, it is possible to improve the need to access a host for each screen, thereby reducing the network load by accessing a single host during output. In addition, the program according to the present invention is installed only on the server, the developer or the user's computer only if the browser has the advantage that can be developed or used.

Description

웹 문서 프린팅 출력 방법How to Print Web Documents

본 발명은 웹 문서 프린팅 출력 방법에 관한 것이다.The present invention relates to a web document printing output method.

최근 몇 년 동안 인터넷은 급속도로 발전하였고, 앞으로도 인터넷이 적용 분야는 무궁 무진하다고 할 수 있다. 인터넷은 단지 정보 검색을 위한 것만이 아니라, 인터넷을 이용한 경영 정보 시스템(MIS, Management Information System) 등 여타의 업무를 구현하는데 적용되기도 한다. 경영 정보 시스템은 기업에서 기업 경영에 책임을 지고 있는 경영층에 대하여 기업 경영에 관련된 의사 결정을 지원할 수 있도록 종합적인 기업 경영 자료를 보관하고 처리하는 능력을 가지고 있는 종합 정보 처리 시스템이다.In recent years, the Internet has developed rapidly, and the application of the Internet is infinite. The Internet is not just for information retrieval, but also for implementing other tasks such as the Management Information System (MIS) using the Internet. The management information system is a comprehensive information processing system that has the ability to store and process comprehensive corporate management data to support decision-making related to the management of the management who is responsible for the management of the company.

이와 같은 인터넷을 이용한 업무 구현에서 프린팅 출력 기능은 필수적이다.The printing output function is essential in implementing such a business using the Internet.

그러나, 인터넷 브라우져에서의 출력 기능은 단지 화면을 출력하는 것이므로 사용자가 원하는 특정 양식으로의 출력이 불가능하다. 따라서 별도의 웹 문서 프린팅 방법이 필요를 한다.However, the output function of the Internet browser is to output only the screen, so that the output in a specific form desired by the user is impossible. Therefore, a separate web document printing method is needed.

종래의 웹 문서 프린팅 기법으로는 상용화된 프로그램인'CHILLY REPORT', 'CRYSTAL REPORT', 'SQR4'가 있다. 이중에서 'CHILLY REPORT'는 IIS 웹서버와 ASP가 필수적이고, 사용자 PC에는 엑셀 뷰어(Excel Viewer)가 있어야만 사용할 수 있고, 또한 ASP로만 데이터베이스 접속이 가능하다. 'CRYSTAL REPORT'는 액티브 X(ACTIVE X)로 제공되고, 따라서 인터넷 브라우져가 익스플로러에서만 구현이 가능할 뿐만 아니라, 용량이 약 16메가로 매우 큰 단점이 있다. 'SQR4'는 출력 기능은 매우 우수하지만 별도의 데이터베이스 접속이라든지 여러 가지 기능의 구현을 위하여 자체 언어를 습득하여야 하는 단점이 있다.Conventional web document printing techniques include commercially available programs 'CHILLY REPORT', 'CRYSTAL REPORT' and 'SQR4'. Of these, 'CHILLY REPORT' requires IIS web server and ASP, and requires user's PC to have Excel Viewer. Also, database connection is available only through ASP. CRYSTAL REPORT is provided as ACTIVE X, so Internet browsers can only be implemented in Explorer, and the capacity is about 16 megabytes. 'SQR4' has a very good output function, but it has a disadvantage of having to learn its own language for separate database connection or to implement various functions.

본 발명은 상기한 바와 같은 종래의 웹 문서 프린팅 방법들의 단점을 해결하기 위한 것으로서, 본 발명의 목적은 서버의 운영 체계와 관계없이 사용할 수 있는 웹 문서 프린팅 출력 방법을 제공하는 것이다.The present invention is to solve the disadvantages of the conventional web document printing methods as described above, an object of the present invention is to provide a web document printing output method that can be used regardless of the operating system of the server.

본 발명의 또 다른 목적은 인터넷 브라우져의 종류와 관계없이 사용이 가능한 웹 문서 프린팅 출력 방법을 제공하는 것이다.Still another object of the present invention is to provide a web document printing output method that can be used regardless of the type of Internet browser.

본 발명의 또 다른 목적은 웹 서버의 종류와 관계없이 사용이 가능한 웹 문서 프린팅 출력 방법을 제공하는 것이다.Still another object of the present invention is to provide a web document printing output method that can be used regardless of the type of web server.

본 발명의 또 다른 목적은 그래픽 사용자 인터페이스(GUI)에서 시각적으로 출력 양식을 디자인하여 사용자가 원하는 형태의 문서를 용이하게 작성하여 출력할 수 있는 웹 문서 프린팅 출력 방법을 제공하는 것이다.It is still another object of the present invention to provide a web document printing output method that enables a user to easily create and output a document in a desired form by designing an output form visually in a graphical user interface (GUI).

본 발명의 또 다른 목적은 본 발명에 의한 방법이 구현된 프로그램은 서버에만 설치하고 개발자 또는 사용자의 컴퓨터에는 브라우져만 있으면 개발이나 사용이 가능하도록 하는 기능을 제공하는 것이다.It is still another object of the present invention to provide a function for installing or implementing a program in which the method according to the present invention is installed only on a server and having a browser on a developer or user's computer.

도1은 본 발명에 의한 웹 문서 프린팅 출력 방법의 사용자 관리 단계의 상세 흐름도,1 is a detailed flowchart of a user management step of a web document printing output method according to the present invention;

도2는 본 발명에 의한 웹 문서 프린팅 출력 방법의 디자인 단계의 상세 흐름도,2 is a detailed flowchart of a design step of a web document printing output method according to the present invention;

도3은 본 발명에 의한 웹 문서 프린팅 출력 방법의 출력 단계의 상세 흐름도,3 is a detailed flowchart of an output step of a web document printing output method according to the present invention;

도4는 도3의 출력 단계에서의 텍스트 출력 동작의 상세 흐름도4 is a detailed flowchart of the text output operation in the output step of FIG.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명에 의한 웹 문서 프린팅 출력 방법은, 사용자의 라이센스 체크 및 사용자 등록 과정을 수행하는 관리 단계; 웹 문서의 출력 형식을 디자인하고 스크립을 생성하는 디자인 단계; 및 상기 단계에서 디자인된 인쇄 데이터를 분석하여 웹 문서를 출력하는 출력 단계를 포함하는 것임을 특징으로 한다.In order to achieve the object as described above, the web document printing output method according to the present invention includes a management step of performing a license check and user registration process of the user; A design step of designing an output format of the web document and generating a script; And an output step of outputting a web document by analyzing the print data designed in the above step.

이하에서 첨부된 도면을 참조하면서 본 발명의 바람직한 일실시예를 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도1은 본 발명의 일실시예에 의한 웹 문서 프린팅 방법의 관리 단계의 상세 흐름도이다.1 is a detailed flowchart of a management step of a web document printing method according to an embodiment of the present invention.

도1에 도시된 바와 같이 본 발명에 의한 웹 문서 프린팅 방법의 관리 단계는, 사용자의 IP 어드레스, 부서, 성명 등의 환경 파일을 읽어서(단계: 100), 서버 소켓을 생성하는 것(단계: 101)으로부터 시작된다. 서버 소켓 생성 후, 대기하다가(단계: 102) 사용자가 접속되었는지 확인하여(단계: 103), 사용자가 접속되었으면 개별 사용자별 체크 쓰레드를 수행하고, 사용자가 접속되지 않았으면 다시 대기 상태로 되돌아간다.As shown in Fig. 1, the management step of the method for printing a web document according to the present invention includes reading a configuration file such as an IP address, a department, a name of a user (step 100), and creating a server socket (step 101). Starts from). After the server socket is created, the server waits (step 102), checks whether the user is connected (step 103), and if the user is connected, executes a check thread for each user, and if the user is not connected, returns to the standby state.

개별 사용자별 체크 쓰레드가 시작되면(단계: 104), 사용자의 IP를 추출한다(단계: 105). 등록된 사용자가 라이센스 수보다 작은지를 확인하여(단계: 106), 등록된 사용자가 라이센스 수보다 작은 경우에는 'OK'신호를 전송하고(단계: 107), 등록된 사용자인가 확인하여(단계: 108), 등록된 사용자인 경우에는 체크 쓰레드를 종료하고(단계: 113), 등록된 사용자가 아닌 경우에는 사용자의 IP를 등록한 후(단계: 112), 체크 쓰레드를 종료한다(단계: 113). 한편, 단계 106에서 등록된 사용자가 라이센스 수보다 작지 않은 경우에는 등록된 사용자인가를 확인하고(단계: 109), 등록된 사용자인 경우에 'OK'신호를 전송하고(단계: 110), 체크 쓰레드를 종료한다(단계: 113). 또한, 단계 109에서 확인한 결과, 등록된 사용자가 아닌 경우에는 'NO'신호를 전송하고 체크 쓰레드를 종료한다(단계: 113).Once the individual user check thread is started (step 104), the user's IP is extracted (step 105). Check if the registered user is smaller than the number of licenses (step 106), if the registered user is smaller than the number of licenses, send a 'OK' signal (step 107), and check if the registered user is a registered user (step 108) In the case of a registered user, the check thread is terminated (step 113). If the user is not a registered user, the check thread is registered (step 112), and the check thread is terminated (step 113). On the other hand, if the registered user is not less than the number of licenses in step 106 (step: 109), and if the user is a registered user transmits an 'OK' signal (step: 110), check thread End (step 113). In addition, as a result of checking in step 109, if it is not a registered user, it transmits a 'NO' signal and terminates the check thread (step: 113).

도2는 본 발명의 일실시예에 의한 웹 문서 프린팅 방법의 디자인 단계의 상세 흐름도이다.2 is a detailed flowchart of a design step of a web document printing method according to an embodiment of the present invention.

디자인 단계는 사용자가 원하는 양식으로 웹 문서를 프린팅 출력하기 위하여, 웹 문서의 출력 양식을 디자인하고 그에 따른 스크립을 생성하는 단계이다.The design phase is a step of designing an output form of a web document and generating a script according to printing a web document in a form desired by a user.

디자인 단계는 각종 변수를 초기화하는 것(단계: 201)으로부터 시작된다. 변수를 초기화한 후에, 그림 이벤트를 체크한다(단계: 202). 그림 이벤트 중 '선'에 관한 것인지를 판단하여(단계: 203), '선' 그리기를 호출하고(단계: 204), 그림 이벤트 중 '사각형'에 관한 것이면(단계: 205), '사각형' 그리기를 호출하고(단계: 206), 그림 이벤트 중 '문자열'에 관한 것이면(단계: 207), '문자열' 그리기를 호출하고(단계: 208), 그림 이벤트 중 '표'에 관한 것이면(단계: 209), '표' 그리기를 호출하고(단계: 210), 그림 이벤트 중 '이미지'에 관한 것이면(단계: 211), '이미지' 그리기를 호출한다(단계: 212).The design phase begins with initializing the various variables (step 201). After initializing the variable, check the picture event (step 202). Determine if the picture event is about 'line' (step: 203), call 'draw' drawing (step: 204), and if the picture event is about 'square' (step: 205), draw 'square' Call (step: 206), if the picture event is about 'string' (step: 207), then call 'draw the string' (step: 208), and if the picture event is about 'table' (step: 209) Call the drawing of the table (step 210), and call the drawing of the image (step 212) if the image event is related to the image (step 211).

상기한 바와 같이 그림 이벤트를 체크하여 해당하는 그리기를 호출한 후, 그리기 객체 편집을 요청하였는가를 확인한다(단계: 213). 확인 결과, 그리기 객체 편집을 요청한 경우에는 그리기 객체 편집을 수행하고(단계: 214), 그리기 객체 편집을 요청하지 않은 경우에는 CGI(Computer Graphics Interface) 타입 변경을 요청하였는가를 확인하여(단계: 215), CGI 타입 변경을 요청한 경우 CGI 타입 변경 절차를 밟는다(단계: 216).As described above, the drawing event is checked and the corresponding drawing is called, and then it is checked whether the editing of the drawing object is requested (step 213). As a result of the check, if the drawing object is edited, the drawing object is edited (step: 214). If the drawing object is not edited, it is checked whether or not a change in the CGI (Computer Graphics Interface) type is requested (step: 215). When the CGI type change is requested, the CGI type change procedure is performed (step 216).

상기한 단계들에서 그리기 객체 편집을 수행하였거나(단계: 214), CGI 타입 변경을 한 경우(단계: 216), 또는 그리기 객체 편집을 요청하지 않았고 CGI 타입 변경을 요청하지 않은 경우에 다음 단계(a 이하)로서 스크립 생성을 요청하였는가를 확인한다(단계: 217).If the drawing object has been edited in the above steps (step: 214), if the CGI type is changed (step: 216), or if the editing of the drawing object is not requested and the CGI type is not requested, the next step (a In step 217, it is checked whether or not a script generation is requested.

스크립 생성을 요청하지 않은 경우에는 다음 단계(b 이하)로 진행하고, 스크립 생성을 요청한 경우에는 그리기 객체가 EOF(End Of File)인가를 확인하여(단계: 218), 그리기 객체가 EOF인 경우 다음 단계(b 이하)로 진행한다.If no script creation is requested, proceed to the next step (b or less) .If a script creation is requested, check whether the drawing object is an End Of File (EOF) (step 218), and if the drawing object is EOF, Proceed to step (b or below).

한편, 상기 단계 218에서 그리기 객체가 EOF가 아닌 경우에는 선, 사각형, 문자열, 표, 이미지인지를 각각 확인하여(단계: 219, 221, 223, 225, 227), 선 스크립, 사각형 스크립, 문자열 스크립, 표 스크립, 이미지 스크립을 생성한다(단계: 220, 222, 224, 226, 228).On the other hand, if the drawing object in step 218 is not EOF, it is checked whether the line, rectangle, string, table, image (step: 219, 221, 223, 225, 227), line script, rectangle script, string script Create table scripts, image scripts (steps 220, 222, 224, 226, 228).

상기 단계 217에서 스크립 생성을 요청하지 않았거나, 또는 상기 단계 218에서 그리기 객체가 EOF가 아닌 경우에는 인쇄를 요청하였는지를 확인하여(단계: 229), 인쇄를 요청한 경우에는 프린트 출력을 호출하고(단계: 230), 그림 이벤트를 체크하는 단계 202로 되돌아간다.If the script has not been requested to generate the script in step 217 or if the drawing object is not EOF in step 218, it is checked whether a print request is requested (step 229), and if print is requested, print output is called (step: 230, the process returns to step 202 for checking the picture event.

한편, 상기 단계 229에서 확인한 결과, 인쇄를 요청하지 않은 경우에는, 프로그램 종료를 요청하였는지를 체크하여(단계: 231), 프로그램 종료를 요청하지 않은 경우에는 그림 이벤트를 체크하는 단계 202로 되돌아간다.On the other hand, as a result of checking in step 229, if a print request is not requested, it is checked whether or not a program termination is requested (step 231), and when the program is not requested, the process returns to step 202 for checking a picture event.

한편, 단계 231에서 프로그램 종료를 요청한 경우에는 프로젝트 저장 여부를 확인하여(단계: 232), 프로젝트가 이미 저장된 경우에는 디자인 단계를 종료하고, 프로젝트가 저장되지 않은 경우에는 프로젝트 저장 요청이 있는지를 확인하여(단계: 233), 프로젝트 저장 요청이 없는 경우에는 그대로 디자인 단계를 종료하고, 프로젝트 저장 요청이 있는 경우에는 프로젝트를 저장하고(단계: 234), 소스를 저장한 뒤(단계: 235) 디자인 단계를 종료한다.On the other hand, if the request for exiting the program is requested in step 231 (step 232), if the project has already been saved, the design phase is terminated. If the project has not been saved, if there is a request to save the project, (Step 233), if there is no project save request, exit the design phase, if there is a project save request, save the project (step 234), save the source (step 235) Quit.

도3은 본 발명의 일실시예에 의한 웹 문서 프린팅 출력 방법의 출력 단계의 상세 흐름도이다.Figure 3 is a detailed flowchart of the output step of the web document printing output method according to an embodiment of the present invention.

본 발명에 의한 웹 문서 프린팅 출력 방법의 출력 단계는 관리 단계에서 라이센스 체크 서버가 'OK'신호를 전송하였는지를 확인하는 단계(단계: 301)로부터 시작된다. 상기 단계의 확인 결과 라이센스 체크 서버가 'OK'가 아니면 프린트 버튼을 비활성화하고(단계: 302) 출력 단계를 종료한다.The output step of the web document printing output method according to the present invention starts from the step of checking whether the license check server transmits an 'OK' signal in the management step (step 301). If the license check server is not 'OK' as a result of the checking of the above step, the print button is deactivated (step 302) and the output step ends.

한편, 상기 단계 301에서 라이센스 체크 서버가 'OK'이면 각종 변수를 초기화한다(단계: 303). 그런 다음, CGI(Computer Graphics Interface) 프로그램 데이터 수신이 EOF(End Of File)인지를 확인한다(단계: 304). 확인 결과 프로그램 데이터 수신이 EOF이면 a 이하의 단계로 가고, 확인 결과 프로그램 데이터 수신이 EOF가 아니면 데이터가 레이아웃 부분인지를 확인한다(단계: 305). 확인 결과 데이터가 레이아웃 부분인 경우, 프린트를 기본 셋팅한다(단계: 306). 프린트 기본 셋팅 단계에서는 인쇄 방향, 종이 크기, 기본 폰트 등을 분리한다.Meanwhile, when the license check server is 'OK' in step 301, various variables are initialized (step 303). Then, it is checked whether the reception of Computer Graphics Interface (CGI) program data is End of File (EOF) (step 304). If the result of the check indicates that the program data reception is EOF, the process goes to step a or below. If the result of the check indicates that the program data reception is not EOF, it is checked whether the data is a layout part (step 305). If the result of the check is the layout part, printing is basically set (step 306). In the basic printing step, the printing direction, paper size, and basic font are separated.

한편, 상기 단계 305에서 확인 결과, 데이터가 레이아웃 부분이 아닌 경우에는, 데이터가 고정 형식(FixedForm) 부분인가를 확인한다(단계: 307). 확인 결과 데이터가 고정 형식 부분인 경우에 고정 형식을 저장한다(단계: 308). 이 단계에서는 페이지 스킵시 필요한 고정 형식을 저장하는 것이다.On the other hand, if the data is not the layout portion as a result of the check in step 305, it is checked whether the data is a fixed form (fixed form) portion (step: 307). If the result of the check is the fixed format portion, the fixed format is stored (step 308). In this step, you will save the fixed format needed for page skips.

한편, 상기 단계 307에서 확인 결과, 데이터가 고정 형식(FixedForm) 부분이 아닌 경우에는 데이터가 이미지 부분인가를 확인한다(단계: 309). 확인 결과 데이터가 이미지 부분인 경우에는 이미지 로딩을 수행한다(단계: 310). 이미지 로딩 단계에서는 해당 URL의 이미지를 저장한다.On the other hand, if the result of the check in step 307, if the data is not a fixed form (FixedForm) part, it is confirmed whether the data is an image part (step: 309). If the result of the check is the image part, image loading is performed (step 310). In the image loading step, the image of the URL is saved.

한편, 상기 단계 309에서 확인 결과, 데이터가 이미지 부분이 아닌 경우에는 스크립 부분을 저장하고(단계: 311) 상기 단계 304로 되돌아간다. 이 단계에서는 일반 스크립을 저장한다.On the other hand, if the check result in step 309, if the data is not the image portion, the script portion is stored (step: 311) and returns to the step 304. In this step, you save the normal script.

상기 단계 304에서 확인 결과, CGI 프로그램 데이터 수신이 EOF이면, 프린트 버튼이 눌렀는가를 확인한다(단계: 312). 확인 결과, 프린트 버튼이 눌러있지 않으면 다시 복귀하고, 프린트 버튼이 눌러있으면 저장된 스크립 읽기가 EOF인가를 확인한다(단계: 313). 확인 결과, 저장된 스크립 읽기가 EOF이면 프린트를 종료하고(단계: 314), 상기 단계 312로 되돌아간다.If it is confirmed in step 304 that the reception of the CGI program data is EOF, it is checked whether the print button is pressed (step 312). As a result of the check, if the print button is not pressed, it is returned again. If the print button is pressed, it is checked whether the stored script reading is EOF (step: 313). If the result of the check is that the stored script read is EOF, the printing is terminated (step 314), and the process returns to the step 312.

상기 단계 313에서의 확인 결과, 저장된 스크립 읽기가 EOF가 아니면 인쇄 옵션에 설정된 출력범위인가를 확인한다(단계: 315). 확인 결과, 인쇄 옵션에 설정된 출력 범위가 아닌 경우에는 상기 단계 313으로 되돌아가고, 인쇄 옵션에 설정된 출력 범위인 경우에는 토큰을 분리한다(단계: 316).As a result of the check in step 313, it is checked whether or not the stored script read is the output range set in the print option (step 315). As a result of the check, if the output range is not set in the print option, the process returns to step 313, and if the output range is set in the print option, the token is separated (step 316).

토큰을 분리한 후, 토큰이 라인이면(단계: 317), 라인 분석 함수를 호출한다(단계: 318). 이 단계에서는 라인의 좌표값을 추출하여 라인을 그린다.After separating the token, if the token is a line (step 317), call the line analysis function (step 318). In this step, a line is drawn by extracting the coordinate values of the line.

토큰이 박스이면(단계: 319), 박스 분석 함수를 호출한다(단계: 320). 이 단계에서는 박스의 좌표값과 역상 타입을 추출하여 박스를 그린다.If the token is a box (step 319), the box analysis function is called (step 320). In this step, we draw the box by extracting the coordinates of the box and the inverse type.

토큰이 'HLINE' 또는 'VLINE'이면(단계: 321), 라인2 분석 함수를 호출한다(단계: 322). 이 단계에서는 테이블용 라인의 좌표값과 속성값을 추출하여 라인을 그린다.If the token is 'HLINE' or 'VLINE' (step 321), the line 2 analytic function is called (step 322). In this step, a line is drawn by extracting the coordinate values and attribute values of the table line.

토큰이 프린트이면(단계: 323), 텍스트 분석 함수를 호출한다(단계: 324). 이 단계에서는 텍스트의 좌표값과 속성, 폰트 설정 등의 값을 추출하여 텍스트를 그린다. 이 단계는 다음의 도4에서 더욱 상세하게 설명하기로 한다.If the token is a print (step 323), then call the text analysis function (step 324). In this step, the text is drawn by extracting the coordinate values, attributes, and font settings of the text. This step will be described in more detail in the following FIG. 4.

토큰이 이미지이면(단계: 325), 이미지 분석 함수를 호출한다(단계: 326). 이 단계에서는 이미지 저장 레코드에 저장되어 있는 이미지를 그린다.If the token is an image (step 325), then call the image analysis function (step 326). This step draws an image stored in an image storage record.

토큰이 컬러셋팅이면(단계: 327), 컬러 분석 함수를 호출한다(단계: 328). 이 단계에서는 16진수로 된 RGB 컬러값을 10진수로 변화하여 컬러를 셋팅한다.If the token is a color setting (step 327), then call the color analysis function (step 328). This step sets the color by changing the RGB color value in hexadecimal to decimal.

토큰이 포맷이면(단계: 329), 포맷 마스크 함수를 호출한다(단계: 330). 이 단계에서는 일반적인 숫자나 문자의 값을 특정 포맷으로 변환한다.If the token is in format (step 329), then the format mask function is called (step 330). This step converts common numeric or character values into a specific format.

토큰이 페이지 스킵이면(단계: 331), 프린트 출력을 호출한다(단계: 332). 이 단계에서는 캔버스에 그려진 리포트를 프린트로 출력한다.If the token is page skip (step 331), then print output is called (step 332). In this step, you print out the report drawn on the canvas.

상기한 바와 같은 토큰 분리 과정과 토큰의 각 종류에 따른 함수를 호출하는 단계들을 완료하면, 상기 단계 313으로 복귀한다.When the token separation process and the steps of calling a function according to each type of token are completed as described above, the process returns to step 313.

도4는 도3의 출력 단계에서의 텍스트 출력 동작의 상세 흐름도이다.4 is a detailed flowchart of a text output operation in the output step of FIG.

도3에서 텍스트 분석 함수를 호출하면(단계: 324), 먼저, 포맷 마스크 또는 페이지를 찍는지를 확인한다(단계: 401). 확인 결과, 포맷 마스크 또는 페이지를 찍는 경우에는 출력할 텍스트를 저장한다(단계: 402). 그런 다음, 출력할 텍스트의 폭을 구한다(단계: 403). 다음 단계에서는 출력할 텍스트가 긴 문장인지를 확인한다(단계: 404). 출력할 텍스트가 긴 문장인 경우에는 출력하려는 문자 길이만큼 문자 출력을 수행한다(단계: 405). 한편, 출력할 텍스트가 긴 문장이 아닌 경우에는 출력할 텍스트가 좌측 정렬인가를 확인한다(단계: 406). 확인 결과, 출력할 텍스트가 좌측 정렬인 경우에는 해당 좌표에 텍스트를 출력한다(단계: 407). 확인 결과, 출력할 텍스트가 좌측 정렬이 아닌 경우에는 우측 정렬인가를 확인한다(단계: 408). 확인 결과, 출력할 텍스트가 우측 정렬이면 출력할 텍스트의 폭만큼 우로 이동한 후(단계: 409), 텍스트를 출력한다(단계: 410).When the text analysis function is called in FIG. 3 (step 324), first, it is checked whether a format mask or page is taken (step 401). As a result of the check, when the format mask or the page is taken, the text to be output is stored (step 402). Then, obtain the width of the text to be output (step 403). The next step is to check whether the text to be output is a long sentence (step 404). If the text to be output is a long sentence, the character is output as long as the character length to be output (step 405). On the other hand, if the text to be output is not a long sentence, it is checked whether the text to be output is left-aligned (step: 406). As a result of the check, if the text to be output is left-aligned, the text is output at the corresponding coordinates (step 407). As a result of the check, if the text to be output is not left-aligned, it is checked whether it is right-aligned (step 408). As a result of the check, if the text to be output is right-aligned, the text is moved to the right by the width of the text to be output (step 409), and the text is output (step 410).

상기한 단계들에 의하여 텍스트를 출력한 다음, 밑줄 여부를 확인한다(단계: 411). 확인 결과, 밑줄이 있는 경우에는 텍스트 폭만큼 아래로 라인을 출력한 후(단계; 412), 종료한다.After outputting the text according to the above-described steps, it is checked whether it is underlined (step 411). As a result of the check, if there is an underline, the line is output down by the text width (step 412), and then ends.

이상에서 설명한 바와 같이, 본 발명에 의한 웹 문서 프린팅 출력 방법에 의하면, 그래픽 사용자 인터페이스 환경에서 사용자가 시각적으로 양식을 디자인 할 수 있을 뿐만 아니라, 인터넷 브라우져의 종류에 관계없이 사용이 가능하다. 본 발명에서는 웹 문서의 프린팅 출력시 단일의 프로세스로 출력되므로, 종래에 다량의 자료를 화면 단위로 조회하고 출력하는 것에 비하여 시간이 절약된다. 또한, 종래에 다량의 자료를 화면 단위로 조회 및 출력하므로 화면마다 호스트를 액서스하여야 하는 것을 개선하여 출력시 단일의 호스트를 액서스함으로써 네트워크 부하를 감소할 수 있다. 또한, 본 발명에 의한 방법이 구현된 프로그램을 서버에만 설치하고 개발자나 사용자의 컴퓨터에는 브라우져만 있으면 개발이나 사용이 가능한 장점이 있다.As described above, according to the web document printing output method according to the present invention, the user can visually design the form in a graphic user interface environment, and can be used regardless of the type of the Internet browser. In the present invention, since the web document is printed in a single process, the time is saved as compared with the conventional query and display of a large amount of data in units of screens. In addition, since a large amount of data is inquired and output in units of screens in the related art, it is possible to improve the need to access a host for each screen, thereby reducing the network load by accessing a single host during output. In addition, the program according to the present invention is installed only on the server, the developer or the user's computer only if the browser has the advantage that can be developed or used.

Claims (4)

웹 문서 프린팅 출력 방법에 있어서,In the web document printing output method, 사용자의 라이센스 체크 및 사용자 등록 과정을 수행하는 사용자 관리 단계;A user management step of performing a license check and user registration process of a user; 웹 문서의 출력 형식을 디자인하고 스크립을 생성하는 디자인 단계; 및A design step of designing an output format of the web document and generating a script; And 상기 단계에서 디자인된 인쇄 데이터를 분석하여 웹 문서를 출력하는 출력 단계를 포함하는 것임을 특징으로 하는 웹 문서 프린팅 출력 방법.And outputting a web document by analyzing the print data designed in the above step. 제1항에 있어서, 상기 사용자 관리 단계는,The method of claim 1, wherein the user management step, 사용자 접속 후 개별 사용자별 체크 쓰레드를 수행하며, 체크 쓰레드에서는 등록 사용자가 라이센스 수보다 작은 경우, 신규한 사용자의 IP를 등록하고, 등록 사용자가 라이센스 수보다 작지 않은 경우 신규 사용자의 IP 등록을 수행하지 않는 것임을 특징으로 하는 웹 문서 프린팅 출력 방법.After the user connects, the check thread for each user is executed.In the check thread, if the registered user is smaller than the license number, the new user's IP is registered. If the registered user is not smaller than the license number, the new user's IP registration is not performed. Web document printing output method characterized in that. 제2항에 있어서, 상기 디자인 단계는,The method of claim 2, wherein the design step, 그림 이벤트를 체크하여 선, 사각형, 문자열, 표, 이미지에 따라서 선 그리기, 사각형 그리기, 문자열 그리기, 표 그리기, 이미지 그리기를 각각 호출하고,Check the picture event and call line, rectangle, string, table, image along the line, rectangle, string, table, and image respectively. 스크립 생성을 요청하는 경우 선, 사각형, 문자열, 표, 이미지에 따라서 선 스크립, 사각형 스크립, 문자열 스크립, 표 스크립, 이미지 스크립을 각각 생성하는 것임을 특징으로 하는 웹 문서 프린팅 출력 방법.When a script generation request is made, a web document printing output method comprising generating a line script, a rectangle script, a string script, a table script, and an image script according to a line, a rectangle, a string, a table, and an image. 제1항에 있어서, 상기 출력 단계는,The method of claim 1, wherein the output step, 인쇄 옵션이 설정된 출력 범위인 경우, 토큰을 분리하여, 토큰이 라인, 박스, 수직 라인 또는 수평 라인, 프린트, 이미지, 컬러 셋팅, 포맷, 페이지 스킵인 경우에 각각 해당 함수를 호출하는 과정을 포함하는 것임을 특징으로 하는 웹 문서 프린팅 출력 방법.If the print option is in the set output range, separating the tokens and invoking the corresponding function if the tokens are lines, boxes, vertical lines or horizontal lines, print, image, color settings, format, page skip, respectively. Web document printing output method characterized in that.
KR1019980036380A 1998-09-04 1998-09-04 How to print web document KR19980087636A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1019980036380A KR19980087636A (en) 1998-09-04 1998-09-04 How to print web document
AU45324/99A AU4532499A (en) 1998-09-04 1999-07-03 Method for printing of web file
PCT/KR1999/000355 WO2000014624A1 (en) 1998-09-04 1999-07-03 Method for printing of web file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980036380A KR19980087636A (en) 1998-09-04 1998-09-04 How to print web document

Publications (1)

Publication Number Publication Date
KR19980087636A true KR19980087636A (en) 1998-12-05

Family

ID=19549540

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980036380A KR19980087636A (en) 1998-09-04 1998-09-04 How to print web document

Country Status (3)

Country Link
KR (1) KR19980087636A (en)
AU (1) AU4532499A (en)
WO (1) WO2000014624A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100369944B1 (en) * 2000-04-06 2003-02-05 엘지전자 주식회사 Editing and display method for information

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5523964A (en) * 1994-04-07 1996-06-04 Symetrix Corporation Ferroelectric non-volatile memory unit
DE4330242A1 (en) * 1993-09-07 1995-03-09 Hell Ag Linotype Method and device for the electronic assembly of printed sheets
US5572643A (en) * 1995-10-19 1996-11-05 Judson; David H. Web browser with dynamic display of information objects during linking
US5793938A (en) * 1995-12-28 1998-08-11 Ikon Office Solutions, Inc. Document printing management system
EP0782068A1 (en) * 1995-12-29 1997-07-02 Deluxe Corporation Remote printing system
WO1998020411A1 (en) * 1996-11-08 1998-05-14 Neomedia Technologies, Inc. Automatic access of electronic information through machine-readable codes on printed documents
AU5356598A (en) * 1996-11-15 1998-06-03 Inergy Online, Inc. Remote communication, information management, and home page authoring system
US6185588B1 (en) * 1996-12-31 2001-02-06 International Business Machines Corporation Method and apparatus for printing worldwide web pages in accordance with operator selected formatting

Also Published As

Publication number Publication date
AU4532499A (en) 2000-03-27
WO2000014624A1 (en) 2000-03-16

Similar Documents

Publication Publication Date Title
US5018083A (en) Image processing system
JP4344693B2 (en) System and method for browser document editing
DE10135445B4 (en) Integrated procedure for creating an updatable network query
US7688459B2 (en) Document processing method
US6360236B1 (en) Computer product for integrated document development
US20030210428A1 (en) Non-OCR method for capture of computer filled-in forms
EP1126380A1 (en) Converting a formatted document into an XML-document
JPH10134052A (en) Machine translation method/device
US20090204888A1 (en) Document processing apparatus, document processing method, and storage medium
WO1998008168A1 (en) Original text generating apparatus and its program storage medium
CA1319762C (en) Method for displaying online information
CN113158619B (en) Document processing method and device, computer readable storage medium and computer equipment
US7483160B2 (en) Communication system, communication terminal, system control program product and terminal control program product
CN111581922A (en) Document processing method, device, equipment and medium based on document editing software
CN113297425B (en) Document conversion method, device, server and storage medium
KR19980087636A (en) How to print web document
JP2006309443A (en) Information processing system, information processor, information processing terminal, information processing method, program for executing the method in computer, and storage medium
CN114154095A (en) Page picture generation method, device, equipment and storage medium
JPH11203226A (en) Hypertext retaining device and medium storing hypertext retaining device control program
CN110019968B (en) XML file processing method and device
CN113297856A (en) Document translation method and device and electronic equipment
JP2004145736A (en) Character recognition device, character recognition data output method, program and recording medium
KR20030095546A (en) Construction method of wab page and wab site
JP4013748B2 (en) Document generator
KR20020049417A (en) Method for making web document type of image and system for reading web document made by using of said method

Legal Events

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