JP4470828B2 - Printer, printer driver - Google Patents

Printer, printer driver Download PDF

Info

Publication number
JP4470828B2
JP4470828B2 JP2005211295A JP2005211295A JP4470828B2 JP 4470828 B2 JP4470828 B2 JP 4470828B2 JP 2005211295 A JP2005211295 A JP 2005211295A JP 2005211295 A JP2005211295 A JP 2005211295A JP 4470828 B2 JP4470828 B2 JP 4470828B2
Authority
JP
Japan
Prior art keywords
code
character string
print data
printer
color
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.)
Expired - Fee Related
Application number
JP2005211295A
Other languages
Japanese (ja)
Other versions
JP2007026353A (en
Inventor
孝史 小田
光栄 星野
秀行 小林
博男 吉田
隆 冨塚
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005211295A priority Critical patent/JP4470828B2/en
Priority to US11/352,360 priority patent/US8614833B2/en
Publication of JP2007026353A publication Critical patent/JP2007026353A/en
Application granted granted Critical
Publication of JP4470828B2 publication Critical patent/JP4470828B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、プリンタ、プリンタドライバに関し、特に、印刷データに含まれる特定な文字列を二次元コードに変換し、変換した二次元コードを印刷データとともに印刷するプリンタ、プリンタドライバに関するThe present invention is a printer, relates printer driver, in particular, the specific character string included in the print data is converted into two-dimensional code, a printer that prints with the print data to two-dimensional code obtained by converting, to a printer driver.

近年、一次元バーコードと比べて情報量の表示が飛躍的に向上する二次元コードが注目され、使用され始めている。   2. Description of the Related Art In recent years, two-dimensional codes that dramatically improve the amount of information displayed compared to one-dimensional barcodes have attracted attention and have begun to be used.

一次元バーコードは、基本的には商品や製品の識別IDコードとして用いられるのに対して二次元コードは、コードそのものに商品や製品に関する情報を持たせることができるため商品等に二次元コードを付与し、商品に付与された二次元コードを読取装置で読み取ることで二次元コードに対応付けられた商品番号や商品に関する情報を瞬時に読み取ることができる。   A one-dimensional barcode is basically used as an identification ID code for a product or product, whereas a two-dimensional code can give information about a product or product to the code itself, so a two-dimensional code can be given to a product, etc. And the product number associated with the two-dimensional code and information about the product can be instantaneously read by reading the two-dimensional code assigned to the product with a reading device.

一次元バーコードは、バーコードが縦または横に1列に表示されているものであるのに対して二次元コードは、一次元バーコードを複数段に積み重ねたスタック型二次元コードとマトリックスの交点が黒か白かによりコード化されたマトリックス型二次元コードとがある。   One-dimensional barcodes are those in which barcodes are displayed vertically or horizontally in one column, while two-dimensional codes are a stack type two-dimensional code in which one-dimensional barcodes are stacked in multiple stages and a matrix. There is a matrix type two-dimensional code coded according to whether the intersection is black or white.

スタック型二次元コードの例として、コード49、コード16K、PDF417等があり、マトリックス型二次元コードの例として、QRコード、データマトリックス、マキシコード、アズテックコード等がある。   Examples of the stack type two-dimensional code include code 49, code 16K, PDF417, and the like. Examples of the matrix type two-dimensional code include QR code, data matrix, maxi code, and aztec code.

二次元コードは、従来の一次元バーコードと比べて数十倍から数百倍の大容量の情報を表示することができることから最近では、二次元コードを生成する種々の生成ツールが提供されている。   Since two-dimensional codes can display a large amount of information that is several tens to several hundred times larger than conventional one-dimensional barcodes, recently, various generation tools for generating two-dimensional codes have been provided. Yes.

しかし、既存のQRコード生成ツールでは、QRコードが印刷されるプリンタの解像度を考慮してQRコードを生成するとともに、生成したQRコードをワープロソフトや表計算ソフト等のアプリケーションソフトで作成された印刷データに貼り付ける際には、QRコードがイメージデータとしてアプリケーションソフトで作成された印刷データに貼り付けられるように操作する等の煩雑な作業が必要とされた。   However, with the existing QR code generation tool, the QR code is generated in consideration of the resolution of the printer on which the QR code is printed, and the generated QR code is printed using application software such as word processing software or spreadsheet software. When pasting the data, complicated operations such as operating the QR code as image data so as to be pasted to the print data created by the application software are required.

また、イメージデータが貼り付けられないアプリケーションソフトで作成された印刷データには、QRコードが貼り付けられないという問題がある。   In addition, there is a problem that QR code cannot be pasted to print data created by application software to which image data cannot be pasted.

そこで、特許文献1には、最終的に印刷される一次元バーコードまたは二次元コードのシンボルで表示したいデータ(=表示データ)を受信することで所定のシンボルに変換し印刷するシンボルプリンタおよびシンボルプリンタ用ドライバが提案されている。
特開2002−264424号公報
Therefore, Patent Document 1 discloses a symbol printer and a symbol that receive data (= display data) that is to be displayed as a symbol of a one-dimensional barcode or two-dimensional code that is finally printed, and convert the data into a predetermined symbol for printing. Printer drivers have been proposed.
JP 2002-264424 A

しかしながら、上記特許文献1には、表示データを受信し、受信した表示データを所定のシンボルに変換して印刷するシンボルプリンタは提案されているが、ユーザが指定した文字列を印刷データ中から検索して一次元バーコードまたは二次元コードに変換し、変換したコードを印刷データに付与して印刷する方法は提案されていない。   However, in Patent Document 1, a symbol printer that receives display data, converts the received display data into a predetermined symbol, and prints has been proposed, but a character string specified by the user is searched from the print data. Thus, no method has been proposed for converting to a one-dimensional barcode or two-dimensional code and attaching the converted code to print data for printing.

そこで、本発明は、印刷データに含まれる特定な文字列を二次元コードに変換し、変換した二次元コードを印刷データとともに印刷するプリンタ、プリンタドライバを提供することを目的とする。 Therefore, an object of the present invention is to provide a printer and a printer driver that convert a specific character string included in print data into a two-dimensional code and print the converted two-dimensional code together with the print data.

上記目的を達成するため、請求項1の発明は、プリンタに対する各種パラメータの設定を保持し、アプリケーションからの印刷データの変換を行うプリンタドライバにおいて、ユーザが指定した特定文字列をアプリケーションで作成された印刷データ中から検索して抽出する特定文字列検手段と、前記特定文字列検手段により抽出された前記特定文字列をコードに変換するコード変換手段と、前記コード変換手段により変換されたコードを前記印刷データのユーザが指定した指定位置に付与するコード付与手段とを具備することを特徴とする。 In order to achieve the above object, according to the first aspect of the present invention, a specific character string designated by a user is created by an application in a printer driver that holds various parameter settings for the printer and converts print data from the application . a specific character string search means for extracting retrieved from the print data, and code conversion means for converting the specific character string extracted by the specific character string search means code converted by the code converting means Code adding means for applying a code to a designated position designated by a user of the print data.

また、請求項2の発明は、請求項1の発明において、前記コード変換手段により変換されたコードに対応する前記印刷データ中の前記特定文字列の色をユーザが指定した色もしくは自動で設定される色に変換する検文字列色変換手段を更に具備することを特徴とする。 According to a second aspect of the present invention, in the first aspect of the present invention, the color of the specific character string in the print data corresponding to the code converted by the code conversion means is set by the user or automatically set. and further comprising a search string color conversion means for converting the color that.

また、請求項3の発明は、請求項2の発明において、前記検文字列色変換手段は、前記コード変換手段により変換されたコードの色を前記検文字列色変換手段により変換された前記特定文字列の色と同じ色に変換することを特徴とする。 Further, the invention of claim 3, in the invention of claim 2, wherein the search string color conversion means, converted by the search string color transform the color of the translated code by said code converting means The color is converted to the same color as the color of the specific character string.

また、請求項4の発明は、請求項2の発明において、前記検文字列色変換手段は、前記特定文字列検手段により複数の特定文字列が検出され、前記コード変換手段により該複数の特定文字列に対応する複数のコードに変換された場合、各特定文字列の色をそれぞれ異なる色に変換し、該特定文字列に対応するコードの色を該特定文字列の色と同じ色に変換することを特徴とする。 Further, the invention of claim 4, in the invention of claim 2, wherein the search string color conversion means, a plurality of specific character string is detected by the specific character string search means, said plurality of the said code converting means When converted into a plurality of codes corresponding to the specific character string, the color of each specific character string is converted to a different color, and the color of the code corresponding to the specific character string is the same color as the color of the specific character string It is characterized by converting into.

また、請求項の発明は、請求項の発明において、前記コード付与手段は、前記ユーザが指定した指定位置が原稿の文字やイメージデータと重なる場合、周辺の余白部を検索して特定し、該特定した位置に前記コードを付与することを特徴とする。 According to a fifth aspect of the present invention, in the fourth aspect of the invention, the code assigning unit searches and specifies a surrounding margin when the designated position designated by the user overlaps with characters and image data of the document. The code is assigned to the specified position.

また、請求項7の発明は、請求項1の発明において、前記コード付与手段は、前記印刷データに付与されるヘッダー・フッダー領域に前記コードを付与することを特徴とする。。 According to a seventh aspect of the invention, in the first aspect of the invention, the code assigning means assigns the code to a header / footer area assigned to the print data. .

また、請求項8の発明は、請求項1の発明において、前記コードのサイズを設定する設定手段を更に具備し、前記コード変換手段は、前記設定手段によって設定された前記コードのサイズに基づき前記コードの誤り訂正レベルを最適に設定してコード変換を行うことを特徴とする。 The invention of claim 8 further comprises setting means for setting the size of the code in the invention of claim 1, wherein the code converting means is based on the size of the code set by the setting means. The code conversion is performed by optimally setting the error correction level of the code.

また、請求項9の発明は、請求項1の発明において、前記プリンタの解像度情報を取得する解像度情報取得手段を更に具備し、前記コード変換手段は、前記解像度情報取得手段により取得した前記プリンタの解像度に基づき前記コードの誤り訂正レベルを最適に設定してコード変換を行うことを特徴とする。 The invention of claim 9 further comprises resolution information acquisition means for acquiring resolution information of the printer in the invention of claim 1, wherein the code conversion means of the printer acquired by the resolution information acquisition means. The code conversion is performed by optimally setting the error correction level of the code based on the resolution.

また、請求項10の発明は、請求項1の発明において、前記プリンタの解像度情報を取得する解像度情報取得手段を更に具備し、前記コード変換手段は、前記解像度情報取得手段により取得した前記プリンタの解像度に基づき前記コードのドットのサイズを最適に設定してコード変換を行うことを特徴とする。 The invention of claim 10 further comprises resolution information acquisition means for acquiring resolution information of the printer in the invention of claim 1, wherein the code conversion means is the printer information acquired by the resolution information acquisition means. The code conversion is performed by optimally setting the dot size of the code based on the resolution.

また、請求項11の発明は、請求項1の発明において、プリンタに搭載されていないフォントであっても、アプリケーションに対してはあたかも対応しているように見せかけ、前記アプリケーションの文字情報は文字コードで受信することを特徴とする。 The invention according to claim 11 is the invention according to claim 1, in which even if the font is not mounted on the printer, it appears as if it corresponds to the application, and the character information of the application is a character code. It is received by.

また、請求項12の発明は、プリンタドライバで変換されたアプリケーションからの印刷データを受信して印刷出力を行うプリンタにおいて、前記印刷データを解析して指定された特定文字列を該印刷データ中から検索して抽出する特定文字列検手段と、前記特定文字列検手段により抽出された前記特定文字列をコードに変換するコード変換手段と、前記コード変換手段により変換されたコードを前記印刷データの指定された位置に付与するコード付与手段とを具備することを特徴とする。 According to a twelfth aspect of the present invention, in a printer that receives print data from an application converted by a printer driver and performs print output, a specific character string specified by analyzing the print data is extracted from the print data. a specific character string search means for extracting search to the code converting means for converting the specific character string extracted by the specific character string search means to the code, the printing the converted encoded by said code converting means Code adding means for assigning the data to a designated position.

また、請求項13の発明は、プリンタドライバで変換されたアプリケーションからの印刷データを受信して印刷出力を行うプリンタにおいて、前記印刷データを解析してユーザが指定した特定文字列を該印刷データ中から検出する特定文字列検出手段と、前記特定文字列検出手段により検出された前記特定文字列をコードに変換するコード変換手段と、前記コード変換手段により変換されたコードを前記印刷データの指定位置に付与するコード付与手段と、前記コード変換手段により変換されたコードに対応する前記特定文字列の色をユーザが指定した色もしくは自動で設定される色に変換する検出文字列色変換手段とを具備することを特徴とする。   According to a thirteenth aspect of the present invention, in a printer that receives print data from an application converted by a printer driver and performs print output, the print data is analyzed and a specific character string designated by a user is included in the print data. A specific character string detecting means detected from the code, a code converting means for converting the specific character string detected by the specific character string detecting means into a code, and a code converted by the code converting means at a specified position of the print data And a character string color converting unit that converts the color of the specific character string corresponding to the code converted by the code converting unit into a color designated by the user or an automatically set color. It is characterized by comprising.

本発明のプリンタ、プリンタドライバによれば、文字列を二次元コード変換する特別なアプリケーションを購入することなく印刷データ中の所望の文字列が変換された二次元コードを印刷データに付与して印刷することができる。 According to the printer and printer driver of the present invention, printing is performed by adding a two-dimensional code obtained by converting a desired character string in print data to the print data without purchasing a special application for converting the character string into a two-dimensional code. can do.

また、文字列を二次元コードに変換する特別なアプリケーションがアドインできない、もしくはイメージデータを貼り付けることができないアプリケーションであっても印刷データ中のユーザが指定した文字列が変換された二次元コードを印刷データに付与して印刷することができる。   In addition, special applications that convert character strings to two-dimensional codes cannot be added in, or even two-dimensional codes in which character strings specified by the user in print data are converted can be pasted even if image data cannot be pasted. It is possible to print by attaching to print data.

また、二次元コードに変換された印刷データ中の文字列をユーザが指定した色もしくは自動設定される色で印刷することで印刷データ中の二次元コードに変換された文字列の識別が容易となる。   In addition, by printing the character string in the print data converted into the two-dimensional code in the color specified by the user or automatically set color, the character string converted into the two-dimensional code in the print data can be easily identified. Become.

また、二次元コード及び二次元コードに変換された印刷データ中の文字列が複数存在する場合であっても文字列と当該文字列が変換された二次元コードとの色が同色で印刷され、複数の二次元コード及び当該二次元コードに変換された文字列が異なった色で印刷されるので二次元コード及び当該二次元コードに変換された文字列の識別がより容易となる。   In addition, even when there are a plurality of character strings in the print data converted into the two-dimensional code and the two-dimensional code, the color of the character string and the two-dimensional code into which the character string is converted are printed in the same color, Since the plurality of two-dimensional codes and the character string converted into the two-dimensional code are printed in different colors, it becomes easier to identify the two-dimensional code and the character string converted into the two-dimensional code.

また、変換された文字列の二次元コードをユーザが所望する領域に印刷することができる。   Further, the two-dimensional code of the converted character string can be printed in an area desired by the user.

また、変換された文字列の二次元コードを付与する位置に印刷データの文字やイメージデータが存在する場合であっても周辺の余白部を検索して余白部に二次元コードを印刷するので変換された文字列の二次元コードを確実に印刷することができる。   Also, even if print data characters or image data exist at the position where the converted character string is to be given a two-dimensional code, the surrounding margin is searched and the two-dimensional code is printed in the margin. The two-dimensional code of the printed character string can be printed reliably.

また、変換された文字列の二次元コードを付与する位置に印刷データの文字やイメージデータが存在する場合であっても印刷データを縮小することにより余白部を生成し、当該余白部に二次元コードを印刷するのでユーザが所望する領域の近傍に変換された文字列の二次元コードを確実に印刷することができる。   Further, even when print data characters or image data exists at the position to which the two-dimensional code of the converted character string is added, a margin portion is generated by reducing the print data, and the margin portion is two-dimensionally generated. Since the code is printed, the two-dimensional code of the character string converted into the vicinity of the area desired by the user can be surely printed.

また、変換された文字列の二次元コードを付与する位置をプリンタドライバが情報を付与することができるヘッダー及びフッダー領域に指定できるので二次元コードと印刷データとが重なるという不具合を防止することができる。   In addition, since the position where the two-dimensional code of the converted character string is to be added can be specified in the header and footer area to which the printer driver can give information, the problem that the two-dimensional code and print data overlap can be prevented. it can.

また、変換された文字列の二次元コードのサイズが指定できるので、印刷データと二次元コードとの重なりの予測が容易となる。   In addition, since the size of the two-dimensional code of the converted character string can be specified, it is easy to predict the overlap between the print data and the two-dimensional code.

また、アプリケーションで使用されているフォントがプリンタに搭載されていないフォントであっても、擬似的にアプリケーションに対して搭載しているように対応し、アプリケーションの文字情報を文字コードで受信するので、プリンタドライバにおいて、確実に特定文字の検出が可能となる。   Also, even if the font used in the application is a font that is not installed in the printer, it corresponds as if it is mounted on the application in a pseudo manner, and the character information of the application is received with the character code. In the printer driver, the specific character can be reliably detected.

また、プリンタドライバは、文字列を二次元コードに変換する二次元コード変換や二次元コードに変換された文字列の色を指定した色に変換する色変換などに関わるパラメーターのみを保持し、二次元コード変換や色変換などの処理をプリンタで行わせることでクライアントPCの処理の負荷が軽減がされるという効果を奏する。   In addition, the printer driver holds only parameters related to two-dimensional code conversion for converting a character string into a two-dimensional code and color conversion for converting the color of a character string converted into a two-dimensional code into a specified color. By causing the printer to perform processing such as dimension code conversion and color conversion, it is possible to reduce the processing load on the client PC.

以下、本発明に係わるプリンタ、プリンタドライバの一実施例について添付図面を参照して詳細に説明する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a printer and a printer driver according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明に係わるプリンタ、プリンタドライバが適用された印刷システムの一例を概略的に示した構成図である。 FIG. 1 is a configuration diagram schematically showing an example of a printing system to which a printer and a printer driver according to the present invention are applied.

図1に示すように、印刷システム100は、クライアントPC10とプリンタ20とがLAN(=Local Area Network)30等のネットワークを介して接続されている。   As shown in FIG. 1, in a printing system 100, a client PC 10 and a printer 20 are connected via a network such as a LAN (= Local Area Network) 30 or the like.

クライアントPC10は、CPU(=Central Control Unit:中央演算処理装置)、入出力装置、記憶装置等を備えた、所謂コンピュータであり、CPU11と、外部インタフェース12と、入力制御部13と、表示制御部14と、記憶部15と、ROM(=Read Only Memory)16と、RAM(=Random Access Memory)17を備えている。   The client PC 10 is a so-called computer including a CPU (= Central Control Unit), an input / output device, a storage device, and the like, and includes a CPU 11, an external interface 12, an input control unit 13, and a display control unit. 14, a storage unit 15, a ROM (= Read Only Memory) 16, and a RAM (= Random Access Memory) 17.

CPU11は、クライアントPC10の中央演算処理装置であり、ROM17に記憶されるプログラムに従ってコンピュータを制御する。   The CPU 11 is a central processing unit of the client PC 10 and controls the computer according to a program stored in the ROM 17.

外部インタフェース12は、クライアントPC10とは他の外部の装置(例えばLAN30を介して接続されたプリンタ20)との間でのデータ信号や制御信号等の授受を行う。   The external interface 12 exchanges data signals, control signals, and the like between the client PC 10 and other external devices (for example, the printer 20 connected via the LAN 30).

入力制御部13は、クライアントPC10に接続された図示せぬキーボードやマウス等の入力装置による操作信号の入力制御を行う。   The input control unit 13 performs input control of operation signals by an input device such as a keyboard and a mouse (not shown) connected to the client PC 10.

表示制御部14は、クライアントPC10に接続された図示せぬ表示装置(例えばCRTディスプレイや液晶ディスプレイ等)によるデータ信号や制御信号等の授受の制御を行う。   The display control unit 14 controls transmission / reception of data signals, control signals, and the like by a display device (not shown) (for example, a CRT display, a liquid crystal display, etc.) connected to the client PC 10.

記憶部15は、記憶装置であり、本発明に係わるプリンタドライバ153(詳細は後述する)やアプリケーションソフト152(例えばワープロソフトや表計算ソフト等の各種アプリケーションプログラム)及びクライアントPC10のシステム制御を行うOS(=Operating System)151等が記憶保持される。   The storage unit 15 is a storage device, and an OS that performs system control of the printer driver 153 (details will be described later), application software 152 (for example, various application programs such as word processing software and spreadsheet software), and the client PC 10 according to the present invention. (= Operating System) 151 and the like are stored and held.

本発明に係わるプリンタドライバ153は、クライアントPC10上でアプリケーションソフト152により作成された印刷データ(説明の便宜上、「原稿印刷データ」という。)に含まれる特定な文字列を一次元バーコードもしくは二次元コードに変換し、変換したコードを印刷データとともにクライアントPC10と接続されたプリンタ20を介して印刷できるように構成されている。   The printer driver 153 according to the present invention converts a specific character string included in print data (referred to as “original print data” for convenience of description) created by the application software 152 on the client PC 10 into a one-dimensional barcode or two-dimensional. The code is converted into a code, and the converted code can be printed together with the print data via the printer 20 connected to the client PC 10.

なお、本実施例では、プリンタドライバ153が文字列を変換して生成するコードを二次元コードの一つであるQR(=Quick Response)コードを例に説明する。   In this embodiment, a code generated by the printer driver 153 by converting a character string will be described by taking a QR (= Quick Response) code, which is one of two-dimensional codes, as an example.

また、アプリケーションソフト152は、ユーザによって予めクライアントPC10にインストールされたプログラムであり、例えばワープロソフトや表計算ソフト等の各種アプリケーションプログラムがインストールされているものとする。   The application software 152 is a program that is installed in the client PC 10 by the user in advance, and various application programs such as word processing software and spreadsheet software are installed.

クライアントPC10からプリンタ20に送信される原稿印刷データは、記憶部15に記憶されたアプリケーションソフト152を読み出し、当該アプリケーションソフト152をCPU11が実行することによって作成される。   Document print data transmitted from the client PC 10 to the printer 20 is created by reading the application software 152 stored in the storage unit 15 and executing the application software 152 by the CPU 11.

具体的には、原稿印刷データをアプリケーションソフト152の一つであるワープロソフトにより作成する場合は、ユーザの操作指示によりCPU11がワープロソフトを記憶部15から読み出して実行し、ユーザにより所望の印刷データが入力されることで作成される。   Specifically, when the original print data is created by word processing software which is one of the application software 152, the CPU 11 reads out the word processing software from the storage unit 15 according to an operation instruction of the user and executes it. Created by entering.

また、原稿印刷データに含まれる特定な文字列をQRコードに変換し、変換したコードを印刷データとともに印刷する場合は、ユーザがプリンタドライバ153の所定の設定画面で所定の設定を行うことでプリンタドライバ153がワープロソフト等により作成された印刷データに含まれる特定な文字列をQRコードに変換し、QRコードを含む印刷データを外部インタフェース12を介してプリンタ20に転送することで実現される。   Also, when a specific character string included in the original print data is converted into a QR code and the converted code is printed together with the print data, the user performs a predetermined setting on a predetermined setting screen of the printer driver 153 so that the printer This is realized by the driver 153 converting a specific character string included in print data created by word processing software or the like into a QR code, and transferring the print data including the QR code to the printer 20 via the external interface 12.

一方、プリンタ20は、カラー印刷が可能なプリンタであり、CPU(中央演算処理装置)21と、印刷画像処理部22と、画像形成部23と、ユーザインタフェース24と、外部インタフェース部25を備えている。   On the other hand, the printer 20 is a printer capable of color printing, and includes a CPU (Central Processing Unit) 21, a print image processing unit 22, an image forming unit 23, a user interface 24, and an external interface unit 25. Yes.

プリンタ20のCPU21は、プリンタ20の各部及び各インタフェース24、25を制御するとともにプリンタ20全体を統括制御する。   The CPU 21 of the printer 20 controls each unit of the printer 20 and the interfaces 24 and 25 and controls the entire printer 20 as a whole.

印刷画像処理部22は、印刷指示された印刷データが画像形成部23で印刷用紙上に形成されるように印刷データに対して所定の画像処理を施し、画像処理された印刷データを画像形成部23に出力する。   The print image processing unit 22 performs predetermined image processing on the print data so that the print data instructed to be printed is formed on the print paper by the image forming unit 23, and the print data subjected to the image processing is processed by the image forming unit. To 23.

なお、印刷指示された印刷データには、原稿印刷データのみの場合とQRコードを含む原稿印刷データの場合とがある。   Note that the print data instructed to be printed includes only original print data and original print data including a QR code.

画像形成部23は、印刷画像処理部22で画像処理されて出力された印刷データに基づき印刷用紙上に原稿印刷データに対応した文字情報やイメージ情報及びQRコードを形成して出力する。   The image forming unit 23 forms and outputs character information, image information, and a QR code corresponding to the original print data on a print sheet based on the print data output after image processing by the print image processing unit 22.

ユーザインタフェース24は、ユーザの操作によりプリンタ20の各種設定操作や各種処理の選択操作を行うボタン等の操作部と、表示画面の表示部等で構成され、ユーザが操作部を操作することで所望の情報表示や印刷の選択操作を行うことができる。   The user interface 24 includes an operation unit such as a button for performing various setting operations of the printer 20 and a selection operation of various processes by a user operation, a display unit of a display screen, and the like by the user operating the operation unit. Information display and print selection operations can be performed.

外部インタフェース25は、LAN30を介して接続されたクライアントPC10やプリンタ20とは他の外部の装置(以下、総称して「外部装置」という)とデータや制御信号の授受を行う。   The external interface 25 exchanges data and control signals with an external device other than the client PC 10 and the printer 20 connected via the LAN 30 (hereinafter collectively referred to as “external device”).

図2は、上記クライアントPC10上の各種処理を行うソフトウェアの構成を説明するための概略的な構成図である。   FIG. 2 is a schematic configuration diagram for explaining a configuration of software for performing various processes on the client PC 10.

図2に示すようにクライアントPC10にはOS151、プリンタドライバ153、アプリケーションソフト152がインストールされており、OS151がプリンタドライバ153及びアプリケーションソフト152の動作を管理している。   As shown in FIG. 2, an OS 151, a printer driver 153, and application software 152 are installed in the client PC 10, and the OS 151 manages operations of the printer driver 153 and application software 152.

アプリケーションソフト152により作成された原稿印刷データは、印刷指示されることでクライアントPC10上のプリンタドライバ153、外部インタフェース12を介して送信され、ネットワークのLAN30を介してプリンタ20へ転送される。   The original print data created by the application software 152 is transmitted via the printer driver 153 on the client PC 10 and the external interface 12 when a print instruction is given, and transferred to the printer 20 via the LAN 30 of the network.

ところで、本発明に係わるプリンタドライバ153は、プリンタドライバ153がインストールされたクライアントPC10と接続されたプリンタ20に対応して次のような印刷制御が行えるように構成されている。   Incidentally, the printer driver 153 according to the present invention is configured to perform the following print control corresponding to the printer 20 connected to the client PC 10 in which the printer driver 153 is installed.

本発明に係わるプリンタドライバ153は、アプリケーションソフト152により作成された原稿印刷データ中のユーザが指定した文字列をQRコードに変換し、変換したQRコードを原稿印刷データに付与してプリンタ20へ送信できるように構成されている。   The printer driver 153 according to the present invention converts a character string designated by the user in the original print data created by the application software 152 into a QR code, adds the converted QR code to the original print data, and transmits it to the printer 20. It is configured to be able to.

また、本発明に係わるプリンタドライバ153は、原稿印刷データ中のQRコードに変換された文字列をユーザが指定した色もしくは自動で設定される色に変換し、変換された色の文字列を含む原稿印刷データにQRコードを付与してプリンタ20へ送信できるように構成されている。   The printer driver 153 according to the present invention converts the character string converted into the QR code in the document print data into a color designated by the user or automatically set color, and includes the character string of the converted color. The document print data can be sent to the printer 20 with a QR code added.

また、本発明に係わるプリンタドライバ153は、原稿印刷データ中のユーザが指定した文字列が変換されたQRコードをユーザが指定した変換元の文字列に対する指定位置に印刷できるようにQRコードを原稿印刷データに付与してプリンタ20へ送信できるように構成されている。   In addition, the printer driver 153 according to the present invention prints a QR code on a document so that the QR code obtained by converting the character string specified by the user in the document print data can be printed at a specified position relative to the conversion source character string specified by the user. The print data is added to the printer 20 and can be transmitted.

また、本発明に係わるプリンタドライバ153は、原稿印刷データ中のユーザが指定した文字列が変換されたQRコードの大きさを任意指定で印刷でき、任意指定された大きさに応じてQRコードの誤り訂正レベル等のパラメータ値が自動設定できるように構成されている。   In addition, the printer driver 153 according to the present invention can arbitrarily print the QR code size in which the character string specified by the user in the original print data is converted, and the QR code can be printed according to the arbitrarily specified size. A parameter value such as an error correction level can be automatically set.

また、本発明に係わるプリンタドライバ153は、原稿印刷データのフォントがプリンタ20に搭載されていないフォントであってもアプリケーションソフトが文字情報をビットマップデータではなく、文字コードで文字データを送信するように構成されている。   Further, the printer driver 153 according to the present invention allows the application software to transmit character data using character codes instead of bitmap data even if the font of the original print data is a font that is not mounted on the printer 20. It is configured.

このように構成されたプリンタドライバ153がプリンタドライバ153の設定画面で設定された設定情報に基づき行う印刷制御について図3乃至図5を参照し説明する。   The print control performed by the printer driver 153 configured as described above based on the setting information set on the setting screen of the printer driver 153 will be described with reference to FIGS.

図3は、本発明に係わるプリンタドライバ153の設定画面の一例を示す図である。   FIG. 3 is a view showing an example of the setting screen of the printer driver 153 according to the present invention.

なお、図3は、原稿印刷データに含まれる特定な文字列をQRコードに変換して印刷する場合にプリンタドライバ153の複数の設定画面のうちのQRコード変換タブを選択することで表示される設定画面の一例を示したものである。   Note that FIG. 3 is displayed by selecting a QR code conversion tab among a plurality of setting screens of the printer driver 153 when a specific character string included in the document print data is converted into a QR code for printing. An example of a setting screen is shown.

図3に示すように、QRコード変換のための設定画面300(以下、「QRコード変換設定画面300」という。)は、タイトルバー310と、プリンタドライバ153の各種設定を行うための複数の設定画面にそれぞれ対応した複数のタブ320と、QRコード変換のための各設定を行う設定項目設定部330と、設定項目設定部330で設定された各値及び選択設定値の設定、キャンセル、適用、ヘルプ等の指示操作を行う指示操作ボタン340(破線で囲まれた部分)とで構成されており、タイトルバー310にはクライアントPC10に接続されたレーザープリンタのプリンタ20に対応して「レーザープリンタのプロパティー」のタイトルが表示されている。   As shown in FIG. 3, a setting screen 300 for QR code conversion (hereinafter referred to as “QR code conversion setting screen 300”) includes a plurality of settings for performing various settings for the title bar 310 and the printer driver 153. A plurality of tabs 320 corresponding to the respective screens, a setting item setting unit 330 for performing each setting for QR code conversion, setting of each value set by the setting item setting unit 330 and selection setting value, cancellation, application, An instruction operation button 340 (a part surrounded by a broken line) for performing an instruction operation such as help is configured, and a title bar 310 corresponds to the laser printer of the laser printer connected to the client PC 10 with “Laser Printer The “Property” title is displayed.

QRコード変換設定画面300では、アプリケーションソフト152等で作成された原稿印刷データに対してユーザが指定した文字列をQRコード変換する設定を行うことができ、設定項目設定部330には、原稿印刷データをQRコード変換するか否かを選択設定するQRコード変換設定項目331と、原稿印刷データをQRコード変換する場合は、QRコードに変換する文字列を指定する文字列指定項目332(破線で囲まれ部分)と、QRコードに変換された原稿印刷データ中の文字列をユーザが指定した色に変換して印刷させるか否か及びその色指定を行う色変換設定項目333と、原稿印刷データ中の指定された文字列に対してQRコードを印刷する位置を指定するQRコード印刷位置設定項目334(破線で囲まれた部分)と、文字列が変換されるQRコードの誤り訂正レベルを選択指定する誤り訂正レベル選択指定項目335と、QRコードのセルサイズを設定するセルサイズ選択指定項目336とで構成されている。   On the QR code conversion setting screen 300, a character string designated by the user can be set for QR code conversion on the original print data created by the application software 152 or the like. A QR code conversion setting item 331 for selectively setting whether or not data is to be converted to QR code, and a character string specification item 332 for specifying a character string to be converted to a QR code when the original print data is converted to QR code (indicated by a broken line) A color conversion setting item 333 for specifying whether the character string in the document print data converted into the QR code is converted into a color designated by the user and printing, and the document print data. A QR code printing position setting item 334 (a portion surrounded by a broken line) for designating a position for printing a QR code with respect to a designated character string in the inside, An error correction level selection designation item 335 string specifies selects an error correction level of the QR code to be converted, and a cell size selection designation item 336 for setting the cell size of the QR code.

文字列指定項目332は、「URLを自動的にQRコードに変換する」、「メールアドレスを自動的にQRコードに変換する」、「その他任意の文字列を自動的にQRコードに変換する」の何れかもしくは全ての選択が可能であり、「その他任意の文字列を自動的にQRコードに変換する」を選択する場合は、ユーザがQRコードに変換したい任意の文字列を入力して設定する。   The character string designation item 332 includes “automatically convert URL to QR code”, “automatically convert mail address to QR code”, and “automatically convert any other character string to QR code”. If you select "Automatically convert any other character string to QR code", the user can input and set any character string that he wants to convert to QR code. To do.

「URLを自動的にQRコードに変換する」が選択設定された場合は、原稿印刷データ中のURLの文字列がQRコードに変換され、「メールアドレスを自動的にQRコードに変換する」が選択設定された場合は、原稿印刷データ中のメールアドレスの文字列がQRコードに変換され、「その他任意の文字列を自動的にQRコードに変換する」が選択設定された場合は、原稿印刷データ中のユーザが指定した文字列を含む行の全ての文字列がQRコードに変換される。   When “Convert URL automatically to QR code” is selected and set, the URL character string in the document print data is converted to QR code, and “Automatically convert mail address to QR code” is selected. If it is selected and set, the character string of the mail address in the document print data is converted to a QR code, and if “automatically convert any other character string to QR code” is selected and set, All character strings in the line including the character string designated by the user in the data are converted into QR codes.

また、変換されたQRコードは、変換元の文字列の位置に対してQRコード印刷位置設定項目334で選択設定された真上、真下、左、右、右斜め下の何れのかの位置に付与されて印刷される。   Also, the converted QR code is assigned to any one of the position directly above, just below, left, right, and diagonally below right selected by the QR code print position setting item 334 with respect to the position of the character string to be converted. And printed.

誤り訂正レベル選択指定項目335及びセルサイズ選択指定項目336は、ユーザが指定した文字列をQRコード変換する際のQRコードの誤り訂正レベルやセルサイズを選択設定する項目であり、QRコードの誤り訂正レベルは、L、M、Q、Hの4段階のレベルが設定可能であり、レベルL、M、Q、Hの順に誤り訂正能力は向上し、レベルLが最も誤り訂正能力は低く、レベルHが最も誤り訂正能力は高い。   The error correction level selection specification item 335 and the cell size selection specification item 336 are items for selecting and setting the error correction level and cell size of the QR code when the character string specified by the user is subjected to QR code conversion. The correction level can be set in four levels of L, M, Q, and H. The error correction capability is improved in the order of levels L, M, Q, and H. Level L has the lowest error correction capability. H has the highest error correction capability.

文字列をQRコードに変換するに際しては、誤り訂正レベル選択指定項目335で自動に選択設定されている場合は、プリンタ20の解像度に応じたQRコードの最適な誤り訂正レベル(L、M、Q、Hの何れか)が自動的に決定され、決定された誤り訂正レベルのQRコードに変換され、L、M、Q、Hの何れかの誤り訂正レベルが選択設定されている場合は、設定された誤り訂正レベル(L、M、Q、Hの何れか)のQRコードに変換される。   When converting a character string into a QR code, if the error correction level selection specification item 335 is automatically selected and set, the optimum error correction level (L, M, Q) of the QR code according to the resolution of the printer 20 is selected. , H) is automatically determined, converted to a QR code of the determined error correction level, and if any error correction level of L, M, Q, or H is selected and set, Is converted into a QR code of the error correction level (any of L, M, Q, and H).

また、セルサイズ選択指定項目336で自動に選択設定されている場合は、プリンタ20の解像度に応じたQRコードの最適なサイズが自動的に決定され、決定されたサイズのQRコードに変換され、セルサイズの値が選択設定されている場合は、設定されたサイズのQRコードに変換される。   If the cell size selection designation item 336 is automatically selected and set, the optimum size of the QR code corresponding to the resolution of the printer 20 is automatically determined and converted to a QR code of the determined size. When the cell size value is selected and set, it is converted into a QR code of the set size.

なお、各選択設定項目で選択された項目に対しては、チェックマークやドット及び文字列や数値等のデータが表示される。   For items selected in each selection setting item, data such as check marks, dots, character strings, and numerical values is displayed.

このように構成されたQRコード変換設定画面300で設定された設定情報に基づくプリンタドライバ153の印刷制御の動作について図4を参照し説明する。   The print control operation of the printer driver 153 based on the setting information set on the QR code conversion setting screen 300 configured as described above will be described with reference to FIG.

図4に示すように、プリンタドライバ153は、印刷指示とともに原稿印刷データを受信すると(ステップS401)、当該原稿印刷データに対して特定な文字列をQRコードに変換するか否かをQRコード変換設定画面300で設定された設定情報に基づき判別する(ステップS402)。   As shown in FIG. 4, when the printer driver 153 receives the original print data together with the print instruction (step S401), the printer driver 153 determines whether or not to convert a specific character string into the QR code for the original print data. A determination is made based on the setting information set on the setting screen 300 (step S402).

