JP2022166460A - Information processing system, information processing device, print control method, and program - Google Patents
Information processing system, information processing device, print control method, and program Download PDFInfo
- Publication number
- JP2022166460A JP2022166460A JP2021071674A JP2021071674A JP2022166460A JP 2022166460 A JP2022166460 A JP 2022166460A JP 2021071674 A JP2021071674 A JP 2021071674A JP 2021071674 A JP2021071674 A JP 2021071674A JP 2022166460 A JP2022166460 A JP 2022166460A
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- printed
- information
- page
- character
- 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
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims description 30
- 238000007639 printing Methods 0.000 claims abstract description 21
- 238000012545 processing Methods 0.000 description 43
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 239000000463 material Substances 0.000 description 6
- 239000000284 extract Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
Description
本発明は、情報処理システム、情報処理装置、印刷制御方法、及びプログラムに関する。 The present invention relates to an information processing system, an information processing apparatus, a print control method, and a program.
デジタル化した社会の進展に伴い、例えば、企業間の取引等においても、取引に関する文書等をデジタル化する取り組みが進められている。 With the progress of the digitized society, efforts are being made to digitize documents related to transactions, for example, in transactions between companies.
また、ウェブページを解析してリンク先の情報を取得し、取得したリンク先の情報を表す2次元コードと、当該ウェブページの文字または画像とを対応させて表示した印刷用画像を作成する画像形成システムが知られている(例えば、特許文献1参照)。 An image that analyzes a web page to obtain link destination information, and creates an image for printing that displays a two-dimensional code representing the obtained link destination information in correspondence with the text or image of the web page. A forming system is known (see, for example, Patent Document 1).
従来の技術では、文書データを、紙等の記録媒体に印刷してしまうと、文書データに含まれる文字列、及び文字列の文書構造等を表す電子データである文字情報が失われてしまうという問題がある。なお、この問題は、例えば、特許文献1に開示された技術を適用しても解決することはできない。
According to conventional technology, when document data is printed on a recording medium such as paper, character strings contained in the document data and character information, which is electronic data representing the document structure of the character strings, are lost. There's a problem. This problem cannot be solved by applying the technique disclosed in
本発明の一実施形態は、上記の問題点に鑑みてなされたものであって、文書データに含まれる電子化された文字情報を維持しつつ、紙等の記録媒体に文書を印刷できるようにする。 SUMMARY OF THE INVENTION An embodiment of the present invention has been made in view of the above problems, and is capable of printing a document on a recording medium such as paper while maintaining computerized character information included in the document data. do.
上記の課題を解決するため、本発明の一実施形態に係る情報処理システムは、第1の情報処理装置を含み、前記第1の情報処理装置は、印刷対象となる電子データから、第1のページに印刷する文字列、及び前記文字列の文書構造を含む文字情報を取得する取得部と、前記文字情報を表す1つ以上の2次元コードを生成する生成部と、前記第1のページ、及び前記1つ以上の2次元コードを印刷する第2のページの印刷を制御する印刷制御部と、を有する。 In order to solve the above problem, an information processing system according to an embodiment of the present invention includes a first information processing apparatus, and the first information processing apparatus extracts a first image from electronic data to be printed. an acquisition unit that acquires a character string to be printed on a page and character information including a document structure of the character string; a generation unit that generates one or more two-dimensional codes representing the character information; the first page; and a print control unit for controlling printing of a second page on which the one or more two-dimensional codes are printed.
本発明の一実施形態によれば、文書データに含まれる電子化された文字情報を維持しつつ、紙等の記録媒体に文書を印刷できるようになる。 According to one embodiment of the present invention, a document can be printed on a recording medium such as paper while maintaining computerized character information included in the document data.
以下、本発明の実施形態について、図面を参照しながら詳細に説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<システム構成>
図1は、一実施形態に係る情報処理システム1のシステム構成の例を示す図である。情報処理システム1は、例えば、プリンタ、又はMFP(Multifunction Peripheral)等の印刷機能を有する画像形成装置101と、印刷を制御する情報処理装置100とを含む。
<System configuration>
FIG. 1 is a diagram showing an example of the system configuration of an
情報処理装置(第1の情報処理装置)100は、例えば、OS(Operating System)、ユーザアプリケーション(以下、アプリケーションと呼ぶ)、及び印刷を制御するプリンタドライバ等のプログラムを実行するコンピュータである。 An information processing apparatus (first information processing apparatus) 100 is, for example, a computer that executes programs such as an OS (Operating System), a user application (hereinafter referred to as an application), and a printer driver that controls printing.
アプリケーションは、例えば、文書作成アプリケーション、表計算アプリケーション、又はプレゼンテーションアプリケーション等のオフィスアプリケーションを含む。ただし、これに限られず、アプリケーションは、文字列と、文字列の文書構造とを含む電子データを、画像形成装置101で印刷可能な様々なユーザアプリケーションであって良い。ここでは、説明用の一例として、アプリケーションが、オフィスアプリケーションであるものとして、以下の説明を行う。
Applications include, for example, office applications such as word processing applications, spreadsheet applications, or presentation applications. However, the application is not limited to this, and may be various user applications that allow the
プリンタドライバは、アプリケーションが出力した印刷対象となる電子データと印刷設定情報とを、例えば、OSを介して受け付けし、受け付けた電子データを画像形成装置101が印刷可能な印刷データに変換して、画像形成装置101に出力する。また、本実施形態に係るプリンタドライバは、仮想プリンタの機能を有している。
The printer driver receives electronic data to be printed and print setting information output by the application via, for example, the OS, converts the received electronic data into print data printable by the
仮想プリンタは、アプリケーションが出力した印刷対象となる電子データに様々な処理を実行するプログラムであり、通常のプリンタドライバによって提供されない機能を提供することができる。なお、仮想プリンタは、プリンタドライバとは別のプログラムによって実現されるものであっても良い。 A virtual printer is a program that executes various processes on electronic data to be printed that is output by an application, and can provide functions that are not provided by a normal printer driver. Note that the virtual printer may be realized by a program separate from the printer driver.
本実施形態に係る仮想プリンタは、印刷対象となる電子データから、ページに印刷する文字列、及び当該文字列の文書構造を含む文字情報を取得し、取得した文字情報を表す1つ以上の2次元コードを生成する機能を有している。また、仮想プリンタは、印刷対象となる電子データを印刷するページ(第1のページ)と、生成した1つ以上の2次元コードを印刷するページ(第2のページ)の印刷を、プリンタドライバに要求する。 The virtual printer according to the present embodiment acquires character information including a character string to be printed on a page and the document structure of the character string from electronic data to be printed, and creates one or more two characters representing the acquired character information. It has a function to generate a dimensional code. In addition, the virtual printer instructs the printer driver to print a page (first page) for printing electronic data to be printed and a page (second page) for printing one or more generated two-dimensional codes. demand.
好適な一例として、仮想プリンタは、紙等の記録媒体の表面102に、アプリケーションが印刷を要求する文書を印刷し、当該記録媒体の裏面103に、表面の文書の文字情報を表す1つ以上の2次元コードを印刷するように、プリンタドライバに指示する。これにより、情報処理システム1は、表面102に文書が印刷された記録媒体の裏面103に、表面102の文書に含まれる文字列、及び当該文字列の文書構造を表す1つ以上の2次元コードが印刷された印刷物を提供することができる。
As a preferred example, the virtual printer prints a document requested by an application to print on the
好ましくは、情報処理システム1は、スキャナ、又はMFP等のスキャン機能を有する画像形成装置111と、画像形成装置111がスキャンした画像データを取得する情報処理装置110とを含む。
Preferably, the
情報処理装置(第2の情報処理装置)110は、例えば、情報処理システム1に対応する専用のアプリケーションを実行するコンピュータである。情報処理装置110は、例えば、表面102に文書が印刷され、裏面103に2次元コードが印刷された印刷物をスキャンした画像データを、画像形成装置111を用いて取得することができる。また、情報処理装置110は、印刷物の裏面103に印刷された1つ以上の2次元コードを含む画像データを取得した場合、画像データに含まれる1つ以上の2次元コードを解析して、当該2次元コードが表す文字情報を作成する機能を有している。この文字情報は、印刷物の表面102に印刷された文書に含まれる文字列、及び当該文字列の文書構造を示す電子データである。
The information processing device (second information processing device) 110 is, for example, a computer that executes a dedicated application corresponding to the
また、情報処理装置110は、1つ以上の2次元コードから作成した文字情報を所定の出力先に出力する。例えば、情報処理装置110は、前述した専用のアプリケーションのビューア画面に、印刷物の表面102に印刷された文書をスキャンした画像データ104と、作成した文字情報105とを出力(表示)しても良い。或いは、情報処理装置110は、1つ以上の2次元コードから作成した文字情報を、他のアプリケーション、他のシステム、又は記憶部等に出力しても良い。
The
上記の構成により、本実施形態に係る情報処理システム1によれば、文書データに含まれる電子化された文字情報を維持しつつ、紙等の記録媒体に文書を印刷できるようになる。
With the above configuration, according to the
<ハードウェア構成>
情報処理装置100、110は、例えば、図2に示すようなコンピュータ200のハードウェア構成を有している。
<Hardware configuration>
The
図2は、一実施形態に係るコンピュータのハードウェア構成の例を示す図である。コンピュータ200は、例えば、CPU(Central Processing Unit)201、ROM(Read Only Memory)202、RAM(Random Access Memory)203、HD(Hard Disk)204、HDD(Hard Disk Drive)コントローラ205、ディスプレイ206、外部機器接続I/F(Interface)207、ネットワークI/F208、キーボード209、ポインティングデバイス210、DVD-RW(Digital Versatile Disk Rewritable)ドライブ212、メディアI/F214、及びバスライン215等を備えている。
FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer according to one embodiment; The
これらのうち、CPU201は、コンピュータ200の全体の動作を制御する。ROM202は、例えば、IPL(Initial Program Loader)等のコンピュータ200の起動に用いられるプログラムを記憶する。RAM203は、例えば、CPU201のワークエリア等として使用される。HD204は、例えば、プログラム等の各種データを記憶する。HDDコントローラ205は、CPU201の制御に従ってHD204に対する各種データの読み出し又は書き込みを制御する。
Among these, the
ディスプレイ206は、例えば、カーソル、メニュー、ウィンドウ、文字、又は画像などの各種の情報を表示する。外部機器接続I/F207は、各種の外部機器を接続するためのインタフェースである。外部機器には、例えば、USB(Universal Serial Bus)メモリ、又は画像形成装置101、111等が含まれる。ネットワークI/F208は、通信ネットワークを利用してデータ通信をするためのインタフェースである。画像形成装置101、111は、ネットワークI/F208を介して、コンピュータ200に接続されるものであっても良い。
The
キーボード209は、文字、数値、各種指示などの入力のための複数のキーを備えた入力手段の一種である。ポインティングデバイス210は、各種指示の選択や実行、処理対象の選択、カーソルの移動などを行う入力手段の一種である。DVD-RWドライブ212は、着脱可能な記録媒体の一例としてのDVD-RW211に対する各種データの読み出し又は書き込みを制御する。なお、DVD-RW211は、DVD-RWに限らず、他の記録媒体であっても良い。メディアI/F214は、例えば、フラッシュメモリやメモリカード等のメディア213に対するデータの読み出し又は書き込み(記憶)を制御する。バスライン215は、上記の各構成要素を電気的に接続するためのアドレスバス、データバス及び各種の制御信号等を含む。
The
[第1の実施形態]
第1の実施形態では、情報処理装置(第1の情報処理装置)100が、画像形成装置101を用いて、表面102に文書が印刷され、裏面103に2次元コードが印刷された印刷物を印刷する処理の例について説明する。
[First Embodiment]
In the first embodiment, an information processing apparatus (first information processing apparatus) 100 uses an
<機能構成>
図3は、第1の実施形態に係る情報処理装置の構成例を示す図である。図3に示すように、情報処理装置(第1の情報処理装置)100は、OS300と、OS上で動作するアプリケーション310、及びプリンタドライバ320等のプログラムを実行している。また、情報処理装置100は、例えば、CPU201でプリンタドライバ320を実行することにより、受付部301、取得部302、データ処理部303、生成部304、及び印刷制御部305等の機能構成を実現している。なお、上記の各機能構成のうち、少なくとも一部は、ハードウェアによって実現されるものであっても良い。
<Functional configuration>
FIG. 3 is a diagram illustrating a configuration example of an information processing apparatus according to the first embodiment; As shown in FIG. 3, the information processing apparatus (first information processing apparatus) 100 executes programs such as an
受付部301は、アプリケーション310が出力する印刷対象となる電子データと、印刷設定情報とを、例えば、OS300を介して受け付けする受付処理を実行する。
The
取得部302は、受付部301が受け付けた印刷対象となる電子データから、第1のページに印刷する文字列、及び当該文字列の文書構造を含む文字情報を取得する取得処理を実行する。
The
図4(A)は、アプリケーション310が印刷を要求する文書401の一例を示している。取得部302は、このような文書401に含まれる文字列と、当該文字列の文書構造とを含む文字情報を、印刷対象となる電子データから取得する取得処理を実行する。例えば、取得部302は、受付部301が受け付けた印刷対象となる電子データから、図4(B)に示すようなマークダウン形式の文字情報402を取得(抽出)する。ただし、これに限られず、取得部302は、受付部301が受け付けた印刷対象となる電子データから、例えば、XML(Extensible Markup Language)等のマークアップ形式の文字情報を取得するものであっても良い。なお、取得部302が実行する取得処理の具体的な処理内容については後述する。
FIG. 4A shows an example of a
データ処理部303は、取得部302が取得した文字情報に対して、例えば、圧縮、エンコード、及び分割等のデータ処理を実行する。例えば、データ処理部303は、取得部302が取得した文字情報を、ZIP等の圧縮方式で圧縮して圧縮データを生成する。また、データ処理部303は、生成した圧縮データ(バイナリデータ)を、例えば、Base64等のエンコード方式で文字列にエンコードする。さらに、データ処理部303は、エンコードした文字列を、2次元コードに対応するサイズに分割する。
The
図5(A)は、Base64でエンコードした文字列510の一例を示している。このように、圧縮データを文字列に変換することにより、バイナリ形式のデータより、2次元コードに対応するサイズに分割することが容易になる。また、Base64では、64種類の印刷可能な英数字のみを用いるため、バイナリ形式のデータより、読み取りエラーに強くなる。
FIG. 5A shows an example of a
生成部304は、取得部302が取得した文字情報を表す1つ以上の2次元コードを生成する。例えば、生成部304は、データ処理部303が、2次元コードに対応するサイズに分割した文字列を、QR(Quick Response)コード等の1つ以上の2次元コードに変換する。また、生成部304は、生成した1つ以上の2次元コードのメタ情報(書誌情報)を含む2次元コード(メタ情報)を作成する。
The
2次元コードがQRコード(登録商標)である場合、QRコードの最大容量は、バージョンを最大(40)、誤り訂正レベルを最低(L)にした場合、2953バイトとなる。ただし、QRコードは、2次元コードの一例である。2次元コードは、例えば、DataMatrix(登録商標)、VeriCode(登録商標)、PDF417(登録商標)、又はCODE49(登録商標)等を用いても良い。 When the two-dimensional code is a QR code (registered trademark), the maximum capacity of the QR code is 2953 bytes when the version is the maximum (40) and the error correction level is the minimum (L). However, a QR code is an example of a two-dimensional code. DataMatrix (registered trademark), VeriCode (registered trademark), PDF417 (registered trademark), or CODE49 (registered trademark), for example, may be used as the two-dimensional code.
印刷制御部305は、アプリケーション310が印刷を要求する文書401のページ(第1のページ)と、第1のページの文字情報402を表す1つ以上の2次元コードを印刷する第2のページの印刷を制御する印刷制御処理を実行する。
The
好ましくは、印刷制御部305は、図5(B)に示すように、文書401の1ページ目を、印刷物520の表面に印刷し、文書401の1ページ目の文字情報402を表す1つ以上の2次元コードを、印刷物520の裏面に印刷するように制御する。同様に、印刷制御部305は、文書401の2ページ目を、印刷物520の表面に印刷し、文書401の2ページ目の文字情報402を表す1つ以上の2次元コードを、印刷物520の裏面に印刷するように印刷データを作成する。また、印刷制御部305は、作成した印刷データを画像形成装置101に送信して、画像形成装置101に、例えば、図5(B)に示すような印刷物520の印刷を指示する。
Preferably, as shown in FIG. 5B, the
図5(B)の例では、印刷物520の1ページ(裏)には、1ページ(表)に印刷された文書401の文字情報402を表す複数の2次元コード522a、522b、・・・と、複数の2次元コードのメタ情報を含む2次元コード(メタ情報)521が印刷されている。
In the example of FIG. 5B, on one page (back side) of the printed
なお、図3に示す情報処理装置(第1の情報処理装置)100の機能構成は一例である。例えば、図3において、プリンタドライバ320が実現している機能構成のうち、取得部302、データ処理部303、及び生成部304等が、プリンタドライバ320以外の仮想プリンタ用のプログラム等によって実現されるものであっても良い。
Note that the functional configuration of the information processing apparatus (first information processing apparatus) 100 shown in FIG. 3 is an example. For example, in FIG. 3, of the functional configuration realized by the
<処理の流れ>
続いて、第1の実施形態に係る印刷制御方法の処理の流れについて説明する。
<Process flow>
Next, the flow of processing of the print control method according to the first embodiment will be described.
(情報処理装置の処理)
図6は、第1の実施形態に係る情報処理装置の処理の例を示すフローチャートである。この処理は、図3に示した情報処理装置(第1の情報処理装置)100が、画像形成装置101を用いて、例えば、図5(B)に示すような印刷物520を印刷する処理の概要を示している。
(Processing of information processing device)
FIG. 6 is a flowchart illustrating an example of processing of the information processing apparatus according to the first embodiment; This process is an overview of the process in which the information processing apparatus (first information processing apparatus) 100 shown in FIG. is shown.
ステップS601において、受付部301が、例えば、アプリケーション310からの印刷要求により、印刷対象となる電子データを受け付けると、情報処理装置100は、ステップS602の処理を実行する。
In step S<b>601 , when the
ステップS602において、情報処理装置100は、受付部301が受け付けた電子データの各ページに対して、ステップS603~S605の処理を実行する。
In step S602, the
ステップS603において、取得部302は、処理対象のページに印刷する文字列と、当該文字列の文書構造とを表す文字情報を取得する。
In step S603, the
図7、8は、第1の実施形態に係る文字情報の取得処理の例を説明するための図である。ここでは、印刷を要求するアプリケーション310が、文書作成プログラムの一例であるMicrosoft(登録商標) Word(以下、ワードと呼ぶ)である場合の例について説明する。
7 and 8 are diagrams for explaining an example of character information acquisition processing according to the first embodiment. Here, an example in which the
ワードの文書ファイル(拡張子docx)は、例えば、図7に示すような構成のファイル群700を圧縮した圧縮ファイルになっている。また、図7に示したファイル群700のうち、ファイル名「document.xml」のXMLファイルに、文書ファイルの本文に含まれる文字列、及び当該文字列の文書構造を含む文字情報が格納されている。ただし、このXMLファイルには、例えば、図8の表800に示すように、必要な文字情報以外にも、様々なタグ情報が記録されている。
A word document file (extension docx) is, for example, a compressed file obtained by compressing a
取得部302は、ファイル名「document.xml」のXMLファイルから、必要な情報のみを文字情報として取得する。例えば、取得部302は、図8に示した複数の要素名のうち、「pPr」、「rPr」、「t」、「numPr」、「ilvl」、及び「numID」に対応するデータのみを取得して、図4(B)に示すようなマークダウン形式の文字情報402を取得(抽出)する。
The
なお、上記の例ではワードの文書ファイルについて説明したが、Microsoft Officeの他のアプリケーションにおいても、同様の手法により、文字情報を取得することができる。また、他のアプリケーションにおいても、文書ファイルを解析して、文字情報を取得可能なものであれば、本実施形態を適用することができる。 In the above example, a word document file has been described, but character information can also be obtained in a similar manner in other applications of Microsoft Office. The present embodiment can also be applied to other applications as long as they can analyze document files and obtain character information.
ここで、図6に戻り、フローチャートの説明を続ける。ステップS604において、生成部304は、取得部302が取得した文字情報402を表す1つ以上の2次元コードを生成する。例えば、生成部304は、図9に示すような2次元コードの生成処理を実行する。
Here, returning to FIG. 6, the explanation of the flowchart is continued. In step S<b>604 , the
図9は、第1の実施形態に係る2次元コードの生成処理の例を示すフローチャートである。この処理は、例えば、図6のステップS604において、生成部304が実行する2次元コードの生成処理の一例を示している。
FIG. 9 is a flowchart illustrating an example of a two-dimensional code generation process according to the first embodiment. This processing represents an example of the two-dimensional code generation processing executed by the
ステップS901において、生成部304は、データ処理部303を用いて、取得部302が取得した文字情報402を圧縮する。一例として、生成部304は、データ処理部303を用いて、文字情報402をZIP形式の圧縮ファイル(圧縮データ)に圧縮する。なお、生成部304は、文字情報402をZIP形式以外の圧縮ファイルに圧縮しても良い。
In step S<b>901 , the
ステップS902において、生成部304は、データ処理部303を用いて、圧縮ファイル(圧縮データ)を文字列にエンコードする。例えば、生成部304は、データ処理部303を用いて、圧縮データをBase64でエンコードする。なお、生成部304は、圧縮データをBase64以外の方法で、文字列にエンコードしても良い。
In step S902, the
ステップS903において、生成部304は、データ処理部303を用いて、エンコードした文字列を2次元コードに対応するサイズに分割する。また、生成部304は、分割した文字列を、それぞれ2次元コードに変換することにより、例えば、図5(B)に示すような1つ以上の2次元コード522a、522b、・・・を生成する。
In step S903, the
ステップS904において、生成部304は、ステップS903で生成した1つ以上の2次元コード522a、522b、・・・のメタ情報(書誌情報)を含む、例えば、図5(B)に示すような2次元コード(メタ情報)521を作成する。
In step S904, the
この2次元コード(メタ情報)521には、例えば、印刷対象となる電子データを識別する識別情報、当該電子データのファイル名、印刷日時、及び1つ以上の2次元コード522a、522b、・・・の情報(数、及び順番等)等が含まれている。また、1つ以上の2次元コード522a、522b、・・・には、例えば、電子データを識別する識別情報、各2次元コードを識別する識別情報(又は番号等)、及び文字情報を表す文字列の一部(圧縮、エンコード、及び分割されたもの)等が格納されている。また、2次元情報(メタ情報)512、及び1つ以上の2次元コード522a、522b、・・・には、例えば、情報処理システム1に対応する2次元コードであることを示す情報が含まれている。なお、電子データを識別する識別情報には、例えば、UUID(Universally Unique Identifier)を適用することができる。
The two-dimensional code (meta-information) 521 includes, for example, identification information for identifying electronic data to be printed, the file name of the electronic data, date and time of printing, and one or more two-
なお、図9に示した2次元コードの生成処理は一例である。例えば、図9のステップS902でエンコードした文字列が、1つの2次元コードに収まる場合、生成部304は、ステップS903、S904の処理に代えて、エンコードした文字列を1つの2次元コードに変換する処理を実行しても良い。
Note that the two-dimensional code generation processing shown in FIG. 9 is an example. For example, when the character string encoded in step S902 of FIG. 9 fits into one two-dimensional code, the
ここで、図6に戻り、図6のフローチャートの説明を続ける。ステップS605において、印刷制御部305は、画像形成装置101を用いて、印刷対象となる文書と、生成部304が生成した1つ以上の2次元コードとを異なるページに印刷する。例えば、印刷制御部305は、図1に示すように、紙等の記録媒体の表面102に印刷対象となる文書を印刷し、当該記録媒体の裏面103に1つ以上の2次元コードを印刷する印刷データを作成し、画像形成装置101に送信する。
Here, returning to FIG. 6, the description of the flowchart of FIG. 6 is continued. In step S605, the
上記の各処理により、情報処理装置100は、例えば、図5(B)に示すように、紙等の記録媒体の表面に文書の各ページを印刷し、裏面に文字情報を表す1つ以上の2次元コードを印刷した印刷物520を提供することができる。
Through the above processes, the
以上、第1の実施形態によれば、文書データに含まれる電子化された文字情報を維持しつつ、紙等の記録媒体に文書を印刷できるようになる。 As described above, according to the first embodiment, the document can be printed on a recording medium such as paper while maintaining the computerized character information included in the document data.
[第2の実施形態]
第2の実施形態では、情報処理装置(第2の情報処理装置)110が、画像形成装置111を用いて、例えば、図5(B)に示すような印刷物520から、図4(B)に示すような文字情報402を取得する処理の例について説明する。
[Second embodiment]
In the second embodiment, the information processing apparatus (second information processing apparatus) 110 uses the
<機能構成>
図10は、第2の実施形態に係る情報処理装置の機能構成の例を示す図である。情報処理装置(第2の情報処理装置)110は、CPU201で所定のプログラムを実行することにより、画像データ取得部1001、文字情報作成部1002、出力部1003、及び記憶部1004等を実現している。なお、上記の各機能構成のうち、少なくとも一部は、ハードウェアによって実現されるものであっても良い。
<Functional configuration>
FIG. 10 is a diagram illustrating an example of the functional configuration of an information processing apparatus according to the second embodiment; The information processing device (second information processing device) 110 implements an image
画像データ取得部1001は、例えば、画像形成装置111でスキャンした画像データを取得する。
The image
文字情報作成部1002は、画像データ取得部1001が、例えば、図5(B)に示すような1つ以上の2次元コードを含む画像データを取得した場合、1つ以上の2次元コードに基づいて、文字情報を作成する文字情報作成処理を実行する。
For example, when the image
出力部1003は、文字情報作成部1002が作成した文字情報(電子データ)を、所定の出力先に出力する。ここで、所定の出力先は、例えば、記憶部1004であっても良いし、他のシステム等であっても良い。また、所定の出力先は、例えば、印刷物520に印刷された文書の画像と、当該文書に含まれる文字の文字情報とを表示するビューア画面等であっても良い。
The
記憶部1004は、例えば、CPU201が実行するプログラム、及びHD204等のストレージデバイスによって実現され、様々なデータ、情報、又はプログラム等を記憶する。
The
<処理の流れ>
図11は、第2の実施形態に係る情報処理装置の処理の例を示すフローチャートである。この処理は、図10に示した情報処理装置(第2の情報処理装置)110が、画像形成装置111を用いて、画像データを取得したときに実行する処理の一例を示している。
<Process flow>
FIG. 11 is a flowchart illustrating an example of processing of the information processing apparatus according to the second embodiment; This processing is an example of processing executed when the information processing apparatus (second information processing apparatus) 110 shown in FIG. 10 acquires image data using the
ステップS1101において、画像データ取得部1101が、画像形成装置111がスキャンした画像データを取得すると、情報処理装置110は、ステップS1102以降の処理を実行する。なお、ここでは、説明を容易にするため、情報処理装置110が、画像形成装置111を用いて、図5(B)に示すような印刷物520のうち、1ページ分(表、裏)の画像データを取得するものとして、以下の説明を行う。
In step S1101, when the image data acquisition unit 1101 acquires image data scanned by the
ステップS1102において、文字情報作成部1102は、画像データ取得部1001が取得した画像データに所定の2次元コードが含まれるか否かを判断する。例えば、文字情報作成部1102は、画像データに含まれる2次元コードに、情報処理システム1に対応する2次元コードであることを示す情報が含まれている場合、画像データに所定の2次元コードが含まれると判断する。
In step S1102, the character information creation unit 1102 determines whether or not the image data acquired by the image
画像データに所定の2次元コードが含まれる場合、文字情報作成部1102は、ステップS1104~S1105の処理を実行する。一方、画像データに所定の2次元コードが含まれない場合、文字情報作成部1102は、ステップS1104~S1105の処理の実行を中止し、図11の処理を終了する。 If the image data contains a predetermined two-dimensional code, the character information creating unit 1102 executes the processing of steps S1104 and S1105. On the other hand, if the image data does not include the predetermined two-dimensional code, the character information creating unit 1102 stops executing the processes in steps S1104 and S1105, and ends the process in FIG.
ステップS1103に移行すると、文字情報作成部1002は、画像データに含まれる2次元コード522a、522b、・・・から文字列を抽出し、結合することによって、図5(A)に示すような文字列510を作成する。
At step S1103, the character
ステップS1104、S1105において、文字情報作成部1002は、結合した文字列510を、例えば、Base64でデコードし、デコードして得られる圧縮データを解凍することによって、図4(B)に示すような文字情報402を作成する。
In steps S1104 and S1105, the character
ステップS1106において、出力部1003は、文字情報作成部1002が作成した文字情報402を、所定の出力先に出力する。また、このとき、出力部1003は、必要に応じて、ページの表面の文書をスキャンした画像データを、文字情報402とともに、措定の出力先に出力しても良い。
In step S1106, the
例えば、所定の出力先が記憶部1004である場合、出力部1003は、ページの表面の文書をスキャンした画像データと、作成した文字情報402とを対応付けて記憶部1004に記憶する。また、所定の出力先が、図12に示すようなビューア画面1200である場合、出力部1003は、ページの表面の文書をスキャンした画像データ1201と、作成した文字情報402とを、ビューア画面1200に表示させる。図12に示すビューア画面1200において、ユーザは、文字情報402に表示されている文字列をコピーすることにより、テキストデータとして利用することができる。
For example, if the predetermined output destination is the
また、所定の出力先が、例えば、文字情報402のみを必要とする他のシステム、又はアプリケーションである場合、出力部1003は、文字情報402のみを所定の出力先に送信する。
Also, if the predetermined output destination is, for example, another system or application that requires only the
<利用シーンの例>
図4(A)の例では、印刷対象となる文書401が請求書であるが、これに限られず、上記の各実施形態は、請求書以外の様々な文書401に適用することができる。例えば、公共事業の入札等では、対象拠点の一覧等が、印刷された文書で提供される場合がある。
<Example of usage scene>
In the example of FIG. 4A, the
このような場合、従来の技術では、対象拠点の一覧を電子化する場合、手入力、又はOCR(Optical Character Recognition)等の技術を用いて、電子化した文書ファイルを作成していた。しかし、この方法では、手間がかかる上に、作成された文書ファイルの正確性にも問題が残る。 In such a case, with the conventional technology, when digitizing the list of target bases, an digitized document file is created by manual input or using a technique such as OCR (Optical Character Recognition). However, this method is time-consuming and leaves a problem in the accuracy of the created document file.
一方、本実施形態では、対象拠点の一覧の印刷物の裏面等に、2次元コードを印刷することにより、印刷物をスキャンして、容易、かつ正確に電子化した文書ファイルを作成することができるようになる。 On the other hand, in this embodiment, by printing a two-dimensional code on the back side of the printed matter of the list of target bases, it is possible to scan the printed matter and create an electronic document file easily and accurately. become.
同様にして、本実施形態は、工事現場等において、調達仕様書の物品明細票等の印刷物の裏面等に、2次元コードを印刷することにより、印刷物をスキャンして、容易、かつ正確に電子化した文書ファイルを作成することができるようになる。 Similarly, in the present embodiment, by printing a two-dimensional code on the back side of a printed matter such as an item list of procurement specifications at a construction site or the like, the printed matter can be scanned and easily and accurately electronically processed. You will be able to create a customized document file.
以上、本発明の各実施形態によれば、文書データに含まれる電子化された文字情報を維持しつつ、紙等の記録媒体に文書を印刷できるようになる。 As described above, according to the embodiments of the present invention, it is possible to print a document on a recording medium such as paper while maintaining the computerized character information included in the document data.
<補足>
上記で説明した各実施形態の各機能は、一又は複数の処理回路によって実現することが可能である。ここで、本明細書における「処理回路」とは、電子回路により実装されるプロセッサのようにソフトウェアによって各機能を実行するようプログラミングされたプロセッサや、上記で説明した各機能を実行するよう設計されたASIC(Application Specific Integrated Circuit)、DSP(digital signal processor)、FPGA(field programmable gate array)や従来の回路モジュール等のデバイスを含むものとする。
<Supplement>
Each function of each embodiment described above can be realized by one or more processing circuits. Here, the "processing circuit" in this specification means a processor programmed by software to perform each function, such as a processor implemented by an electronic circuit, or a processor designed to perform each function described above. ASICs (Application Specific Integrated Circuits), DSPs (digital signal processors), FPGAs (field programmable gate arrays) and devices such as conventional circuit modules.
また、上記の各実施形態は一例であり、様々な変形、又は応用が可能である。例えば、上記の各実施形態では、紙等の記録媒体の表面102に文書を、裏面103に2次元コードを印刷していたが、2次元コードは、文書の次のページ等に印刷しても良いし、集約して文書と同じページに印刷しても良い。
Moreover, each of the above-described embodiments is an example, and various modifications or applications are possible. For example, in the above embodiments, the document is printed on the
1 情報処理システム
100 情報処理装置(第1の情報処理装置)
110 情報処理装置(第2の情報処理装置)
302 取得部
304 生成部
305 印刷制御部
402 文字情報
510 エンコードした文字列
521 2次元コード(メタ情報)
522a、522b 2次元コード
1001 画像データ取得部
1002 文字情報作成部
1003 出力部
1
110 information processing device (second information processing device)
302
522a, 522b two-
Claims (10)
前記第1の情報処理装置は、
印刷対象となる電子データから、第1のページに印刷する文字列、及び前記文字列の文書構造を含む文字情報を取得する取得部と、
前記文字情報を表す1つ以上の2次元コードを生成する生成部と、
前記第1のページ、及び前記1つ以上の2次元コードを印刷する第2のページの印刷を制御する印刷制御部と、
を有する、情報処理システム。 including a first information processing device,
The first information processing device is
an acquisition unit that acquires character information including a character string to be printed on a first page and a document structure of the character string from electronic data to be printed;
a generation unit that generates one or more two-dimensional codes representing the character information;
a print control unit that controls printing of the first page and a second page on which the one or more two-dimensional codes are printed;
An information processing system.
前記第2の情報処理装置は、
スキャンした画像データを取得する画像データ取得部と、
前記1つ以上の2次元コードを含む前記画像データを取得した場合、前記1つ以上の2次元コードに基づいて、前記文字情報を作成する文字情報作成部と、
を有する請求項1に記載の情報処理システム。 including a second information processing device,
The second information processing device is
an image data acquisition unit that acquires scanned image data;
a character information creation unit that creates the character information based on the one or more two-dimensional codes when the image data including the one or more two-dimensional codes is acquired;
The information processing system according to claim 1, comprising:
前記文字情報を表す1つ以上の2次元コードを生成する生成部と、
前記第1のページ、及び前記1つ以上の2次元コードを印刷する第2のページの印刷を制御する印刷制御部と、
を有する、情報処理装置。 an acquisition unit for acquiring character information representing a character string to be printed on a first page and a document structure of the character string from electronic data to be printed;
a generation unit that generates one or more two-dimensional codes representing the character information;
a print control unit that controls printing of the first page and a second page on which the one or more two-dimensional codes are printed;
An information processing device.
印刷対象となる電子データから、第1のページに印刷する文字列、及び前記文字列の文書構造を含む文字情報を取得する処理と、
前記文字情報を表す1つ以上の2次元コードを生成する処理と、
前記第1のページ、及び前記1つ以上の2次元コードを印刷する第2のページの印刷を制御する処理と、
を実行する、印刷制御方法。 the computer
A process of acquiring character information including a character string to be printed on a first page and a document structure of the character string from electronic data to be printed;
a process of generating one or more two-dimensional codes representing the character information;
a process of controlling printing of the first page and a second page on which the one or more two-dimensional codes are printed;
A print control method that executes
印刷対象となる電子データから、第1のページに印刷する文字列、及び前記文字列の文書構造を含む文字情報を取得する処理と、
前記文字情報を表す1つ以上の2次元コードを生成する処理と、
前記第1のページ、及び前記1つ以上の2次元コードを印刷する第2のページの印刷を制御する処理と、
を実行させる、プログラム。 to the computer,
A process of acquiring character information including a character string to be printed on a first page and a document structure of the character string from electronic data to be printed;
a process of generating one or more two-dimensional codes representing the character information;
a process of controlling printing of the first page and a second page on which the one or more two-dimensional codes are printed;
The program that causes the to run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021071674A JP2022166460A (en) | 2021-04-21 | 2021-04-21 | Information processing system, information processing device, print control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021071674A JP2022166460A (en) | 2021-04-21 | 2021-04-21 | Information processing system, information processing device, print control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022166460A true JP2022166460A (en) | 2022-11-02 |
Family
ID=83851725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021071674A Pending JP2022166460A (en) | 2021-04-21 | 2021-04-21 | Information processing system, information processing device, print control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022166460A (en) |
-
2021
- 2021-04-21 JP JP2021071674A patent/JP2022166460A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4925677B2 (en) | Method and apparatus for processing documents | |
JP4322169B2 (en) | Document processing system, document processing method, document processing program | |
US20060092467A1 (en) | Print job workflow system | |
US8386923B2 (en) | Document generation apparatus, method, and storage medium | |
EP1675376A1 (en) | Document separator pages | |
JPH11184657A (en) | Print system and data processing method therefor | |
US10218873B2 (en) | Apparatus and method that process image data by using code, and storage medium | |
JP2006178975A (en) | Information processing method and computer program therefor | |
JP2006174462A (en) | Method and apparatus for information processing | |
US20180060131A1 (en) | Information processing system, information processing apparatus, and information processing method | |
US20100195142A1 (en) | Print information conversion apparatus, printing apparatus, printing system, and computer readable medium | |
US8984623B2 (en) | Image processing system, image processing apparatus and computer-readable recording medium | |
JP6562740B2 (en) | Image processing apparatus, image processing method, and program. | |
JP2022166460A (en) | Information processing system, information processing device, print control method, and program | |
JP7351322B2 (en) | Information processing system, print control method, and program | |
US11887391B2 (en) | Information processing system, data output system, image processing method, and recording medium | |
JP6780380B2 (en) | Image processing equipment and programs | |
US10348926B2 (en) | Information processing system, information processing apparatus, and information processing method | |
JP6749583B2 (en) | Information processing device, image processing device, and program | |
JP7167541B2 (en) | Information processing system, information processing method, and program | |
JP2006039868A (en) | Writing information input device, document processing system, writing information input program and recording medium | |
JP2007124151A (en) | Image processing apparatus, and image processing method | |
JP2010055473A (en) | Image processing device and program | |
JP6724630B2 (en) | Information processing system, information processing apparatus, information processing method, and information processing program | |
JP2008242642A (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240222 |