[go: up one dir, main page]

JP2007034370A - Printing method - Google Patents

Printing method Download PDF

Info

Publication number
JP2007034370A
JP2007034370A JP2005212423A JP2005212423A JP2007034370A JP 2007034370 A JP2007034370 A JP 2007034370A JP 2005212423 A JP2005212423 A JP 2005212423A JP 2005212423 A JP2005212423 A JP 2005212423A JP 2007034370 A JP2007034370 A JP 2007034370A
Authority
JP
Japan
Prior art keywords
page
output
document
document data
line
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2005212423A
Other languages
Japanese (ja)
Inventor
Koichi Saito
弘一 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2005212423A priority Critical patent/JP2007034370A/en
Publication of JP2007034370A publication Critical patent/JP2007034370A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

【課題】 行間高さを固定しない表等の文書について、1行の画像が2ページに分断されて印刷されるのを防止し、ユーザにWeb上での自由な文書作成環境を提供する。
【解決手段】 Webサーバ10から供給されるJava(登録商標)スクリプトを受け取り、Java(登録商標)スクリプトの要素オブジェクトによってWebブラウザ表示サイズを動的に取得しながら、同じく要素オブジェクトを使用して、Webブラウザの表示画面に行を順次表示していき、表示画面がいっぱいになる寸前で、改ページ情報を入力することにより、行の分断を防ぐように処理する。そして、このこれと同様に処理された文書を印刷し、印刷原稿の行の分断を防ぐようにする。
【選択図】図1
PROBLEM TO BE SOLVED: To prevent a one-line image from being divided into two pages for a document such as a table whose height between lines is not fixed, and to provide a user with a free document creation environment on the Web.
A Java (registered trademark) script supplied from a Web server (10) is received, and a Web browser display size is dynamically acquired by an element object of the Java (registered trademark) script. Lines are sequentially displayed on the display screen of the Web browser, and processing is performed to prevent line division by inputting page break information just before the display screen is full. Then, a document processed in the same manner as this is printed to prevent the division of the line of the printed document.
[Selection] Figure 1

Description

本発明は、インターネットのWebブラウザを利用して提供される文書を印刷する印刷方法に関し、特に行間高さを固定しない表等の文書を複数枚の印刷用紙に分割して印刷する場合の技術に関する。   The present invention relates to a printing method for printing a document provided using a web browser on the Internet, and more particularly to a technique for printing a document such as a table whose line height is not fixed on a plurality of printing sheets. .

従来より、インターネットエクスプローラやネットスケープ等のWebブラウザを利用したWebアプリケーションによって、各種の文章が作成され、Web上に公開されており、その文章を閲覧したユーザは、アプリケーションによって許容される範囲で、必要な文章を適宜プリントアウトして利用することが可能である。
(例えば特許文献1参照)。
特開平11−338666号公報
Conventionally, various texts have been created and published on the web by web applications using web browsers such as Internet Explorer and Netscape, and users who have viewed the text are required to the extent permitted by the application. It is possible to print out and use appropriate sentences.
(For example, refer to Patent Document 1).
JP 11-338666 A

ところで、上述のようなWeb上で提供される文章のうち、表のような文書を1行がページの途中で区切れることなく印刷しようとする場合、予め印刷する用紙サイズを限定し、それに合わせて行が分割されないよう、1行の高さを固定したレイアウトをとることが必要となる。
この場合、ユーザが任意にデータを修正できるようなWebアプリケーションにおいては、固定された行の高さを超えないように、入力する情報に制限を設けなければならず、ユーザが自由に文書を作成する上での障害となる。
また、図などのイメージ情報の場合は、行のサイズに合わせて縮小する必要があるため、文書を表示した際の表現力が下がる可能性があり、この点からもユーザが自由に文書を作成する上での障害となる。
そこで、ユーザに対する文書作成上の制限を緩和するために、図や表のような文書について1行の高さを自由に変更できるようにすることも考えられるが、このようにした場合、文書を印刷する際に、1枚の画像が2ページに跨って印刷され、文書内の1行が2ページに分断されてしまう場合があるため、印刷を目的としたようなWebアプリケーションには適さないという課題がある。
By the way, among the texts provided on the Web as described above, when trying to print a document such as a table without dividing one line in the middle of the page, the paper size to be printed is limited in advance and matched accordingly. Therefore, it is necessary to take a layout in which the height of one row is fixed so that the rows are not divided.
In this case, in a Web application in which the user can arbitrarily modify data, the input information must be restricted so that the height of the fixed line is not exceeded, and the user can freely create a document. It becomes an obstacle to doing.
In addition, in the case of image information such as figures, it is necessary to reduce it to fit the line size, so there is a possibility that the expressive power when displaying the document may be reduced. From this point also, the user can create the document freely It becomes an obstacle to doing.
Therefore, in order to ease restrictions on document creation for users, it may be possible to freely change the height of one line for documents such as figures and tables. When printing, one image is printed over two pages, and one line in a document may be divided into two pages, so it is not suitable for a Web application for printing purposes. There are challenges.

