[go: up one dir, main page]

JP2008305265A - File transmission apparatus, image forming apparatus, file communication program, and file communication method - Google Patents

File transmission apparatus, image forming apparatus, file communication program, and file communication method Download PDF

Info

Publication number
JP2008305265A
JP2008305265A JP2007153227A JP2007153227A JP2008305265A JP 2008305265 A JP2008305265 A JP 2008305265A JP 2007153227 A JP2007153227 A JP 2007153227A JP 2007153227 A JP2007153227 A JP 2007153227A JP 2008305265 A JP2008305265 A JP 2008305265A
Authority
JP
Japan
Prior art keywords
file
document
memory
xml
size
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
JP2007153227A
Other languages
Japanese (ja)
Inventor
Yukako Masuoka
由克子 枡岡
Yoshiaki Namikata
良紀 南方
Toshihiro Seko
登志洋 世古
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita 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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2007153227A priority Critical patent/JP2008305265A/en
Publication of JP2008305265A publication Critical patent/JP2008305265A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To solve problems such as a processing stop and processing speed reduction due to a buffer overflow, memory shortage, and the like caused by excessive size of an XPS (XML Paper Specification) file to be transmitted, in an image forming apparatus etc. for handling XML extended format files such as an XPS file. <P>SOLUTION: The margin state of a memory in the image forming apparatus is notified to a file transmission side (terminal device such as a PC), and on the basis of the notified margin of the memory and the size of an XPS file to be transmitted, the XPS file is divided if required and transmitted to the image forming apparatus, thus solving the problems. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

XPS(XML Paper Specification)やOPC(Open Packaging Conventions)ファイルなどのXML(Extensible Markup Language)拡張形式の文書ファイルを取り扱う画像形成装置やファイル送信装置において、該文書ファイルを分割して送信することにより、受信側でファイルサイズが大きすぎることにより起因する問題を解決することに関するものである。   By dividing and transmitting the document file in an image forming apparatus or file transmission apparatus that handles an XML (Extensible Markup Language) extended format document file such as an XPS (XML Paper Specification) or an OPC (Open Packaging Conventions) file, The present invention relates to solving the problem caused by the file size being too large on the receiving side.

従来プリンタにおいて印刷を行う際には、端末装置上のアプリケーションファイルで文書を取り扱い、前記文書を端末装置上に備えたプリンタドライバプログラムがページ記述言語(PDL;Page Description Language)による印刷データに変換してプリンタに送信し、同プリンタ内で前記ページ記述言語による印刷データを解析して印刷エンジンを駆動し印刷を行う方法が取られていた。   When printing with a conventional printer, a document is handled by an application file on the terminal device, and the printer driver program provided on the terminal device converts the document into print data in a page description language (PDL). In this method, print data in the printer is analyzed, print data in the page description language is analyzed, the print engine is driven, and printing is performed.

しかし、CPU(Central Processing Unit)の性能が向上しプリンタに用いられる様な比較的安価なCPUの処理能力も向上してきたため、端末装置上のアプリケーションの文書を文書ファイル形式のままプリンタに送信して、プリンタ内で印刷エンジン駆動用データに変換して印刷を行う方法が可能となってきた。この方法により、端末装置でのPDL変換処理が不要となりその負荷が無くなり、またPDL変換のためのプリンタドライバを開発する必要が無くなる。   However, since the performance of CPU (Central Processing Unit) has improved and the processing capacity of relatively inexpensive CPUs such as those used in printers has also improved, application documents on terminal devices can be sent to the printer in document file format. It has become possible to perform printing by converting into print engine drive data in a printer. This method eliminates the need for PDL conversion processing in the terminal device and eliminates the load, and eliminates the need to develop a printer driver for PDL conversion.

最近、マイクロソフト(登録商標)社が提唱したXPS(XML Paper Specification)やOPC(Open Packaging Conventions)などの新しい文書ファイル形式が用いられるようになってきた。しかし、これらのファイルは元々XML形式を拡張させて作成されているのでファイルサイズが大きく膨らんでしまう傾向がある。   Recently, new document file formats such as XPS (XML Paper Specification) and OPC (Open Packaging Conventions) proposed by Microsoft (registered trademark) have come to be used. However, since these files are originally created by extending the XML format, the file size tends to increase greatly.

このXMLファイルのサイズ膨張化を解決するために、マークアップ言語文書の固定部分を除去し、変化する部分の発生頻度を使用してマークアップ言語文書を符号化する方法がある(特許文献1参照)。   In order to solve the size expansion of the XML file, there is a method of removing the fixed part of the markup language document and encoding the markup language document using the frequency of occurrence of the changing part (see Patent Document 1). ).

上記方法は、XMLファイルのサイズを小さくする方法としてファイルの貯蔵や送信の際などには有効であるが、貯蔵や送信の前後ではファイルの符号化及び復号化の際に多くのメモリを費やしてしまうことになる。   The above method is effective as a method for reducing the size of an XML file, such as when storing or transmitting a file. However, before and after storing or transmitting, a large amount of memory is consumed when encoding and decoding the file. Will end up.

前記XPSやOPCなどの文書ファイルは、メモリを多く消費する描画が含まれているものが多く、ひとつの文書ファイルをそのままの形でデータを印刷装置に流してしまうと、ファイルサイズが大きすぎることによる印刷装置内でのメモリが不足することによる処理の停止や低速化などの問題があった。   Many of the document files such as XPS and OPC include drawing that consumes a lot of memory, and if one document file is sent as it is to the printing apparatus, the file size is too large. There are problems such as stoppage of processing and slowdown due to insufficient memory in the printing apparatus.

特開2004−32774号公報JP 2004-32774 A

