JP5012459B2 - Printing apparatus and printing apparatus control method - Google Patents
Printing apparatus and printing apparatus control method Download PDFInfo
- Publication number
- JP5012459B2 JP5012459B2 JP2007310647A JP2007310647A JP5012459B2 JP 5012459 B2 JP5012459 B2 JP 5012459B2 JP 2007310647 A JP2007310647 A JP 2007310647A JP 2007310647 A JP2007310647 A JP 2007310647A JP 5012459 B2 JP5012459 B2 JP 5012459B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- printing
- boundary value
- instruction
- 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
Links
Images
Abstract
Description
本発明は、巻回された印刷対象物に対して両面印刷を行う印刷装置及び印刷装置の制御方法に関する。 The present invention relates to a printing apparatus that performs double-sided printing on a wound printing object and a method for controlling the printing apparatus.
印刷用紙の両面に印刷可能な印刷装置が提案されている(例えば、特許文献1及び特許文献2参照)。特許文献1及び特許文献2には、ホストコンピュータが両面印刷を指示するとページ通しNoを更新するページ通しNo更新部と、ページ通しNoが奇数か偶数かを判定する奇数ページ・偶数ページ判定部と、ページ通しNoが奇数の場合に用紙表面への印刷を行い、表面印刷が終わった用紙を一旦中間トレイに格納する奇数ページ処理部と、ページ通しNoが偶数の場合に偶数ページ用の印刷コマンド列の先頭アドレスと長さを制御テーブルに設定する偶数ページ処理部と、中間トレイに格納されている表面印刷済みの用紙に対して、各偶数ページについての裏面印刷を行う裏面印刷処理部と、を備えた印刷システムが記載されている。 Printing apparatuses capable of printing on both sides of printing paper have been proposed (see, for example, Patent Document 1 and Patent Document 2). Patent Document 1 and Patent Document 2 include a page number update unit that updates a page number when the host computer instructs double-sided printing, and an odd page / even number page determination unit that determines whether the page number is odd or even. An odd page processing unit that performs printing on the front side of the paper when the page-through number is an odd number and temporarily stores the paper on which the front side printing has been completed in the intermediate tray; and a print command for even pages when the page-through number is an even number An even page processing unit that sets the top address and length of the column in the control table, and a back side printing processing unit that performs back side printing for each even page on the front side printed paper stored in the intermediate tray, A printing system is described.
上記印刷システムにおいて、両面印刷を実行する場合は予めホストコンピュータから両面印刷指定コマンドによって両面印刷を指示する。つまり、片面印刷と両面印刷とを切り替えるには、ホストコンピュータからコマンドによって指示する必要がある。また、印刷装置のディップスイッチのオン/オフによって両面印刷あるいは片面印刷の切り替えを行うものも提案されている。そして、両面印刷を行うよう設定されている場合、表面印刷処理の実行中に、中間トレイの格納容量を超える、又は片面の文書の終了を検出すると、表面印刷処理から裏面印刷処理へ切り替える。 In the above printing system, when executing double-sided printing, double-sided printing is instructed in advance by a double-sided printing designation command from the host computer. That is, in order to switch between single-sided printing and double-sided printing, it is necessary to instruct by a command from the host computer. In addition, a printer that switches between double-sided printing and single-sided printing by turning on / off a dip switch of a printing apparatus has been proposed. If it is set to perform double-sided printing, if the storage capacity of the intermediate tray is exceeded or the end of a single-sided document is detected during the front-side printing process, the front-side printing process is switched to the back-side printing process.
ところで、ロール紙のような連続紙に対して印刷を行う印刷装置が知られている。例えば、ロール紙に対してレシート印刷を行う場合には、会計ごとに発行されるレシート長は異なる。購入商品が多い場合は発行されるレシート長は長くなり、少ない場合は短くなる。レシート長が長くなる場合は、両面印刷を行えば、発行されるレシート長を短くしロール紙の消耗を抑えることができる。 By the way, printing apparatuses that perform printing on continuous paper such as roll paper are known. For example, when receipt printing is performed on roll paper, the receipt length issued for each transaction is different. When there are many purchased items, the length of the issued receipt becomes long, and when there are few purchased items, it becomes short. When the receipt length is long, double-sided printing can shorten the issued receipt length and suppress consumption of the roll paper.
しかしながら、1回のレシート発行処理(1つの印刷ジョブ)における印刷データはそれぞれ異なるため、両面印刷を実行するにあたって、1つの印刷ジョブに含まれる印刷データのうち表面データと裏面データとの境界をどの位置に設けるかによって、表裏の印刷結果のバランスが変わってくる。さらに、表面に購入商品の明細を印刷し、裏面にクーポンを印刷したい場合には、文字データと画像データとの間に境界を設定しなければ、画像データの途中から裏面に印刷される場合が発生する。画像データの途中から裏面に印刷されてしまうと、顧客の視覚に訴えてインパクトを与えるようなレシートを発行することができない。したがって、印刷ジョブごとに表面データと裏面データとの境界を自在に設定できることが望ましい。 However, since the print data in a single receipt issuance process (one print job) is different, when executing double-sided printing, which of the print data included in one print job determines the boundary between the front data and the back data The balance of the printed results on the front and back sides changes depending on whether the position is provided. Furthermore, if you want to print the details of the purchased product on the front side and print the coupon on the back side, if you do not set a boundary between the character data and the image data, it may be printed on the back side from the middle of the image data. appear. If the back side of the image data is printed on the back side, it is impossible to issue a receipt that appeals to the customer's vision and gives an impact. Therefore, it is desirable that the boundary between the front surface data and the back surface data can be freely set for each print job.
本発明は、上記課題を解決するためになされたものであって、巻回された印刷対象物に対して両面印刷を行う印刷装置において、印刷ジョブごとに印刷データ長が異なる場合でも、印刷データを表面と裏面にバランス良く分配することを目的とする。さらには、印刷ジョブ毎に表面データと裏面データとの配分を自在に変化させて美しい両面印刷結果を出力することができる印刷装置及び印刷装置の制御方法を提供することを目的とする。 The present invention has been made to solve the above-described problem, and in a printing apparatus that performs double-sided printing on a wound print object, even when the print data length differs for each print job, the print data The purpose is to distribute the material in a balanced manner on the front and back sides. It is another object of the present invention to provide a printing apparatus and a printing apparatus control method capable of outputting beautiful double-sided printing results by freely changing the distribution of front surface data and back surface data for each print job.
上記課題を解決することのできる本発明は、巻回された印刷対象物に対して両面印刷を行う印刷装置であって、
印刷データを解析し、データ記憶領域に展開データとして記憶するデータ展開部と、
前記展開データを一方の面のデータと他方の面のデータとに分離する境界値を設定する境界値設定指示に応じて、展開データの境界値を設定する境界値設定部と、
前記境界値設定指示によって前記境界値が設定されている場合に、前記境界値に基づき前記展開データを一方の面のデータと他方の面のデータとに分離し、印刷開始指示に応じて両面印刷を行う印刷部と、を有することを特徴とする。
The present invention that can solve the above-mentioned problems is a printing apparatus that performs double-sided printing on a wound printing object,
A data development unit that analyzes the print data and stores the data in the data storage area as development data;
In response to a boundary value setting instruction for setting a boundary value for separating the expanded data into data on one surface and data on the other surface, a boundary value setting unit that sets a boundary value of expanded data;
When the boundary value is set by the boundary value setting instruction, the developed data is separated into data on one side and data on the other side based on the boundary value, and duplex printing is performed according to the print start instruction And a printing unit that performs the above.
また、上記課題を解決することのできる本発明は、巻回された印刷対象物に対して両面印刷を行う印刷装置の制御方法であって、
印刷データを解析し、データ記憶領域に展開データとして展開する展開ステップと、
前記展開データを一方の面のデータと他方の面のデータとに分離する境界値を設定する境界値設定指示に応じて、展開データの境界値を設定するステップと、
前記境界値設定指示によって前記境界値が設定されている場合に、前記境界値に基づき前記展開データを一方の面のデータと他方の面のデータとに分離し、印刷開始指示に応じて両面印刷を行う印刷ステップと、を有することを特徴とする。
Further, the present invention that can solve the above-described problems is a control method for a printing apparatus that performs double-sided printing on a wound printing object,
A development step of analyzing the print data and developing the data in a data storage area as development data;
In response to a boundary value setting instruction to set a boundary value for separating the expanded data into data on one surface and data on the other surface; and
When the boundary value is set by the boundary value setting instruction, the developed data is separated into data on one side and data on the other side based on the boundary value, and duplex printing is performed according to the print start instruction And a printing step.
上記構成によれば、境界値設定指示によって展開データの境界値を設定する。印刷データごとに境界値を自在に設定することができるので、各印刷データのデータ長が異なる場合でも境界値の設定次第で、印刷対象物の一方の面のデータと他方の面のデータとの配分を自在に変化させ美しい両面印刷結果を出力することができる。 According to the above configuration, the boundary value of the decompressed data is set by the boundary value setting instruction. Since the boundary value can be set freely for each print data, even if the data length of each print data is different, depending on the setting of the boundary value, the data on one side of the print object and the data on the other side You can change the distribution freely and output beautiful double-sided printing results.
また、本発明の印刷装置において、前記境界値設定指示によって前記境界値が設定されなかった場合、前記印刷部は、前記展開データを半分に分離する位置を境界値として前記両面印刷を行うことを特徴とする。 In the printing apparatus of the present invention, when the boundary value is not set by the boundary value setting instruction, the printing unit performs the double-sided printing with the position where the developed data is separated in half as a boundary value. Features.
また、本発明の印刷装置の制御方法において、前記境界値設定指示がない場合、前記展開データを半分に分離する位置を境界値として両面印刷を行うことを特徴とする。 In the printing apparatus control method of the present invention, when the boundary value setting instruction is not given, double-sided printing is performed using the position where the developed data is divided in half as a boundary value.
上記構成によれば、境界値の設定が無い場合は、展開データを半分に分離する位置が境界値として認識するので、印刷対象物の一方の面と他方の面とにバランスよく印刷データを配分することができる。 According to the above configuration, when the boundary value is not set, the position where the expanded data is divided in half is recognized as the boundary value, so the print data is distributed in a balanced manner between one surface and the other surface of the print target. can do.
また、本発明の印刷装置において、前記データ展開部は、前記展開データのドット数を測定し、
前記境界値は、前記印刷対象物の搬送方向を縦方向とした場合、前記展開データの縦方向のドット数であることを特徴とする。
In the printing apparatus of the present invention, the data development unit measures the number of dots of the development data,
The boundary value is the number of dots in the vertical direction of the development data when the transport direction of the print object is the vertical direction.
また、本発明の印刷装置の制御方法は、前記展開ステップにおいて、前記展開データのドット数を測定し、
前記印刷対象物の搬送方向を縦方向とした場合、前記展開データの縦方向のドット数を前記境界値として設定することを特徴とする。
Further, the control method of the printing apparatus of the present invention measures the number of dots of the development data in the development step,
When the transport direction of the print object is the vertical direction, the number of dots in the vertical direction of the developed data is set as the boundary value.
上記構成によれば、データ記憶領域に印刷データを展開しながら、ドット数を測定する。このため、境界値が設定されていない場合でも、測定ドット数の半分の値(計測ドット数/2)を境界値として設定することができる。 According to the above configuration, the number of dots is measured while developing the print data in the data storage area. For this reason, even when the boundary value is not set, a value half the number of measurement dots (measurement dot number / 2) can be set as the boundary value.
また、本発明の印刷装置は、前記印刷対象物をカットするカット指示に基づき前記印刷対象物をカットするカット部を有し、
前記印刷部は、前記印刷開始指示となる前記カット指示に応じて前記両面印刷を同時に行うことを特徴とする。
Further, the printing apparatus of the present invention has a cutting unit for cutting the print object based on a cut instruction for cutting the print object,
The printing unit simultaneously performs the double-sided printing in accordance with the cut instruction serving as the print start instruction.
また、本発明の印刷装置の制御方法は、前記印刷ステップにおいて、前記印刷開始指示となる印刷対象物のカット指示に応じて両面印刷を同時に行い、
前記印刷ステップ後、前記カット指示に基づき印刷処理後の印刷対象物をカットすることを特徴とする。
In the printing apparatus control method of the present invention, in the printing step, double-sided printing is simultaneously performed according to a print target cut instruction serving as the print start instruction.
After the printing step, the printed object after the printing process is cut based on the cutting instruction.
上記構成によれば、印刷対象物の両面に対して同時に印刷を行うので、印刷対象物の一方の面に印刷を行った後、印刷対象物の他方の面に印刷を行う場合と比べて、短時間で印刷を行うことができるので、使用電力量を低減することができる。また、両面印刷を行うことによって連続紙の節約ができ、連続紙の交換頻度を低減させることができる。さらに、印刷開始指示のみで印刷とカットが行われるので、印刷開始指示とカット指示の両方を使う必要がなく、コマンド入力の省力化が図れる。 According to the above configuration, since printing is performed simultaneously on both sides of the print target, after printing on one side of the print target, compared to the case of printing on the other side of the print target, Since printing can be performed in a short time, the amount of power used can be reduced. Further, by performing double-sided printing, continuous paper can be saved and the frequency of continuous paper replacement can be reduced. Furthermore, since printing and cutting are performed only with a print start instruction, it is not necessary to use both the print start instruction and the cut instruction, and labor saving of command input can be achieved.
以下、本発明を実施するための好適な実施の形態について、図面を参照して詳細に説明する。 DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments for carrying out the invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係る印刷装置の概略構成を示すブロック図である。図1に示すように、ホストコンピュータ20は、コンビニエンスストアやスーパーマーケット等の店頭に設置される商品単位の集計機能を持ったPOSレジスター(店頭端末)40と接続されている。店頭端末40は取得したデータをホストコンピュータ20へ送信するとともに、集計処理が終了するとレシート発行指令を送信する。ホストコンピュータ20は、レシート発行指令に応じてレシート発行ジョブを生成し、印刷データとして印刷装置10へ送信する。
FIG. 1 is a block diagram showing a schematic configuration of a printing apparatus according to an embodiment of the present invention. As shown in FIG. 1, the
印刷装置10は、ホストコンピュータ20から送信された印刷データに応じて印刷対象物(本実施形態ではロール紙のような巻回された連続紙)に対して片面印刷または両面印刷を行う。本実施形態では、印刷装置20はレシート印刷を行うラインサーマルプリンタとして動作する。
The printing apparatus 10 performs single-sided printing or double-sided printing on a print target (in this embodiment, continuous paper wound like roll paper) according to print data transmitted from the
本実施の形態の印刷装置10は、データ受信部101と、境界値設定部102と、印字データ展開部104と、印字データ記憶部105と、画像データ記憶部107と、印刷部106とを備えている。データ受信部101は、ホストコンピュータ10から送信される印刷データを受信し、解析して印字データ展開部104に入力する。また、データ受信部101は、印刷データを解析した結果、印刷開始指示CBが含まれていれば、その指示を印刷部106に入力する。また、受信した印刷データを解析して、境界値設定指示CAが含まれていれば、その指示を境界値設定部102に入力する。
The printing apparatus 10 according to the present embodiment includes a
境界値設定部102は、印字データ記憶部105に展開された展開データを一方の面のデータと他方の面のデータとに分離する境界値を設定する境界値設定指示CAに応じて、展開データの境界値を設定する。本実施形態において境界値は、連続紙30の搬送方向を縦方向とした場合、展開データの縦方向のドット数である。印刷装置10は、表面印字と裏面印字との境界値をドット指定できるコマンドを有し、境界値設定部102に記憶される。
The boundary
印字データ展開部104は、受信した印刷データのうち印字データを印字データ記憶部105に展開しながら、展開データのドット数を測定する。
The print
印字データ記憶部105は、ホストコンピュータ20から送信された印刷データのうち印字データが展開される。本実施形態では、一方の面のデータ(表面データ)と他方の面のデータ(裏面データ)とを印字データ記憶部105の1のデータ記憶領域に続けて展開する。したがって、両面印刷用にデータ記憶領域を別途設ける必要がない。印字データ記憶部105には、RAM等の揮発性メモリが用いられる。
The print
画像データ記憶部107は、連続紙30にロゴを印刷するための画像データを記憶する。画像データ記憶部107は、EPROM、EEPROM等の不揮発性メモリであっても、RAM等の揮発性メモリであってもよい。不揮発性メモリであれば、印刷装置10の電源がオフされても、定義された画像データは残存するため、再び画像データを定義する必要がない。一方、揮発性メモリであれば、印刷装置10の電源がオフされると、定義された画像データは消滅するが、画像データ定義指示によってあらたな画像データを定義することができる。
The image
データ受信部101から画像データ定義指示が入力されると、画像データ記憶部107に画像データを定義される。画像データ定義指示は、キーコードと、画像データのデータサイズ、色及び実際の定義データとを関連付けて画像データ記憶部107に保存するための指示である。すなわち、ロゴなどの画像データを文字等のテキストデータとは別途保存するための指示である。ただし、キーコード、データサイズ、色及び定義データとして不正な値(定義域外のデータ)が入力された場合や、画像データ記憶部107の記憶容量を超えるデータサイズが指定された場合は、画像データ記憶部107に画像データは定義されない。
When an image data definition instruction is input from the
印刷部106は、連続紙30を挟む形で対向配置された2つの印刷ヘッド1061a、1061bと、連続紙30をカットするカット部1062とを有する。印刷部106は、2つの印刷ヘッド1061a、1061bのうち、印刷ヘッド1061aで印字データ記憶部105に展開されたデータに基づき連続紙30の両面に同時に印刷処理を行う。
The
印刷ヘッド1061a、1061bにはラインサーマル式の印刷ヘッドが用いられ、印刷ヘッドの1ライン分の印刷を行うと1ライン分に相当する搬送量だけ連続紙30を搬送する。1ライン分の印刷処理と搬送処理とを繰り返し、連続紙30の両面に同時に連続印刷を行う。
なお、連続紙30として感熱紙が用いられる。連続紙30は帯状の用紙を円筒状に巻回したものであり、印刷部106に装着して使用される。
A line thermal type print head is used as the
Note that thermal paper is used as the
本実施形態において印刷部106は、境界値設定指示CAによって境界値が設定されている場合は、設定された境界値に基づき印字データ記憶部105に記憶された展開データを一方の面のデータと他方の面のデータとに分離し、印刷開始指示CBに応じて両面印刷を行う。
一方、境界値設定指示CAによって境界値が設定されなかった場合は、展開データを半分に分離する位置を境界値として両面印刷を行う。
また、境界値設定指示CAによって展開データの最大縦ドット数が境界値として設定された場合は、結果的に片面印刷となる。
In this embodiment, when the boundary value is set by the boundary value setting instruction CA, the
On the other hand, when the boundary value is not set by the boundary value setting instruction CA, double-sided printing is performed using the position where the developed data is divided in half as the boundary value.
If the maximum number of vertical dots of the developed data is set as the boundary value by the boundary value setting instruction CA, single-sided printing results.
本実施形態では、印刷開始指示CBは、連続紙30をカットするカット指示CCである。カット指示CCに応じて片面印刷または両面印刷を行った後、カット部1062を制御して連続紙30をカットする。
In the present embodiment, the print start instruction CB is a cut instruction CC for cutting the
次に、ホストコンピュータ20と印刷装置10の動作を説明する。図2は、本実施形態のホストコンピュータが行うレシートジョブ発行処理を示したフローチャートである。
まず、店頭端末40から送信された順次レシート印字データを取得するとともに(ステップS11)、レシート発行指令を取得する(ステップS12)。ホストコンピュータ20は、ホストコンピュータ内のバッファ(図示なし)に印字データを蓄積し、印刷イメージを生成する。印刷イメージの縦ドット数を算出し(ステップS13)、印刷イメージを表面データと裏面データとに切り替える位置を算出する(ステップS14)。
Next, operations of the
First, sequential receipt print data transmitted from the
印刷イメージを表面データと裏面データとに切り替える位置を算出する方法としては、例えば、図3に示すように、印刷イメージIが文字データTと画像データGとから構成される場合、文字データTと画像データGとの間のある一定以上のスペース区間を把握して、印刷イメージIの縦方向先端からスペース箇所までのドット数を算出する。このドット数を切り替え位置とする。図3の場合は、印刷イメージIの最大縦ドット数が520ドットであり、印刷イメージIの縦方向先端からスペース箇所までの240ドットが切り替え位置として算出される。 As a method for calculating the position where the print image is switched between the front surface data and the back surface data, for example, as shown in FIG. 3, when the print image I is composed of character data T and image data G, the character data T and A space section with a certain distance from the image data G is grasped, and the number of dots from the front end of the print image I to the space portion is calculated. This number of dots is used as a switching position. In the case of FIG. 3, the maximum number of vertical dots of the print image I is 520 dots, and 240 dots from the front end of the print image I to the space portion are calculated as the switching position.
切り替え位置を算出すると、表裏切り替え位置を境界値として設定する境界値設定指示CAを生成し(ステップS15)、コマンドにより境界値を設定してから印字データを印刷装置10へ送信する(ステップS16)。さらに、印字データ送信後に印刷開始指示であるカット指示CCを生成し、印刷装置10へ送信する(ステップS17)。なお、本実施形態では、ステップS15で生成した境界値設置指示CA、ステップS16で送信した印字データ及びステップS17で生成送信したカット指示CCを含めて印刷データと呼ぶ。
なお、上述したように印字イメージIが文字データTと画像データGとから構成される場合には、境界値設置指示CA、印字データ、カット指示CCのほか画像データ印刷指示も含まれる。
このように本発明において、ホストコンピュータ20は、レシート表面印字と裏面印字との境界値を算出するために、印刷装置10の展開イメージを先読みできる機能を有することを前提とする。
When the switching position is calculated, a boundary value setting instruction CA for setting the front / back switching position as a boundary value is generated (step S15), the boundary value is set by a command, and the print data is transmitted to the printing apparatus 10 (step S16). . Further, after the print data is transmitted, a cut instruction CC that is a print start instruction is generated and transmitted to the printing apparatus 10 (step S17). In the present embodiment, the boundary value setting instruction CA generated in step S15, the print data transmitted in step S16, and the cut instruction CC generated and transmitted in step S17 are referred to as print data.
When the print image I is composed of the character data T and the image data G as described above, the image data print instruction is included in addition to the boundary value setting instruction CA, the print data, and the cut instruction CC.
As described above, in the present invention, it is assumed that the
図4は、本実施形態の印刷装置が行う印刷処理を示したフローチャートである。
ホストコンピュータ20から送られてきた印刷データを受信し(ステップS21)、データ解析を行って境界値設定指示CAであれば、境界値設定部102が設定された境界値を設定する。ここでは、ホストコンピュータ20が算出した表裏切り替え位置が境界値として設定される。すなわち、図3に示すように、印刷イメージIの最大縦ドット数が520ドットの場合、印刷イメージIの縦方向先端からスペース箇所までの240ドットが境界値として設定されることになる。
FIG. 4 is a flowchart illustrating a printing process performed by the printing apparatus according to the present embodiment.
When the print data sent from the
また、データ受信部101は、印刷開始指示であるカット指示CCを受信するまで、データ受信・解析を続ける。データ解析を行った結果、印字データであれば印字データ記憶部105に展開する(ステップS22)。このとき、印字データ展開部104は、印字データ記憶部105に展開された展開データのドット数を計測する(ステップS23)。また、画像データ記憶部107の画像展開データドット数の計測も含まれる。
Further, the
カット指示CCが来ると(ステップS24:Yes)、境界値設定指示CAによる境界値設定があるか否かを判定し(ステップS25)、境界値が設定されていれば(ステップS25:Yes)、その境界値を裏面印刷開始位置として設定する(ステップS27)。一方、境界値が設定されていなければ(ステップS25:No)、計測したドット数の半分の値(境界値=計測ドット数/2)を境界値とし、算出した境界値を裏面印刷開始位置として設定する(ステップS28)。 When the cut instruction CC is received (step S24: Yes), it is determined whether there is a boundary value setting by the boundary value setting instruction CA (step S25). If the boundary value is set (step S25: Yes), The boundary value is set as the back surface printing start position (step S27). On the other hand, if the boundary value is not set (step S25: No), the half value of the measured dot number (boundary value = measured dot number / 2) is set as the boundary value, and the calculated boundary value is set as the back surface printing start position. Set (step S28).
印刷部106は、印字データ記憶部105に記憶されている展開データを、裏面印刷開始位置として設定された縦ドット数に基づき、表面データと裏面データとに分離し、両面印刷を同時に実行する(ステップS29)。例えば、図3のような印刷イメージの場合、印刷ヘッド1061aは、展開データの縦方向先端から240ドットまでの展開データに基づき表面印刷を実行し、印刷ヘッド1061bは、240ドット以降であって最大縦ドット数の520ドットまでの展開データに基づき裏面印刷を実行する。
The
ところで、本実施形態において印刷しようとする印刷イメージIは、文字データTと画像データGとから構成されるが、画像データGは画像データ記憶部107に定義されているため、画像データは画像データ記憶部107から読み出して印刷しなければならない。印字データ記憶部105には、文字データのみ展開されている。つまり、印刷ヘッド1061aは、展開データの縦方向先端から240ドットまで展開された文字データに基づき表面印刷を実行するが、印刷ヘッド1061bは、画像データ記憶部107から読み出された画像データに基づき裏面印刷を実行する結果となる。ただし、印刷データ展開部104は、文字データ展開ドット数と、画像データ展開ドット数両方を考慮した計測を行うため、境界値設定によっては、画像データの途中で表面と裏面に分割印字されることもあり得る。
Incidentally, the print image I to be printed in the present embodiment is composed of character data T and image data G. Since the image data G is defined in the image
両面印刷を行った後、連続紙30に対してカットを実行し(ステップS30)、ステップS23で計測したドット数をリセットする(ステップS31)。ステップS21に戻り、ホストコンピュータ20から引き続き送られてくる印刷データに対して上記同様の処理を繰り返し行う。
After performing duplex printing, the
ここで、図5は、本処理による印刷結果の一例を示す図である。図5の(a)は表面側であり、(b)は裏面側である。この例は、図3に示した印刷イメージIを構成する文字データTが印刷結果1(印字データ記憶部105に展開された印字データ)として連続紙30の表面に印刷されている。一方、図3に示した印刷イメージIを構成する画像データGがロゴXとして連続紙30の裏面に印刷されている。本処理では両面印刷を行うので、連続紙30をカットした連続紙片30aは、展開データを境界値で分離した場合に、ドット数の大きい方のデータの長さとなる。つまり、本実施形態では、境界値:240ドット<最大縦ドット数−境界値(520ドット−240ドット=280ドット)であるため、ロゴXのデータの長さ:280ドットとなる。
Here, FIG. 5 is a diagram illustrating an example of a printing result obtained by this processing. FIG. 5A shows the front side, and FIG. 5B shows the back side. In this example, the character data T constituting the print image I shown in FIG. 3 is printed on the surface of the
ところで、境界値を最大縦ドット数:520ドットとして設定することも可能である。この場合は、印刷ヘッド1061aのみが駆動し、展開データの縦方向先端から最大縦ドット数:520ドットまで展開されたデータに基づき連続紙30の表面に片面印刷される結果となる。
Incidentally, it is possible to set the boundary value as the maximum number of vertical dots: 520 dots. In this case, only the
このように、本実施の形態の印刷装置10によれば、ホストコンピュータ20から印字データ記憶部105に記憶された展開データを表面データと裏面データとに分離する境界値を設定する境界値設定指示CAに応じて、印刷データ毎に展開データの境界値を設定することができる。境界値が設定されていれば、印刷ヘッド1061aは、展開データの縦方向先端から境界値までの展開データに基づき表面印刷を実行し、印刷ヘッド1061bは、境界値から最大縦ドット数までの展開データに基づき裏面印刷を実行する。したがって、ホストコンピュータから送られる印刷データ毎に境界値を自在に設定することができるので、各印刷データのデータ長が異なる場合でも境界値の設定次第で、連続紙30の表面データと裏面データとの配分を自在に変化させ美しい両面印刷結果を出力することができる。
As described above, according to the printing apparatus 10 of the present embodiment, the boundary value setting instruction for setting the boundary value for separating the development data stored in the print
さらに、境界値を最大縦ドット数に設定すれば片面印刷を実行するので、予め印刷方法を指定することなく境界値の設定だけで、両面印刷と片面印刷とを切り替えて実行することができる。 Furthermore, since single-sided printing is executed when the boundary value is set to the maximum number of vertical dots, it is possible to switch between double-sided printing and single-sided printing by simply setting the boundary value without specifying a printing method in advance.
さらに、境界値の設定が無い場合は、展開データの最大縦ドット数:520ドットを二分の一したドット数、すなわち260ドットが境界値として設定されるので、連続紙30の表面と裏面とにバランスよく印刷データを配分することができる。また、両面印刷を実行するので、境界値を最大縦ドット数の二分の一にすれば、連続紙片30aの長さを最大限、短くすることができるので、連続紙の消耗を抑えることができるとともに、連続紙30の交換頻度を減らすことができる。
Further, when no boundary value is set, the maximum number of vertical dots in the development data: the number of dots divided by half of 520 dots, that is, 260 dots is set as the boundary value. Print data can be distributed in a balanced manner. Further, since double-sided printing is performed, if the boundary value is halved of the maximum number of vertical dots, the length of the
さらに、表面に購入商品の明細を印刷し、裏面にロゴやクーポンを印刷したい場合には、文字データと画像データとの間に境界を設定することができるので、画像データの途中から裏面に印刷されることがない。このため、顧客の視覚に訴えてインパクトを与えるような両面印刷レシートを発行することができる。 In addition, if you want to print the details of the purchased product on the front side and print a logo or coupon on the back side, you can set a boundary between the character data and the image data, so print on the back side from the middle of the image data. It will not be done. For this reason, it is possible to issue a double-sided printing receipt that appeals to the customer's vision and gives an impact.
また、カット指示CCのみで印刷と連続紙30のカットを行うので、印刷開始指示とカット指示の両方を使う必要がなく、コマンド入力の省力化が図れる。
Further, since printing and cutting of the
10:印刷装置、20:ホストコンピュータ、30:連続紙、30a:連続紙片、40:店頭端末、101:データ受信部、102:境界値設定部、104:印字データ展開部、105:印字データ記憶部、107:画像データ記憶部、106:印刷部、1061a、1061b:印刷ヘッド、1062:カット部
DESCRIPTION OF SYMBOLS 10: Printing apparatus, 20: Host computer, 30: Continuous paper, 30a: Continuous paper piece, 40: Store front terminal, 101: Data receiving part, 102: Boundary value setting part, 104: Print data expansion | deployment part, 105: Print data storage 107: Image data storage unit 106:
Claims (1)
印刷データを解析し、データ記憶領域に展開データとして記憶するデータ展開部と、
カット指示の受信を契機として、前記展開データを一方の面のデータと他方の面のデータとに分離する境界値設定指示が受信されているか否かを判定し、
境界値設定指示が受信されている場合は、前記境界値設定指示に応じて、前記展開データの境界値を設定し、
境界値設定指示が受信されていない場合は、前記展開データのドット数を計測して、前記印刷対象物の搬送方向を縦方向とすると前記印刷データの縦方向のドット数の半分の値を前記境界値として設定する、境界値設定部と、
前記境界値設定部によって設定された前記境界値に基づき、前記展開データを一方の面のデータと他方の面のデータとに分離し、カット指示の受信を契機とする印刷開始指示に応じて両面印刷を行う印刷部と、
前記カット指示に基づき前記印刷対象物をカットするカット部と、
を有することを特徴とする印刷装置。 A printing apparatus that performs double-sided printing on a wound print object,
A data development unit that analyzes the print data and stores the data in the data storage area as development data;
Triggered by reception of a cut instruction, it is determined whether or not a boundary value setting instruction for separating the development data into data on one side and data on the other side is received,
If a boundary value setting instruction has been received, in accordance with the boundary value setting instruction, set a boundary value of the expanded data,
When the boundary value setting instruction is not received, the number of dots of the development data is measured, and when the conveyance direction of the print object is the vertical direction, the half value of the number of dots in the vertical direction of the print data is A boundary value setting unit to be set as a boundary value;
Based on prior Symbol boundary value is set by the boundary value setting unit, the separate decompressed data to the data of the data and the other surface of the one side, the print start instruction triggered by the reception of the cut instruction a printing unit that performs duplex printing according to,
A cutting unit for cutting the print object based on the cutting instruction;
Printing apparatus characterized by having a.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007310647A JP5012459B2 (en) | 2007-11-30 | 2007-11-30 | Printing apparatus and printing apparatus control method |
US12/324,686 US8587804B2 (en) | 2007-11-30 | 2008-11-26 | Printing device and control method for a printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007310647A JP5012459B2 (en) | 2007-11-30 | 2007-11-30 | Printing apparatus and printing apparatus control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009132067A JP2009132067A (en) | 2009-06-18 |
JP5012459B2 true JP5012459B2 (en) | 2012-08-29 |
Family
ID=40864459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007310647A Expired - Fee Related JP5012459B2 (en) | 2007-11-30 | 2007-11-30 | Printing apparatus and printing apparatus control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5012459B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7079722B2 (en) | 2018-12-12 | 2022-06-02 | Jfeアーバンリサイクル株式会社 | Ball conveyor |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5122595B2 (en) * | 2010-03-08 | 2013-01-16 | 東芝テック株式会社 | Thermal printer and control method thereof |
JP5015283B2 (en) | 2010-03-09 | 2012-08-29 | 東芝テック株式会社 | Printer |
CN102825925B (en) * | 2011-06-16 | 2015-03-11 | 山东新北洋信息技术股份有限公司 | Duplex printing control method and device and duplex printing system |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5851172A (en) * | 1981-09-22 | 1983-03-25 | Fujitsu Ltd | Two-side printer |
JPH03164275A (en) * | 1989-11-24 | 1991-07-16 | Oki Electric Ind Co Ltd | Printer |
JP3294598B2 (en) * | 1990-11-30 | 2002-06-24 | 株式会社リコー | Image forming device |
JPH11328534A (en) * | 1998-04-27 | 1999-11-30 | Ncr Internatl Inc | Cash register |
JP2000267826A (en) * | 1999-03-17 | 2000-09-29 | Canon Inc | Device and method for controlling image output |
JP3788127B2 (en) * | 1999-08-31 | 2006-06-21 | コニカミノルタホールディングス株式会社 | Image forming apparatus |
JP2002234215A (en) * | 2001-02-09 | 2002-08-20 | Casio Comput Co Ltd | Apparatus and program for issuing receipt |
JP2003058950A (en) * | 2001-08-16 | 2003-02-28 | Ishida Co Ltd | Device and method for issuing receipt |
JP4492188B2 (en) * | 2004-04-06 | 2010-06-30 | セイコーエプソン株式会社 | POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system |
JP2006323445A (en) * | 2005-05-17 | 2006-11-30 | Seiko Epson Corp | Printing system, pos system, connection device, control method for printing system, and program therefor |
JP2007021853A (en) * | 2005-07-14 | 2007-02-01 | Advanced Peripherals Technologies Inc | Image forming method and image forming apparatus |
JP2007038557A (en) * | 2005-08-04 | 2007-02-15 | Seiko Epson Corp | Method of controlling printer, printer and program |
US8576436B2 (en) * | 2007-06-20 | 2013-11-05 | Ncr Corporation | Two-sided print data splitting |
JP4990741B2 (en) * | 2007-11-15 | 2012-08-01 | 東芝テック株式会社 | Product sales data processing device |
-
2007
- 2007-11-30 JP JP2007310647A patent/JP5012459B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7079722B2 (en) | 2018-12-12 | 2022-06-02 | Jfeアーバンリサイクル株式会社 | Ball conveyor |
Also Published As
Publication number | Publication date |
---|---|
JP2009132067A (en) | 2009-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5627222B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP5932377B2 (en) | Recording system, information processing apparatus, recording control method, and recording apparatus | |
JP5012459B2 (en) | Printing apparatus and printing apparatus control method | |
JP6460715B2 (en) | Control device, control method and program | |
US9274728B2 (en) | Print control apparatus and print control method | |
US9324011B2 (en) | Processing apparatus and processing method for processing print jobs | |
JP6083395B2 (en) | Image forming apparatus and image forming method | |
JP5012460B2 (en) | Printing apparatus and printing apparatus control method | |
JP4071310B2 (en) | Printing control method and printing apparatus in printing apparatus | |
JP5012473B2 (en) | Printing apparatus and printing apparatus control method | |
US8587804B2 (en) | Printing device and control method for a printing device | |
JP2017024297A (en) | Printer, control method and program thereof | |
JP5012458B2 (en) | Printing apparatus and printing apparatus control method | |
JP4876791B2 (en) | Image forming apparatus and program | |
JP6287416B2 (en) | Image forming apparatus and image forming method | |
JP2009202572A (en) | Printer and printer control method | |
JP2011194867A (en) | Image forming apparatus and image forming system | |
JP7102753B2 (en) | Image forming device and program | |
JP2018122463A (en) | Image formation apparatus, image formation method and program of image formation apparatus | |
JP2017074690A (en) | Image formation apparatus, and control method and program thereof | |
JP2017071185A (en) | Image forming apparatus and its control method | |
JP2007149035A (en) | Image forming apparatus | |
JP2022070095A (en) | Recording device, control method, and program | |
JP2012179905A (en) | Control method for printing apparatus | |
JP2006171511A (en) | Print system equipped with post-processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100913 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120131 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120330 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20120330 |
|
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: 20120508 |
|
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: 20120521 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150615 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5012459 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |