JP5644183B2 - Print control apparatus and program thereof - Google Patents

Print control apparatus and program thereof Download PDF

Info

Publication number
JP5644183B2
JP5644183B2 JP2010124395A JP2010124395A JP5644183B2 JP 5644183 B2 JP5644183 B2 JP 5644183B2 JP 2010124395 A JP2010124395 A JP 2010124395A JP 2010124395 A JP2010124395 A JP 2010124395A JP 5644183 B2 JP5644183 B2 JP 5644183B2
Authority
JP
Japan
Prior art keywords
print
information
code
printing
print data
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.)
Active
Application number
JP2010124395A
Other languages
Japanese (ja)
Other versions
JP2011248844A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2010124395A priority Critical patent/JP5644183B2/en
Publication of JP2011248844A publication Critical patent/JP2011248844A/en
Application granted granted Critical
Publication of JP5644183B2 publication Critical patent/JP5644183B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、印刷制御装置及びそのプログラムに関する。   The present invention relates to a print control apparatus and a program thereof.

近年、インターネットの普及に伴い、印刷データに含まれるURL等の文字情報が増大している。従来から、プリンタ等の印刷装置を制御する印刷制御装置では、これらの文字情報を印刷する際に、印刷データに含まれるURL等の文字情報を認識し、その文字情報に対応するQRコードやバーコード等のコードを作成し、その文字情報と共に、あるいはその文字情報の代わりにコードを印刷する技術が知られている(例えば特許文献1)。この技術によれば、ユーザは印刷対象物に印刷されたコードを携帯電話等の読取装置を用いて読み取ることでURL等にアクセスすることができるなど、文字情報を直接入力する場合に比べて必要な情報を容易に入手することができる。   In recent years, with the spread of the Internet, character information such as URLs included in print data is increasing. 2. Description of the Related Art Conventionally, a print control apparatus that controls a printing apparatus such as a printer recognizes character information such as a URL included in print data when printing such character information, and a QR code or bar code corresponding to the character information. A technique of creating a code such as a code and printing the code together with the character information or instead of the character information is known (for example, Patent Document 1). According to this technology, the user can access a URL or the like by reading a code printed on an object to be printed using a reading device such as a mobile phone, as compared with the case of directly inputting character information. Information can be easily obtained.

特開2009−141772号公報JP 2009-141772 A

印刷データに含まれる文字情報の増大に伴い、1枚の印刷対象物に複数のコードが存在することが少なくない。この場合、ユーザは各コードをコードの数だけ別々に読み取る必要があり、手間がかかるという問題があった。   Along with the increase in character information included in print data, a plurality of codes often exist on one print target. In this case, there is a problem that the user needs to read each code separately by the number of codes, which is troublesome.

本発明は上記のような事情に基づいて完成されたものであって、複数のコードをまとめて印刷することができる技術を提供することを目的とする。   The present invention has been completed based on the above circumstances, and an object thereof is to provide a technique capable of printing a plurality of codes collectively.

上記の目的を達成するための手段として、第1の発明に係る印刷制御装置用のプログラムは、印刷装置を制御する印刷制御装置に、印刷命令を取得する取得処理と、前記印刷命令が複数の個別コードを印刷するための処理前印刷データを含む場合に、前記複数の個別コードが有する情報を含んだ結合コードを印刷するための処理後印刷データを作成する作成処理と、前記処理後印刷データを前記印刷装置に送信する送信処理と、を実行させる。   As a means for achieving the above object, a program for a print control apparatus according to a first invention includes: a print control apparatus for controlling a printing apparatus; an acquisition process for acquiring a print instruction; and a plurality of the print instructions. A creation process for creating post-process print data for printing a combined code including information included in the plurality of individual codes when pre-process print data for printing an individual code is included; and the post-process print data And a transmission process for transmitting the information to the printing apparatus.

この発明では、印刷命令に含まれる処理前印刷データに個別コードが複数存在する場合に、その複数の個別コードが有する情報を含んだ結合コードを印刷するための印刷データを含む処理後印刷データを作成する。この発明によれば、印刷制御装置によって制御される印刷装置では、複数の個別コードをまとめた結合コードを印刷することができ、ユーザは、結合コードを読み取ることで個別コードに含まれていた情報を一度に取得することができる。   In the present invention, when there are a plurality of individual codes in the pre-process print data included in the print command, post-process print data including print data for printing a combined code including information included in the plurality of individual codes is obtained. create. According to the present invention, the printing apparatus controlled by the printing control apparatus can print a combined code in which a plurality of individual codes are collected, and the user can read information included in the individual code by reading the combined code. Can be obtained at once.

第2の発明は、第1の発明に記載の印刷制御装置用のプログラムにおいて、前記複数の個別コードが有する情報の情報量の合計が基準量を超えている場合に、前記複数の個別コードが有する情報から前記結合コードに含ませる情報を選択する選択処理を実行させており、前記選択処理では、前記複数の個別コードが有する情報にアドレス情報が含まれている場合、前記アドレス情報を他の情報に優先して選択する処理を実行させる。   According to a second invention, in the program for a print control apparatus according to the first invention, when the total information amount of the information included in the plurality of individual codes exceeds a reference amount, the plurality of individual codes are A selection process for selecting information to be included in the combined code from the stored information, and in the selection process, when the address information is included in the information included in the plurality of individual codes, the address information The process of selecting with priority over the information is executed.

この発明によれば、複数の個別コードが有する複数のURLに連続してアクセスする際に、個別コードを別々に読み取る必要がなく、複数のURLに容易にアクセスすることができる。 According to this invention, when continuously accessing a plurality of URLs possessed by a plurality of individual codes, it is not necessary to read the individual codes separately, and the plurality of URLs can be easily accessed.

第3の発明は、第1の発明に記載の印刷制御装置用のプログラムにおいて、前記複数の個別コードが有する情報の情報量の合計が基準量を超えている場合に、前記複数の個別コードが有する情報から前記結合コードに含ませる情報を選択する選択処理を実行させており、前記選択処理では、前記複数の個別コードが有する情報の情報量の順に選択する処理を実行させる。   According to a third invention, in the program for a print control apparatus according to the first invention, when the total information amount of information included in the plurality of individual codes exceeds a reference amount, the plurality of individual codes are A selection process for selecting information to be included in the combined code is executed from the information included, and in the selection process, a process for selecting in order of the information amount of the information included in the plurality of individual codes is executed.

情報量が多い情報は、重要な情報であることが多い。そのため、情報量が多い順に情報を選択することで、重要な情報を優先して結合コードに含ませることができる。また、情報量が少ないと、結合コードに含ませることができる情報の数が増大する。そのため、情報量が少ない順に情報を選択することで、より多くの情報を一度に取得することができる。   Information with a large amount of information is often important information. Therefore, important information can be preferentially included in the combined code by selecting information in descending order of information amount. Further, when the amount of information is small, the number of pieces of information that can be included in the combined code increases. Therefore, more information can be acquired at a time by selecting information in ascending order of information amount.

第4の発明は、第1の発明に記載の印刷制御装置用のプログラムにおいて、前記複数の個別コードが有する情報の情報量の合計が基準量を超えている場合に、前記複数の個別コードが有する情報から前記結合コードに含ませる情報を選択する選択処理を実行させており、前記印刷命令には、前記処理前印刷データにおける前記個別コードの印刷位置が設定された印刷位置情報が含まれており、前記選択処理では、前記印刷位置情報が基準範囲内に存在する前記個別コードが有する情報を選択する処理を実行させる。   According to a fourth invention, in the program for the print control apparatus according to the first invention, when the total information amount of the information included in the plurality of individual codes exceeds a reference amount, the plurality of individual codes are A selection process for selecting information to be included in the combined code from the stored information, and the print command includes print position information in which a print position of the individual code in the pre-process print data is set In the selection process, a process of selecting information included in the individual code in which the print position information is within a reference range is executed.

印刷位置が近接している個別コードには、関係のある情報が含まれていることが多い。そのため、印刷位置が近接しており、印刷位置情報が基準範囲内に存在する個別コードが有する情報を優先して選択することで、関係のある情報を的確に同一の結合コードに含ませることができる。また、印刷位置が近接している個別コードが有する情報を同一の結合コードに含ませることで、結合コードがどの個別コードが有する情報を含んでいるかをユーザが把握しやすい。   In many cases, individual codes having close print positions contain related information. Therefore, it is possible to accurately include related information in the same combined code by preferentially selecting information of individual codes whose print positions are close and the print position information is within the reference range. it can. In addition, by including the information included in the individual codes whose printing positions are close to each other in the same combined code, the user can easily understand which individual code the combined code includes.

第5の発明は、第2の発明ないし第4の発明のいずれか一項に記載の印刷制御装置用のプログラムにおいて、前記基準量を決定する基準量決定処理を実行させており、前記基準量決定処理では、前記印刷装置の印刷解像度に基づいて前記基準量を決定する処理を実行させる。   According to a fifth aspect of the present invention, in the program for a print control device according to any one of the second to fourth aspects, a reference amount determination process for determining the reference amount is executed, and the reference amount In the determination process, a process for determining the reference amount based on the print resolution of the printing apparatus is executed.

結合コードに含ませることができる情報量は、結合コードを構成するコードパターンの細かさにより決定される。また、コードパターンの細かさは、印刷装置の印刷解像度により決定される。そのため、印刷装置の印刷解像度に基づいて基準量を決定することで、結合コードに含ませることができる情報の数を的確に把握することができる。   The amount of information that can be included in the combined code is determined by the fineness of the code pattern constituting the combined code. Further, the fineness of the code pattern is determined by the printing resolution of the printing apparatus. Therefore, by determining the reference amount based on the printing resolution of the printing apparatus, the number of pieces of information that can be included in the combined code can be accurately grasped.

第6の発明は、第2の発明ないし第4の発明のいずれか一項に記載の印刷制御装置用のプログラムにおいて、前記結合コードを読み取る読取装置の解像度の入力を促す入力処理と、前記基準量を決定する基準量決定処理と、を実行させており、前記基準量決定処理では、前記入力処理において入力された前記読取装置の解像度に基づいて前記基準量を決定する処理を実行させる。   According to a sixth aspect of the present invention, in the program for a printing control apparatus according to any one of the second to fourth aspects, an input process for prompting input of resolution of a reading apparatus that reads the combined code, and the reference A reference amount determination process for determining an amount, and in the reference amount determination process, a process for determining the reference amount based on the resolution of the reading device input in the input process is executed.

印刷装置の印刷解像度がユーザの所有する読取装置の解像度よりも高いと、印刷装置が印刷した結合コードをユーザの読取装置で読み取ることができず、ユーザは結合コードを利用して情報を取得することができない。この発明では、ユーザによって入力された読取装置の解像度に基づいて基準量を決定するため、ユーザの所有する読取装置を用いて結合コードを確実に読み取ることができる。   When the printing resolution of the printing device is higher than the resolution of the reading device owned by the user, the combined code printed by the printing device cannot be read by the user's reading device, and the user acquires information using the combined code. I can't. In the present invention, since the reference amount is determined based on the resolution of the reading device input by the user, the combined code can be reliably read using the reading device owned by the user.

第7の発明は、第2の発明ないし第4の発明のいずれか一項に記載の印刷制御装置用のプログラムにおいて、前記処理後印刷データにおける前記結合コードの印刷範囲である第1印刷範囲を設定する設定処理と、前記基準量を決定する基準量決定処理と、を実行させており、前記基準量決定処理では、前記設定処理において設定された前記第1印刷範囲に基づいて前記基準量を決定する処理を実行させる。   According to a seventh invention, in the program for a print control device according to any one of the second to fourth inventions, a first print range which is a print range of the combined code in the processed print data is set. A setting process for setting and a reference amount determination process for determining the reference amount are executed. In the reference amount determination process, the reference amount is determined based on the first print range set in the setting process. The process to determine is executed.

結合コードは、処理前印刷データに含まれておらず、処理後印刷データにおける結合コードを印刷する範囲(第1印刷範囲)を設定しておく必要がある。第1印刷範囲は、処理前印刷データの空きスペース等に設定され、結合コードに含ませることができる情報量は、設定可能な第1印刷範囲の大きさ(広さ)により決定される。この発明では、第1印刷範囲に基づいて基準量を決定することで、結合コードに含ませることができる情報の数を的確に把握することができる。   The combined code is not included in the pre-process print data, and it is necessary to set a range (first print range) for printing the combined code in the post-process print data. The first print range is set to an empty space of pre-process print data, and the amount of information that can be included in the combined code is determined by the size (width) of the first print range that can be set. In the present invention, by determining the reference amount based on the first printing range, the number of pieces of information that can be included in the combined code can be accurately grasped.

第8の発明は、第1の発明ないし第7の発明のいずれか一項に記載の印刷制御装置用のプログラムにおいて、前記印刷命令には、一枚の被記録媒体に印刷される印刷範囲である第2印刷範囲が設定されており、前記作成処理では、前記処理前印刷データを複数の処理範囲に分割し、前記処理範囲毎に作成処理を実行するとともに、前記処理範囲を決定する処理範囲決定処理を実行させており、前記処理範囲決定手段では、前記第2印刷範囲に基づいて前記処理範囲を決定する処理を実行させる。   An eighth invention is the program for a print control device according to any one of the first to seventh inventions, wherein the print command includes a print range printed on a single recording medium. A second printing range is set, and in the creation process, the pre-processing print data is divided into a plurality of processing ranges, the creation process is executed for each processing range, and the processing range is determined. Determination processing is executed, and the processing range determination means executes processing for determining the processing range based on the second printing range.

印刷命令には通常の等倍印刷設定の他に、縮小印刷や拡大印刷が設定されていることがあり、一枚の被記録媒体に印刷される印刷範囲である第2印刷範囲は各印刷命令によって異なる。この発明では、結合処理を実行する範囲である処理範囲が、第2印刷範囲に基づいて決定される。これによって、例えば一枚の被記録媒体に含まれる複数の個別コードを選択して同一の結合コードに含ませることや、関連した内容が印刷されることが予定されている複数の被記録媒体に含まれる複数の個別コードを選択して同一の結合コードに含ませることができ、関連のある情報を的確に同一の結合コードに含ませることができるとともに、結合コードが、どの個別コードが有する情報を結合したものであるかをユーザが把握しやすい。   The print command may be set to reduced print or enlarged print in addition to the normal normal print setting, and the second print range, which is the print range printed on one recording medium, is set to each print command. It depends on. In the present invention, a processing range that is a range in which the combination processing is executed is determined based on the second printing range. As a result, for example, a plurality of individual codes included in one recording medium can be selected and included in the same combined code, or related contents can be printed on a plurality of recording media scheduled to be printed. A plurality of individual codes can be selected and included in the same combined code, and related information can be accurately included in the same combined code. It is easy for the user to grasp whether the two are combined.

第9の発明は、第2の発明ないし第8の発明のいずれか一項に記載の印刷制御装置用のプログラムにおいて、前記複数の個別コードが有する情報のうち、前記被結合情報に属する情報のみを含む前記個別コードである被結合コードを判別する判別処理と、前記処理前印刷データのうち、前記被結合コードを印刷するための印刷データを、識別記号を印刷するための印刷データに置換する置換処理と、を実行させており、前記作成処理では前記結合コードと前記識別記号を対応させる対応表を印刷するための印刷データを含む前記処理後印刷データを作成する処理を実行させる。   According to a ninth invention, in the program for a printing control apparatus according to any one of the second to eighth inventions, only information belonging to the combined information among the information included in the plurality of individual codes. And a print process for printing the combined code in the pre-process print data is replaced with print data for printing an identification symbol. In the creation process, a process for creating the post-process print data including print data for printing the correspondence table that associates the combination code with the identification symbol is executed.

この発明では、被結合情報に属する情報のみを含む被結合コードが存在する場合に、その被結合コードを印刷するための印刷データを、識別記号を印刷するための印刷データに置換する。これによって、ユーザが間違えて、あるいは気づかずに被結合コードを読み取ってしまうことが防止される。また、この発明では、処理後印刷データを作成する際に、結合コードと識別記号の対応表を印刷するための印刷データを含める。これによって、例えば結合コードが複数作成された場合に、置換された被結合コードを読み取りたいと考えたユーザが、その代わりにどの結合コードを読み取れば良いかを容易に把握することができる。   In the present invention, when there is a combined code including only information belonging to the combined information, the print data for printing the combined code is replaced with the print data for printing the identification symbol. This prevents the user from reading the coupled code by mistake or without noticing it. Further, according to the present invention, when the post-process print data is created, the print data for printing the correspondence table between the combination code and the identification symbol is included. As a result, for example, when a plurality of coupled codes are created, a user who wants to read the replaced coupled code can easily grasp which coupled code should be read instead.

第10の発明は、第1の発明ないし第9の発明のいずれか一項に記載の印刷制御装置用のプログラムにおいて、前記作成処理では、前記複数の個別コードに同一の情報が含まれている場合、前記同一の情報のいずれかを削除して処理後印刷データを作成する処理を実行させる。   According to a tenth aspect of the invention, in the program for a print control apparatus according to any one of the first to ninth aspects, the creation process includes the same information in the plurality of individual codes. In this case, a process for creating post-process print data by deleting any of the same information is executed.

この発明によれば、結合コードに同一の情報が複数含まれることが回避され、ユーザは1つの結合コードを読み取ることでより多くの種類の情報を一度に取得することができる。   According to the present invention, it is avoided that a plurality of pieces of the same information are included in the combined code, and the user can acquire more types of information at a time by reading one combined code.

本発明は、上記の機能を具備した印刷制御装置にも具現化される。第11の発明に係る印刷制御装置は、印刷装置を制御する印刷制御装置であって、印刷命令を取得する取得部と、前記印刷命令が複数の個別コードを印刷するための処理前印刷データを含む場合に、前記複数の個別コードが有する情報を含んだ結合コードを印刷するための処理後印刷データを作成する作成部と、前記処理後印刷データを前記印刷装置に送信する送信部と、を備える。   The present invention is also embodied in a print control apparatus having the above functions. A print control apparatus according to an eleventh aspect of the invention is a print control apparatus for controlling a printing apparatus, comprising: an acquisition unit that acquires a print command; and print data before processing for the print command to print a plurality of individual codes. A creation unit that creates post-process print data for printing a combined code including information included in the plurality of individual codes, and a transmission unit that transmits the post-process print data to the printing apparatus. Prepare.

この発明の印刷制御装置によって制御される印刷装置では、複数の個別コードをまとめた結合コードを印刷することができ、ユーザは、結合コードを読み取ることで個別コードに含まれていた情報を一度に取得することができる。   In the printing apparatus controlled by the printing control apparatus of the present invention, a combined code in which a plurality of individual codes are collected can be printed, and the user can read information included in the individual code at a time by reading the combined code. Can be acquired.

本発明によれば、複数のコードをまとめて印刷することができる。   According to the present invention, a plurality of codes can be printed together.

実施形態1におけるブロック図Block diagram in the first embodiment 印刷処理を示すフローチャートFlow chart showing print processing 補正処理を示すフローチャートFlow chart showing correction processing 補正処理を示すフローチャートFlow chart showing correction processing 補正処理を示すフローチャートFlow chart showing correction processing QRコードリストL1QR code list L1 QRコード位置情報リストL2QR code position information list L2 処理前印刷データD1を用いた印刷結果Print result using pre-process print data D1 処理後印刷データD2を用いた印刷結果Print result using post-processing print data D2 印刷処理を示すフローチャートFlow chart showing print processing 処理前印刷データD1を用いた印刷結果Print result using pre-process print data D1 処理後印刷データD2を用いた印刷結果Print result using post-processing print data D2

<実施形態1>
本発明の実施形態1を図1ないし図9を用いて説明する。
1.電気的構成
図1は、プリンタ(印刷装置の一例)10を含む本実施形態の概略的な電気的構成を示すブロック図である。プリンタ10は、通信回線20を介してPC28等の外部装置に接続されている。なお、プリンタ10は、レーザプリンタあるいはインクジェットプリンタであってもよい。また、ファクシミリ装置や、プリンタ機能及び読み取り機能(スキャナ機能)等を備えた複合機であってもよい。
<Embodiment 1>
Embodiment 1 of the present invention will be described with reference to FIGS.
1. Electrical Configuration FIG. 1 is a block diagram showing a schematic electrical configuration of the present embodiment including a printer (an example of a printing apparatus) 10. The printer 10 is connected to an external device such as a PC 28 via a communication line 20. The printer 10 may be a laser printer or an ink jet printer. Further, it may be a facsimile machine or a multi-function machine having a printer function and a reading function (scanner function).