そこで本発明は、行間高さを固定しない表等の文書について、1行の画像が2ページに分断されて印刷されるのを防止でき、ユーザにWeb上での自由な文書作成環境を提供できる印刷方法を提供することを目的とする。   Therefore, the present invention can prevent the image of one line from being divided into two pages for a document such as a table whose height between lines is not fixed, and can provide a user with a free document creation environment on the Web. An object is to provide a printing method.

上述の目的を達成するため、本発明の印刷方法は、Webブラウザから取得した文書データに対するユーザの出力指示を検出する検出ステップと、前記検出ステップによって出力指示が検出された場合に、前記文書データを所定単位行ずつ出力用メモリに出力していく出力ステップと、前記Webブラウザ上で動作する命令記述ファイル内または文書内埋め込み命令のデータを用いてWebブラウザのページサイズを取得するページサイズ取得ステップと、前記命令記述ファイル内または文書内埋め込み命令のデータを用いて前記出力ステップによって出力用メモリに出力された1ページ内の文書データの行方向の高さを算出する高さ算出ステップと、前記ページサイズ取得ステップで取得したページサイズと前記高さ算出ステップで算出した高さとを比較する比較ステップと、前記比較ステップの比較結果に基づいて、出力した文書データの高さがページサイズを超えた場合に、出力用メモリに出力した文書データの末尾の所定行の前に改ページ情報を挿入する改ページ制御ステップとを有することを特徴とする。   In order to achieve the above object, the printing method of the present invention includes a detection step of detecting a user output instruction for document data acquired from a Web browser, and the document data when the output instruction is detected by the detection step. An output step of outputting a predetermined unit line to an output memory, and a page size acquisition step of acquiring the page size of the Web browser using data of an instruction description file or an embedded instruction in a document operating on the Web browser A height calculation step of calculating the height in the row direction of the document data in one page output to the output memory by the output step using the data of the instruction description file or the embedded instruction in the document; Calculated by the page size acquired in the page size acquisition step and the height calculation step Based on the comparison step for comparing the height and the comparison result of the comparison step, when the height of the output document data exceeds the page size, before the predetermined line at the end of the document data output to the output memory And a page break control step for inserting page break information.

本発明の印刷方法によれば、例えばインターネットエクスプローラやネットスケープなどのWebブラウザを利用したアプリケーションにおいて、行間高さを固定しない表のような文書であっても、行の途中でページ送りが発生せず、見栄え良く印刷できる効果がある。   According to the printing method of the present invention, in an application using a web browser such as Internet Explorer or Netscape, page feed does not occur in the middle of a line even for a document such as a table whose line spacing height is not fixed. , It has the effect of printing nicely.