QRコード変換設定画面300のQRコード変換設定項目331で「特殊文字列をQRコードに変換する」という設定がされている場合は(402でYES)、特定文字列検出処理により「URLを自動的にQRコードに変換する」、「メールアドレスを自動的にQRコードに変換する」、「その他任意の文字列を自動的にQRコードに変換する」の何れかもしくは全てが選択されているかを判別し、選択された項目に該当する文字列を原稿印刷データ中から抽出して記憶部15に記憶保持する(ステップS403)。   If the setting “convert special character string to QR code” is set in the QR code conversion setting item 331 on the QR code conversion setting screen 300 (YES in 402), the URL is automatically detected by the specific character string detection process. Determine whether any or all of "Convert to QR code", "Convert mail address automatically to QR code" and "Convert any other character string automatically to QR code" are selected Then, the character string corresponding to the selected item is extracted from the original print data and stored in the storage unit 15 (step S403).

具体的には、「URLを自動的にQRコードに変換する」と設定されている場合は、原稿印刷データを走査し、URLに対応する文字列、例えば「http://」から始まる文字列で空白データまたはスペースデータを検知するまでの文字列をURLの文字データ列として抽出する。   Specifically, if “URL is automatically converted to QR code” is set, the original print data is scanned, and a character string corresponding to the URL, for example, a character string starting with “http: //” A character string until blank data or space data is detected is extracted as a URL character data string.

また、「メールアドレスを自動的にQRコードに変換する」と設定されている場合は、前述のURLの場合と同様に、メールアドレス対応する文字列データを検索して抽出する。   When “automatically convert mail address to QR code” is set, the character string data corresponding to the mail address is searched and extracted as in the case of the URL described above.

また、「その他任意の文字列を自動的にQRコードに変換する」と設定されている場合は、ユーザにより入力された文字列、例えば「ABCDEF」と入力されて設定されている場合は、原稿印刷データの「ABCDEF」を含む行が存在するか否かを判別し、存在する場合は、当該行の文字列データを全て抽出する。   In addition, when “automatically convert any other character string to QR code” is set, a character string input by the user, for example, “ABCDEF” is input and set, It is determined whether or not there is a line including “ABCDEF” of the print data, and if there is, all character string data of the line is extracted.

特定文字列検出処理により抽出された文字列データ(以下、「特定文字列データ」という。)は、RAM16に一時的に記憶保持されコード変換処理によりQRコードに変換される(ステップS404)。   Character string data extracted by the specific character string detection process (hereinafter referred to as “specific character string data”) is temporarily stored in the RAM 16 and converted into a QR code by the code conversion process (step S404).

コード変換処理では、特定文字列データの文字数、QRコード変換設定画面300の誤り訂正レベル選択指定項目335で設定された誤り訂正レベル(自動、L、M、Q、Hの何れか)と、セルサイズ選択指定項目336で設定された設定情報(自動またはユーザが設定したセルサイズの何れか)の各設定情報に基づき特定文字列データをQRコードのイメージデータに変換し、変換したQRコードをQRコード印刷位置設定項目334で設定された挿入位置情報(特定文字列に対して真上、真下、左、右、右斜め下の何れか)に対応した位置に印刷されるように原稿印刷データに付与する。   In the code conversion process, the number of characters of the specific character string data, the error correction level (automatic, L, M, Q, or H) set in the error correction level selection specification item 335 of the QR code conversion setting screen 300, the cell The specific character string data is converted into QR code image data based on each setting information of the setting information (either automatic or cell size set by the user) set in the size selection specification item 336, and the converted QR code is converted to QR. The original print data is printed so that it is printed at a position corresponding to the insertion position information set in the code print position setting item 334 (any one of directly above, directly below, left, right, or diagonally right below the specific character string). Give.

例えばQRコード印刷位置設定項目334で左が選択設定されている場合は、原稿印刷データ中のQRコードの変換元の文字列(以下、「特定文字列」という。)の位置の左側にQRコードが印刷されるように原稿印刷データにQRコードを付与する。   For example, when the left is selected and set in the QR code printing position setting item 334, the QR code is placed on the left side of the character string (hereinafter referred to as “specific character string”) of the QR code conversion source in the original print data. QR code is added to the original print data so that is printed.

コード変換処理により特定文字列データがQRコードに変換され、変換されたQRコードが印刷データに付与されると、原稿印刷データ中のQRコードの変換元の特定文字列をユーザが指定したもしくは自動で設定される色に変換するか否かを設定情報に基づき判別し(ステップS405)、原稿印刷データ中の特定文字列を指定した色もしくは自動で設定される色に変換するという設定がなされている場合は(ステップS405でYES)、原稿印刷データ中の特定文字列を色変換処理により設定された色に変換する(ステップS406)。   When the specific character string data is converted into a QR code by the code conversion process, and the converted QR code is given to the print data, the user specifies the specific character string of the QR code conversion source in the original print data or automatically Whether or not to convert to the color set in step S405 is determined based on the setting information (step S405), and a setting is made to convert a specific character string in the document print data into a designated color or a color set automatically. If YES in step S405, the specific character string in the document print data is converted into the color set by the color conversion process (step S406).

色変換処理では、特定文字列検出処理において原稿印刷データの中から特定文字列データを抽出する際に特定される特定文字列の位置情報に基づき原稿印刷データ中の特定文字列の領域の原稿印刷データに対してユーザが指定した色もしくは自動で設定される色に変換する処理を施す。   In the color conversion process, based on the position information of the specific character string specified when the specific character string data is extracted from the original print data in the specific character string detection process, the original print of the area of the specific character string in the original print data is performed. The data is converted into a color specified by the user or automatically set.

ステップS406で色変換処理によりユーザが指定した色もしくは自動で設定される色に変換された特定文字列を含む原稿印刷データとQRコード、もしくはステップ405でNOの場合において特定文字列が色変換されていない原稿印刷データとQRコード、もしくはステップS402でNOの場合においてQRコードが付与されていない原稿印刷データの各原稿印刷データやQRコードは、印刷データ解析変換処理によりプリンタ20が受信した印刷データを解釈して印刷出力できるように所定の画像処理が施された後(ステップS407)、当該画像処理された原稿印刷データまたはQRコードを含む原稿印刷データがプリンタ20へ送信され(ステップS408)、プリンタ20により印刷用紙上に印刷される。   In step S 406, the original print data and QR code including the specific character string converted to the color specified by the user or automatically set by the color conversion process or the specific character string is color-converted in the case of NO in step 405. Original print data and QR code, or each original print data and QR code of the original print data to which no QR code is assigned in the case of NO in step S402 is the print data received by the printer 20 by the print data analysis conversion process Is subjected to predetermined image processing so that it can be printed and output (step S407), and the image-processed document print data or document print data including a QR code is transmitted to the printer 20 (step S408). Printing is performed on the printing paper by the printer 20.

ところで、ステップS407において、原稿印刷データがプリンタ20に搭載されていないフォントで作成されている場合は、通常であればアプリケーションソフト152からの文字データはビットマップデータでプリンタドライバに送信されてくるが、そうした場合、プリンタドライバは特定文字の検出をできないという問題がある。   In step S407, if the original print data is created in a font that is not mounted on the printer 20, normally, character data from the application software 152 is transmitted to the printer driver as bitmap data. In such a case, there is a problem that the printer driver cannot detect specific characters.

そこで本発明に係わるプリンタドライバ153は、アプリケーションソフト152に対してあたかもプリンタ20に搭載しているフォントであると見せかけ、文字データを文字コードで受信できるようにして、確実に特定文字の検出ができるようにしている。   Therefore, the printer driver 153 according to the present invention makes it appear as if the font is installed in the printer 20 to the application software 152 and can receive character data as a character code, thereby reliably detecting a specific character. I am doing so.

この場合は、プリンタ20に搭載されているフォント情報を予め取得して保持するか、出力先のプリンタ20からフォント情報を取得してアプリケーションソフト152から受信した原稿印刷データのフォントがプリンタ20に搭載されてるか否かを判別し、原稿印刷データのフォントがプリンタ20に搭載されていない場合は、プリンタ20に搭載されているフォントの文字コードに原稿印刷データの文字情報を変換する。   In this case, the font information installed in the printer 20 is acquired and held in advance, or the font of the original print data received from the application software 152 by acquiring the font information from the output destination printer 20 is installed in the printer 20. If the font of the original print data is not mounted on the printer 20, the character information of the original print data is converted to the character code of the font mounted on the printer 20.

プリンタ20により印刷用紙上に印刷された印刷物は、図5の印刷物500に示すように、印刷データ中のURLの文字列510(破線で囲まれた文字列)がQRコード変換設定画面300の色変換設定項目333で設定された「赤」色で出力され、QRコード511が誤り訂正レベル選択指定項目335及びセルサイズ選択指定項目336でそれぞれ選択設定された設定情報に対応して誤り訂正レベルが「L」の10×10mmのセルサイズのQRコードのイメージデータに変換され、変換されたQRコード511がQRコード印刷位置設定項目334で選択設定された設定情報に対応してURLの文字列510の真下に印刷される。   As shown in the printed matter 500 in FIG. 5, the printed matter printed on the printing paper by the printer 20 is a URL character string 510 (a character string surrounded by a broken line) in the print data, which is the color of the QR code conversion setting screen 300. The “red” color set in the conversion setting item 333 is output, and the QR code 511 has an error correction level corresponding to the setting information selected and set in the error correction level selection specification item 335 and the cell size selection specification item 336, respectively. The character string 510 of the URL corresponding to the setting information selected and set in the QR code print position setting item 334 is converted into QR code image data of “L” 10 × 10 mm cell size. Is printed directly underneath.

このように本発明に係わるプリンタドライバ153は、プリンタドライバ153の所定の設定画面(QRコード変換設定画面300)で設定された設定情報に基づき原稿印刷データ中の特定文字列をQRコードに変換し、QRコードを含む原稿印刷データをプリンタ20へ送信するのでプリンタ20に文字列をQRコードに変換する処理の負荷を与えることなくQRコードを含む原稿印刷データを印刷させることができる。   Thus, the printer driver 153 according to the present invention converts a specific character string in the original print data into a QR code based on the setting information set on the predetermined setting screen (QR code conversion setting screen 300) of the printer driver 153. Since the original print data including the QR code is transmitted to the printer 20, the original print data including the QR code can be printed without giving the printer 20 the processing load for converting the character string into the QR code.

これまでの説明は、プリンタドライバ153が所定の設定画面で設定された設定情報に基づき原稿印刷データ中の特定文字列をQRコードに変換し、QRコードを含む原稿印刷データをプリンタ20へ送信する例を示したが、プリンタ20のコントローラであるCPU21が所定の設定画面で設定された設定情報に基づき原稿印刷データ中の特定文字列をQRコードに変換し、QRコードを含む原稿印刷データを印刷する構成としてもよい。   In the above description, the printer driver 153 converts a specific character string in the original print data into a QR code based on the setting information set on the predetermined setting screen, and transmits the original print data including the QR code to the printer 20. As shown in the example, the CPU 21 as the controller of the printer 20 converts a specific character string in the original print data into a QR code based on the setting information set on a predetermined setting screen, and prints the original print data including the QR code. It is good also as composition to do.

図6は、プリンタ20のコントローラ(CPU21)が所定の設定画面で設定された設定情報に基づき原稿印刷データ中の特定文字列をQRコードに変換し、QRコードを含む原稿印刷データを印刷する構成とした場合のプリンタドライバとプリンタのコントローラとの印刷制御の動作を示す流れ図である。   6 shows a configuration in which the controller (CPU 21) of the printer 20 converts a specific character string in the document print data into a QR code based on setting information set on a predetermined setting screen, and prints the document print data including the QR code. 5 is a flowchart showing the printing control operation between the printer driver and the printer controller in the case of

なお、本構成のプリンタドライバとプリンタ及びプリンタコントローラは、図1及び図2で示した印刷システム100及びソフトウェア構成におけるプリンタドライバ153と、プリンタ20と、CPU21(コントローラ)とをプリンタドライバ163とプリンタ200及びプリンタコントローラ210とに置き換えて構成されたものである。   Note that the printer driver, printer, and printer controller of this configuration are the printer driver 153, printer 20, and CPU 21 (controller) in the printing system 100 and software configuration shown in FIGS. And the printer controller 210.

図6に示すように、プリンタドライバ163は、印刷指示がなされてアプリケーションソフト152で作成された原稿印刷データを受信すると(ステップS601)、受信した原稿印刷データを印刷データ解析変換処理によりプリンタ200で印刷が可能なように所定の画像処理を施す(ステップS601)。   As shown in FIG. 6, when the printer driver 163 receives a print instruction and receives original print data created by the application software 152 (step S601), the printer 200 uses the print data analysis conversion process to receive the original print data. Predetermined image processing is performed so that printing is possible (step S601).

印刷データ解析変換処理による原稿印刷データの画像処理後、QRコード変換設定画面300で設定された設定情報に原稿印刷データ中の特定文字列をQRコードに変換する設定がなされているか否かを判別し(ステップS603)、QRコードに変換する設定がなされている場合は(603でYES)、QRコード変換設定画面300で設定された設定情報のデータ(以下、「設定情報データ」という。)を作成し、印刷データ解析変換処理により画像処理された原稿印刷データに付与して(ステップS604)プリンタ200へ送信する(ステップS605)。   After image processing of document print data by print data analysis conversion processing, it is determined whether or not the setting information set on the QR code conversion setting screen 300 is set to convert a specific character string in the document print data into a QR code. If it is set to convert to QR code (YES in 603), the setting information data (hereinafter referred to as “setting information data”) set on the QR code conversion setting screen 300 is used. The document is created and attached to the original print data subjected to image processing by the print data analysis conversion process (step S604), and is transmitted to the printer 200 (step S605).

一方、プリンタ200のプリンタコントローラ210は、プリンタドライバ163から送信された設定情報データが付与された原稿印刷データを受信すると、設定情報データを参照して原稿印刷データ中の特定文字列をQRコードに変換する設定がなされているか否かを判別する(ステップS607)。   On the other hand, when the printer controller 210 of the printer 200 receives the document print data to which the setting information data transmitted from the printer driver 163 is added, the printer controller 210 refers to the setting information data and converts a specific character string in the document print data into a QR code. It is determined whether or not conversion is set (step S607).

ステップS607でQRコードに変換する設定がなされている場合は(607でYES)、「URLを自動的にQRコードに変換する」、「メールアドレスを自動的にQRコードに変換する」、「その他任意の文字列を自動的にQRコードに変換する」の何れかもしくは全てが選択されているかを判別し、選択された項目に該当する文字列を特定文字列検出処理により原稿印刷データから検索し抽出する(ステップS608)。   If it is set in step S607 to convert to QR code (YES in 607), “URL is automatically converted to QR code”, “E-mail address is automatically converted to QR code”, “Others” It is determined whether any or all of “Any character string is automatically converted to QR code” is selected, and a character string corresponding to the selected item is searched from the original print data by a specific character string detection process. Extract (step S608).

特定文字列検出処理により原稿印刷データから抽出された特定文字列データは、コード変換処理により誤り訂正レベルと、セルサイズの設定情報に基づくQRコードに変換され、当該変換されたQRコードが指定された挿入位置の設定情報に基づく位置に印刷されるように原稿印刷データに付与される(ステップS609)。   The specific character string data extracted from the original print data by the specific character string detection process is converted into a QR code based on the error correction level and cell size setting information by the code conversion process, and the converted QR code is designated. The original print data is added so as to be printed at a position based on the insertion position setting information (step S609).

コード変換処理で特定文字列データがQRコードに変換され、変換されたQRコードが原稿印刷データに付与されると、原稿印刷データ中の特定文字列をユーザが指定したもしくは自動で設定される色に変換するか否かを設定情報に基づき判別し(ステップS610)、設定情報に原稿印刷データ中の特定文字列を指定された色に変換するという設定がなされている場合は(ステップS610でYES)、原稿印刷データ中の特定文字列を色変換処理により指定された色に変換する(ステップS611)。   When the specific character string data is converted into a QR code by the code conversion process, and the converted QR code is added to the original print data, the color specified by the user or automatically set by the user for the specific character string in the original print data Is determined based on the setting information (step S610). If the setting information is set to convert a specific character string in the original print data into a designated color (YES in step S610). ), The specific character string in the document print data is converted into the color designated by the color conversion process (step S611).