解決しようとする問題点は、XML拡張形式のファイルを端末装置から画像形成装置に送信して印刷を行う際に、XML拡張形式ファイルのサイズが大きすぎることによる画像形成装置側でのバッファオーバーフローや処理速度の低下を抑制することが出来なかった点である。   The problem to be solved is that when the XML extended format file is transmitted from the terminal device to the image forming apparatus and printed, the size of the XML extended format file is too large. This is the point that the decrease in processing speed could not be suppressed.

本発明のファイル送信装置は、XML(Extensible Markup Language)拡張形式の文書ファイルのファイルサイズを取得する文書サイズ取得部と、ファイルを受信するファイル受信装置のメモリの余裕状況を取得するメモリ状況取得部と、前記文書ファイルのファイルサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての前記文書ファイルの処理の不可を判断するファイル判断部と、前記ファイル判断部の処理不能の判断結果に基づいて、前記文書ファイルを分割するファイル分割部と、前記文書ファイルまたは前記分割された文書ファイルを前記ファイル受信装置に送信する分割ファイル送信部と、を有することを最も主要な特徴とする。   A file transmission apparatus according to the present invention includes a document size acquisition unit that acquires a file size of a document file in an XML (Extensible Markup Language) extended format, and a memory status acquisition unit that acquires a margin of a memory of a file reception device that receives the file. The file size of the document file and the margin of the memory to determine whether or not the document file can be processed in the file receiving device, and the file determination unit cannot process the file And a divided file transmission unit that transmits the document file or the divided document file to the file receiving device based on the determination result of And

本発明の画像形成装置は、メモリの余裕状況を取得してファイル送信装置に伝達するメモリ状況送信部と、前記ファイル送信装置において分割されたXML(Extensible Markup Language)拡張形式の文書ファイルを受信する分割ファイル受信部と、前記分割された文書ファイルを印刷エンジン駆動データに変換する印刷データ変換部と、前記印刷エンジン駆動データを印刷する印刷部と、を有することを最も主要な特徴とする。   An image forming apparatus according to the present invention receives a memory status transmission unit that acquires a memory surplus status and transmits it to a file transmission device, and receives an XML (Extensible Markup Language) extended format document file divided by the file transmission device. The main feature is that it includes a divided file receiving unit, a print data converting unit that converts the divided document file into print engine drive data, and a print unit that prints the print engine drive data.

本発明のファイル通信プログラムは、コンピュータをファイル送信装置が有するXML(Extensible Markup Language)拡張形式の文書ファイルのファイルサイズを取得する文書サイズ取得手段と、ファイル受信装置のメモリの余裕状況取得するメモリ状況取得手段と、前記メモリの余裕状況を前記ファイル受信装置から前記ファイル送信装置に伝達するメモリ状況伝達手段と、前記文書ファイルのファイルサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての文書ファイルの処理の不可を判断するファイル判断手段と、前記ファイル判断手段の処理不能の判断結果に基づいて、前記文書ファイルを分割するファイル分割手段と、前記文書ファイルまたは前記分割された文書ファイルを前記ファイル送信装置から前記ファイル受信装置に送信する分割ファイル送受信手段と、して機能させることを最も主要な特徴とする。   The file communication program of the present invention includes a document size acquisition means for acquiring a file size of an XML (Extensible Markup Language) extended format document file included in a file transmission apparatus, and a memory condition for acquiring a memory margin condition of the file reception apparatus. An acquisition unit, a memory status transmission unit that transmits a margin status of the memory from the file reception device to the file transmission device, a file size of the document file, and a margin status of the memory; A file determination unit for determining whether or not the document file can be processed in the receiving device; a file division unit for dividing the document file based on a determination result indicating that the file determination unit cannot process the document file; The document file from the file transmission device A divided file reception means for transmitting to the yl receiving apparatus, and the most important feature is caused to function with.

本発明のファイル通信方法は、XML(Extensible Markup Language)拡張形式の文書ファイルをファイル送信装置からファイル受信装置に送信するファイル通信方法であって、前記ファイル送信装置において、送信する文書ファイルのファイルサイズを取得し、前記ファイル受信装置において、メモリの余裕状況を取得して前記ファイル送信装置に伝達し、前記ファイル送信装置において、前記送信する文書ファイルのサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての前記文書ファイルの処理の不可を判断し、処理不能と判断したら、前記ファイル送信装置において前記文書ファイルを分割し、前記文書ファイルまたは前記分割された文書ファイルを前記ファイル送信装置から前記ファイル受信装置に送信することを最も主要な特徴とする。   The file communication method according to the present invention is a file communication method for transmitting an XML (Extensible Markup Language) extended format document file from a file transmission device to a file reception device, wherein the file transmission device has a file size of the document file to be transmitted. The file receiving device acquires the memory margin status and transmits it to the file transmission device, and the file transmission device compares the size of the document file to be transmitted with the memory margin status. Then, it is determined that the document file cannot be processed in the file receiving device, and if it is determined that the processing is impossible, the file transmitting device divides the document file, and the document file or the divided document file is Sending from the file sending device to the file receiving device It is referred to as the most important feature.

本発明のファイル送信装置は、XML(Extensible Markup Language)拡張形式の文書ファイルのファイルサイズを取得する文書サイズ取得部と、ファイルを受信するファイル受信装置のメモリの余裕状況を取得するメモリ状況取得部と、前記文書ファイルのファイルサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての前記文書ファイルの処理の不可を判断するファイル判断部と、前記ファイル判断部の処理不能の判断結果に基づいて、前記文書ファイルを分割するファイル分割部と、前記文書ファイルまたは前記分割された文書ファイルを前記ファイル受信装置に送信する分割ファイル送信部と、を有することを最も主要な特徴とするため、XML拡張形式のファイルをファイル送信装置からファイル受信装置に送信する際に、同ファイルのサイズが大きすぎることによるファイル受信装置でのバッファオーバーフローによる処理の停止や処理速度の低下を抑制することが可能となった。   A file transmission apparatus according to the present invention includes a document size acquisition unit that acquires a file size of a document file in an XML (Extensible Markup Language) extended format, and a memory status acquisition unit that acquires a margin of a memory of a file reception device that receives the file. The file size of the document file and the margin of the memory to determine whether or not the document file can be processed in the file receiving device, and the file determination unit cannot process the file And a divided file transmission unit that transmits the document file or the divided document file to the file receiving device based on the determination result of Therefore, an XML extended format file is sent from the file sending device to the file receiving device. When, it becomes possible to suppress a decrease in processing stopping and processing speed of a buffer overflow in the file receiving apparatus due to the size of the file is too large.