図1は本発明による印刷方法を実施するネットワークシステムの構成を示すブロック図である。
本例のシステムは、インターネットエクスプローラやネットスケープ等のWebブラウザを利用したアプリケーションにおいて、行間高さを固定しない表のような文書であっても、印刷時に1行の途中でページ送りが発生せず、見栄え良く印刷できるようにしたものである。
図1に示すように、文書情報の供給等を行うWebサーバ10には、LANやWAN等のネットワーク20を通してネットワーククライアント端末30や印刷装置40が接続されている。
FIG. 1 is a block diagram showing the configuration of a network system that implements a printing method according to the present invention.
In the system of this example, in an application using a web browser such as Internet Explorer or Netscape, even if the document is a table such as a table whose line spacing is not fixed, page feed does not occur in the middle of one line at the time of printing. It is designed to print nicely.
As shown in FIG. 1, a network client terminal 30 and a printing apparatus 40 are connected to a Web server 10 that supplies document information and the like through a network 20 such as a LAN or a WAN.

ネットワーククライアント端末30は、パーソナルコンピュータやワークステーションといった情報処理端末であり、ハードウェア及びソフトウェアによる機能モジュールとして、Webブラウザ31、表示機能部32、入力機能部33、印刷機能部34、ネットワークインターフェース35等を搭載している。
このうちWebブラウザ31はインターネット上のホームページの検索等を行うものである。また、表示機能部32は周辺機器としての表示装置50の制御を行う。また、入力機能部33はキーボードやマウス(ポインティングデバイス)といった入力機器60の制御を行う。また、印刷機能部34は周辺機器としての印刷装置70を制御する。さらに、ネットワークインターフェース35はネットワーク20との通信を制御する。
また、印刷装置40は内部にネットワークインターフェース41を有し、ネットワークを通じてサーバ等から供給される印刷データのプリントアウトを行う機能を有する。
The network client terminal 30 is an information processing terminal such as a personal computer or a workstation. As a functional module using hardware and software, a Web browser 31, a display function unit 32, an input function unit 33, a print function unit 34, a network interface 35, and the like. It is equipped with.
Of these, the Web browser 31 performs a search of a homepage on the Internet. The display function unit 32 controls the display device 50 as a peripheral device. The input function unit 33 controls the input device 60 such as a keyboard and a mouse (pointing device). The print function unit 34 also controls a printing device 70 as a peripheral device. Further, the network interface 35 controls communication with the network 20.
The printing apparatus 40 has a network interface 41 inside, and has a function of printing out print data supplied from a server or the like through the network.

本例では、ネットワーククライアント端末30でWebブラウザ31を利用して取得された文章を表示画面に表示した状態で、印刷装置40または70を指定して印刷する処理が選択された場合の動作を中心に説明する。
図2は図1に示すネットワーククライアント端末において本発明の印刷方法を実現する機能構成を示すブロック図であり、主に制御プログラムによって実現されるものである。
図において、検出処理モジュール100は、Webブラウザ31から取得した文書データに対するユーザの出力指示を検出する検出ステップを実行する。また、出力処理モジュール110は、検出ステップによって出力指示が検出された場合に、文書データを所定単位行(本例では1行)ずつ出力用メモリ(本例では表示用メモリ及び印刷用メモリ)に出力していく出力ステップを実行する。
In this example, the operation is mainly performed when a process for specifying and printing the printing device 40 or 70 is selected in a state in which the text acquired using the web browser 31 on the network client terminal 30 is displayed on the display screen. Explained.
FIG. 2 is a block diagram showing a functional configuration for realizing the printing method of the present invention in the network client terminal shown in FIG. 1, which is mainly realized by a control program.
In the figure, the detection processing module 100 executes a detection step of detecting a user output instruction for document data acquired from the Web browser 31. Further, when an output instruction is detected in the detection step, the output processing module 110 stores the document data in an output memory (in this example, a display memory and a print memory) by a predetermined unit line (in this example, one line). Execute the output step to output.