プリンタ10は、制御部22と操作部24と表示部25と画像形成部26を備えている。制御部22は、内部メモリ23を備えている。内部メモリ23には、画像形成処理を含むプリンタ10の動作を制御するためのプログラムが記録されており、制御部22は内部メモリ23から読み出したプログラムに従って、プリンタ10の動作を制御する。   The printer 10 includes a control unit 22, an operation unit 24, a display unit 25, and an image forming unit 26. The control unit 22 includes an internal memory 23. The internal memory 23 stores a program for controlling the operation of the printer 10 including image forming processing, and the control unit 22 controls the operation of the printer 10 according to the program read from the internal memory 23.

操作部24は、複数のボタンを備え、ユーザによって印刷開始の指示などの各種の入力操作が可能である。表示部25は、液晶ディスプレイやランプ等を備えており、各種の設定画面や動作状態等を表示することが可能である。画像形成部26は、例えば電子写真方式やインクジェット方式により、シート(印刷対象物の一例であり、例えば用紙やOHPシートなど)への印刷が可能である。画像形成部26は、印刷命令が入力された場合に、印刷命令に含まれる処理前印刷データD1(描画図8参照)から作成された処理後印刷データD2(図9参照)を制御部22を介してPC28から受け取り、処理後印刷データD2に基づく画像をシートに印刷する。   The operation unit 24 includes a plurality of buttons, and various input operations such as an instruction to start printing can be performed by the user. The display unit 25 includes a liquid crystal display, a lamp, and the like, and can display various setting screens, operation states, and the like. The image forming unit 26 can print on a sheet (an example of an object to be printed, such as paper or an OHP sheet) by, for example, an electrophotographic method or an inkjet method. When the print command is input, the image forming unit 26 sends the post-process print data D2 (see FIG. 9) created from the pre-process print data D1 (see the drawing FIG. 8) included in the print command to the control unit 22. And prints an image based on the post-processing print data D2 on a sheet.

PC28は、メモリ30とCPU32を備えている。メモリ30には、解像度K1を含むプリンタ10の固有情報やプリンタ10に画像形成処理を実行させるための各種プログラムPが予め記憶されており、プログラムPには、プリンタ10に画像形成処理を実行するに先立ってCPU32で行われる印刷処理のためのプログラムPが含まれる。CPU32は、メモリ30から読み出したプログラムPに従って、また必要に応じてその処理結果をメモリ30に記憶させながら、プリンタ10の制御部22と通信を行い、プリンタ10を動作させる。この場合、CPU32は、プリンタ10の印刷を制御する印刷制御装置として機能する。印刷制御装置として機能するCPU32は、印刷命令が入力された場合に、印刷命令を取得するとともに印刷命令に含まれる処理前印刷データD1に印刷処理を実行して処理後印刷データD2を生成し、この処理後印刷データD2をプリンタ10の画像形成部26に送付する。   The PC 28 includes a memory 30 and a CPU 32. The memory 30 stores information unique to the printer 10 including the resolution K1 and various programs P for causing the printer 10 to execute image forming processing. The program P executes image forming processing on the printer 10. Prior to this, a program P for print processing performed by the CPU 32 is included. The CPU 32 communicates with the control unit 22 of the printer 10 according to the program P read from the memory 30 and stores the processing result in the memory 30 as necessary to operate the printer 10. In this case, the CPU 32 functions as a print control device that controls printing of the printer 10. When a print command is input, the CPU 32 functioning as a print control device acquires the print command and executes print processing on the pre-process print data D1 included in the print command to generate post-process print data D2. The processed print data D2 is sent to the image forming unit 26 of the printer 10.

2.CPUの印刷処理
図2は印刷処理のフローチャートを示す図である。CPU32は、印刷命令が入力されるのを待機しており、CPU32は例えば次のいずれかの場合に印刷命令が入力されたと判断する。
(A)PC28に処理前印刷データD1を含む印刷命令が入力された場合。
(B)プリンタ10の操作部24を介してユーザからプリンタ10の内部メモリ23や外部メモリに記憶された画像データを指定した印刷命令が入力された場合。この場合、ユーザが指定した画像データが処理前印刷データD1となる。
2. CPU Print Processing FIG. 2 is a flowchart of print processing. The CPU 32 waits for a print command to be input, and the CPU 32 determines that the print command has been input, for example, in any of the following cases.
(A) When a print command including pre-process print data D1 is input to the PC 28.
(B) A case where a print command designating image data stored in the internal memory 23 or the external memory of the printer 10 is input from the user via the operation unit 24 of the printer 10. In this case, the image data designated by the user is the pre-process print data D1.

CPU32は、印刷命令が入力された場合に、取得部40として機能し、アプリケーション等から印刷命令を取得する(ステップS2)。印刷命令には、処理前印刷データD1と印刷位置情報Z1と第2印刷範囲H2が少なくとも含まれる。処理前印刷データD1は、図8に示すように、複数の印刷データdから構成される。印刷データdには、QRコード(個別コードの一例)を含む画像を印刷するための画像データと、1段落等のまとまった単位の文字を印刷するための文字データ等が含まれる。以後、個々の印刷データdを印刷するための命令を描画命令と呼び、画像データを印刷するための命令を画像描画命令と呼ぶ。   When a print command is input, the CPU 32 functions as the acquisition unit 40 and acquires the print command from an application or the like (step S2). The print command includes at least pre-process print data D1, print position information Z1, and a second print range H2. The pre-process print data D1 is composed of a plurality of print data d as shown in FIG. The print data d includes image data for printing an image including a QR code (an example of an individual code), character data for printing a unit of characters such as one paragraph, and the like. Hereinafter, a command for printing individual print data d is called a drawing command, and a command for printing image data is called an image drawing command.

処理前印刷データD1では、処理前印刷データD1に含まれる印刷データdの相対位置が予め決定されている。印刷位置情報Z1は、処理前印刷データD1における印刷データdの相対位置に関する情報のうち、QRコードを印刷するための画像データの相対位置に関する情報を意味している。   In the pre-process print data D1, the relative position of the print data d included in the pre-process print data D1 is determined in advance. The print position information Z1 means information related to the relative position of the image data for printing the QR code among the information related to the relative position of the print data d in the pre-process print data D1.

第2印刷範囲H2は、印刷命令に設定されている1枚のシートに印刷される印刷範囲である。CPU32は、印刷命令を取得すると、第2印刷範囲H2に基づいて画像形成部26が1枚のシートに印刷する印刷範囲を決定する(ステップS4)。第2印刷範囲H2には、通常の等倍印刷の設定(1枚のシートに印刷される印刷データd群が1枚のシートに印刷される設定)の他に、2枚のシートに印刷される印刷データd群が1枚のシートに縮小して印刷する2in1印刷の設定や、4枚のシートに印刷される印刷データd群が1枚のシートに縮小して印刷する4in1印刷の設定などがある。本実施形態では、等倍印刷に設定された例を用いて説明を行う。   The second print range H2 is a print range that is printed on one sheet set in the print command. When the CPU 32 acquires the print command, the CPU 32 determines a print range in which the image forming unit 26 prints on one sheet based on the second print range H2 (step S4). In the second printing range H2, in addition to the normal normal printing setting (setting that print data d group printed on one sheet is printed on one sheet), printing is performed on two sheets. Setting of 2-in-1 printing for reducing print data d group to be printed on one sheet, setting of 4-in-1 printing for reducing print data d group to be printed on four sheets to one sheet, etc. There is. In the present embodiment, description will be made using an example set to the equal-size printing.

次にCPU32は、処理範囲決定部42として機能し、処理範囲Sを決定する(ステップS6)。処理範囲Sとは、CPU32が1回の印刷処理で処理を実行する処理前印刷データD1の範囲を意味し、CPU32は処理前印刷データD1を複数の処理範囲Sに分割し、処理範囲S毎に印刷処理を実行する。CPU32は、ステップS4にて決定された印刷範囲に基づいて処理範囲Sを決定し、各処理範囲Sの最後に処理範囲Sにおける最後の命令であることを知らせる終了命令を追加する。本実施形態では、処理範囲Sが第2印刷範囲H2と同一の範囲に設定された例を用いて説明を行う。つまり、本実施形態では、処理範囲Sがシート毎に設定され、シート毎に印刷処理が実行される。   Next, the CPU 32 functions as the processing range determination unit 42 and determines the processing range S (step S6). The processing range S means a range of pre-processing print data D1 that the CPU 32 executes processing in one printing process. The CPU 32 divides the pre-processing print data D1 into a plurality of processing ranges S, and each processing range S Execute the printing process. The CPU 32 determines the processing range S based on the printing range determined in step S4, and adds an end command notifying that it is the last command in the processing range S to the end of each processing range S. In the present embodiment, description will be given using an example in which the processing range S is set to the same range as the second printing range H2. That is, in the present embodiment, the processing range S is set for each sheet, and the printing process is executed for each sheet.

CPU32は、処理前印刷データD1に印刷処理が終わっていない印刷データdが残存しているか否かを確認し(ステップS8)、印刷処理が終わっていない印刷データdが存在する場合(ステップS8でYES)に、次に印刷処理を実行する処理範囲を設定するとともに、QRコードリストL1及びQRコード位置情報リストL2を初期化する(ステップS10)。QRコードリストL1とは、メモリ30に確保された記憶領域であり(図1参照)、後述して説明するように、印刷データdにQRコードを印刷するための画像データが含まれていた場合に、そのQRコードに含まれる情報を記憶しておく領域である。同様に、QRコード位置情報リストL2とは、メモリ30に確保された記憶領域であり(図1参照)、後述して説明するように、印刷データdにQRコードを印刷するための画像データが含まれていた場合に、そのQRコードの印刷位置情報Z1を記憶しておく領域である。   The CPU 32 confirms whether or not the print data d that has not been subjected to the print process remains in the pre-process print data D1 (step S8), and if there is print data d that has not been subjected to the print process (in step S8). YES), the processing range for executing the next printing process is set, and the QR code list L1 and the QR code position information list L2 are initialized (step S10). The QR code list L1 is a storage area secured in the memory 30 (see FIG. 1). As will be described later, the print data d includes image data for printing a QR code. And an area for storing information included in the QR code. Similarly, the QR code position information list L2 is a storage area secured in the memory 30 (see FIG. 1). As described later, image data for printing a QR code on the print data d is stored. If included, this is an area for storing the print position information Z1 of the QR code.