本発明の画像形成装置は、メモリの余裕状況を取得してファイル送信装置に伝達するメモリ状況送信部と、前記ファイル送信装置において分割されたXML(Extensible Markup Language)拡張形式の文書ファイルを受信する分割ファイル受信部と、前記分割された文書ファイルを印刷エンジン駆動データに変換する印刷データ変換部と、前記印刷エンジン駆動データを印刷する印刷部と、を有することを最も主要な特徴とするため、XML拡張形式のファイルをファイル送信装置から画像形成装置に送信する際に、同ファイルのサイズが大きすぎることによる画像形成装置でのバッファオーバーフローによる処理の停止や処理速度の低下を抑制することが可能となった。   An image forming apparatus according to the present invention receives a memory status transmission unit that acquires a memory surplus status and transmits it to a file transmission device, and receives an XML (Extensible Markup Language) extended format document file divided by the file transmission device. To have a divided file receiving unit, a print data conversion unit that converts the divided document file into print engine drive data, and a print unit that prints the print engine drive data. When an XML extended format file is transmitted from the file transmission apparatus to the image forming apparatus, it is possible to suppress processing stoppage and decrease in processing speed due to buffer overflow in the image forming apparatus due to the size of the file being too large. It became.

本発明のファイル通信プログラムは、コンピュータをファイル送信装置が有するXML(Extensible Markup Language)拡張形式の文書ファイルのファイルサイズを取得する文書サイズ取得手段と、ファイル受信装置のメモリの余裕状況取得するメモリ状況取得手段と、前記メモリの余裕状況を前記ファイル受信装置から前記ファイル送信装置に伝達するメモリ状況伝達手段と、前記文書ファイルのファイルサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての文書ファイルの処理の不可を判断するファイル判断手段と、前記ファイル判断手段の処理不能の判断結果に基づいて、前記文書ファイルを分割するファイル分割手段と、前記文書ファイルまたは前記分割された文書ファイルを前記ファイル送信装置から前記ファイル受信装置に送信する分割ファイル送受信手段と、して機能させることを最も主要な特徴とするため、XML拡張形式のファイルをファイル送信装置からファイル受信装置に送信する際に、同ファイルのサイズが大きすぎることによるファイル受信装置でのバッファオーバーフローによる処理の停止や処理速度の低下を抑制することが可能となった。   The file communication program of the present invention includes a document size acquisition means for acquiring a file size of an XML (Extensible Markup Language) extended format document file included in a file transmission apparatus, and a memory condition for acquiring a memory margin condition of the file reception apparatus. An acquisition unit, a memory status transmission unit that transmits a margin status of the memory from the file reception device to the file transmission device, a file size of the document file, and a margin status of the memory; A file determination unit for determining whether or not the document file can be processed in the receiving device; a file division unit for dividing the document file based on a determination result indicating that the file determination unit cannot process the document file; The document file from the file transmission device Since the most important feature is to function as a divided file transmission / reception means for transmitting to a file receiving device, the size of the XML extension format file is transmitted from the file transmitting device to the file receiving device. It became possible to suppress the stop of processing and the decrease in processing speed due to the buffer overflow in the file receiving device due to being too large.

本発明のファイル通信方法は、XML(Extensible Markup Language)拡張形式の文書ファイルをファイル送信装置からファイル受信装置に送信するファイル通信方法であって、前記ファイル送信装置において、送信する文書ファイルのファイルサイズを取得し、前記ファイル受信装置において、メモリの余裕状況を取得して前記ファイル送信装置に伝達し、前記ファイル送信装置において、前記送信する文書ファイルのサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての前記文書ファイルの処理の不可を判断し、処理不能と判断したら、前記ファイル送信装置において前記文書ファイルを分割し、前記文書ファイルまたは前記分割された文書ファイルを前記ファイル送信装置から前記ファイル受信装置に送信することを最も主要な特徴とするため、XML拡張形式のファイルをファイル送信装置からファイル受信装置に送信する際に、同ファイルのサイズが大きすぎることによるファイル受信装置でのバッファオーバーフローによる処理の停止や処理速度の低下を抑制することが可能となった。   The file communication method according to the present invention is a file communication method for transmitting an XML (Extensible Markup Language) extended format document file from a file transmission device to a file reception device, wherein the file transmission device has a file size of the document file to be transmitted. The file receiving device acquires the memory margin status and transmits it to the file transmission device, and the file transmission device compares the size of the document file to be transmitted with the memory margin status. Then, it is determined that the document file cannot be processed in the file receiving device, and if it is determined that the processing is impossible, the file transmitting device divides the document file, and the document file or the divided document file is Sending from the file sending device to the file receiving device Therefore, when an XML extended format file is transmitted from the file transmission device to the file reception device, processing is stopped or processed due to a buffer overflow in the file reception device due to the size of the file being too large. It became possible to suppress the decrease in speed.

XPS(XML Paper Specification)やOPC(Open Packaging Conventions)などのXML拡張形式の文書ファイルを端末装置(ファイル送信装置)から画像形成装置(ファイル受信装置)に送信する際に、画像形成装置に処理不可能な大きなファイルが送信されてしまうことに起因する画像形成装置の処理の停止や低速化の問題を画像形成装置のメモリの余裕状況に基づいて、送信する文書ファイルを画像形成装置が処理可能なサイズに分割して送信することにより問題を解決した。   When a document file in an XML extension format such as XPS (XML Paper Specification) or OPC (Open Packaging Conventions) is transmitted from the terminal device (file transmission device) to the image forming device (file reception device), the image forming device is not processed. The image forming apparatus can process a document file to be transmitted, based on the memory availability of the image forming apparatus, on the problem of processing stoppage or slowing down of the image forming apparatus caused by the transmission of a large file that can be transmitted. The problem was solved by sending the data divided into sizes.