また、ページサイズ取得処理モジュール120は、Webブラウザ上で動作する命令記述ファイルまたは文書内埋め込み命令(本例ではJava(登録商標)スクリプト)内の要素オブジェクト(例えば、ClientWidth、ClientHeightまたはInnerWidth、InnerHeight)を用いてWebブラウザのページサイズを動的に取得するページサイズ取得ステップを実行する。
また、算出処理モジュール130は、命令記述ファイル内または文書内埋め込み命令の要素オブジェクト(例えば、InnerHTML)やスタイルシート(例えば、style.display)を用いて出力ステップによって出力用メモリに出力された1ページ内の文書データの行方向の高さを算出する高さ算出ステップを実行する。
また、比較処理モジュール140は、ページサイズ取得ステップで取得したページサイズと高さ算出ステップで算出した高さとを比較する比較ステップを実行する。
さらに、改ページ制御処理モジュール150は、比較ステップの比較結果に基づいて、出力した文書データの高さがページサイズを超えた場合に、出力用メモリに出力した文書データの末尾の所定行の前に改ページ情報を挿入する改ページ制御ステップを実行する。
Further, the page size acquisition processing module 120 is an element object (for example, ClientWidth, ClientHeight or InnerWidth, InnerHeight) in an instruction description file or an embedded instruction (in this example, a Java (registered trademark) script) operating on a Web browser. A page size acquisition step of dynamically acquiring the page size of the Web browser is executed using.
In addition, the calculation processing module 130 uses the element object (for example, InnerHTML) or the style sheet (for example, style.display) of the embedded instruction in the instruction description file or in the document to output one page to the output memory by the output step. A height calculation step for calculating the height of the document data in the row direction is executed.
Further, the comparison processing module 140 executes a comparison step that compares the page size acquired in the page size acquisition step with the height calculated in the height calculation step.
Further, the page break control processing module 150, based on the comparison result of the comparison step, before the predetermined line at the end of the document data output to the output memory when the height of the output document data exceeds the page size. A page break control step for inserting page break information is executed.

このような処理モジュール構成により、本例のネットワーククライアント端末30では、Webサーバ10から供給されるJava(登録商標)スクリプトを受け取り、Java(登録商標)スクリプトの要素オブジェクトの一つであるClientWidth、ClientHeightまたはInnerWidth、InnerHeightによってWebブラウザ表示サイズを動的に取得しながら、同じく要素オブジェクトのInnerHTML、またはスタイルシートであるstyle.displayを使用して、Webブラウザの表示画面に行を順次表示していき、表示画面がいっぱいになる寸前で、改ページ情報を入力することにより、行の分断を防ぐように処理する。そして、これと同様に処理された文書を印刷し、印刷原稿の行の分断を防ぐようにする。   With such a processing module configuration, the network client terminal 30 of this example receives the Java (registered trademark) script supplied from the Web server 10 and receives ClientWidth, ClientHeight, which are one of the element objects of the Java (registered trademark) script. Alternatively, while dynamically acquiring the Web browser display size by InnerWidth and InnerHeight, the rows are displayed sequentially on the Web browser display screen using the inner HTML of the element object or style.display which is the style sheet. Processes to prevent line breaks by entering page break information just before the display screen is full. Then, the processed document is printed in the same manner as described above to prevent the division of the line of the printed document.

図3はこのような処理の具体的な流れを示すフローチャートである。
本例において、Webサーバより提供される文書には、図示のような処理を実行するJava(登録商標)スクリプトプログラムが埋め込まれているものとする。
まず、ステップS1では、Webブラウザの表示画面のページサイズ(1ページの行方向の高さ)を決定する。この場合、上述したJava(登録商標)スクリプト内の要素オブジェクト(例えば、ClientWidth、ClientHeightまたはInnerWidth、InnerHeight)を用いて動的に取得する方法も可能であるが、予め取得済みのページサイズである場合には、その情報をメモリから読み出して決定することも可能である。これは、例えば端末内に一時保存したファイルの表示や印刷を行う場合に該当する。
そして、ステップS2で、ヘッダ情報の挿入が指示されている場合には、ページの先頭に予め設定されているヘッダ情報を挿入する。この後、ステップS3で全ての行データの表示が終了したか否かを判断し、全ての行データの表示が終了していれば、フッタ情報の挿入が指示されている場合に、ページの末尾に予め設定されているフッタ情報を挿入して(ステップS11)、処理を終了する。
FIG. 3 is a flowchart showing a specific flow of such processing.
In this example, it is assumed that a Java (registered trademark) script program for executing processing as illustrated is embedded in a document provided from a Web server.
First, in step S1, the page size of the display screen of the web browser (the height in the row direction of one page) is determined. In this case, a method of dynamically acquiring using the element objects (for example, ClientWidth, ClientHeight or InnerWidth, InnerHeight) in the above-described Java (registered trademark) script is also possible, but the page size is acquired in advance. It is also possible to read the information from the memory and determine it. This is the case, for example, when displaying or printing a file temporarily stored in the terminal.
If insertion of header information is instructed in step S2, header information set in advance at the head of the page is inserted. Thereafter, in step S3, it is determined whether or not the display of all the line data has been completed. If the display of all the line data has been completed, the insertion of footer information is instructed. The footer information set in advance is inserted (step S11), and the process is terminated.