次にCPU32は、第1変換処理(ステップS12)を実行する。図3に第1変換処理で実行される処理を示す。メモリ30には、印刷処理を実行するための変換領域F1が確保されており(図1参照)、CPU32は第1変換処理を開始すると、変換領域F1を初期化する(ステップS102)。CPU32は、設定した処理範囲に含まれる複数の命令に対して、命令毎に第1変換処理を実行する。CPU32は、第1変換処理する命令が終了命令であるか否かを確認し(ステップS104)、第1変換処理する命令が終了命令でない場合(ステップS104でNO)に、その命令がどのような命令であるかを判別する。   Next, the CPU 32 executes a first conversion process (step S12). FIG. 3 shows processing executed in the first conversion processing. A conversion area F1 for executing the printing process is secured in the memory 30 (see FIG. 1), and the CPU 32 initializes the conversion area F1 when the first conversion process is started (step S102). The CPU 32 executes a first conversion process for each instruction with respect to a plurality of instructions included in the set processing range. The CPU 32 checks whether or not the instruction for the first conversion process is an end instruction (step S104), and if the instruction for the first conversion process is not an end instruction (NO in step S104), what kind of instruction is Determine if it is an instruction.

CPU32は、第1変換処理する命令が画像描画命令でも、文字データ等の画像データ以外の印刷データdを印刷するための描画命令でもない場合(ステップS106、S120でNO)に、ステップS104に戻り次の命令の処理を開始する。   If the command for the first conversion processing is neither an image drawing command nor a drawing command for printing print data d other than image data such as character data (NO in steps S106 and S120), the CPU 32 returns to step S104. Start processing the next instruction.

CPU32は、第1変換処理する命令が画像データ以外の印刷データdを印刷するための描画命令である場合(ステップS106でNO、ステップS120でYES)に、第1作成処理を実行する(ステップS122)。第1作成処理において、CPU32は、描画命令に含まれる処理前印刷データD1の印刷データdを処理後印刷データD2の印刷データdに変換する。   When the command for the first conversion processing is a drawing command for printing the print data d other than the image data (NO in step S106, YES in step S120), the CPU 32 executes the first creation processing (step S122). ). In the first creation process, the CPU 32 converts the print data d of the pre-process print data D1 included in the drawing command into the print data d of the post-process print data D2.

CPU32は、第1変換処理する命令が画像描画命令である場合(ステップS106でYES)に、画像描画命令に含まれる画像データがQRコードを印刷するための画像データであるか否かを確認する(ステップS108)。CPU32は、画像データがQRコードを印刷するための画像データでない場合(ステップS108でNO)に、第1作成処理を実行する。   When the command for the first conversion process is an image drawing command (YES in step S106), the CPU 32 checks whether the image data included in the image drawing command is image data for printing a QR code. (Step S108). When the image data is not image data for printing a QR code (NO in step S108), the CPU 32 executes a first creation process.

その一方、CPU32は、画像データがQRコードを印刷するための画像データである場合(ステップS108でYES)に、そのQRコードを分析する(ステップS110)。CPU32は、QRコードに含まれる情報zを読み取り、その情報zをQRコードリストL1に登録された情報zと比較する(ステップS112)。CPU32は、読み取った情報zが、QRコードリストL1に登録されていない場合(ステップS112でNO)に、読み取った情報zをQRコードリストL1に追加する(ステップS114)。QRコードリストL1を図6に示す。QRコードリストL1には、登録された情報z毎にQRコードIDが設定される。その一方、CPU32は、読み取った情報zが、QRコードリストに既に登録されている場合(ステップS112でYES)に、読み取った情報zをQRコードリストL1に追加せずに削除する。図8に示すように、処理範囲Sに4つのQRコードが存在していても、QRコードQ1とQRコードQ4が同一の情報zを含んでいる場合には、図6に示すように3つの情報zが登録され、QRコードQ4に含まれる情報zが削除される。これによって、重複した情報zがQRコードリストL1に記憶されることが抑制される。   On the other hand, when the image data is image data for printing a QR code (YES in step S108), the CPU 32 analyzes the QR code (step S110). The CPU 32 reads the information z included in the QR code and compares the information z with the information z registered in the QR code list L1 (step S112). When the read information z is not registered in the QR code list L1 (NO in step S112), the CPU 32 adds the read information z to the QR code list L1 (step S114). The QR code list L1 is shown in FIG. In the QR code list L1, a QR code ID is set for each registered information z. On the other hand, when the read information z is already registered in the QR code list (YES in step S112), the CPU 32 deletes the read information z without adding it to the QR code list L1. As shown in FIG. 8, even if there are four QR codes in the processing range S, if the QR code Q1 and the QR code Q4 contain the same information z, as shown in FIG. Information z is registered, and information z included in QR code Q4 is deleted. Thereby, it is suppressed that the duplicated information z is stored in the QR code list L1.

さらにCPU32は、QRコードの印刷位置情報Z1を読み取り、QRコード位置情報リストL2に追加する(ステップS116)。QRコード位置情報リストL2を図7に示す。QRコード位置情報リストL2は、処理前データD1に含まれるQRコードの位置にQRコードに代えてQRコードIDを印刷するため等に用いられるリストである。QRコード位置情報リストL2では、追加された印刷位置情報Z1毎に位置番号が設定されるとともに、対応するQRコードIDが記憶される。QRコード位置情報リストL2では、QRコードに含まれる情報zが重複している場合でも、印刷位置情報Z1をそれぞれ記憶する。そのため、図8に示すように、処理範囲Sに4つのQRコードが存在している場合、図7に示すように4つの印刷位置情報Z1が登録される。
CPU32は、描画命令やその他の命令に対する第1変換処理が終了し、第1変換処理する命令が終了命令となった場合(ステップS104でYES)に、第1変換処理を終了する。
Further, the CPU 32 reads the QR code print position information Z1 and adds it to the QR code position information list L2 (step S116). The QR code position information list L2 is shown in FIG. The QR code position information list L2 is a list used to print a QR code ID instead of the QR code at the position of the QR code included in the pre-processing data D1. In the QR code position information list L2, a position number is set for each added print position information Z1, and a corresponding QR code ID is stored. In the QR code position information list L2, the print position information Z1 is stored even when the information z included in the QR code is duplicated. Therefore, when four QR codes exist in the processing range S as shown in FIG. 8, four pieces of print position information Z1 are registered as shown in FIG.
The CPU 32 ends the first conversion process when the first conversion process for the drawing command and other instructions is completed and the command for the first conversion process is an end command (YES in step S104).

次にCPU32は、第2変換処理(ステップS14)を実行する。図4に第2変換処理で実行される処理を示す。CPU32は、第2変換処理において、複数のQRコードに含まれていた情報zを結合し、これら複数の情報zを含む結合QRコードを印刷するための印刷データdを生成する処理を実行する。   Next, the CPU 32 executes a second conversion process (step S14). FIG. 4 shows a process executed in the second conversion process. In the second conversion process, the CPU 32 executes a process of combining the information z included in the plurality of QR codes and generating print data d for printing the combined QR code including the plurality of information z.

CPU32は処理番号iが設定されており、第2変換処理を開始すると、処理番号iに1を代入する(ステップS202)。次にCPU32は、選択部44として機能し、QRコードリストL1をソートする(ステップS204)。CPU32は、結合QRコードに優先的に含ませたい情報zとQRコードIDの順番が等しくなるように、QRコードリストL1のQRコードIDと情報zの対応関係を変更し、以後の処理において、ソートしたQRコードリストL1のQRコードIDの順に、結合QRコードに含ませる情報zを選択する。CPU32は、それと同時に、QRコード位置情報リストL2の位置番号とQRコードIDとの対応関係も変更する。   The CPU 32 is set with the process number i. When the second conversion process is started, 1 is assigned to the process number i (step S202). Next, the CPU 32 functions as the selection unit 44 and sorts the QR code list L1 (step S204). The CPU 32 changes the correspondence relationship between the QR code ID of the QR code list L1 and the information z so that the order of the information z and the QR code ID that are to be preferentially included in the combined QR code becomes equal, and in the subsequent processing, Information z included in the combined QR code is selected in the order of the QR code ID of the sorted QR code list L1. At the same time, the CPU 32 also changes the correspondence between the position number in the QR code position information list L2 and the QR code ID.

結合QRコードに優先的に含ませたい情報zの順番としては、例えば情報zにアドレス情報が含まれている場合には、アドレス情報を優先して結合QRコードに含ませてもよい。これによって、ユーザが複数のQRコードが有する複数のURLに連続してアクセスする際に、各々のQRコードを別々に読み取る必要がなく、複数のURLに容易にアクセスすることができる。   As the order of information z to be preferentially included in the combined QR code, for example, when address information is included in the information z, the address information may be preferentially included in the combined QR code. Thus, when the user continuously accesses a plurality of URLs included in a plurality of QR codes, it is not necessary to read each QR code separately, and the plurality of URLs can be easily accessed.

また、例えば情報zの情報量の順に結合QRコードに含ませるようにしてもよい。情報量が多い順に選択することで、重要な情報zが含まれていることが多い情報量が多い情報zを優先して結合コードに含ませることができる。また、情報量が少ない順に選択することで、より多くの情報zを1つの結合QRコードに含ませることができ、ユーザは一度に多くの情報zを取得することができる。   Further, for example, the information may be included in the combined QR code in the order of the information amount of the information z. By selecting in order of increasing information amount, information z having a large amount of information that often contains important information z can be preferentially included in the combined code. Further, by selecting in ascending order of information amount, more information z can be included in one combined QR code, and the user can acquire more information z at a time.