本発明に係わる実施例としてのPC(Personal Computer)(ファイル送信装置)及び印刷装置(ファイル受信装置、画像形成装置)について、XML(Extensible Markup Language)拡張形式としてのXPS(XML Paper Specification)ファイルを送信する場合について以下に説明する。   An XPS (XML Paper Specification) file as an XML (Extensible Markup Language) extension format for a PC (Personal Computer) (file transmission apparatus) and a printing apparatus (file reception apparatus, image forming apparatus) as an embodiment according to the present invention. The case of transmission will be described below.

[データの流れ]
まず、PCから印刷装置へのXPS(XML Paper Specification)ファイルのデータの流れについて説明する。
[Data flow]
First, the data flow of an XPS (XML Paper Specification) file from the PC to the printing apparatus will be described.

XPSファイル(ZIP圧縮)には、そのファイルの末尾にサイズなどの情報が書かれているので、PCがその情報を読み取る。   In the XPS file (ZIP compression), since information such as size is written at the end of the file, the PC reads the information.

PC側ではその情報の他に印刷装置内部のメモリサイズも把握する必要があるので、PCは印刷装置に対してメモリ状況の通知を要請する。   Since the PC side needs to know the memory size inside the printing apparatus in addition to the information, the PC requests the printing apparatus to notify the memory status.

印刷装置側では、PC側からの要請に応じて、内部のメモリサイズをPC側に情報として送信する。   On the printing device side, the internal memory size is transmitted to the PC side as information in response to a request from the PC side.

PC側は、出力をしようとしているXPSファイルのデータサイズは、印刷装置側のメモリに対して負担になる大きさか負担にならない程度の大きさかを判断する。   The PC side determines whether the data size of the XPS file to be output is large enough not to burden the memory on the printing apparatus side.

その結果、PC側は出力をしようとするXPSファイルは、そのままのサイズで出力処理をしてもよいか、もしくは、印刷装置側の負担となるため分割して送信しなければならないかを判断する。   As a result, the PC side determines whether the XPS file to be output may be output in the same size or whether it must be divided and transmitted because it is a burden on the printing apparatus side. .

そのままのサイズで問題なければ、データを印刷装置側に送る(出力指示を出す)。   If there is no problem with the size as it is, the data is sent to the printing apparatus side (output instruction is issued).

パーツに分割して印刷装置にデータを送る必要があるようなら、分割処理を行い、そのパーツを順番に印刷装置側に送る(出力指示を出す)。   If it is necessary to divide the data into parts and send data to the printing apparatus, division processing is performed, and the parts are sequentially sent to the printing apparatus (output instruction is issued).

印刷装置側は、送信されたXPSファイル(分割されている場合及び分割されていない場合の両方有る)を受信して印刷出力を行う。   The printing apparatus side receives the transmitted XPS file (both when it is divided and when it is not divided) and prints it out.

[構成]
以下に図1に示すPC(ファイル送信装置)1.1及び印刷装置(画像形成装置)1.2の各機能部について説明する。
[Constitution]
The functional units of the PC (file transmission apparatus) 1.1 and the printing apparatus (image forming apparatus) 1.2 shown in FIG. 1 will be described below.

1.1 PC(Personal Computer)(ファイル送信装置):アプリケーション上で文書を扱い、印刷のためにXPSなどの文書ファイル形式のデータを印刷装置に送信するファイル送信装置である。   1.1 PC (Personal Computer) (file transmission device): A file transmission device that handles documents on an application and transmits data in a document file format such as XPS to the printing device for printing.

1.1.1 XPSファイル(文書ファイル):XPSフォーマットのファイルである(ZIP圧縮がなされている)。   1.1.1 XPS file (document file): An XPS format file (ZIP compression is performed).

1.1.1.1 サイズ情報:1.1.1のXPSファイルにおけるサイズなどの情報が、記載されている圧縮情報部分である。ZIPの末尾の辺りに記載されている。   1.1.1.1 Size information: Information such as the size in the XPS file of 1.1.1 is the compression information portion described. It is written around the end of ZIP.

1.1.2 主制御部:文書ファイル送信のための制御を行う機能部である。   1.1.2 Main control unit: A functional unit that performs control for document file transmission.

1.1.2.1 データ処理部(文書サイズ取得部、メモリ状況取得部、文書サイズ取得手段、メモリ状況取得手段):XPSファイル(文書ファイル)のサイズを確認する。また、印刷装置側のメモリサイズを確認する。   1.1.2.1 Data processing unit (document size acquisition unit, memory status acquisition unit, document size acquisition unit, memory status acquisition unit): confirms the size of an XPS file (document file). Also, the memory size on the printing apparatus side is confirmed.

1.1.2.2 データ判断部(ファイル判断部、ファイル判断手段):印刷装置で出力をしようとしているXPSファイルのデータサイズは、印刷装置側のメモリに対して負担になる大きさか、負担にならない程度の大きさかを判断する。   1.1.2.2 Data Judgment Unit (File Judgment Unit, File Judgment Unit): The data size of the XPS file that is going to be output by the printing device is either large enough not to burden the memory on the printing device side Judge whether the size.

1.1.2.3 XPSファイル出力判断部(ファイル判断部、ファイル判断手段):データ判断部での結果、各データに対して出力をしようとするXPSファイルはそのままのサイズで出力処理をしても問題がないか。分割して処理しなければ、印刷装置側の負担になるかを判断する部分。   1.1.2.3 XPS file output determination section (file determination section, file determination means): As a result of the data determination section, there is a problem even if the output process is performed for the XPS file to be output for each data as it is. Is n’t it? A part that determines whether it will be a burden on the printer if it is not divided and processed.