また、全ての行データの表示が終了していなければ、表文書の行データを1行ずつ画面に表示し(ステップS4)、表示後の行データの表示エリアの高さを測定する(ステップS5)。ここでは動的にHTML文書を変更する必要があるため、表示する文書データは、ステップS3の処理内で毎回整形され、Java(登録商標)スクリプトの要素オブジェクト:innerHTMLによってブラウザに表示させる。なお、InnerHTMLの代わりに、スタイルシート:style.displayを使用し、表示の可否を調整するようなプログラムにしても良い。
また、ステップS5での行データの表示エリアの高さ測定には、表示オブジェクト:ClientHeightを使用している。ただし、インターネットエクスプローラの場合はClientHeightを使用するが、ネットスケープ、FireFox等のMozilla系ブラウザの場合は、innerHeightを使用する。
If the display of all the line data is not completed, the line data of the table document is displayed on the screen line by line (step S4), and the height of the display area of the line data after display is measured (step S5). ). Here, since it is necessary to dynamically change the HTML document, the document data to be displayed is formatted each time in the process of step S3 and is displayed on the browser by an element object of Java (registered trademark): innerHTML. Instead of InnerHTML, a program that uses a style sheet: style.display and adjusts whether or not display is possible may be used.
Further, the display object: ClientHeight is used for the height measurement of the display area of the row data in step S5. However, ClientHeight is used for Internet Explorer, but innerHeight is used for Mozilla browsers such as Netscape and FireFox.

そして、ステップS6では、行データの表示エリアの高さとブラウザの表示画面の高さとを比較し、行データの表示エリアの高さがブラウザの表示画面内であれば、ステップS3に戻って次の行データを表示し、そうでない場合は、その行データはページに収まらないため次ぎのページに回し(ステップS7)、フッタ情報、改ページ情報、ヘッダ情報を順次埋め込み(ステップS8、S9、S10)、ステップS3に戻って次ページの表示に移行する。ここで最初に表示される文書データは、ステップS7で次ページに回した行データである。
このように本例では、文章データを1行ずつ表示し、1ページのエリアに収まるかどうかを判断するため、行間高さが可変であっても、1行が分割されて2ページに渡って表示されることを防ぐことができる。
なお、ここではWebサーバより取得した文書データの表示出力を行う場合について説明したが、このような改ページ処理を施した文書データを印刷装置で出力する場合にも、改ページ情報によって1行に分断の生じない印刷を行うことが可能となる。
In step S6, the height of the line data display area is compared with the height of the browser display screen. If the height of the line data display area is within the browser display screen, the process returns to step S3 to return to the next. The line data is displayed. If not, the line data does not fit on the page, so the line data is turned to the next page (step S7), and footer information, page break information, and header information are sequentially embedded (steps S8, S9, and S10). Then, the process returns to step S3 and shifts to the display of the next page. Here, the document data that is displayed first is the line data that is turned to the next page in step S7.
In this way, in this example, text data is displayed line by line, and it is determined whether it can fit in the area of one page. Therefore, even if the line spacing is variable, one line is divided and spread over two pages. It can be prevented from being displayed.
Here, the case where the display and output of the document data acquired from the Web server has been described. However, even when the document data subjected to such a page break process is output by the printing apparatus, the line break information is set to one line. It is possible to perform printing without causing separation.

図4は本例で処理した印刷原稿の一例を示す説明図であり、図5は従来の印刷原稿の一例を示す説明図である。
図5(A)に示すように、表が記載された元の文書を印刷すると、図5(B)に示すように、1ページからはみ出た部分が次ページに分割され、表の枠や1行の画像が分断された状態で出力される。
しかし、本例の改ページ処理を行うことにより、図4(A)に示す図5(B)と同様の文書であっても、図4(B)に示すように、行間で適正に改ページ処理され、表の枠や1行の画像が分断されず、適正に各ページに振り分けられた状態で出力される。
なお、図示の例は、単に1行の分断を防ぐだけでなく、複数ページに分割される表の枠を完結させた状態で編集し、さらに前のページの表の末尾に枠を追加して「続きあり」というフッタ情報を表示(印刷)し、後のページの表の先頭に枠を追加して「名称」「項目」といった先頭ページと共通のヘッダ情報を表示(印刷)するようにしている。
これにより、読み手にとって印象がよく、親切な印刷原稿を提供できる。ただし、このような編集方法は、ユーザの好みや必要性に応じて変更できるものとし、例えばアプリケーション内に、いくつかの編集形態(ページ付けの有無等)の選択肢を用意して、予めユーザに選択させるような構成とすることが可能である。
FIG. 4 is an explanatory view showing an example of a printed original processed in this example, and FIG. 5 is an explanatory view showing an example of a conventional printed original.
As shown in FIG. 5A, when the original document on which the table is written is printed, as shown in FIG. 5B, the portion that protrudes from one page is divided into the next page, and the table frame and 1 The image is output with the line image divided.
However, by performing the page break process of this example, even if the document is the same as that shown in FIG. 5B shown in FIG. 4A, the page break is properly performed between lines as shown in FIG. 4B. After being processed, the table frame and the image of one line are not divided, and are output in a state of being properly distributed to each page.
In the example shown in the figure, not only the division of one line is prevented, but also the table frame divided into a plurality of pages is edited in a completed state, and a frame is added to the end of the table on the previous page. Display (print) footer information “Continued”, add a frame to the top of the table on the following page, and display (print) header information common to the first page such as “name” and “item” Yes.
As a result, it is possible to provide a kind printed document that has a good impression for the reader. However, such an editing method can be changed according to the user's preference and necessity. For example, in the application, a number of editing modes (whether or not pagination is provided) are prepared, and the user is notified in advance. It is possible to adopt a configuration that allows selection.

なお、以上は本発明の一例であり、具体的な要素については種々変形が可能である。
例えば上述した説明では省略したが、Webブラウザの中には、表示画面上で編集された文章の印刷が選択された場合に、その文章を再度Webサーバから取り出して表示文書と同様の編集処理を行った後に印刷装置に出力するようなものも存在しており、このような処理方式の場合には、上述した表示画面上での改ページ処理を印刷用の文書データに対して同様に行い、印刷するものとする。
また、上述した例では、表示画面に表示した文章を印刷する場合の動作例を説明したが、実際の運用においては、Webブラウザを通して取得した文書ファイルをクライアント端末のファイルメモリ等に一旦保存しておき、これを後からファイル名指定等によって印刷するような場合も多く、印刷の際に文書ファイルを一度も表示画面に表示することなく印刷する場合もある。そこで、このような場合の印刷処理においても、上述したフローチャートと同様に、ページサイズと行送りを見ながら1行の分断をなくした改ページ処理を行うアプリケーションを設けることも可能である。
また、改ページの前後にフッタ情報やヘッダ情報を挿入するか否かをユーザが選択できるようにし得ることも勿論である。
また、本発明に関する一連の処理自体を実行するか否かを端末毎または印刷処理毎にユーザが選択できる機能を設け、この処理が不要な場合には、従来と同様の印刷を行うようにすることも勿論可能である。
以上のような構成も本発明に含まれるものとする。
The above is an example of the present invention, and various modifications can be made to specific elements.
For example, although omitted in the above description, when printing of a text edited on the display screen is selected in the Web browser, the text is again retrieved from the Web server and the same editing process as that of the display document is performed. There are some that output to the printing device after performing, and in the case of such a processing method, the page break processing on the display screen described above is similarly performed on the document data for printing, Shall be printed.
In the above-described example, the operation example when the text displayed on the display screen is printed has been described. However, in actual operation, the document file acquired through the Web browser is temporarily stored in the file memory or the like of the client terminal. In many cases, this is printed later by specifying a file name or the like, and the document file may be printed without being displayed on the display screen. Therefore, in the printing process in such a case, it is also possible to provide an application that performs a page break process that eliminates the division of one line while looking at the page size and line feed as in the above-described flowchart.
Of course, the user can select whether or not to insert footer information and header information before and after the page break.
In addition, a function is provided that allows the user to select whether to execute a series of processes relating to the present invention for each terminal or for each printing process. When this process is unnecessary, printing is performed in the same manner as in the past. Of course it is also possible.
The above configuration is also included in the present invention.

本発明による印刷方法を実施するネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the network system which implements the printing method by this invention. 図1に示すクライアント端末で稼動する処理モジュールの構成例を示すブロック図である。It is a block diagram which shows the structural example of the processing module which operate | moves with the client terminal shown in FIG. 図1に示すクライアント端末で実行する印刷方法の具体的な流れを示すフローチャートである。3 is a flowchart showing a specific flow of a printing method executed by the client terminal shown in FIG. 1. 図1に示すクライアント端末で印刷処理した印刷原稿の一例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a print document that has been printed by the client terminal illustrated in FIG. 1. 従来のシステムで印刷処理した印刷原稿の一例を示す説明図である。It is explanatory drawing which shows an example of the printing original printed by the conventional system.

符号の説明Explanation of symbols

10……Webサーバ、20……ネットワーク、30……ネットワーククライアント端末、31……Webブラウザ、32……表示機能部、33……入力機能部、34……印刷機能部、35……ネットワークインターフェース、40、70……印刷装置、41……ネットワークインターフェース、50……表示装置、60……入力機器。
DESCRIPTION OF SYMBOLS 10 ... Web server, 20 ... Network, 30 ... Network client terminal, 31 ... Web browser, 32 ... Display function part, 33 ... Input function part, 34 ... Print function part, 35 ... Network interface , 40, 70... Printing device, 41... Network interface, 50.

Claims (6)

Webブラウザから取得した文書データに対するユーザの出力指示を検出する検出ステップと、
前記検出ステップによって出力指示が検出された場合に、前記文書データを所定単位行ずつ出力用メモリに出力していく出力ステップと、
前記Webブラウザ上で動作する命令記述ファイル内または文書内埋め込み命令のデータを用いてWebブラウザのページサイズを取得するページサイズ取得ステップと、
前記命令記述ファイル内または文書内埋め込み命令のデータを用いて前記出力ステップによって出力用メモリに出力された1ページ内の文書データの行方向の高さを算出する高さ算出ステップと、
前記ページサイズ取得ステップで取得したページサイズと前記高さ算出ステップで算出した高さとを比較する比較ステップと、
前記比較ステップの比較結果に基づいて、出力した文書データの高さがページサイズを超えた場合に、出力用メモリに出力した文書データの末尾の所定行の前に改ページ情報を挿入する改ページ制御ステップと、
を有することを特徴とする印刷方法。
A detection step of detecting a user's output instruction for document data acquired from a Web browser;
An output step of outputting the document data to the output memory by a predetermined unit line when an output instruction is detected by the detection step;
A page size acquisition step of acquiring a page size of the Web browser using data of an instruction description file or an embedded instruction in a document operating on the Web browser;
A height calculation step of calculating the height in the row direction of the document data in one page output to the output memory by the output step using the data of the instruction description file or the embedded instruction in the document;
A comparison step for comparing the page size acquired in the page size acquisition step with the height calculated in the height calculation step;
A page break that inserts page break information before a predetermined line at the end of the document data output to the output memory when the height of the output document data exceeds the page size based on the comparison result of the comparison step. Control steps;
A printing method characterized by comprising:
前記文書データが行間高さを固定しない図表を含むことを特徴とする請求項1記載の印刷方法。   The printing method according to claim 1, wherein the document data includes a chart that does not fix a line height. 前記改ページ制御ステップでは、ページの先頭にヘッダ情報を挿入する処理を行うことを特徴とする請求項1記載の印刷方法。   2. The printing method according to claim 1, wherein in the page break control step, processing for inserting header information at the head of the page is performed. 前記改ページ制御ステップでは、ページの末尾にフッタ情報を挿入する処理を行うことを特徴とする請求項1記載の印刷方法。   The printing method according to claim 1, wherein in the page break control step, a process of inserting footer information at the end of the page is performed. 前記改ページ制御ステップでは、文書データが表である場合に、改ページ情報の挿入によって分断された表の枠の分断部分を編集して各ページ毎に表の枠を完結した状態で出力する処理を行うことを特徴とする請求項1記載の印刷方法。   In the page break control step, when the document data is a table, a process of editing the divided portion of the table frame divided by inserting the page break information and outputting the table frame in a state where the table frame is completed for each page The printing method according to claim 1, wherein: 前記出力用メモリは表示用の文書データ、または印刷用の文書データ、または表示及び印刷用の文書データを格納するメモリであることを特徴とする請求項1記載の印刷方法。   2. The printing method according to claim 1, wherein the output memory is a memory for storing document data for display, document data for printing, or document data for display and printing.
JP2005212423A 2005-07-22 2005-07-22 Printing method Pending JP2007034370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005212423A JP2007034370A (en) 2005-07-22 2005-07-22 Printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005212423A JP2007034370A (en) 2005-07-22 2005-07-22 Printing method