ステップS611で色変換処理によりユーザが指定した色もしくは自動で設定される色に変換された特定文字列を含む原稿印刷データとQRコード、もしくはステップ610でNOの場合において、特定文字列が色変換されていない原稿印刷データとQRコード、もしくはステップS607でNOの場合において、QRコードが付与されていない原稿印刷データの各原稿印刷データやQRコードは、印刷データ解析変換処理によりプリンタ200で原稿印刷データやQRコードが印刷されるように所定の画像処理が施された後(ステップS612)、当該画像処理された原稿印刷データまたはQRコードを含む原稿印刷データが印刷用紙上に印刷される。   The original print data and QR code including the specific character string converted to the color designated by the user or automatically set by the color conversion process in step S611, or the specific character string is color converted in the case of NO in step 610 The original print data and QR code that have not been printed, or the original print data and QR code of the original print data to which no QR code has been assigned in the case of NO in step S607, are printed by the printer 200 by print data analysis conversion processing. After predetermined image processing is performed so that data and a QR code are printed (step S612), the image-processed document print data or document print data including the QR code is printed on a printing sheet.

図7は、前述のプリンタドライバ153、163とは他のプリンタドライバ173の設定画面の一例を示す図である。   FIG. 7 is a diagram illustrating an example of a setting screen of a printer driver 173 other than the printer drivers 153 and 163 described above.

本発明に係わるプリンタドライバ173は、プリンタドライバ153、163が行う印刷制御の他に次のような印刷制御が行えるように構成されており、この構成に対応してプリンタドライバ173の設定画面も図7に示すような画面構成となっている。   The printer driver 173 according to the present invention is configured to perform the following print control in addition to the print control performed by the printer drivers 153 and 163, and the setting screen of the printer driver 173 is also shown corresponding to this configuration. The screen configuration is as shown in FIG.

本発明に係わるプリンタドライバ173は、原稿印刷データ中のQRコードに変換された特定文字列及びQRコードをユーザが指定した色もしくは自動で設定される色に変換し、色変換されたQRコードを色変換された特定文字列を含む原稿印刷データに付与してプリンタ20へ送信できるように構成されている。   The printer driver 173 according to the present invention converts the specific character string and QR code converted into the QR code in the document print data into a color designated by the user or a color set automatically, and the color-converted QR code is converted. It is configured so that it can be sent to the printer 20 by giving it to the original print data including the specific character string after the color conversion.

また、本発明に係わるプリンタドライバ173は、QRコードに変換される特定文字列が原稿印刷データ中に複数存在する場合は、QRコードと当該QRコードに変換された特定文字列との色を同色とするとともに他のQRコード及び当該QRコードに変換された特定文字列との色を異なる色に変換し、複数の色に変換されたQRコードを複数の色に変換された特定文字列を含む原稿印刷データに付与してプリンタ20へ送信できるように構成されている。   Further, when there are a plurality of specific character strings to be converted into QR codes in the original print data, the printer driver 173 according to the present invention uses the same color for the QR code and the specific character string converted into the QR code. In addition, the color of another QR code and the specific character string converted into the QR code is converted into a different color, and the QR code converted into a plurality of colors includes the specific character string converted into a plurality of colors. It is configured so that it can be sent to the printer 20 after being attached to the original print data.

また、本発明に係わるプリンタドライバ173は、ユーザが指定した文字列が変換されたQRコードをユーザが指定した位置に付与する際にQRコードが原稿印刷データ(例えば文字やイメージ)と重なる場合には、自動的に原稿印刷データの余白部を検索して特定し、特定した余白部の位置にQRコードを付与してプリンタ20へ送信できるように構成されている。   The printer driver 173 according to the present invention provides a QR code that overlaps original print data (for example, a character or an image) when a QR code converted from a character string specified by the user is added to a position specified by the user. Is configured to automatically search for and specify a margin portion of the original print data, add a QR code to the position of the specified margin portion, and transmit it to the printer 20.

また、本発明に係わるプリンタドライバ173は、ユーザが指定した文字列が変換されたQRコードをユーザが指定した位置に付与する際にQRコードが原稿印刷データ(例えば文字やイメージ)と重なる場合には、自動的に原稿印刷データの領域を縮小して余白部を形成し、形成した余白部の位置にQRコードを付与してプリンタ20へ送信できるように構成されている。   The printer driver 173 according to the present invention provides a QR code that overlaps original print data (for example, a character or an image) when a QR code converted from a character string specified by the user is added to a position specified by the user. Is configured to automatically reduce the area of the original print data to form a margin, and to send the QR code to the printer 20 with the QR code added to the position of the formed margin.

また、本発明に係わるプリンタドライバ173は、ユーザが指定した文字列が変換されたQRコードをヘッダー領域やフッター領域の位置に印刷されるように原稿印刷データにQRコードを付与してプリンタ20へ送信できるように構成されている。   In addition, the printer driver 173 according to the present invention adds a QR code to the original print data so that the QR code obtained by converting the character string specified by the user is printed at the position of the header area or the footer area. It is configured to be able to send.

このように構成されたプリンタドライバ173の印刷制御について図7及び図8を参照し説明する。   The print control of the printer driver 173 configured as described above will be described with reference to FIGS.

図7は、前にも述べたように、本発明に係わるプリンタドライバ173の設定画面の一例を示す図であり、この設定画面は、プリンタドライバ173が原稿印刷データに含まれる特定な文字列をQRコードに変換し、変換したQRコードと原稿印刷データとを印刷する印刷制御を行なうためのQRコード変換設定画面700の一例を示したものである。   FIG. 7 is a diagram showing an example of the setting screen of the printer driver 173 according to the present invention, as described above. This setting screen displays a specific character string included in the original print data by the printer driver 173. 7 shows an example of a QR code conversion setting screen 700 for performing print control for converting to a QR code and printing the converted QR code and original print data.

図7に示すように、QRコード変換設定画面700は、文字列指定項目732(破線で囲まれた部分)の「その他任意の文字列を自動的にQRコードに変換する」の選択項目が複数の任意の文字列を指定できるように構成され、色変換設定項目733(破線で囲まれた部分)が複数の変換元文字列の色指定ができるように構成され、QRコードの色を変換元文字列と同色にするか否かを指定できるように構成され、QRコード印刷位置設定項目734がQRコードの印刷位置を「用紙に対して」または「特定文字列に対して」の何れかで選択設定できるように構成され、QRコードをQRコード印刷位置設定項目734(破線で囲まれた部分)で選択設定された位置に印刷する場合に原稿印刷データとQRコードとが重なる場合には、周辺の余白を自動検索し、当該余白部にQRコードを印刷するかもしくは原稿印刷データを縮小出力して余白部を形成し、当該余白部にQRコードを印刷するかを選択する重複印刷処置設定項目737(破線で囲まれた部分)が新たに設けられて構成されている他は、図3で示したQRコード変換設定画面300と同様に構成されている。
このように構成されたQRコード変換設定画面700で設定された設定情報に基づくプリンタドライバ173の印刷制御の動作について図8を参照し説明する。
As shown in FIG. 7, the QR code conversion setting screen 700 includes a plurality of selection items “automatically convert any other character string into a QR code” in a character string designation item 732 (a portion surrounded by a broken line). The color conversion setting item 733 (the portion surrounded by a broken line) is configured so that the colors of a plurality of conversion source character strings can be specified, and the QR code color is converted to the conversion source. The QR code print position setting item 734 is configured to specify whether the QR code print position is “for paper” or “for a specific character string”. When the QR code is printed at the position selected and set by the QR code print position setting item 734 (the part surrounded by the broken line) and the original print data and the QR code overlap, Around Duplicate printing treatment setting item 737 for automatically searching for white and printing QR code in the margin or selecting whether to print out the original print data and forming the margin and printing the QR code in the margin The configuration is the same as that of the QR code conversion setting screen 300 shown in FIG. 3 except that a portion surrounded by a broken line is newly provided.
The print control operation of the printer driver 173 based on the setting information set on the QR code conversion setting screen 700 configured as described above will be described with reference to FIG.

図8に示すように、プリンタドライバ173は、印刷指示とともに原稿印刷データを受信すると(ステップS801)、当該原稿印刷データに対して特定な文字列をQRコードに変換するか否かをQRコード変換設定画面700で設定された設定情報に基づき判別し(ステップS802)、QRコード変換設定画面700のQRコード変換設定項目731で「特殊文字列をQRコードに変換する」という設定がされている場合は(802でYES)、特定文字列検出処理により「URLを自動的にQRコードに変換する」、「メールアドレスを自動的にQRコードに変換する」、「その他任意の文字列を自動的にQRコードに変換する」の何れかもしくは全てが選択されているかを判別し、選択された項目に該当する文字列を印刷データ中から抽出して記憶部15に記憶保持する(ステップS803)。   As shown in FIG. 8, when the printer driver 173 receives the original print data together with the print instruction (step S801), the printer driver 173 determines whether or not to convert a specific character string into the QR code for the original print data. When determination is made based on the setting information set on the setting screen 700 (step S802), and the setting “convert special character string to QR code” is set in the QR code conversion setting item 731 of the QR code conversion setting screen 700 (YES in 802), “Convert URL automatically into QR code”, “Convert mail address automatically into QR code”, “Automatically convert any other character string” Whether any or all of “Convert to QR code” is selected, and whether the character string corresponding to the selected item is in the print data Extracted and stored and held in the storage unit 15 (step S803).

特定文字列検出処理により抽出された文字列データは、コード変換処理によりQRコードに変換される(ステップS804)。   The character string data extracted by the specific character string detection process is converted into a QR code by the code conversion process (step S804).

コード変換処理では、特定文字列データの文字数、QRコード変換設定画面700の誤り訂正レベル選択指定項目735(破線で囲まれた部分)で設定された誤り訂正レベル(自動、L、M、Q、Hの何れか)と、セルサイズ選択指定項目736(破線で囲まれた部分)で設定された設定情報(自動またはユーザが設定したセルサイズの何れか)の各設定情報に基づき特定文字列をQRコードのイメージデータに変換し、変換したQRコードをQRコード印刷位置設定項目734で設定された挿入位置情報(用紙に対して、または特定文字列に対して真上、真下、左、左下、右、右下等の何れか)に対応した位置に印刷されるように付与する。   In the code conversion process, the number of characters of the specific character string data, and the error correction level (automatic, L, M, Q, etc.) set in the error correction level selection specification item 735 (the portion surrounded by a broken line) on the QR code conversion setting screen 700 are displayed. A specific character string based on the setting information (either automatic or the cell size set by the user) set in the cell size selection designation item 736 (the part surrounded by a broken line). The image data is converted into QR code image data, and the converted QR code is inserted position information set in the QR code print position setting item 734 (right above, right below, left, left bottom, It is given to be printed at a position corresponding to any one of right and lower right).

例えばQRコード印刷位置設定項目734で「用紙に対して右下」が選択設定されている場合は、QRコードが印刷用紙の右下に印刷されるように原稿印刷データにQRコードを付与する。   For example, when “lower right with respect to paper” is selected and set in the QR code printing position setting item 734, the QR code is added to the original print data so that the QR code is printed on the lower right of the printing paper.