また、例えばQRコード位置情報リストL2の印刷位置情報Z1に基づいて1つの結合QRコードに含ませる情報zを決めてもよい。印刷位置情報Z1が近接しており、印刷位置情報Z1がCPU32に設定されている基準範囲内に存在するQRコードが有する情報zを優先して選択することで、関係のある情報zを的確に同一の結合コードに含ませることができる。また、印刷位置情報Z1が近接しているQRコードが有する情報zを同一の結合コードに含ませることで、結合QRコードがどのQRコードが有する情報zを含んでいるかをユーザが把握しやすい。   For example, the information z included in one combined QR code may be determined based on the print position information Z1 in the QR code position information list L2. Since the print position information Z1 is close and the print position information Z1 is selected with priority given to the information z included in the QR code that is within the reference range set in the CPU 32, the relevant information z can be accurately selected. It can be included in the same connection code. In addition, by including information z included in the QR code that is close to the print position information Z1 in the same combined code, the user can easily grasp which QR code includes the information z included in the combined QR code.

次にCPU32は、結合QRコード情報Wを初期化する(ステップS206)。結合QRコード情報Wとは、メモリ30に記憶されており(図1参照)、QRコードリストL1に含まれる情報zから選択され、結合QRコードに含ませる複数の情報zを記憶しているものを意味する。   Next, the CPU 32 initializes the combined QR code information W (step S206). The combined QR code information W is stored in the memory 30 (see FIG. 1), and is selected from the information z included in the QR code list L1 and stores a plurality of information z included in the combined QR code. Means.

次にCPU32は、結合QRコードの解像度Kを決定する。CPU32は、メモリ30からプリンタ10の解像度(印刷解像度の一例)K1を取得する(ステップS208)。またCPU32は、入力部46として機能し、操作部24やPC28等を介して、ユーザが有するQRコード(結合QRコードを含む)を読み取る読取装置の解像度K2の入力を促し(ステップS210)、ユーザが入力した読取装置の解像度K2を取得する。CPU32は、取得した解像度K1と解像度K2に基づいて結合QRコードの解像度Kを決定する。CPU32は、解像度K1と解像度K2が異なる場合には、解像度K1と解像度K2のうち、低い解像度を結合QRコードの解像度Kとして決定する。   Next, the CPU 32 determines the resolution K of the combined QR code. The CPU 32 acquires the resolution (an example of print resolution) K1 of the printer 10 from the memory 30 (step S208). Further, the CPU 32 functions as the input unit 46 and prompts the user to input the resolution K2 of the reading device that reads the QR code (including the combined QR code) that the user has via the operation unit 24, the PC 28, and the like (step S210). Obtains the resolution K2 of the reading device inputted. The CPU 32 determines the resolution K of the combined QR code based on the acquired resolution K1 and resolution K2. When the resolution K1 and the resolution K2 are different, the CPU 32 determines the lower resolution of the resolution K1 and the resolution K2 as the resolution K of the combined QR code.

次にCPU32は、設定部48として機能し、第1印刷範囲H1を設定する(ステップS212)。第1印刷範囲H1は、処理後印刷データD2における結合QRコードの印刷範囲を意味する。CPU32は、処理前印刷データD1の空きスペース等から第1印刷範囲H1が印刷できる範囲を確保し、その範囲を第1印刷範囲H1に設定する。第1印刷範囲H1は、処理範囲S内に設定される。   Next, the CPU 32 functions as the setting unit 48 and sets the first print range H1 (step S212). The first print range H1 means the print range of the combined QR code in the post-process print data D2. The CPU 32 secures a range in which the first print range H1 can be printed from the empty space of the pre-process print data D1, and sets the range as the first print range H1. The first printing range H1 is set within the processing range S.

次にCPU32は、基準量決定部50として機能し、基準量Aを決定する(ステップS214)。基準量Aは、結合QRコードに含ませることができる最大の情報量を意味し、結合QRコードの解像度Kと第1印刷範囲H1によって決定される。結合QRコードに含ませることができる情報量は、結合QRコードの解像度Kが高いほど多くなり、第1印刷範囲H1が広いほど多くなる。CPU32は、以下の処理において、予めソート(選択)されたQRコードIDの順にQRコードリストL1の情報zを結合QRコード情報Wに記憶させていき、結合QRコード情報Wの情報量が基準量Aを超える場合に、結合QRコード情報Wに情報zを記憶させるのを停止する。   Next, the CPU 32 functions as the reference amount determination unit 50 and determines the reference amount A (step S214). The reference amount A means the maximum amount of information that can be included in the combined QR code, and is determined by the resolution K of the combined QR code and the first print range H1. The amount of information that can be included in the combined QR code increases as the resolution K of the combined QR code increases, and increases as the first print range H1 increases. In the following processing, the CPU 32 stores the information z of the QR code list L1 in the combined QR code information W in the order of the QR code IDs sorted (selected) in advance, and the information amount of the combined QR code information W is the reference amount. When A is exceeded, storage of the information z in the combined QR code information W is stopped.

また、CPU32は、規格量A0を有しており、決定された基準量Aを規格量A0と比較する(ステップS216)。規格量A0は、結合QRコード情報Wに情報zを記憶させられるか否かの判断に用いられる規格の量を意味する。基準量Aでは、結合QRコードの解像度Kが低いため、あるいは第1印刷範囲H1が狭いために、十分な基準量Aを確保できず、結合QRコード情報Wに情報zを記憶させられないことが起こりえる。CPU32は、基準量Aが規格量A0よりも小さい場合(ステップS216でYES)に、結合QRコード情報Wにこれ以上の情報zを含ませることができないと判断し、現在の処理番号i以降のQRコードIDに対応する情報について第2作成処理を実行する(ステップS220)。第2作成処理において、CPU32は、描画命令に含まれる処理前印刷データD1のQRコードの画像データを処理後印刷データD2の印刷データdに変換する。   Further, the CPU 32 has the standard amount A0, and compares the determined standard amount A with the standard amount A0 (step S216). The standard amount A0 means a standard amount used for determining whether or not the information z can be stored in the combined QR code information W. In the reference amount A, since the resolution K of the combined QR code is low or the first printing range H1 is narrow, the sufficient reference amount A cannot be secured and the information z cannot be stored in the combined QR code information W. Can happen. When the reference amount A is smaller than the standard amount A0 (YES in step S216), the CPU 32 determines that no more information z can be included in the combined QR code information W, and the current processing number i and later A second creation process is executed for information corresponding to the QR code ID (step S220). In the second creation process, the CPU 32 converts the image data of the QR code of the pre-process print data D1 included in the drawing command into the print data d of the post-process print data D2.

一方、基準量Aが規格量A0以上である場合(ステップS216でNO)に、結合QRコード情報Wにまだ情報zを含ませることができると判断し、QRコードIDの順にQRコードリストL1の情報zを結合QRコード情報Wに記憶させる。CPU32は、処理番号iとQRコードリストL1の情報zの数(図6では「3」)を比較し(ステップS240)、処理番号iがQRコードリストL1の情報zの数よりも小さい場合(ステップS240でNO)に、QRコードIDが「i」である情報zを追加させた場合の結合QRコード情報Wの情報量と基準量Aを比較する(ステップS242)。CPU32は、結合QRコード情報Wの情報量が基準量Aを超えない場合(ステップS242でYES)に、QRコードIDが「i」である情報zを結合QRコード情報Wに追加する(ステップS244)とともに、処理番号iを「1」だけ増加させる(ステップS246)。   On the other hand, when the reference amount A is equal to or greater than the standard amount A0 (NO in step S216), it is determined that the information z can still be included in the combined QR code information W, and the QR code list L1 in the QR code ID order is determined. The information z is stored in the combined QR code information W. The CPU 32 compares the processing number i with the number of information z in the QR code list L1 ("3" in FIG. 6) (step S240), and if the processing number i is smaller than the number of information z in the QR code list L1 ( The information amount of the combined QR code information W when the information z having the QR code ID “i” is added to the reference amount A is compared with NO in step S240 (step S242). When the information amount of the combined QR code information W does not exceed the reference amount A (YES in step S242), the CPU 32 adds information z having the QR code ID “i” to the combined QR code information W (step S244). ) And the process number i is incremented by “1” (step S246).

結合QRコード情報Wでは、各々の情報zはスペース等の記号を間に設けた状態で追加される。そのため、ステップS242では、CPU32は、これらの記号を含めた結合QRコード情報Wの情報量を算出し、その情報量を基準量Aと比較する。   In the combined QR code information W, each piece of information z is added with a symbol such as a space in between. Therefore, in step S242, the CPU 32 calculates the information amount of the combined QR code information W including these symbols, and compares the information amount with the reference amount A.

CPU32は、処理番号iがQRコードリストL1の情報zの数よりも大きくなるか、QRコードIDが「i」である情報zを追加させた場合の結合QRコード情報Wの情報量が基準量Aを超えるまで、ステップS240ないしステップS246の処理を繰り返す。CPU32は、処理番号iがQRコードリストの情報zの数よりも大きくなった場合(ステップS240でYES)、またはQRコードIDが「i」である情報zを追加させた場合の結合QRコード情報Wの情報量が基準量Aを超えた場合(ステップS242でNO)に、第3作成処理を実行する(ステップS222、S260)。本実施形態では、図6に示すQRコードリストL1の情報zのうち、QRコードIDの1、2に対応する情報zが結合QRコード情報Wに含まれ、QRコードIDが「3」である情報zを追加させた場合の結合QRコード情報Wの情報量が基準量Aを超え、第3作成処理が実行される例を用いて説明を行う。   The CPU 32 determines that the information amount of the combined QR code information W when the process number i is larger than the number of information z in the QR code list L1 or the information z with the QR code ID “i” is added is the reference amount. Steps S240 to S246 are repeated until A is exceeded. The CPU 32 combines the QR code information when the processing number i is larger than the number of pieces of information z in the QR code list (YES in step S240) or when the information z having the QR code ID “i” is added. When the information amount of W exceeds the reference amount A (NO in step S242), the third creation process is executed (steps S222 and S260). In the present embodiment, of the information z in the QR code list L1 shown in FIG. 6, information z corresponding to QR Code IDs 1 and 2 is included in the combined QR code information W, and the QR code ID is “3”. Description will be made using an example in which the information amount of the combined QR code information W when the information z is added exceeds the reference amount A and the third creation process is executed.

図5に第3作成処理で実行される処理を示す。CPU32は、結合QRコード情報Wに記憶された情報zをQRコード化する(ステップS302)。またCPU32は、作成部52として機能し、QRコード化した結合QRコードを印刷するための画像データを作成し(ステップS304)、第1印刷範囲H1に関連付けて処理後印刷データD2の印刷データdに変換する。これによって、図9に示すように、結合QRコードQ5を含んだ処理後印刷データD2が作成される。   FIG. 5 shows processing executed in the third creation processing. The CPU 32 converts the information z stored in the combined QR code information W into a QR code (step S302). Further, the CPU 32 functions as the creating unit 52, creates image data for printing the combined QR code converted to QR code (step S304), and print data d of the post-process print data D2 in association with the first print range H1. Convert to As a result, post-processing print data D2 including the combined QR code Q5 is created as shown in FIG.

次にCPU32は、判別部54として機能し、被結合QRコード(被結合コードの一例)を判別する(ステップS306)。被結合QRコードとは、結合QRコード情報Wに含まれる情報zのみを有するQRコードを意味する。CPU32は、結合QRコード情報Wに含まれる情報zとQRコードリストL1に含まれる情報zを比較し、被結合QRコードのQRコードIDを選出する。本実施形態では、QRコードIDの1、2に対応する情報zを有するQRコードQ1、Q3、Q4が被結合QRコードとなる。   Next, the CPU 32 functions as the determination unit 54 and determines a combined QR code (an example of a combined code) (step S306). The combined QR code means a QR code having only information z included in the combined QR code information W. The CPU 32 compares the information z included in the combined QR code information W with the information z included in the QR code list L1, and selects a QR code ID of the combined QR code. In the present embodiment, QR codes Q1, Q3, and Q4 having information z corresponding to QR code IDs 1 and 2 are coupled QR codes.

次にCPU32は、置換部56として機能し、被結合QRコードの画像データをQRコードID(識別記号の一例)を描画するための画像データに置換し(ステップS308)、第3作成処理を終了する。本実施形態では、図9に示すように、QRコードQ1、Q3、Q4が記載されていた部分に、対応するQRコードIDが記載される。ユーザは、QRコードQ1、Q3、Q4が印刷されないことで、間違えて、あるいは気づかずにQRコードQ1、Q3、Q4を読み取ってしまうことがない。   Next, the CPU 32 functions as the replacement unit 56, replaces the image data of the coupled QR code with image data for drawing a QR code ID (an example of an identification symbol) (step S308), and ends the third creation process. To do. In the present embodiment, as shown in FIG. 9, the corresponding QR code ID is described in the portion where the QR codes Q1, Q3, and Q4 are described. Since the QR codes Q1, Q3, and Q4 are not printed, the user does not read the QR codes Q1, Q3, and Q4 by mistake or without notice.

CPU32は、ステップS260の処理の終了後、次の結合QRコードを作成するために、ステップS260からの処理を繰り返す。CPU32は、ステップS220及びステップS222の処理の終了後、結合QRコードの個数を確認する(ステップS224)。CPU32は、結合QRコードが1つである場合に、第2変換処理を終了する。一方、結合QRコードが複数である場合に、結合QRコードとQRコードIDを対応させる対応表を作成し(ステップS226)、その印刷データdを処理後印刷データD2に含め、第2変換処理を終了する。これによって、ユーザは、印刷された対応表に基づいて結合QRコードを読み取ることができ、置換された被結合QRコードを読み取りたいと考えたユーザが、その代わりにどの結合QRコードを読み取れば良いかを容易に把握することができる。   After completing the process in step S260, the CPU 32 repeats the process from step S260 in order to create the next combined QR code. The CPU 32 confirms the number of combined QR codes after the processes of Step S220 and Step S222 are completed (Step S224). When the number of combined QR codes is one, the CPU 32 ends the second conversion process. On the other hand, when there are a plurality of combined QR codes, a correspondence table for associating the combined QR code with the QR code ID is created (step S226), the print data d is included in the processed print data D2, and the second conversion process is performed. finish. This allows the user to read the combined QR code based on the printed correspondence table, and the user who wants to read the replaced combined QR code should read which combined QR code instead. Can be easily grasped.

次にCPU32は、作成された処理後印刷データD2をプリンタ10において処理可能なPDL(page description language)データに変換するとともに(ステップS16)、送信部58として機能し、変換したPDLデータをプリンタ10に送信する(ステップS18)。プリンタ10の制御部22は、PC28から送信されたPDLデータを用いて、画像形成部26で印刷処理を実行する。
CPU32は、処理前印刷データD1に含まれる印刷データdに印刷処理を繰り返し実行し、印刷処理が終わっていない印刷データdが残存していなくなった場合(ステップS8でNO)に、印刷処理を終了する。
Next, the CPU 32 converts the generated post-processing print data D2 into PDL (page description language) data that can be processed by the printer 10 (step S16), and functions as the transmission unit 58, and the converted PDL data is converted to the printer 10. (Step S18). The control unit 22 of the printer 10 uses the PDL data transmitted from the PC 28 to execute print processing in the image forming unit 26.
The CPU 32 repeatedly executes the print process on the print data d included in the pre-process print data D1, and terminates the print process when no print data d that has not been printed remains (NO in step S8). To do.

3.本実施形態の効果
本実施形態のプログラムPでは、印刷命令に含まれる処理前印刷データD1にQRコードが複数存在する場合に、その複数のQRコードが有する情報zを含んだ結合QRコードを印刷するための印刷データを含む処理後印刷データD2を作成する。これによって、印刷制御装置として機能するCPU32によって制御されるプリンタ10の画像形成部26では、複数の個別コードをまとめた結合QRコードを印刷することができ、ユーザは、結合QRコードを読み取ることで各々のQRコードに含まれていた情報zを一度に取得することができる。
3. Advantages of the present embodiment In the program P of the present embodiment, when there are a plurality of QR codes in the pre-process print data D1 included in the print command, the combined QR code including the information z included in the plurality of QR codes is printed. Post-processing print data D2 including print data for printing is created. As a result, the image forming unit 26 of the printer 10 controlled by the CPU 32 functioning as a print control apparatus can print a combined QR code in which a plurality of individual codes are collected, and the user reads the combined QR code. Information z included in each QR code can be acquired at a time.

本実施形態のプログラムPでは、基準量Aを決定する際に、プリンタ10の解像度K1、ユーザが所有する読取装置の解像度K2、第1印刷範囲H1に基づいて基準量Aを決定するので、結合QRコードに含ませることができる情報量を正確に把握することができ、結合QRコードに含ませることができる情報zの数を的確に把握することができるとともに、ユーザが読取装置を用いて結合QRコードを確実に読み取ることができる。   In the program P of this embodiment, when determining the reference amount A, the reference amount A is determined based on the resolution K1 of the printer 10, the resolution K2 of the reading device owned by the user, and the first printing range H1, so The amount of information that can be included in the QR code can be accurately grasped, the number of pieces of information z that can be included in the combined QR code can be accurately grasped, and the user can combine them using a reader. The QR code can be read reliably.

本実施形態のプログラムPでは、処理範囲Sが第2印刷範囲H2に基づいて決定されるので、同一のシートに印刷されるQRコードを選択して同一の結合QRコードに含ませることや、関連した内容が印刷されることが予定されている複数のシートに含まれる複数のQRコードを選択して同一の結合QRコードに含ませることができ、関連のある情報zを的確に同一の結合QRコードに含ませることができる。   In the program P of the present embodiment, since the processing range S is determined based on the second printing range H2, it is possible to select QR codes to be printed on the same sheet and include them in the same combined QR code. A plurality of QR codes included in a plurality of sheets that are scheduled to be printed can be selected and included in the same combined QR code, and the related information z can be exactly the same combined QR Can be included in the code.

本実施形態のプログラムPでは、複数のQRコードに同一の情報zが含まれている場合、同一の情報zがQRコードリストL1に含まれないように削除するので、結合QRコード情報Wに同一の情報zが含まれることが回避され、ユーザは1つの結合QRコードを読み取ることでより多くの種類の情報zを一度に取得することができる。   In the program P of the present embodiment, when the same information z is included in a plurality of QR codes, the same information z is deleted so that it is not included in the QR code list L1, so that it is the same as the combined QR code information W. The information z is not included, and the user can acquire more types of information z at a time by reading one combined QR code.

<実施形態2>
本発明の実施形態2を図10ないし図12を用いて説明する。本実施形態2では、アプリケーション等から取得される印刷命令が、4in1印刷の設定がされている点で実施形態1と異なっている。つまり、本実施形態2では、印刷命令における割付数が「4」に設定されている。本実施形態では、図11、12に示すように、4枚分のシート(図11では3枚分)に印刷される印刷データdに含まれるQRコードQ1〜Q10に対して結合QRコードQ11、Q12を作成する。
<Embodiment 2>
A second embodiment of the present invention will be described with reference to FIGS. The second embodiment is different from the first embodiment in that a print command acquired from an application or the like is set for 4-in-1 printing. That is, in the second embodiment, the number of assignments in the print command is set to “4”. In the present embodiment, as shown in FIGS. 11 and 12, the combined QR code Q11 is combined with the QR codes Q1 to Q10 included in the print data d printed on four sheets (three sheets in FIG. 11). Create Q12.

図10は実施形態2の印刷処理のフローチャートを示す図である。以下の説明では、図2に示す実施形態1のフローチャートと異なる点について説明し、重複する処理については説明を省略する。   FIG. 10 is a flowchart illustrating the printing process according to the second embodiment. In the following description, differences from the flowchart of the first embodiment shown in FIG. 2 will be described, and description of overlapping processes will be omitted.

CPU132は、処理ページ番号xを備えており、印刷命令が入力された場合に、処理ページ番号xに0を代入する(ステップS408)。CPU32は、処理前印刷データD1に印刷処理が終わっていない印刷データが存在しているか否かを確認し(ステップS410)、処理前印刷データD1に印刷処理が終わっていない印刷データが存在する場合(ステップS410でYES)に、処理ページ番号xに1を追加する(ステップS412)。CPU132は、処理ページ番号xを割付数で割った余りを算出する(ステップS414)。処理ページ番号xを割付数で割った余りが「1」の場合(ステップS414でYES)、CPU132は、処理範囲Sに印刷される4枚分の印刷データdのうち、最初の一枚分の印刷データdの処理を開始したことを検知し、QRコードリストL1及びQRコード位置情報リストL2を初期化し(ステップS416)、第1変換処理を実行する(ステップS418)。その一方、余りが「1」以外の場合(ステップS414でNO)に、QRコードリストL1及びQRコード位置情報リストL2を初期化せずに、第1変換処理を実行する(ステップS418)。   The CPU 132 has a processing page number x, and substitutes 0 for the processing page number x when a print command is input (step S408). The CPU 32 confirms whether or not print data that has not been subjected to print processing exists in the pre-process print data D1 (step S410), and if print data that has not been subjected to print processing exists in the pre-process print data D1. (YES in step S410), 1 is added to the processing page number x (step S412). The CPU 132 calculates a remainder obtained by dividing the processing page number x by the allocation number (step S414). When the remainder obtained by dividing the processing page number x by the allocation number is “1” (YES in step S414), the CPU 132 selects the first one of the four print data d to be printed in the processing range S. It is detected that the process of the print data d has been started, the QR code list L1 and the QR code position information list L2 are initialized (step S416), and the first conversion process is executed (step S418). On the other hand, if the remainder is other than “1” (NO in step S414), the first conversion process is executed without initializing the QR code list L1 and the QR code position information list L2 (step S418).

次にCPU132は、処理ページ番号xを割付数で割った余りが「0」か否かを確認し、(ステップS420)、余りが「0」の場合(ステップS420でYES)、CPU132は、処理範囲Sに含まれる4枚分の印刷データdの第1変換処理が終了したと判断し、第2変換処理(ステップS422)、PDL化処理(ステップS424)、送信処理(ステップS426)の各処理を実行する。一方、処理ページ番号xを割付数で割った余りが「0」でない場合(ステップS420でNO)、ステップS410からの処理を繰り返す。   Next, the CPU 132 checks whether or not the remainder obtained by dividing the processing page number x by the number of assignments is “0” (step S420). If the remainder is “0” (YES in step S420), the CPU 132 It is determined that the first conversion process of the print data d for four sheets included in the range S has been completed, and each process of the second conversion process (step S422), the PDL process (step S424), and the transmission process (step S426) Execute. On the other hand, if the remainder obtained by dividing the processing page number x by the number of allocations is not “0” (NO in step S420), the processing from step S410 is repeated.

CPU132は、処理前印刷データD1に印刷処理が終わっていない印刷データdが残存していなくなった場合(ステップS410でNO)に、処理ページ番号xに1を追加せずに、処理ページ番号xを割付数で割った余りが「0」か否かを確認し、余りが「0」の場合(ステップS440でYES)、印刷処理を終了する。   When the print data d that has not been subjected to the print process does not remain in the pre-process print data D1 (NO in step S410), the CPU 132 sets the process page number x without adding 1 to the process page number x. It is confirmed whether or not the remainder divided by the number of assignments is “0”. If the remainder is “0” (YES in step S440), the printing process is terminated.

一方、処理ページ番号xを割付数で割った余りが「0」でない場合、第2変換処理(ステップS442)、PDL化処理(ステップS444)、送信処理(ステップS446)の各処理を実行し、印刷処理を終了する。4in1印刷の設定がされているプリンタ110では、図11に示すように、処理範囲Sには4枚分の印刷データdが印刷される範囲が確保されていても、実際に印刷処理が必要な印刷データdが4枚分存在しない場合がある。そのため、処理ページ番号xを割付数で割った余りが「0」となる前に(ステップS420でNO)、印刷処理が終わっていない印刷データdが残存しなくなる場合(ステップS410でNO)が存在する。CPU132は、この場合には4枚分の印刷データdの第1変換処理が終了しない状態でも、第2変換処理等を実行する。これによって、処理範囲Sの印刷データdが4枚分存在しない場合であっても、印刷処理を終了することができる。   On the other hand, when the remainder obtained by dividing the processing page number x by the number of allocations is not “0”, the second conversion process (step S442), the PDL process (step S444), and the transmission process (step S446) are executed. The printing process ends. In the printer 110 in which 4-in-1 printing is set, as shown in FIG. 11, even if the processing range S has an area for printing the print data d for four sheets, an actual printing process is required. There are cases where four print data d do not exist. For this reason, there is a case where the print data d that has not undergone the printing process does not remain (NO in step S410) before the remainder obtained by dividing the processing page number x by the number of assignments becomes “0” (NO in step S420). To do. In this case, the CPU 132 executes the second conversion process and the like even in a state where the first conversion process for the print data d for four sheets is not completed. As a result, even when there are not four print data d in the processing range S, the printing process can be terminated.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
(1)上記実施形態では、コードとしてQRコードを用いて説明を行ったが、コードはこれだけに限られない。例えば、バーコードを用いて実現されてもよい。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.
(1) Although the above embodiment has been described using a QR code as a code, the code is not limited to this. For example, it may be realized using a barcode.

(2)上記実施形態では、処理範囲Sを第2印刷範囲H2と同じ範囲に設定した例を用いて説明を行ったが、これだけに限られない。例えば、プリンタ10が両面印刷設定されており、印刷されたシートが見開き状態で使用される場合には、処理範囲Sをその見開き範囲(つまり、第2印刷範囲H2の2倍)に設定してもよい。 (2) Although the above embodiment has been described using an example in which the processing range S is set to the same range as the second printing range H2, the present invention is not limited to this. For example, when the printer 10 is set to duplex printing and the printed sheet is used in a spread state, the processing range S is set to the spread range (that is, twice the second print range H2). Also good.

(3)上記実施形態では、被結合QRコードの画像データを置換する画像として、QRコードIDを描画するための画像データを用いて説明を行ったが、これだけに限られない。たとえば、「このQRコードはまとめて表示されています」等の情報を描画するための画像データであってもよい。また、同一の結合QRコードにまとめられた被結合QRコード画像データを、同一の画像データに置換してもよい。この場合、対応するQRコードの近傍に、置換した画像データと同じ画像データを印刷しておくことで、置換された被結合QRコードを読み取りたいと考えたユーザが、その代わりにどの結合QRコードを読み取れば良いかを容易に把握することができる。 (3) In the above embodiment, the description has been given using the image data for drawing the QR code ID as the image to replace the image data of the coupled QR code, but the present invention is not limited to this. For example, it may be image data for drawing information such as “This QR code is displayed together”. Further, the combined QR code image data collected in the same combined QR code may be replaced with the same image data. In this case, by printing the same image data as the replaced image data in the vicinity of the corresponding QR code, the user who wants to read the replaced combined QR code can instead use which combined QR code. Can be easily grasped.

(4)上記実施形態では、印刷処理をPC28で実行するものとして説明を行ったが、プリンタ10の制御部22が同様の処理を行ってもよい。この場合、ステップS16、S426、S444におけるPDL化の処理は実行せずに、第1及び第2変換処理で作成したデータをそのままシートに印刷すればよい。この場合、プリンタ10の制御部22が印刷制御装置に相当する。 (4) Although the above embodiment has been described on the assumption that the printing process is executed by the PC 28, the control unit 22 of the printer 10 may perform the same process. In this case, the data created by the first and second conversion processes may be printed as they are on the sheet without executing the PDL processing in steps S16, S426, and S444. In this case, the control unit 22 of the printer 10 corresponds to a print control apparatus.

本明細書または図面に説明した技術要素は、単独であるいは各種の組み合わせによって技術的有用性を発揮するものであり、出願時請求項記載の組み合わせに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology exemplified in this specification or the drawings can achieve a plurality of objects at the same time, and has technical usefulness by achieving one of the objects.

10:プリンタ
22:制御部
26:画像形成部
30:メモリ
32:CPU(印刷制御装置)
40:取得部
42:処理範囲決定部
44:選択部
46:入力部
48:設定部
50:基準量決定部
52:作成部
54:判別部
56:置換部
58:送信部
A:基準量
D1:処理前印刷データ
D2:処理後印刷データ
H1:第1印刷範囲
H2:第2印刷範囲
z:情報
Z1:印刷位置情報
10: printer 22: control unit 26: image forming unit 30: memory 32: CPU (printing control device)
40: acquisition unit 42: processing range determination unit 44: selection unit 46: input unit 48: setting unit 50: reference amount determination unit 52: creation unit 54: determination unit 56: replacement unit 58: transmission unit A: reference amount D1: Pre-process print data D2: Post-process print data H1: First print range H2: Second print range z: Information Z1: Print position information

Claims (10)

印刷装置を制御する印刷制御装置に、
印刷命令を取得する取得処理と、
前記印刷命令が複数の個別コードを印刷するための処理前印刷データを含む場合に、前記複数の個別コードが有する情報を含んだ結合コードを生成するコード生成処理と、
前記処理前印刷データのうち、前記結合コードに含まれる情報を有する前記複数の個別コードを印刷するための印刷データを、各個別コードを識別するための識別記号を印刷するための印刷データに置換する置換処理と、
前記コード生成処理によって生成された結合コードと、当該結合コードに前記複数の識別記号が対応していることを示す対応表と、を印刷するための処理後印刷データであって、前記置換処理により印刷データが置換された前記処理後印刷データを作成する作成処理と、
前記処理後印刷データを前記印刷装置に送信する送信処理と、
を実行させる印刷制御装置用のプログラム。
In the print control device that controls the printing device,
An acquisition process for acquiring a print command;
A code generation process for generating a combined code including information included in the plurality of individual codes when the print command includes pre-process print data for printing the plurality of individual codes ;
Of the pre-process print data, print data for printing the plurality of individual codes having information included in the combined code is replaced with print data for printing an identification symbol for identifying each individual code. A replacement process to
A binding code generated by the code generation process, a post-processing print data for printing the correspondence table, a indicating that the plurality of identification marks in the combined code is compatible, by the replacement process Creation processing for creating post-process print data in which print data is replaced ;
A transmission process for transmitting the processed print data to the printing apparatus;
A program for the print control device that executes
請求項1に記載の印刷制御装置用のプログラムであり、
前記複数の個別コードが有する情報の情報量の合計が基準量を超えている場合に、前記複数の個別コードが有する情報から前記結合コードに含ませる情報を選択する選択処理を実行させており、
前記選択処理では、前記複数の個別コードが有する情報にアドレス情報が含まれている場合、前記アドレス情報を他の情報に優先して選択する処理を実行させる印刷制御装置用のプログラム。
A program for the print control apparatus according to claim 1,
When the total information amount of the information possessed by the plurality of individual codes exceeds a reference amount, a selection process for selecting information to be included in the combined code from the information possessed by the plurality of individual codes is executed.
In the selection process, when address information is included in information included in the plurality of individual codes, a program for a print control apparatus that executes a process of selecting the address information with priority over other information.
請求項1に記載の印刷制御装置用のプログラムであり、
前記複数の個別コードが有する情報の情報量の合計が基準量を超えている場合に、前記複数の個別コードが有する情報から前記結合コードに含ませる情報を選択する選択処理を実行させており、
前記選択処理では、前記複数の個別コードが有する情報の情報量の順に選択する処理を実行させる印刷制御装置用のプログラム。
A program for the print control apparatus according to claim 1,
When the total information amount of the information possessed by the plurality of individual codes exceeds a reference amount, a selection process for selecting information to be included in the combined code from the information possessed by the plurality of individual codes is executed.
In the selection process, a program for a print control apparatus that executes a process of selecting in order of information amount of information included in the plurality of individual codes.
請求項1に記載の印刷制御装置用のプログラムであり、
前記複数の個別コードが有する情報の情報量の合計が基準量を超えている場合に、前記複数の個別コードが有する情報から前記結合コードに含ませる情報を選択する選択処理を実行させており、
前記印刷命令には、前記処理前印刷データにおける前記個別コードの印刷位置が設定された印刷位置情報が含まれており、
前記選択処理では、前記印刷位置情報が基準範囲内に存在する前記個別コードが有する情報を選択する処理を実行させる印刷制御装置用のプログラム。
A program for the print control apparatus according to claim 1,
When the total information amount of the information possessed by the plurality of individual codes exceeds a reference amount, a selection process for selecting information to be included in the combined code from the information possessed by the plurality of individual codes is executed.
The print command includes print position information in which the print position of the individual code in the pre-process print data is set,
In the selection process, a program for a print control apparatus that executes a process of selecting information included in the individual code in which the print position information is within a reference range.
請求項2ないし請求項4のいずれか一項に記載の印刷制御装置用のプログラムであり、
前記基準量を決定する基準量決定処理を実行させており、
前記基準量決定処理では、前記印刷装置の印刷解像度に基づいて前記基準量を決定する処理を実行させる印刷制御装置用のプログラム。
A program for a printing control apparatus according to any one of claims 2 to 4,
Performing a reference amount determination process for determining the reference amount;
In the reference amount determination process, a program for a print control apparatus that executes a process of determining the reference amount based on a print resolution of the printing apparatus.
請求項2ないし請求項4のいずれか一項に記載の印刷制御装置用のプログラムであり、
前記結合コードを読み取る読取装置の解像度の入力を促す入力処理と、
前記基準量を決定する基準量決定処理と、を実行させており、
前記基準量決定処理では、前記入力処理において入力された前記読取装置の解像度に基づいて前記基準量を決定する処理を実行させる印刷制御装置用のプログラム。
A program for a printing control apparatus according to any one of claims 2 to 4,
An input process for prompting input of the resolution of the reading device that reads the combined code;
A reference amount determination process for determining the reference amount, and
In the reference amount determination process, a program for a print control apparatus that executes a process of determining the reference amount based on the resolution of the reading device input in the input process.
請求項2ないし請求項4のいずれか一項に記載の印刷制御装置用のプログラムであり、
前記処理後印刷データにおける前記結合コードの印刷範囲である第1印刷範囲を設定する設定処理と、
前記基準量を決定する基準量決定処理と、を実行させており、
前記基準量決定処理では、前記設定処理において設定された前記第1印刷範囲に基づいて前記基準量を決定する処理を実行させる印刷制御装置用のプログラム。
A program for a printing control apparatus according to any one of claims 2 to 4,
A setting process for setting a first print range that is a print range of the combined code in the post-process print data;
A reference amount determination process for determining the reference amount, and
In the reference amount determination process, a program for a print control apparatus that executes a process of determining the reference amount based on the first print range set in the setting process.
請求項1ないし請求項7のいずれか一項に記載の印刷制御装置用のプログラムであり、
前記印刷命令には、一枚の被記録媒体に印刷される印刷範囲である第2印刷範囲が設定されており、
前記作成処理では、前記処理前印刷データを複数の処理範囲に分割し、前記処理範囲毎に作成処理を実行するとともに、前記処理範囲を決定する処理範囲決定処理を実行させており、
前記処理範囲決定処理では、前記第2印刷範囲に基づいて前記処理範囲を決定する処理を実行させる印刷制御装置用のプログラム。
A program for a printing control apparatus according to any one of claims 1 to 7,
In the print command, a second print range that is a print range to be printed on one recording medium is set,
In the creation process, the pre-process print data is divided into a plurality of process ranges, and the creation process is executed for each process range, and the process range determination process for determining the process range is executed.
In the process range determination process , a program for a print control apparatus that executes a process of determining the process range based on the second print range.
請求項1ないしのいずれか一項に記載の印刷制御装置用のプログラムであり、
前記作成処理では、前記複数の個別コードに同一の情報が含まれている場合、前記同一の情報のいずれかを削除して処理後印刷データを作成する処理を実行させる印刷制御装置用のプログラム。
A program for a print control apparatus according to any one of claims 1 to 8 ,
In the creation process, when the same information is included in the plurality of individual codes, a program for a print control apparatus that executes a process of creating post-process print data by deleting any of the same information.
印刷装置を制御する印刷制御装置であって、
印刷命令を取得する取得部と、
前記印刷命令が複数の個別コードを印刷するための処理前印刷データを含む場合に、前記複数の個別コードが有する情報を含んだ結合コードを生成するコード生成部と、
前記処理前印刷データのうち、前記結合コードに含まれる情報を有する前記複数の個別コードを印刷するための印刷データを、各個別コードを識別するための識別記号を印刷するための印刷データに置換するデータ置換部と、
前記コード生成部によって生成された結合コードと、当該結合コードに前記複数の識別記号が対応していることを示す対応表と、を印刷するための処理後印刷データであって、前記データ置換部により印刷データが置換された前記処理後印刷データを作成する作成部と、
前記処理後印刷データを前記印刷装置に送信する送信部と、
を備える印刷制御装置。
A printing control device for controlling a printing device,
An acquisition unit for acquiring a print command;
A code generation unit that generates a combined code including information included in the plurality of individual codes when the print command includes pre-process print data for printing the plurality of individual codes ;
Of the pre-process print data, print data for printing the plurality of individual codes having information included in the combined code is replaced with print data for printing an identification symbol for identifying each individual code. A data replacement unit to perform,
Processed print data for printing a combined code generated by the code generation unit and a correspondence table indicating that the plurality of identification symbols correspond to the combined code, the data replacement unit A creation unit for creating the processed print data in which the print data is replaced by
A transmission unit for transmitting the processed print data to the printing apparatus;
A printing control apparatus comprising:
JP2010124395A 2010-05-31 2010-05-31 Print control apparatus and program thereof Active JP5644183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010124395A JP5644183B2 (en) 2010-05-31 2010-05-31 Print control apparatus and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010124395A JP5644183B2 (en) 2010-05-31 2010-05-31 Print control apparatus and program thereof

Publications (2)

Publication Number Publication Date
JP2011248844A JP2011248844A (en) 2011-12-08
JP5644183B2 true JP5644183B2 (en) 2014-12-24

Family

ID=45413978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010124395A Active JP5644183B2 (en) 2010-05-31 2010-05-31 Print control apparatus and program thereof

Country Status (1)

Country Link
JP (1) JP5644183B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102628479B1 (en) * 2020-10-27 2024-01-24 주식회사 이지패키지 Method for tracking products using QR code and Printing apparatus therefor

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11265419A (en) * 1998-03-16 1999-09-28 Toshiba Corp Method and system for optimizing bar code print and recording medium for and recording the programmed method
JP2002133364A (en) * 2000-10-19 2002-05-10 Takahiro Kinoshita Information processing system using two-dimensional code
JP4591372B2 (en) * 2006-02-14 2010-12-01 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus and image forming method
JP4915152B2 (en) * 2006-06-28 2012-04-11 ブラザー工業株式会社 Barcode print data creation device and barcode print data creation program
JP2009272982A (en) * 2008-05-09 2009-11-19 Konica Minolta Business Technologies Inc Facsimile machine
JP4849159B2 (en) * 2009-08-21 2012-01-11 コニカミノルタビジネステクノロジーズ株式会社 Image processing method and image processing apparatus

Also Published As

Publication number Publication date
JP2011248844A (en) 2011-12-08

Similar Documents

Publication Publication Date Title
JP4655236B2 (en) Image output setting control system, image output setting control device, image output instruction device, management server, image output device, program
JP4673260B2 (en) Information processing apparatus and job ticket generation method
US6975417B1 (en) Dynamic addition of programming conflicts for programming conflict checking
US9424498B2 (en) Information processing apparatus, information processing method, and recording medium for conversion of vendor-specific print data
JP6089801B2 (en) Print control apparatus and program
US20060221354A1 (en) Automatic printing device selection based on human-readable form submission
US20110007355A1 (en) Apparatus, method, system and storage medium for setting print status
US9311575B2 (en) Information processing apparatus, information processing method, and computer-readable storage medium storing program, for generating drawing data
JP2002331710A (en) Method and apparatus for integrating color page in monochromatic printer managed by raster imaging processor
CN101030123B (en) Printer device, printing method, and printing medium storing printer driving program
US20020051194A1 (en) Printing system providing virtual printing apparatus
JP5966750B2 (en) Reading apparatus, image processing system, and reading program
JP5644183B2 (en) Print control apparatus and program thereof
US9336467B2 (en) Information processing apparatus, information processing system, and recording medium
US20150235112A1 (en) Information processing device and information processing method
JP6926700B2 (en) Information processing device and information processing method
JP2016101659A (en) Information display device
US9342263B2 (en) Information processing apparatus, method, and program creating rendering data using a setting information set converted according to a selected scheme
US20170147912A1 (en) Print control system, print control apparatus, and program
US8629991B2 (en) Information processing apparatus for printing a first image added with a second image related to the first image, method of controlling same, image forming apparatus and computer program
JP6613871B2 (en) Information processing apparatus, image reading apparatus, and program
US20140368876A1 (en) Data generating apparatus, data generating method, and non-transitory storage medium
JP2009131961A (en) Printer
US20100060932A1 (en) Image processing apparatus, information processing method, and computer program product
US8988719B2 (en) Printing apparatus and log recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140318

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20140407

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: 20141007

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141020

R150 Certificate of patent or registration of utility model

Ref document number: 5644183

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150