Publications (1)

Publication Number Publication Date
JP2007034370A true JP2007034370A (en) 2007-02-08

Family

ID=37793609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005212423A Pending JP2007034370A (en) 2005-07-22 2005-07-22 Printing method

Country Status (1)

Country Link
JP (1) JP2007034370A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013866A (en) * 2009-06-30 2011-01-20 Canon Inc Device and method for controlling print, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011013866A (en) * 2009-06-30 2011-01-20 Canon Inc Device and method for controlling print, and program
US9442900B2 (en) 2009-06-30 2016-09-13 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US10691385B2 (en) 2009-06-30 2020-06-23 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium in which a text element and an image element are arranged based on layouts in a webpage

Similar Documents

Publication Publication Date Title
JP4344693B2 (en) System and method for browser document editing
US6023714A (en) Method and system for dynamically adapting the layout of a document to an output device
US7200816B2 (en) Method and system for automating creation of multiple stylesheet formats using an integrated visual design environment
US9547625B2 (en) Electronic document display apparatus, image processing apparatus, image output method, and computer readable recording medium storing program
CN114791988B (en) PDF file analysis method, system and storage medium based on browser
EP1543440A2 (en) System and method for identifying line breaks
KR100585312B1 (en) How to print a web page
CN110837347A (en) Webpage printing method based on analysis plug-in, server and storage medium
JPWO2008041743A1 (en) Terminal device, content display method, and content display program
GB2378288A (en) Improvements relating to developing documents
US9886426B1 (en) Methods and apparatus for generating an efficient SVG file
JP2005044279A (en) Form processing method, form processing program, form processing apparatus
US7366978B1 (en) Method and system for creating a grid-like coordinate system for addressing data contained in an irregular computer-generated table
JP2008305278A (en) Data processing apparatus, store terminal equipped with the same, and data processing program
JP4510232B2 (en) Information processing apparatus, information processing method, and storage medium
JP2007034370A (en) Printing method
US20130176597A1 (en) Information processing apparatus, information processing method, and storage medium storing a program thereof
CN112433995A (en) File format conversion method, system, computer equipment and storage medium
RU2573271C2 (en) Information processing device, web browser control method and storage medium storing programme therefor
JP4289856B2 (en) Document printing system and method
JP5947508B2 (en) Information processing apparatus, information processing method, and program
CN114722321B (en) Web page content processing method, device, electronic device and storage medium
JP2005115541A (en) Structured document display processing apparatus, structured document display processing method, structured document display processing program
JP4556717B2 (en) Printer
JP2007115024A (en) Automatic column width adjustment method for table