1.1.2.4 メモリ:PC内のメモリである。   1.1.2.4 Memory: Memory in the PC.

1.1.3 XPSファイル出力指示部(ファイル分割部、分割ファイル送信部、ファイル分割手段、分割ファイル送受信手段):前記XPSファイル出力判断部1.1.2.3において判断された通り、ファイル分割が必要であればファイル分割を行い、出力する旨の指示がなされる。   1.1.3 XPS file output instruction unit (file division unit, divided file transmission unit, file division unit, divided file transmission / reception unit): As determined in the XPS file output determination unit 1.1.2.3, if file division is necessary An instruction is given to divide the file and output it.

1.2 印刷装置(ファイル受信装置、画像形成装置):PCから送られてきた文書ファイル形式のデータの印刷を行う。   1.2 Printing device (file receiving device, image forming device): prints document file format data sent from a PC.

1.2.1 メモリ:印刷装置内のメモリ。PCから送信された分割ファイルの処理を行う際に記録を行う。   1.2.1 Memory: Memory in the printing device. Recording is performed when the divided file transmitted from the PC is processed.

1.2.2 メモリ状況判断部(メモリ状況送信部、メモリ状況伝達手段):印刷装置側の処理部。印刷装置におけるメモリサイズの状況をPC側に送信する。   1.2.2 Memory status determination unit (memory status transmission unit, memory status transmission means): a processing unit on the printing apparatus side. The memory size status in the printing apparatus is transmitted to the PC side.

1.2.3 出力指示受取り部(分割ファイル受信部、分割ファイル送受信手段):PC側から届いた出力処理の指示を受け取る。文書ファイル又は分割された文書ファイルを受信する。   1.2.3 Output instruction receiving unit (divided file receiving unit, divided file transmission / reception means): Receives an output processing instruction received from the PC side. A document file or a divided document file is received.

1.2.4 出力処理部(印刷データ変換部、印刷部):PCから送信された文書ファイル(分割されている場合とされていない場合の両方)を解析して印刷エンジンを駆動可能な印刷エンジン駆動データに変換して、該データにより印刷エンジンを駆動させて印刷を行う。   1.2.4 Output processing unit (print data conversion unit, printing unit): Print engine drive capable of driving the print engine by analyzing document files sent from the PC (both divided and not) The data is converted into data, and the print engine is driven by the data to perform printing.

[フローチャート]
実施例の動作の流れについて図2のフローチャートを用いて説明する。
[flowchart]
An operation flow of the embodiment will be described with reference to a flowchart of FIG.

S2.1:データ処理部1.1.2.1は、XPSファイルのサイズをPC内で判断する。   S2.1: The data processing unit 1.1.2.1 determines the size of the XPS file within the PC.

S2.2:データ処理部1.1.2.1は、印刷装置のメモリサイズを印刷装置に問い合わせて、XPSファイルのデータと照合して、負担無く出力できるかを判断する。   S2.2: The data processing unit 1.1.2.1 inquires the memory size of the printing apparatus to the printing apparatus, compares it with the data of the XPS file, and determines whether the data can be output without a burden.

S2.3:XPSファイル出力指示部1.1.3は、分割処理のジョブの始まりを印刷装置に通知する。   S2.3: The XPS file output instructing unit 1.1.3 notifies the printing apparatus of the start of the job for division processing.

S2.4:XPSファイル出力判断部1.1.2.3は、XPSファイルのデータが印刷装置内のメモリサイズの閾値よりも大きければ分割して出力と判断して、S2.6に遷移する。また、小さければそのままの大きさで出力と判断してS2.5に遷移する。(閾値は、印刷装置出力がスムーズに行えるというサイズ(値)とする。)
S2.5:XPSファイル出力判断部1.1.2.3は、分割していない文書ファイルを印刷装置1.2へ送信し、出力指示を行う。
S2.4: The XPS file output determining unit 1.1.2.3 determines that the data is divided and output if the XPS file data is larger than the memory size threshold in the printing apparatus, and the process proceeds to S2.6. If it is smaller, the output is determined as it is and the process proceeds to S2.5. (The threshold value is assumed to be a size (value) at which printing apparatus output can be performed smoothly.)
S2.5: The XPS file output determination unit 1.1.2.3 transmits an undivided document file to the printing apparatus 1.2 and issues an output instruction.

S2.6:XPSファイル出力判断部1.1.2.3は、文書ファイルを分割するためにどのパーツから出力するかなどを判断して、ZIP圧縮されているパーツを分割し、流す順番に並べる処理を行う。   S2.6: The XPS file output determining unit 1.1.2.3 determines which part to output to divide the document file, etc., and divides the ZIP compressed parts and arranges them in the order of flow. .

S2.7:XPSファイル出力指示部1.1.3は、S2.6で分割し、出力順に並び替えられたパーツの数の分ループを繰り返す。   S2.7: The XPS file output instructing unit 1.1.3 repeats the loop for the number of parts divided in S2.6 and rearranged in the output order.

S2.8:分割処理で並べたパーツを印刷装置1.2へ送信し、出力指示をする。   S2.8: Send the parts arranged in the division process to the printing apparatus 1.2 and give an output instruction.

S2.9:印刷装置側においてS2.8で送られたデータの処理が進み、メモリが解放されて新しいデータの受入ができるまで待機する。   S2.9: Wait until the processing of the data sent in S2.8 proceeds on the printer side, the memory is released and new data can be received.

S3.0:ジョブの終わりを印刷装置に通知する。   S3.0: Notify the end of job to the printer.

上記のS2.6でのXPSファイル出力指示部1.1.3による分割処理については、以下の理由で行われる。   The division process by the XPS file output instruction unit 1.1.3 in S2.6 is performed for the following reason.

XPSファイルは沢山のパーツから成り、それが一つにZIP圧縮されて出来ている。よって、分割という処理は、どのパーツから印刷装置へ送信すれば正常に出力され(正常な描画を含む)、また印刷装置への負担を最小限に抑えることができるのか、ということを目的としている。   An XPS file is made up of many parts that are ZIP-compressed into one. Therefore, the purpose of the division process is to determine which part is sent to the printing apparatus so that it can be output normally (including normal drawing) and the burden on the printing apparatus can be minimized. .

次に図3のフローチャートを用いて、印刷装置側での処理の流れについて説明する。   Next, the flow of processing on the printing apparatus side will be described using the flowchart of FIG.

図3(A)は、印刷装置のメモリ状況をPCに通知するフローチャートである。   FIG. 3A is a flowchart for notifying the PC of the memory status of the printing apparatus.

PC側のS2.2の処理により印刷装置のメモリ状況の問い合わせが送信されると、印刷装置にて以下の処理が開始する。   When an inquiry about the memory status of the printing apparatus is transmitted in the process of S2.2 on the PC side, the following process starts in the printing apparatus.

S3.1:メモリ状況判断部1.2.2は、印刷装置内のメモリサイズを判断する。   S3.1: The memory status determination unit 1.2.2 determines the memory size in the printing apparatus.

S3.2:メモリ状況判断部1.2.2は、メモリサイズの情報をPC側へ送信する。   S3.2: The memory status determination unit 1.2.2 transmits the memory size information to the PC side.

図3(B)は、印刷処理に関するフローチャートである。   FIG. 3B is a flowchart regarding the printing process.

PC側のS2.5またはS2.8の処理により印刷データが送信されると、印刷装置にて以下の処理が開始する。   When print data is transmitted by the processing of S2.5 or S2.8 on the PC side, the following processing is started in the printing apparatus.

S3.3:出力指示受取部1.2.3は、PC内で処理されて、印刷装置で出力するデータの出力指示をPC側から受取る。   S3.3: The output instruction receiving unit 1.2.3 receives an output instruction of data processed in the PC and output from the printing apparatus from the PC side.

S3.4:出力処理部1.2.4は、受信した文書ファイル(分割されている場合とされていない場合の両方あり)を印刷エンジンの駆動データに変換し、印刷出力を行う。   S3.4: The output processing unit 1.2.4 converts the received document file (both when it is divided and when it is not divided) into drive data for the print engine, and performs print output.

以上でPC側の処理を終了する。   This completes the processing on the PC side.

[実施例の効果]
本実施例では、事前にXPSファイルのサイズを確かめた上で、データのサイズが大き過ぎて印刷装置出力に不都合が起こり得ると考えられる場合、データの分割を行って印刷装置に流すという手法をとるため、印刷装置において、メモリの効率化を図り、よりスムーズに印刷装置出力を行うことが可能となった。
[Effect of Example]
In this embodiment, after confirming the size of the XPS file in advance, if it is considered that the data size is too large and inconvenience may occur in the printing apparatus output, the data is divided and sent to the printing apparatus. Therefore, in the printing apparatus, it is possible to increase the memory efficiency and to output the printing apparatus more smoothly.

本実施例の画像形成装置により、PCは文書をページ記述言語(PDL)に変換する必要が無くなり、PDL変換のためのプリンタドライバが必要なくなった。   With the image forming apparatus of this embodiment, the PC does not need to convert a document into a page description language (PDL), and a printer driver for PDL conversion is not necessary.

また、PCではPDL変換の処理が必要なくなったので、印刷時のPCの処理の負担が軽減した。   Also, since the PC does not require PDL conversion processing, the PC processing burden during printing is reduced.

画像形成装置は、直接XPSなどの文書ファイル形式を印刷可能となり、従来に比べてデータの変換処理回数が減り、より高速に印刷可能となった。   The image forming apparatus can directly print a document file format such as XPS, and the number of data conversion processes is reduced as compared with the conventional one, and printing can be performed at a higher speed.

[その他]
実施例としては、文書ファイル形式としてXPS(XML Paper Specification)について説明を行ったが、他の文書ファイル形式、例えばOPC(Open Packaging Conventions)であっても良い。
[Others]
As an example, XPS (XML Paper Specification) has been described as a document file format, but other document file formats such as OPC (Open Packaging Conventions) may be used.

PC(端末装置)と印刷装置(画像形成装置)の機能ブロック図である(実施例1)。1 is a functional block diagram of a PC (terminal device) and a printing device (image forming device) (Example 1). PC(端末装置)側での処理のフローチャートである(実施例1)。10 is a flowchart of processing on a PC (terminal device) side (first embodiment). 印刷装置(画像形成装置)側での処理のフローチャートである(実施例1)。10 is a flowchart of processing on the printing apparatus (image forming apparatus) side (first embodiment).

符号の説明Explanation of symbols

1.1 PC(Personal Computer)(ファイル送信装置)
1.1.1 XPS(XML Paper Specification)ファイル(文書ファイル)
1.1.2.1 データ処理部(文書サイズ取得部、メモリ状況取得部、文書サイズ取得手段、メモリ状況取得手段)
1.1.2.2 データ判断部(ファイル判断部、ファイル判断手段)
1.1.2.3 XPSファイル出力判断部(ファイル判断部、ファイル判断手段)
1.1.3 XPSファイル出力指示部(ファイル分割部、分割ファイル送信部、ファイル分割手段、分割ファイル送受信手段)
1.2 印刷装置(ファイル受信装置、画像形成装置)
1.2.2 メモリ状況判断部(メモリ状況送信部、メモリ状況伝達手段)
1.2.3 出力指示受取部(分割ファイル受信部、分割ファイル送受信手段)
1.2.4 出力処理部(印刷データ変換部、印刷部)
1.1 PC (Personal Computer) (file transmission device)
1.1.1 XPS (XML Paper Specification) file (document file)
1.1.2.1 Data processing unit (document size acquisition unit, memory status acquisition unit, document size acquisition unit, memory status acquisition unit)
1.1.2.2 Data judgment part (file judgment part, file judgment means)
1.1.2.3 XPS file output determination unit (file determination unit, file determination means)
1.1.3 XPS file output instruction section (file division section, divided file transmission section, file division means, divided file transmission / reception means)
1.2 Printing device (file receiving device, image forming device)
1.2.2 Memory status judgment unit (memory status transmission unit, memory status transmission means)
1.2.3 Output instruction receiver (split file receiver, split file transmission / reception means)
1.2.4 Output processing section (print data conversion section, printing section)

Claims (8)

XML(Extensible Markup Language)拡張形式の文書ファイルのファイルサイズを取得する文書サイズ取得部と、
ファイルを受信するファイル受信装置のメモリの余裕状況を取得するメモリ状況取得部と、
前記文書ファイルのファイルサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての前記文書ファイルの処理の不可を判断するファイル判断部と、
前記ファイル判断部の処理不能の判断結果に基づいて、前記文書ファイルを分割するファイル分割部と、
前記文書ファイルまたは前記分割された文書ファイルを前記ファイル受信装置に送信する分割ファイル送信部と、を有する
ことを特徴とするファイル送信装置。
A document size acquisition unit for acquiring the file size of an XML (Extensible Markup Language) extended format document file;
A memory status acquisition unit for acquiring a margin status of a memory of a file receiving device that receives a file;
A file determination unit that compares the file size of the document file with the margin of the memory and determines whether the document file cannot be processed in the file reception device;
A file dividing unit that divides the document file based on a determination result indicating that the file determination unit cannot process;
A file transmission device comprising: a divided file transmission unit configured to transmit the document file or the divided document file to the file reception device.
請求項1記載のファイル送信装置であって、
前記XML(Extensible Markup Language)拡張形式がXPS(XML Paper Specification)又はOPC(Open Packaging Conventions)である
ことを特徴とするファイル送信装置。
The file transmission device according to claim 1,
An XML (Extensible Markup Language) extension format is XPS (XML Paper Specification) or OPC (Open Packaging Conventions).
メモリの余裕状況を取得してファイル送信装置に伝達するメモリ状況送信部と、
前記ファイル送信装置において分割されたXML(Extensible Markup Language)拡張形式の文書ファイルを受信する分割ファイル受信部と、
前記分割された文書ファイルを印刷エンジン駆動データに変換する印刷データ変換部と、
前記印刷エンジン駆動データを印刷する印刷部と、を有する
ことを特徴とする画像形成装置。
A memory status transmission unit for acquiring a memory margin status and transmitting it to the file transmission device;
A divided file receiving unit for receiving a document file in an XML (Extensible Markup Language) extended format divided in the file transmitting device;
A print data conversion unit that converts the divided document file into print engine drive data;
An image forming apparatus comprising: a printing unit that prints the print engine drive data.
請求項3記載の画像形成装置であって、
前記XML(Extensible Markup Language)拡張形式がXPS(XML Paper Specification)又はOPC(Open Packaging Conventions)である、
ことを特徴とする画像形成装置。
The image forming apparatus according to claim 3, wherein
The XML (Extensible Markup Language) extension format is XPS (XML Paper Specification) or OPC (Open Packaging Conventions).
An image forming apparatus.
コンピュータを
ファイル送信装置が有するXML(Extensible Markup Language)拡張形式の文書ファイルのファイルサイズを取得する文書サイズ取得手段と、
ファイル受信装置のメモリの余裕状況取得するメモリ状況取得手段と、
前記メモリの余裕状況を前記ファイル受信装置から前記ファイル送信装置に伝達するメモリ状況伝達手段と、
前記文書ファイルのファイルサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての文書ファイルの処理の不可を判断するファイル判断手段と、
前記ファイル判断手段の処理不能の判断結果に基づいて、前記文書ファイルを分割するファイル分割手段と、
前記文書ファイルまたは前記分割された文書ファイルを前記ファイル送信装置から前記ファイル受信装置に送信する分割ファイル送受信手段と、
して機能させるためのファイル通信プログラム。
Document size acquisition means for acquiring the file size of an XML (Extensible Markup Language) extended format document file included in the file transmission device of a computer;
A memory status acquisition means for acquiring a margin status of the memory of the file receiving device;
Memory status transmission means for transmitting a margin status of the memory from the file reception device to the file transmission device;
A file determination unit that compares the file size of the document file with the margin of the memory and determines whether the document file cannot be processed in the file reception device;
A file dividing means for dividing the document file based on a determination result indicating that the file determining means cannot process;
A divided file transmission / reception means for transmitting the document file or the divided document file from the file transmission device to the file reception device;
File communication program to make it function.
請求項5記載のファイル通信プログラムであって、
前記XML(Extensible Markup Language)拡張形式がXPS(XML Paper Specification)又はOPC(Open Packaging Conventions)である
ことを特徴とするファイル通信プログラム。
A file communication program according to claim 5,
An XML (Extensible Markup Language) extension format is XPS (XML Paper Specification) or OPC (Open Packaging Conventions).
XML(Extensible Markup Language)拡張形式の文書ファイルをファイル送信装置からファイル受信装置に送信するファイル通信方法であって、
前記ファイル送信装置において、送信する文書ファイルのファイルサイズを取得し、
前記ファイル受信装置において、メモリの余裕状況を取得して前記ファイル送信装置に伝達し、
前記ファイル送信装置において、前記送信する文書ファイルのサイズと、前記メモリの余裕状況と、を比較して、前記ファイル受信装置においての前記文書ファイルの処理の不可を判断し、
処理不能と判断したら、前記ファイル送信装置において前記文書ファイルを分割し、
前記文書ファイルまたは前記分割された文書ファイルを前記ファイル送信装置から前記ファイル受信装置に送信する
ことを特徴とするファイル通信方法。
A file communication method for transmitting an XML (Extensible Markup Language) extended format document file from a file transmission device to a file reception device,
In the file transmission device, obtain the file size of the document file to be transmitted,
In the file receiving device, obtain a margin situation of the memory and communicate to the file transmitting device,
In the file transmission device, the size of the document file to be transmitted is compared with the margin of the memory, and it is determined that the document file cannot be processed in the file reception device,
If it is determined that processing is not possible, the file transmission device divides the document file,
A file communication method comprising: transmitting the document file or the divided document file from the file transmission device to the file reception device.
請求項7記載のファイル通信方法であって、
前記XML(Extensible Markup Language)拡張形式がXPS(XML Paper Specification)又はOPC(Open Packaging Conventions)である
ことを特徴とするファイル通信方法。
The file communication method according to claim 7, comprising:
An XML (Extensible Markup Language) extension format is XPS (XML Paper Specification) or OPC (Open Packaging Conventions).
JP2007153227A 2007-06-08 2007-06-08 File transmission apparatus, image forming apparatus, file communication program, and file communication method Pending JP2008305265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007153227A JP2008305265A (en) 2007-06-08 2007-06-08 File transmission apparatus, image forming apparatus, file communication program, and file communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007153227A JP2008305265A (en) 2007-06-08 2007-06-08 File transmission apparatus, image forming apparatus, file communication program, and file communication method

Publications (1)

Publication Number Publication Date
JP2008305265A true JP2008305265A (en) 2008-12-18

Family

ID=40233916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007153227A Pending JP2008305265A (en) 2007-06-08 2007-06-08 File transmission apparatus, image forming apparatus, file communication program, and file communication method

Country Status (1)

Country Link
JP (1) JP2008305265A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010126693A (en) * 2008-11-28 2010-06-10 Nagase Chemtex Corp Asymmetric type multifunctional hydroxyl group-containing condensed ring structure compound and condensed ring structure-containing resin
US20130141752A1 (en) * 2011-12-06 2013-06-06 Ricoh Company, Ltd. Job control apparatus, job control system, and method of controlling processing job data
JP2013529812A (en) * 2010-06-22 2013-07-22 マイクロソフト コーポレーション Optimized font subsetting for print paths

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004032774A (en) * 2002-06-21 2004-01-29 Microsoft Corp Method and system for encoding markup language document
JP2004178128A (en) * 2002-11-26 2004-06-24 Fuji Xerox Co Ltd Document generating device
JP2004287978A (en) * 2003-03-24 2004-10-14 Toshiba Corp Method and program for dividing structured document
JP2006172043A (en) * 2004-12-15 2006-06-29 Canon Inc Direct print system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004032774A (en) * 2002-06-21 2004-01-29 Microsoft Corp Method and system for encoding markup language document
JP2004178128A (en) * 2002-11-26 2004-06-24 Fuji Xerox Co Ltd Document generating device
JP2004287978A (en) * 2003-03-24 2004-10-14 Toshiba Corp Method and program for dividing structured document
JP2006172043A (en) * 2004-12-15 2006-06-29 Canon Inc Direct print system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010126693A (en) * 2008-11-28 2010-06-10 Nagase Chemtex Corp Asymmetric type multifunctional hydroxyl group-containing condensed ring structure compound and condensed ring structure-containing resin
JP2013529812A (en) * 2010-06-22 2013-07-22 マイクロソフト コーポレーション Optimized font subsetting for print paths
US9159003B2 (en) 2010-06-22 2015-10-13 Microsoft Technology, LLC Optimized font subsetting for a print path
US20130141752A1 (en) * 2011-12-06 2013-06-06 Ricoh Company, Ltd. Job control apparatus, job control system, and method of controlling processing job data

Similar Documents

Publication Publication Date Title
JP5415750B2 (en) Information processing apparatus, information processing method, program, and information processing system
JP4990033B2 (en) File transmission apparatus, image forming apparatus, file communication program, image forming program, file communication method, and image forming method
JP2008305265A (en) File transmission apparatus, image forming apparatus, file communication program, and file communication method
JP2007094721A (en) Printing system
US8472058B2 (en) Image processing device, image processing method, and program
JP4174476B2 (en) Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system
US10277765B2 (en) Information processing device, control method, and program
US8587822B2 (en) Printing apparatus, method and storage medium for executing a job combining double-sided and single-sided pages
JP2011090599A (en) Information processing apparatus and method
JP2011116083A (en) Printer and control method therefor, program
JP2008305266A (en) File transmission apparatus, image forming apparatus, file communication program, and file communication method
US8526032B2 (en) Concurrent IPDS and non-IPDS print processing
JP2007076343A (en) Printing device, printing method, and printing program
JP2002244821A (en) Printing method using print server, print server, program, and recording medium
US20100265543A1 (en) Image forming apparatus, method of controlling the same and program of the same
JP2017050767A (en) Image forming apparatus, task control method and task control program in the same
US10691382B2 (en) Information processing device, method of controlling information processing device, and non-transitory computer-readable recording medium containing instructions realizing printer driver
US9268515B2 (en) Information processing apparatus, information processing system, and information processing method, for transmitting print jobs to a printing control apparatus
JP2015028693A (en) Print control device, control method of print control device, and program
JP2007008011A (en) Image forming apparatus, image forming method and program
JP2009006570A (en) Printer
JP2001209514A (en) Printing system
US8072638B2 (en) Method and system for forming image, and external device
JP2005319638A (en) Image forming apparatus and control program
JP2001236186A (en) PRINT PROCESSING SYSTEM, PRINT DATA PROCESSING METHOD, AND RECORDING MEDIUM CONTAINING PROGRAM FOR IMPLEMENTING THE METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100524

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120110

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120522