なお、QRコード印刷位置設定項目734で設定された位置にQRコードを付与した場合に原稿印刷データ(例えば文字やイメージ)と重なる場合には、設定された位置近傍もしくは原稿印刷データ全体での余白部を検索し、検索した余白部の位置にQRコードを付与するか、もしくは原稿印刷データの領域を縮小して余白部を形成し、形成した余白部の位置にQRコードを付与する。   If the QR code is added to the position set in the QR code print position setting item 734 and overlaps with the original print data (for example, characters or images), the margin in the vicinity of the set position or in the entire original print data The part is searched, and a QR code is assigned to the position of the searched margin part, or a margin part is formed by reducing the area of the original print data, and the QR code is assigned to the position of the formed margin part.

また、余白部の特定は、原稿印刷データの大きさや印刷用紙のサイズ、ページ設定情報等の各設定情報を参照することで特定することができる。   The margin portion can be specified by referring to each setting information such as the size of the original print data, the size of the printing paper, and the page setting information.

コード変換処理により特定文字列データがQRコードに変換され、変換されたQRコードが原稿印刷データに付与されると、原稿印刷データ中のQRコードの変換元の特定文字列を色変換設定項目733で設定された設定情報(変換元文字列の色を指定された色に変換するか否か、QRコードの色を変換元文字列と同色にするか否かを判別し(ステップS805)、特定文字列やQRコードを指定した色に変換するという設定がなされている場合は(ステップS805でYES)、原稿印刷データ中の特定文字列やQRコードを色変換処理により設定情報に対応した色に変換する(ステップS806)。   When the specific character string data is converted into a QR code by the code conversion process, and the converted QR code is added to the original print data, the specific character string of the QR code conversion source in the original print data is converted into the color conversion setting item 733. The setting information set in step (step S805) is performed to determine whether the color of the conversion source character string is converted to the specified color, and whether the color of the QR code is the same as that of the conversion source character string. If the character string or QR code is set to be converted to the designated color (YES in step S805), the specific character string or QR code in the document print data is converted to a color corresponding to the setting information by color conversion processing. Conversion is performed (step S806).

色変換処理では、特定文字列検出処理において原稿印刷データの中から特定文字列データを抽出する際に特定される特定文字列の位置情報に基づき原稿印刷データ中の特定文字列の領域の原稿印刷データ及びQRコードに対してユーザが指定した色もしくは自動で設定される色に変換する処理を施す。   In the color conversion process, based on the position information of the specific character string specified when the specific character string data is extracted from the original print data in the specific character string detection process, the original print of the area of the specific character string in the original print data is performed. The data and the QR code are converted into a color designated by the user or automatically set.

また、QRコードに変換される特定文字列が原稿印刷データ中に複数存在する場合は、QRコードと当該QRコードに変換された特定文字列との色を同色とするとともに他のQRコード及び当該QRコードに変換された特定文字列との色を異なる色に変換する処理を施す。   Further, when there are a plurality of specific character strings to be converted into QR codes in the original print data, the QR code and the specific character string converted into the QR code have the same color and other QR codes and A process of converting the color of the specific character string converted into the QR code into a different color is performed.

ステップS806で色変換処理により設定情報に対応した色に変換された特定文字列やQRコードを含む原稿印刷データ、もしくはステップ805でNOの場合において、特定文字列が色変換されていない原稿印刷データとQRコード、もしくはステップS802でNOの場合において、QRコードに変換する処理を実施しない原稿印刷データの各原稿印刷データやQRコードは、印刷データ解析変換処理によりプリンタ20が受信した印刷データを解釈して印刷出力できるように所定の画像処理が施された後(ステップS807)、当該画像処理された原稿印刷データまたはQRコードを含む原稿印刷データがプリンタ20へ送信され(ステップS808)、プリンタ20により印刷用紙上に印刷される。   Original print data including a specific character string or QR code converted to a color corresponding to the setting information by color conversion processing in step S806, or original print data in which the specific character string is not color-converted in the case of NO in step 805 And the QR code, or each of the original print data and the QR code of the original print data not subjected to the process of converting to the QR code in the case of NO in step S802, interprets the print data received by the printer 20 by the print data analysis conversion process. Then, after predetermined image processing is performed so that it can be printed out (step S807), the image-processed document print data or document print data including a QR code is transmitted to the printer 20 (step S808). Is printed on the printing paper.

プリンタ20により印刷用紙上に印刷された印刷物は、図9の印刷物900に示すように、原稿印刷データ中の複数のURLの文字列910、920、930(破線で囲まれた文字列)がQRコード変換設定画面700の色変換設定項目733で設定された「青」、「緑」、「赤」の設定情報に基づきURLの文字列910が「青」、URLの文字列920が「緑」、URLの文字列930が「赤」の色でそれぞれ出力され、各URLの文字列910、920、930に対応したQRコード911、921、931も「QRコードの色を変換元文字列と同色にする」という設定情報に基づきQRコード911が「青」、QRコード921が「緑」、QRコード931が「赤」の色でそれぞれ出力される。   The printed matter printed on the printing paper by the printer 20 includes a plurality of URL character strings 910, 920, and 930 (character strings surrounded by broken lines) in the original print data as shown in a printed matter 900 of FIG. Based on the setting information of “blue”, “green”, and “red” set in the color conversion setting item 733 of the code conversion setting screen 700, the URL character string 910 is “blue” and the URL character string 920 is “green”. , URL character strings 930 are respectively output in “red” colors, and QR codes 911, 921, 931 corresponding to the URL character strings 910, 920, 930 also have the same color as the QR code color. The QR code 911 is output in “blue”, the QR code 921 is “green”, and the QR code 931 is output in “red” based on the setting information “ON”.

また、各QRコード911、921、931は、誤り訂正レベル選択指定項目735で選択設定された「自動」及びセルサイズ選択指定項目736で選択設定された「自動」に対応して誤り訂正レベル及びセルサイズがプリンタ20の解像度に基づく最適な値のQRコードに変換され、変換された各QRコード911、921、931がQRコード印刷位置設定項目734で設定された「用紙に対して右下」に対応した位置に出力される。   Each QR code 911, 921, 931 corresponds to “automatic” selected and set by the error correction level selection designation item 735 and “automatic” selected and set by the cell size selection designation item 736 and The cell size is converted into a QR code having an optimum value based on the resolution of the printer 20, and the converted QR codes 911, 921, and 931 are set in the QR code print position setting item 734 "bottom right with respect to paper" Is output to the position corresponding to.

図10は、プリンタドライバ173のQRコード変換設定画面700において、文字列指定項目732で「その他任意の文字列を自動的にQRコードに変換する」が選択され、任意の文字列として「発注コード」と「住所」が入力されて設定され、QRコード印刷位置設定項目734で「用紙に対して左下」が選択設定された一例を示す図である。   FIG. 10 shows that in the QR code conversion setting screen 700 of the printer driver 173, “automatically convert any other character string to QR code” is selected in the character string designation item 732, and “order code” is selected as an arbitrary character string. ”And“ address ”are input and set, and“ lower left with respect to paper ”is selected and set in the QR code print position setting item 734. FIG.

このように設定された場合は、プリンタドライバ173の印刷制御により図11に示すような印刷物901が出力される。   When set in this way, a printed matter 901 as shown in FIG. 11 is output by the print control of the printer driver 173.

図11に示すように、印刷物901は、原稿印刷データ中の発注コードを含む行の全ての文字列データ950と、住所を含む行の全ての文字列データ960がそれぞれQRコード951、961に変換され、色変換設定項目733で設定された「青」、「緑」と「QRコードの色を変換元文字列と同色にする」という設定情報に基づき発注コードを含む行の全ての文字列データ950とQRコード951が「青」、住所を含む行の全ての文字列データ960とQRコード961が「緑」の色でそれぞれ出力され、各QRコード951、961が誤り訂正レベル選択指定項目735で選択設定された「自動」及びセルサイズ選択指定項目736で選択設定された「自動」に基づくイメージデータのQRコード951、961に変換され、変換されたQRコード951、961がQRコード印刷位置設定項目734で選択設定された「用紙に対して」「左下」に出力される。   As shown in FIG. 11, in the printed matter 901, all character string data 950 in the line including the order code in the original print data and all character string data 960 in the line including the address are converted into QR codes 951 and 961, respectively. All the character string data in the line including the order code based on the setting information “blue”, “green” and “make QR code color the same color as the conversion source character string” set in the color conversion setting item 733 950 and QR code 951 are output in “blue”, all character string data 960 and QR code 961 in the line including the address are output in “green”, respectively, and each QR code 951 and 961 is error correction level selection specification item 735. Is converted into QR codes 951 and 961 of image data based on “automatic” selected and set in “Auto” and “automatic” selected and set in the cell size selection designation item 736. The QR code 951 and 961 is output to the selected set in the QR code printing position setting item 734 "with respect to the paper," "lower left".

以上説明したように本発明に係わるプリンタ、プリンタドライバを適用することで、文字列を二次元コード変換する特別なアプリケーションを購入することなく印刷データ中の所望の文字列が変換された二次元コードを印刷データに付与して印刷することができる。 As described above, by applying the printer and printer driver according to the present invention, a two-dimensional code in which a desired character string in a print data is converted without purchasing a special application for converting the character string into a two-dimensional code. Can be added to the print data for printing.

また、文字列を二次元コードに変換する特別なアプリケーションがアドインできない、もしくはイメージデータを貼り付けることができないアプリケーションであっても印刷データ中のユーザが指定した文字列が変換された二次元コードを印刷データに付与して印刷することができる。   In addition, special applications that convert character strings to two-dimensional codes cannot be added in, or even two-dimensional codes in which character strings specified by the user in print data are converted can be pasted even if image data cannot be pasted. It is possible to print by attaching to print data.

また、印刷データ中の二次元コードに変換された特定文字列を容易に識別することができる。   Further, it is possible to easily identify the specific character string converted into the two-dimensional code in the print data.

本発明に係わるプリンタドライバが適用された印刷システムの一例を示す構成図1 is a configuration diagram showing an example of a printing system to which a printer driver according to the present invention is applied.

符号の説明Explanation of symbols

10 クライアントPC
11 CPU(=Central Processing Unit:中央演算処理装置、(クライアントPC側))
12 外部インタフェース(クライアントPC側)
13 入力制御部
14 表示制御部
15 記憶部
16 ROM(=Read Only Memory)
17 RAM(=Random Access Memory)
20 プリンタ
21 CPU(=Central Processing Unit:中央演算処理装置、(プリンタ側))
22 印刷画像処理部
23 画像形成部
24 ユーザインタフェース
25 外部インタフェース部(クライアントPC側)
30 LAN(=Local Area Network)
100 印刷システム
151 OS(=Operating System)
152 アプリケーションソフト
153、163、173 プリンタドライバ
300、700、701 QRコード変換設定画面
310、710 タイトルバー
320、720 タブ
330、730 設定項目設定部
331、731 QRコード変換設定項目
332、732 文字列指定項目
333、733 色変換設定項目
334、734 QRコード印刷位置設定項目
335、735 誤り訂正レベル選択指定項目
336、736 セルサイズ選択指定項目
737 重複印刷処置設定項目
340、740 指示操作ボタン
500、900、901 印刷物
510、910、920、930 URL文字列
511、911、921、931、951、961 QRコード
950 発注コードを含む行の全ての文字列
960 住所を含む行の全ての文字列
10 Client PC
11 CPU (= Central Processing Unit: Central processing unit (client PC side))
12 External interface (client PC side)
13 Input Control Unit 14 Display Control Unit 15 Storage Unit 16 ROM (= Read Only Memory)
17 RAM (= Random Access Memory)
20 printer 21 CPU (= Central Processing Unit: central processing unit (printer side))
22 Print Image Processing Unit 23 Image Forming Unit 24 User Interface 25 External Interface Unit (Client PC Side)
30 LAN (= Local Area Network)
100 printing system 151 OS (= Operating System)
152 Application software 153, 163, 173 Printer driver 300, 700, 701 QR code conversion setting screen
310, 710 Title bar 320, 720 Tab 330, 730 Setting item setting part 331, 731 QR code conversion setting item 332, 732 Character string designation item 333, 733 Color conversion setting item 334, 734 QR code printing position setting item 335, 735 Error correction level selection specification item 336, 736 Cell size selection specification item 737 Duplicate printing treatment setting item 340, 740 Instruction operation button 500, 900, 901 Printed material 510, 910, 920, 930 URL character string 511, 911, 921, 931, 951, 961 QR code 950 All character strings in the line including the order code 960 All character strings in the line including the address

Claims (12)

プリンタに対する各種パラメータの設定を保持し、アプリケーションからの印刷データの変換を行うプリンタドライバにおいて、
ユーザが指定した特定文字列をアプリケーションで作成された印刷データ中から検索して抽出する特定文字列検手段と、
前記特定文字列検手段により抽出された前記特定文字列をコードに変換するコード変換手段と、
前記コード変換手段により変換されたコードを前記印刷データのユーザが指定した指定位置に付与するコード付与手段と
を具備することを特徴とするプリンタドライバ。
In the printer driver that holds various parameter settings for the printer and converts print data from the application,
A specific character string search means searches and extracts specific character string specified by the user from the print data created by the application,
Code converting means for converting the specific character string extracted by the specific character string search means to the code,
A printer driver comprising: a code adding unit that applies the code converted by the code converting unit to a designated position designated by a user of the print data.
前記コード変換手段により変換されたコードに対応する前記印刷データ中の前記特定文字列の色をユーザが指定した色もしくは自動で設定される色に変換する検文字列色変換手段
を更に具備することを特徴とする請求項1記載のプリンタドライバ。
Further comprising a search string color conversion means for converting the color chosen in a color or automatically for the user to color specified by the specific character string in the print data corresponding to the translated code by said code converting means The printer driver according to claim 1.
前記検文字列色変換手段は、
前記コード変換手段により変換されたコードの色を前記検文字列色変換手段により変換された前記特定文字列の色と同じ色に変換する
ことを特徴とする請求項2記載のプリンタドライバ。
The search string color conversion means,
The printer driver of claim 2, wherein the converting the color of the translated code by the code conversion unit in the same color as that of the specific character string converted by said search string color transform.
前記検文字列色変換手段は、
前記特定文字列検手段により複数の特定文字列が検出され、前記コード変換手段により該複数の特定文字列に対応する複数のコードに変換された場合、各特定文字列の色をそれぞれ異なる色に変換し、該特定文字列に対応するコードの色を該特定文字列の色と同じ色に変換する
ことを特徴とする請求項2記載のプリンタドライバ。
The search string color conversion means,
Wherein a plurality of specific character string by specific character string search means is detected, when it is converted into a plurality of code corresponding to a specific character string of the plurality by said code converting means, different colors the color of each specific character string, respectively 3. The printer driver according to claim 2, wherein the color of the code corresponding to the specific character string is converted to the same color as the color of the specific character string.
前記コード付与手段は、
前記ユーザが指定した指定位置が原稿の文字やイメージデータと重なる場合、周辺の余白部を検索して特定し、該特定した位置に前記コードを付与する
ことを特徴とする請求項記載のプリンタドライバ。
The code giving means is
5. The printer according to claim 4 , wherein when a designated position designated by the user overlaps with a character or image data of a document, a peripheral margin portion is searched and specified, and the code is added to the specified position. driver.
前記コード付与手段は、
前記ユーザが指定した指定位置が原稿の文字やイメージデータと重なる場合、前記印刷データの画像を縮小することによって余白を形成し、該形成した余白に前記コードを付与する
ことを特徴とする請求項1記載のプリンタドライバ。
The code giving means is
The printing apparatus according to claim 1, wherein when a designated position designated by the user overlaps with text or image data of a document, a margin is formed by reducing an image of the print data, and the code is added to the formed margin. The printer driver according to 1.
前記コード付与手段は、
前記印刷データに付与されるヘッダー・フッダー領域に前記コードを付与する
ことを特徴とする請求項1記載のプリンタドライバ。
The code giving means is
The printer driver according to claim 1, wherein the code is added to a header / footer area added to the print data.
前記コードのサイズを設定する設定手段
を更に具備し、
前記コード変換手段は、
前記設定手段によって設定された前記コードのサイズに基づき前記コードの誤り訂正レベルを最適に設定してコード変換を行う
ことを特徴とする請求項1記載のプリンタドライバ。
Further comprising setting means for setting the size of the code;
The code conversion means includes
2. The printer driver according to claim 1, wherein code conversion is performed by optimally setting an error correction level of the code based on the size of the code set by the setting means.
前記プリンタの解像度情報を取得する解像度情報取得手段
を更に具備し、
前記コード変換手段は、
前記解像度情報取得手段により取得した前記プリンタの解像度に基づき前記コードの誤り訂正レベルを最適に設定してコード変換を行う
ことを特徴とする請求項1記載のプリンタドライバ。
Further comprising resolution information acquisition means for acquiring resolution information of the printer;
The code conversion means includes
2. The printer driver according to claim 1, wherein code conversion is performed by optimally setting an error correction level of the code based on the resolution of the printer acquired by the resolution information acquisition means.
前記プリンタの解像度情報を取得する解像度情報取得手段
を更に具備し、
前記コード変換手段は、
前記解像度情報取得手段により取得した前記プリンタの解像度に基づき前記コードのドットのサイズを最適に設定してコード変換を行う
ことを特徴とする請求項1記載のプリンタドライバ。
Further comprising resolution information acquisition means for acquiring resolution information of the printer;
The code conversion means includes
2. The printer driver according to claim 1, wherein code conversion is performed by optimally setting a dot size of the code based on the resolution of the printer acquired by the resolution information acquisition unit.
プリンタに搭載されていないフォントであっても、アプリケーションに対してはあたかも対応しているように見せかけ、前記アプリケーションの文字情報は文字コードで受信する
ことを特徴とする請求項1記載のプリンタドライバ。
2. The printer driver according to claim 1, wherein even if the font is not installed in the printer, it looks as if it corresponds to the application, and character information of the application is received as a character code.
プリンタドライバで変換されたアプリケーションからの印刷データを受信して印刷出力を行うプリンタにおいて、
前記印刷データを解析して指定された特定文字列を該印刷データ中から検索して抽出する特定文字列検手段と、
前記特定文字列検手段により抽出された前記特定文字列をコードに変換するコード変換手段と、
前記コード変換手段により変換されたコードを前記印刷データの指定された位置に付与するコード付与手段と
を具備することを特徴とするプリンタ。
In a printer that receives print data from an application converted by a printer driver and prints it out,
The specific string specified by analyzing the print data and the specific character string search means for extracting search from among the print data,
Code converting means for converting the specific character string extracted by the specific character string search means to the code,
A printer, comprising: a code applying unit that applies the code converted by the code converting unit to a specified position of the print data.
JP2005211295A 2005-07-21 2005-07-21 Printer, printer driver Expired - Fee Related JP4470828B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2005211295A JP4470828B2 (en) 2005-07-21 2005-07-21 Printer, printer driver
US11/352,360 US8614833B2 (en) 2005-07-21 2006-02-13 Printer, printer driver, printing system, and print controlling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005211295A JP4470828B2 (en) 2005-07-21 2005-07-21 Printer, printer driver

Publications (2)

Publication Number Publication Date
JP2007026353A JP2007026353A (en) 2007-02-01
JP4470828B2 true JP4470828B2 (en) 2010-06-02

Family

ID=37786991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005211295A Expired - Fee Related JP4470828B2 (en) 2005-07-21 2005-07-21 Printer, printer driver

Country Status (1)

Country Link
JP (1) JP4470828B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008221679A (en) * 2007-03-14 2008-09-25 Ricoh Co Ltd Image forming apparatus and image forming method
JP4468404B2 (en) * 2007-05-02 2010-05-26 キヤノン株式会社 Information processing apparatus control method, information processing apparatus, and program
CN102915215B (en) 2011-08-03 2015-05-27 精工爱普生株式会社 Control device and control method
JP6326786B2 (en) 2013-11-29 2018-05-23 ブラザー工業株式会社 Program, information processing apparatus, and communication system
JP6930181B2 (en) * 2017-03-31 2021-09-01 ブラザー工業株式会社 Program and information processing terminal
JP6876561B2 (en) * 2017-07-24 2021-05-26 株式会社東芝 Image processing equipment and programs
JP7073679B2 (en) * 2017-11-02 2022-05-24 ブラザー工業株式会社 2D code generator

Also Published As

Publication number Publication date
JP2007026353A (en) 2007-02-01

Similar Documents

Publication Publication Date Title
US8614833B2 (en) Printer, printer driver, printing system, and print controlling method
JP4470828B2 (en) Printer, printer driver
JP5712487B2 (en) Image processing apparatus, image processing system, image processing method, and program
US8634100B2 (en) Image forming apparatus for detecting index data of document data, and control method and program product for the same
JP4710763B2 (en) Image processing program, instruction device, and image processing system
EP1480160A2 (en) Barcode printing system, method of setting a virtual barcode font
CN111831236A (en) Information processing method and apparatus, image forming apparatus, printing system and method
US7218414B2 (en) Apparatus and method for recording document described in markup language
JP6880921B2 (en) Setting processor and program
JP2007148486A (en) Method for supporting document browsing, system for the same, document processor, and program
JP2004072774A (en) Processor readable medium and multi-functional device
JP2007034620A (en) Printer driver, print system and print control method
EP1128329A2 (en) Image processing apparatus and method
US20170147912A1 (en) Print control system, print control apparatus, and program
JP6682215B2 (en) Image processing apparatus, image processing method, and control program
JP4605296B2 (en) Print data processing program and print data processing apparatus
US8908227B2 (en) Image forming apparatus, image forming system, image data processing method, program, and storage medium
US20100060932A1 (en) Image processing apparatus, information processing method, and computer program product
JP4924599B2 (en) Printing system, printing medium inspection program, and printing medium inspection apparatus
JP4576896B2 (en) Image processing device
JP6507809B2 (en) Printing instruction device, printing system and program
JP2005326940A (en) Graphing device, program, and recording medium
JP2006264224A (en) Variable printer and variable printing system
JP6624027B2 (en) Image processing apparatus and image forming apparatus
JP2011022681A (en) Image forming system and print control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091117

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100209

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100222

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4470828

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140312

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees