JP2008049503A - Printing apparatus and thermal head apparatus - Google Patents
Printing apparatus and thermal head apparatus Download PDFInfo
- Publication number
- JP2008049503A JP2008049503A JP2006225790A JP2006225790A JP2008049503A JP 2008049503 A JP2008049503 A JP 2008049503A JP 2006225790 A JP2006225790 A JP 2006225790A JP 2006225790 A JP2006225790 A JP 2006225790A JP 2008049503 A JP2008049503 A JP 2008049503A
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage unit
- print data
- unit
- printing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、プリント装置およびサーマルヘッド装置に関し、特にライン状に配列された複数の発熱素子を有するプリント装置およびサーマルヘッド装置に関する。 The present invention relates to a printing apparatus and a thermal head apparatus, and more particularly to a printing apparatus and a thermal head apparatus having a plurality of heating elements arranged in a line.
プリンタ(プリント装置)として、ライン状に配列された複数の発熱素子を発熱することにより、プリント用紙にデータを印刷するサーマルプリンタがある。特許文献1には、サーマルヘッドを制御する制御装置において、1ライン分の画像情報の圧縮データを復元するデコーダを有する技術が開示されている。特許文献1によれば、1ライン分のデータを制御装置に送信する際、圧縮データで送信することができるため、簡単な構成でデータ送信速度の高速化を図ることができる。
しかしながら、印刷するためデータである印刷データの内容によっては、印刷データを圧縮した圧縮データが元の印刷データよりデータサイズが大きくなってしまう場合がある。この場合は印刷データを圧縮することにより送信速度が遅くなってしまう。本発明は、圧縮データのデータサイズが大きくなった場合も送信速度が遅くなることを抑制することを目的とする。 However, depending on the content of the print data that is data to be printed, the compressed data obtained by compressing the print data may have a larger data size than the original print data. In this case, the transmission speed is reduced by compressing the print data. An object of the present invention is to suppress a decrease in transmission speed even when the data size of compressed data increases.
本発明は、ライン状に配列された複数の発熱素子を有する印刷部と、前記印刷部で印刷するための1ライン分の印刷データを格納する第1記憶部と、前記印刷データを前記印刷部で印刷する際に、前記印刷データを送信データとして前記第1記憶部に送信するか、前記印刷データを圧縮した圧縮データを前記送信データとして前記第1記憶部に送信するかを選択する制御部と、前記制御部が前記印刷データおよび前記圧縮データのいずれかを選択したかの選択情報に基づき、前記送信データを前記第1記憶部に直接格納するか、前記送信データを前記印刷データに復元し前記第1記憶部に格納する選択部と、を具備することを特徴とするプリント装置である。本発明によれば、制御部は、送信データの送信速度等を考慮し印刷データを圧縮して送信するか、圧縮せずに送信するかを選択することができる。 The present invention includes a printing unit having a plurality of heating elements arranged in a line, a first storage unit for storing print data for one line for printing by the printing unit, and the printing data to the printing unit A control unit that selects whether to transmit the print data as transmission data to the first storage unit or to transmit compressed data obtained by compressing the print data to the first storage unit as the transmission data when printing with And based on the selection information as to whether the control unit has selected either the print data or the compressed data, the transmission data is stored directly in the first storage unit, or the transmission data is restored to the print data. And a selection unit stored in the first storage unit. According to the present invention, the control unit can select whether the print data is compressed and transmitted in consideration of the transmission speed of the transmission data or the like, and transmitted without being compressed.
上記構成において、前記制御部は、前記圧縮データのデータサイズと前記印刷データのデータサイズとを比較し、比較結果に応じ、前記印刷データを送信データとして前記第1記憶部に送信するか、前記印刷データを圧縮した圧縮データを前記送信データとして前記第1記憶部に送信するかを選択する構成とすることができる。この構成によれば、送信データを制御部から送信する際、送信速度が速くなるように圧縮するか否かを判断できる。 In the above configuration, the control unit compares the data size of the compressed data and the data size of the print data, and transmits the print data as transmission data to the first storage unit according to a comparison result, The compressed data obtained by compressing the print data can be selected to be transmitted as the transmission data to the first storage unit. According to this configuration, when transmission data is transmitted from the control unit, it can be determined whether or not to compress the transmission data so as to increase the transmission speed.
上記構成において、前記送信データを格納する第2記憶部を具備し、前記選択部は、前記選択情報に基づき、前記第2記憶部に格納された前記送信データを直接前記第1記憶部に格納するか、前記第2記憶部に格納された前記送信データをデコーダを介し前記印刷データに復元し、前記印刷データを前記第1記憶部に格納する構成とすることができる。この構成によれば、送信データが圧縮されたデータか否かにより確実に送信データを復元または復元せずに印刷データとして第1記憶部に格納することができる。 In the above-described configuration, a second storage unit that stores the transmission data is provided, and the selection unit stores the transmission data stored in the second storage unit directly in the first storage unit based on the selection information. Alternatively, the transmission data stored in the second storage unit can be restored to the print data via a decoder, and the print data can be stored in the first storage unit. According to this configuration, the transmission data can be reliably stored in the first storage unit as the print data without being restored or restored depending on whether or not the transmission data is compressed data.
上記構成において、前記選択部は、復元した前記印刷データを第1記憶部に格納し、前記送信データの復元が完了したことを示す展開完了信号を前記制御部に送信し、前記制御部は、前記展開完了信号に基づき、前記印刷部に前記印刷データを印刷させる構成とすることができる。この構成によれば、送信データの復元が確実に完了した後に、印刷データを印刷することができる。 In the above configuration, the selection unit stores the restored print data in a first storage unit, and transmits a development completion signal indicating that the restoration of the transmission data is completed to the control unit. Based on the development completion signal, the print unit can be configured to print the print data. According to this configuration, the print data can be printed after the transmission data is reliably restored.
上記構成において、前記制御部は、複数の圧縮方式から1つを選択し前記印刷データを圧縮し前記送信データとし送信し、前記選択情報は、前記複数の圧縮方式からいずれを選択したかの情報を含み、前記選択部は、前記選択情報に基づき、前記送信データを前記印刷データに復元する構成とすることができる。この構成によれば、印刷データの種類により送信速度のより速い圧縮方式を選択することができる。 In the above configuration, the control unit selects one of a plurality of compression methods, compresses the print data, and transmits it as the transmission data, and the selection information is information indicating which one of the plurality of compression methods is selected. The selection unit can restore the transmission data to the print data based on the selection information. According to this configuration, it is possible to select a compression method with a higher transmission speed depending on the type of print data.
本発明は、ライン状に配列された複数の発熱素子を有する印刷部と、前記印刷部で印刷するための1ライン分の印刷データを格納する第1記憶部と、前記印刷データを前記印刷部で印刷する際に、前記印刷データを送信データとして前記第1記憶部に送信するか、前記印刷データを圧縮した圧縮データを前記送信データとして前記第1記憶部に送信するかを選択した選択情報に基づき、前記送信データを前記第1記憶部に直接格納するか、前記送信データを復元し前記第1記憶部に格納する選択部と、を具備することを特徴とするサーマルヘッド装置である。本発明によれば、送信データが送信速度等を考慮し印刷データを圧縮して送信するか、圧縮せずに送信するかを選択されている場合も、選択情報に基づき送信データを印刷データに復元することができる。 The present invention includes a printing unit having a plurality of heating elements arranged in a line, a first storage unit for storing print data for one line for printing by the printing unit, and the printing data to the printing unit Selection information for selecting whether to transmit the print data as transmission data to the first storage unit or to transmit compressed data obtained by compressing the print data as the transmission data to the first storage unit And a selection unit that stores the transmission data directly in the first storage unit or restores the transmission data and stores it in the first storage unit. According to the present invention, the transmission data is converted into the print data based on the selection information even when the transmission data is selected in consideration of the transmission speed or the like to transmit the print data with or without being compressed. Can be restored.
本発明によれば、本発明は、圧縮データのデータサイズが大きくなった場合も送信速度が遅くなることを抑制することができる。 According to the present invention, the present invention can suppress a decrease in transmission speed even when the data size of compressed data increases.
以下、図面を用い本発明の実施例を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は実施例1に係るプリント装置のブロック図である。プリント装置10は、サーマルヘッド部20(サーマルヘッド装置)と制御機器部50とからなる。サーマルヘッド部20はプリント用紙に印刷データを印刷する機能を有し、印刷部30、選択部40、用紙搬送部22、デコーダ24および第2記憶部26を有している。
FIG. 1 is a block diagram of the printing apparatus according to the first embodiment. The
印刷部30は、発熱することによりプリント用紙にドット印刷するための発熱素子32がライン状に複数配置されている。第1記憶部38は、例えばSRAM等の揮発性メモリであり、1ライン分の発熱素子32に対応した印刷データを格納することができる。印刷データは発熱素子32が発熱しプリント用紙に黒色を印刷するドットに対応するビットは“0”、発熱素子32が発熱せず黒ドットを印刷しない(白色のまま)のドットに対応するビットは“1”であるデータである。複数の発熱素子32は一度に通電する複数のブロックに分かれている。
The
NAND回路36には第1記憶部38の信号とMCU52からのブロック選択信号が入力する。ブロック選択信号が“1”のときNAND回路36は“1”を出力し、ブロック選択信号が“0”のときNAND回路36は第1記憶部38の印刷データを出力する。ドライバ34はNAND回路36の出力が“0”のとき発熱素子32に電流を供給し、“0”のときは電流を供給しない。1ラインは例えば4ブロックに分割されている。MCU52のブロック選択信号によりブロックに相当する第1記憶部38に保持された印刷データを選択的に印刷することができる。ブロック毎に印刷することにより、1度に発熱素子32に通電される電流を制限することができる。
The
選択部40は、MCU52から受信した送信データが印刷データか印刷データを圧縮した圧縮データかにより、送信データをそのまま第1記憶部38に格納するか、送信データをデコーダ24を介し印刷データに戻して第1記憶部38に格納するかを選択する回路である。選択部40は、データ受信回路42、データ確定判定回路44、選択回路46および展開完了信号出力回路48を有している。各回路の機能は図2および図3のフローチャートを説明する際に説明する。用紙搬送部22はプリント用紙を搬送する機能を有している。デコーダ24は圧縮データを復元する機能を有している。第2記憶部26は例えばSRAM等の揮発性メモリであり、MCU52から受信した送信データを記憶する。
The
制御機器部50は外部の例えばホストPC(Personal Computer)70からの画像データをサーマルヘッド部20が印刷可能な印刷データに変換し、印刷データまたは印刷データを圧縮した圧縮データを送信データとしてとして出力する。また、サーマルヘッド部20を制御する機能を有している。制御機器部50は、MCU(Micro Controller Unit)52(制御部)、揮発性メモリ54、不揮発性メモリ56、インターフェース回路58、用紙搬送部駆動回路60を有する。
The control device unit 50 converts image data from an external host PC (Personal Computer) 70 into print data that can be printed by the
MCU52は、不揮発性メモリ56に格納されたプログラムに従って、プリント装置10の全体を制御する。具体的には、インターフェース回路58から入力される画像データ、各種印刷制御データを受け取って、サーマルヘッド部20の動作を制御しつつ印刷を実行する。
The MCU 52 controls the
揮発性メモリ54は、SRAM等によって構成され、MCU52の制御に必要な各種データや印字すべきデータを一時的に記憶する。不揮発性メモリ56は、EEPROM等によって構成され、印刷制御に必要な各種データを格納している。この不揮発性メモリ56に格納されたデータは、電源がオフされても消えることがなく、電源がオンされると、MCU52により読み出されて、揮発性メモリ54の所定領域に書き込まれる。用紙搬送駆動回路60は、MCU52の指示により用紙搬送部22を制御する。
The volatile memory 54 is configured by SRAM or the like, and temporarily stores various data necessary for controlling the
次に、実施例1に係るプリント装置の制御について図2および図3のフローチャートを用い説明する。図2はMCU52が行う動作を示している。図2を参照に、ホストPC70から印刷する画像データの受信があるまで待機する(ステップS10)。画像データが受信されると、画像データを、1ライン分のドットデータである印刷データに変換し、揮発性メモリ54の保存する(ステップS12)。印刷データを圧縮データに変換する(ステップS14)。圧縮データのデータサイズ(圧縮データ数)が元の印刷データのデータサイズ(印刷データ数)に比べ小さいかを判断する(ステップS16)。圧縮データのデータサイズが印刷データのデータサイズより小さい場合、圧縮データを送信データとする(ステップS22)。選択部40の選択回路46に圧縮データを送信したことを示す信号である選択情報を出力する(ステップS24)。ステップS16において、圧縮データのデータサイズが印刷データのデータサイズ以上の場合、印刷データを送信データとする(ステップS18)。選択回路46に非圧縮の印刷データを送信したことを示す信号である選択情報を出力する(ステップS20)。
Next, control of the printing apparatus according to the first embodiment will be described with reference to the flowcharts of FIGS. FIG. 2 shows operations performed by the MCU 52. Referring to FIG. 2, the process waits until image data to be printed is received from host PC 70 (step S10). When the image data is received, the image data is converted into print data that is dot data for one line and stored in the volatile memory 54 (step S12). The print data is converted into compressed data (step S14). It is determined whether the data size (the number of compressed data) of the compressed data is smaller than the data size (the number of print data) of the original print data (step S16). If the data size of the compressed data is smaller than the data size of the print data, the compressed data is used as transmission data (step S22). Selection information, which is a signal indicating that the compressed data has been transmitted, is output to the
データが送信可能となるまで待機する(ステップS26)。データが送信可能となった後、データ受信回路42に1バイトの送信データを送信する(ステップS28)。1ライン分のデータの送信が完了したか判断する(ステップS30)。Noの場合、ステップS26に戻る。Yesの場合、データ確定判定回路に1ライン分の送信データの送信が完了したことを示す信号を出力する(ステップS32)。展開完了信号出力回路48からデータ展開完了信号が入力されるまで待機する(ステップS34)。データ展開完了信号が入力した後、印刷部30にブロック選択信号を出力する(ステップS36)。 Wait until data can be transmitted (step S26). After the data can be transmitted, 1-byte transmission data is transmitted to the data receiving circuit 42 (step S28). It is determined whether transmission of data for one line has been completed (step S30). In No, it returns to step S26. In the case of Yes, a signal indicating that transmission of transmission data for one line has been completed is output to the data determination circuit (step S32). It waits until a data expansion completion signal is input from the expansion completion signal output circuit 48 (step S34). After the data development completion signal is input, a block selection signal is output to the printing unit 30 (step S36).
図3はサーマルヘッド部20が行う動作を示したフローチャートである。データ確定判定回路44は、図2のステップS32において出力された送信完了信号を受信したか判定する(ステップS40)。Noの場合、図2のステップS28においてデータ受信回路42はMCU52が送信した送信データのうち1バイトを受信したかを判定する(ステップS42)。Noの場合、ステップS40に戻る。ステップS42においてYesの場合、第2記憶部26は受信した1バイトの送信データを保存する(ステップS44)。このようにして、1ライン分のデータを受信する。
FIG. 3 is a flowchart showing an operation performed by the
ステップS40においてYesの場合、すなわち図2のステップS26からS30において1ライン分の送信データの送信が完了した場合、選択回路46は選択情報が圧縮データの送信を示すかを判定する(ステップS46)。Yesの場合、すなわち図2のステップS22において印刷データの圧縮データを送信データとした場合、デコーダ24は、第2記憶部26の送信データを復元し、復元した印刷データを第2記憶部26に格納する(ステップS48)。第2記憶部26は第1記憶部38に印刷データを転送する(ステップS50)。ステップS46においてNoの場合、すなわち図2のS18において印刷データを圧縮せず送信データとした場合、第2記憶部26は第1記憶部38に印刷データを転送する(ステップS50)。展開完了信号出力回路48は第1記憶部38への印刷データの展開が終了したことを示す展開完了信号をMCU52に出力する(ステップS52)。印刷部30は、図2ステップS36においてMCU52が出力したブロック選択信号により、ブロック単位で印刷データを印刷する(ステップS54)。
In the case of Yes in step S40, that is, when transmission of transmission data for one line is completed in steps S26 to S30 in FIG. 2, the
次に圧縮データの例を説明する。図4および図5は圧縮方式としてPacked Bits方式で圧縮した例であり、圧縮データのデータサイズが元の印刷データのデータサイズより小さい例(図4)および大きい例(図5)を示している。図4および図5の印刷データおよび圧縮データは16進法で記載されており1バイト(8ビット)毎に区切られている。印刷データの先頭から1バイト毎のデータをd1、d2…で示す。圧縮データは、ヘッダーS1、S2…とデータからなる。非連続のデータの場合、非連続なデータ数から1を引いた値をヘッダーとして用いる。例えば非連続のデータ数が6の場合、ヘッダーは[05]となる。連続のデータの場合、連続するデータ数から1引いた値のマイナスをヘッダーとして用いる。例えば連続の数が6の場合、ヘッダーは[FB]となる。 Next, an example of compressed data will be described. FIGS. 4 and 5 are examples of compression using the Packed Bits method as a compression method, and show an example (FIG. 4) and an example (FIG. 5) where the data size of the compressed data is smaller than the data size of the original print data. . The print data and the compressed data in FIGS. 4 and 5 are described in hexadecimal notation and are divided every byte (8 bits). Data for each byte from the top of the print data is indicated by d1, d2,. The compressed data consists of headers S1, S2,. In the case of discontinuous data, a value obtained by subtracting 1 from the number of discontinuous data is used as a header. For example, when the number of discontinuous data is 6, the header is [05]. In the case of continuous data, a minus value obtained by subtracting 1 from the number of continuous data is used as a header. For example, when the number of consecutive is 6, the header is [FB].
図4を参照に、印刷データは[55]が6個連続し、非連続なデータが6個並んでいる。この印刷データを圧縮した場合、圧縮データは、ヘッダーS1としてデータが6個連続していることを示す[FB]、連続するデータd1〜d6である[55]、ヘッダーS2として非連続なデータが6個並んでいることを示す[05]、非連続な各データであるd7〜d12が配置されている。このように、図4の場合は印刷データを圧縮することにより12バイトを9バイトに圧縮することができる。 Referring to FIG. 4, the print data includes six [55] continuous and six discontinuous data. When this print data is compressed, the compressed data includes six consecutive data as the header S1 [FB], continuous data d1 to d6 [55], and discontinuous data as the header S2. [05] indicating that 6 are arranged, d7 to d12 which are discontinuous data are arranged. Thus, in the case of FIG. 4, 12 bytes can be compressed to 9 bytes by compressing print data.
図5を参照に、印刷データは[00]が2個連続し、[01]が1個、[02]が2個、[03]が1個、[04]が2個、[05]が1個並んでいる。この印刷データを圧縮した場合、圧縮データは、ヘッダーS2として2連続であることを示す[FF]、データd1、d2である[00]、ヘッダーS2として非連続データが1個であることを示す[00]、データd3である[01]、以降、ヘッダーとデータが交互に配置されている。図5の場合は、印刷データを圧縮することにより9バイトが12バイトとなってしまう。 Referring to FIG. 5, the print data includes two [00], one [01], two [02], one [03], two [04], and [05]. One is lined up. When this print data is compressed, the compressed data is [FF] indicating that the header S2 is continuous 2 [FF], the data d1 and d2 are [00], and the header S2 is 1 discontinuous data. [00], data d3 [01], and thereafter, headers and data are alternately arranged. In the case of FIG. 5, by compressing the print data, 9 bytes become 12 bytes.
このように、印刷データを圧縮することにより、データサイズを圧縮できる場合もあるが、圧縮できずデータサイズが大きくなってしまう場合もある。 As described above, there is a case where the data size can be compressed by compressing the print data.
実施例1によれば、図2のステップS16からS24のように、MCU52(制御部)は、印刷データを印刷部30で印刷する際に、印刷データを送信データとして第1記憶部38に送信するか、印刷データを圧縮した圧縮データを送信データとして第1記憶部38に送信するかを選択する。そして、図3のステップS46からS50のように、選択部40は、MCU52が印刷データおよび圧縮データのいずれかを選択したかの選択情報に基づき、送信データを第1記憶部38に直接格納するか、送信データを印刷データに復元し第1記憶部38に格納する。これにより、MCU52は、MCU52からサーマルヘッド部20への印刷データの送信を圧縮データで行うか否かを選択できる。よって、送信データの送信速度を考慮し印刷データを圧縮して送信するか、圧縮せずに送信するかを選択することができる。
According to the first embodiment, the MCU 52 (control unit) transmits the print data as transmission data to the
また、MCU52は、図2のステップS16のように、圧縮データのデータサイズと印刷データのデータサイズとを比較し、比較結果に応じ、印刷データを送信データとして第1記憶部38に送信するか、圧縮データを送信データとして第1記憶部38に送信するかを選択することが好ましい。これにより、送信データをMCU52からサーマルヘッド部20に送信する際、送信速度が速くなるように圧縮するか否かを判断できる。ステップS16のように圧縮データが印刷データのデータサイズより小さいか否かで圧縮するか否かを選択することもできるが、例えば復元に必要な時間等を考慮し圧縮データのデータサイズに復元に必要な時間等に相当する量を付加し印刷データのデータサイズと比較してもよい。
Further, as in step S16 of FIG. 2, the
さらに、選択部40は、ステップS46のように選択情報に基づき、ステップS46でNoの場合のように、第2記憶部26に格納された送信データを直接第1記憶部38に格納するか、ステップS46でYesの場合のように、第2記憶部26に格納された送信データをデコーダ24を介し印刷データに復元し、印刷データを第1記憶部38に格納する。これにより、送信データが圧縮されたデータか否かにより確実に送信データを復元または復元せずに印刷データとして第1記憶部38に格納することができる。
Furthermore, the
さらに、図3のステップS48およびS50のように、選択部40は、復元した印刷データを第1記憶部38に格納し、ステップS52のように、展開完了信号出力回路48は、送信データの復元が終了したことを示す展開完了信号をMCU52に送信する。そして、MCU52は、図2のステップS34のように展開完了信号に基づき、ステップS36のように印刷部30に印刷データを印刷させる。これにより、送信データの復元が確実に完了した後に、印刷データを印刷することができる。
Further, as in steps S48 and S50 of FIG. 3, the
実施例2は圧縮方式を圧縮方式Aと圧縮方式Bとで選択可能な例である。図6は、実施例2に係るプリント装置の選択部40およびデコーダ24a付近のブロック図である。実施例1に対し、デコーダ24aが選択回路46の指示で圧縮方式AおよびBのうちいずれかの復元を行うことができる。その他の構成は実施例1と同じであり説明を省略する。
The second embodiment is an example in which the compression method can be selected from the compression method A and the compression method B. FIG. 6 is a block diagram of the vicinity of the
図7は実施例2に係るプリント装置のMCU52の動作を示すフローチャートである。ホストPC70から圧縮方式選択の要求があるか判断する(ステップS60)。Yesの場合、圧縮方式AまたはBのいずれが要求されたかを示す情報を選択情報として選択回路46に出力する(ステップS62)。ステップS64に進む。ステップS60においてNoの場合、ステップS64において、ホストPC70からインターフェース回路58が画像データを受信したか判断する(ステップS64)。Noの場合、ステップS60に戻る。Yesの場合、画像データを印刷データに変換する(ステップS66)。印刷データを要求の圧縮方式AまたはBの圧縮データに変換する(ステップS68)。ステップS16以降は実施例1の図2と同じフローであり、説明を省略する。
FIG. 7 is a flowchart illustrating the operation of the
図8はサーマルヘッド部20の動作を示すフローチャートである。ステップS40において、圧縮データを受信した場合、選択回路46は図7のステップS62の選択情報に基づき復元する圧縮方式を選択する(ステップS70)。圧縮方式Aの場合、デコーダ24aは、第2記憶部26の送信データを圧縮方式Aでデコードし、第2記憶部26は復元した印刷データを格納する(ステップS74)。圧縮方式Bの場合、デコーダ24aは、第2記憶部26の送信データを圧縮方式Bでデコードし、第2記憶部26は復元した印刷データを格納する(ステップS72)。その後、第1記憶部38は第2記憶部26の印刷データを格納する(ステップS50)。その他のフローは実施例1の図3と同じであり説明を省略する。
FIG. 8 is a flowchart showing the operation of the
実施例2によれば、MCU52は、図7のステップS68のように複数の圧縮方式から1つを選択し印刷データを圧縮し送信データとしデータ受信回路42に送信する。選択情報は、図7のステップS62のように複数の圧縮方式からいずれを選択したかの情報とステップS20、S24のように圧縮したか否かの情報とを含んでいる。選択部40は、図8のステップS70からS74のように、選択情報に基づき、送信データを印刷データに復元する。これにより、画像データや印刷データの種類により送信速度のより速い圧縮方式を選択することができる。例えば、画像データが文字のデータの場合と模様のデータであった場合とで、圧縮方式を選択することもできる。実施例2においては、圧縮方式の選択をホストPC70が行っているが、MCU52がインターフェース回路58に受信した画像データを認識し、圧縮方式を選択しても良い。
According to the second embodiment, the
制御機器部50からサーマルヘッド部20への印刷データを送信はシリアル通信で行ってもパラレル通信で行っても良い。しかしながら、実施例1および実施例2のように制御機器部50からサーマルヘッド部20にシリアルに印刷データを送信する場合、送信時間が長くなる。よって、本発明を適用することが有効である。実施例1においては、データの圧縮方式としてPack Bits方式を例に説明したが、例えばSwiched Run Length Encoding方式、LZ77方式、LZ78方式、LZW方式、LZH方式およびZIP方式等を用いることができる。また、実施例2の圧縮方式として、例えば上記方式のうち2つを用いることができる。
Transmission of print data from the control device 50 to the
以上、本発明の実施例について詳述したが、本発明は係る特定の実施例に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications and changes can be made within the scope of the gist of the present invention described in the claims. It can be changed.
10 プリント装置
20 サーマルヘッド部(サーマルヘッド装置)
24、24a デコーダ
26 第2記憶部
30 印刷部
32 発熱素子
34 ドライバ
36 NAND回路
38 第1記憶部
40 選択部
42 データ受信回路
44 データ確定判定回路
46 選択回路
48 展開完了信号出力回路
50 制御機器部
52 MCU
54 揮発性メモリ
56 不揮発性メモリ
58 インターフェース回路
60 用紙搬送部駆動回路
70 ホストPC
10
24,
54
Claims (6)
前記印刷部で印刷するための1ライン分の印刷データを格納する第1記憶部と、
前記印刷データを前記印刷部で印刷する際に、前記印刷データを送信データとして前記第1記憶部に送信するか、前記印刷データを圧縮した圧縮データを前記送信データとして前記第1記憶部に送信するかを選択する制御部と、
前記制御部が前記印刷データおよび前記圧縮データのいずれかを選択したかの選択情報に基づき、前記送信データを前記第1記憶部に直接格納するか、前記送信データを前記印刷データに復元し前記第1記憶部に格納する選択部と、を具備することを特徴とするプリント装置。 A printing unit having a plurality of heating elements arranged in a line;
A first storage unit for storing print data for one line for printing by the printing unit;
When the print data is printed by the printing unit, the print data is transmitted as transmission data to the first storage unit, or compressed data obtained by compressing the print data is transmitted as the transmission data to the first storage unit. A control unit for selecting whether to
Based on the selection information indicating whether the control unit has selected the print data or the compressed data, the transmission data is stored directly in the first storage unit, or the transmission data is restored to the print data and And a selection unit stored in the first storage unit.
前記選択部は、前記選択情報に基づき、前記第2記憶部に格納された前記送信データを直接前記第1記憶部に格納するか、前記第2記憶部に格納された前記送信データをデコーダを介し前記印刷データに復元し、前記印刷データを前記第1記憶部に格納することを特徴とする請求項1または2記載のプリント装置。 A second storage unit for storing the transmission data;
The selection unit stores the transmission data stored in the second storage unit directly in the first storage unit based on the selection information, or the decoder stores the transmission data stored in the second storage unit. The printing apparatus according to claim 1, wherein the print data is restored to the print data and the print data is stored in the first storage unit.
前記制御部は、前記展開完了信号に基づき、前記印刷部に前記印刷データを印刷させることを特徴とする請求項3記載のプリント装置。 The selection unit stores the restored print data in the first storage unit, and transmits a development completion signal indicating that the restoration of the transmission data is completed to the control unit,
The printing apparatus according to claim 3, wherein the control unit causes the printing unit to print the print data based on the development completion signal.
前記選択情報は、前記複数の圧縮方式からいずれを選択したかの情報を含み、
前記選択部は、前記選択情報に基づき、前記送信データを前記印刷データに復元することを特徴とする請求項1記載のプリント装置。 The control unit selects one of a plurality of compression methods, compresses the print data, and transmits it as the transmission data.
The selection information includes information on which one of the plurality of compression methods is selected,
The printing apparatus according to claim 1, wherein the selection unit restores the transmission data to the print data based on the selection information.
前記印刷部で印刷するための1ライン分の印刷データを格納する第1記憶部と、
前記印刷データを前記印刷部で印刷する際に、前記印刷データを送信データとして前記第1記憶部に送信するか、前記印刷データを圧縮した圧縮データを前記送信データとして前記第1記憶部に送信するかを選択した選択情報に基づき、前記送信データを前記第1記憶部に直接格納するか、前記送信データを復元し前記第1記憶部に格納する選択部と、を具備することを特徴とするサーマルヘッド装置。
A printing unit having a plurality of heating elements arranged in a line;
A first storage unit for storing print data for one line for printing by the printing unit;
When the print data is printed by the printing unit, the print data is transmitted as transmission data to the first storage unit, or compressed data obtained by compressing the print data is transmitted as the transmission data to the first storage unit. A selection unit that directly stores the transmission data in the first storage unit or restores the transmission data and stores the transmission data in the first storage unit, based on selection information that is selected to be performed. Thermal head device to perform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006225790A JP2008049503A (en) | 2006-08-22 | 2006-08-22 | Printing apparatus and thermal head apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006225790A JP2008049503A (en) | 2006-08-22 | 2006-08-22 | Printing apparatus and thermal head apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008049503A true JP2008049503A (en) | 2008-03-06 |
Family
ID=39234009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006225790A Pending JP2008049503A (en) | 2006-08-22 | 2006-08-22 | Printing apparatus and thermal head apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008049503A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6130173A (en) * | 1984-07-20 | 1986-02-12 | Alps Electric Co Ltd | Thermal print head controller |
JPH07195762A (en) * | 1993-12-28 | 1995-08-01 | Fuji Xerox Co Ltd | Image information recording device |
JPH07264417A (en) * | 1994-03-18 | 1995-10-13 | Oki Electric Ind Co Ltd | Image coding method |
JP2001102935A (en) * | 1999-09-29 | 2001-04-13 | Seiko Epson Corp | Data compression controller, data compression control method, printing information forming device, printing system, and recording medium storing program |
JP2002307762A (en) * | 2001-04-10 | 2002-10-23 | Oki Data Corp | Imaging apparatus |
-
2006
- 2006-08-22 JP JP2006225790A patent/JP2008049503A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6130173A (en) * | 1984-07-20 | 1986-02-12 | Alps Electric Co Ltd | Thermal print head controller |
JPH07195762A (en) * | 1993-12-28 | 1995-08-01 | Fuji Xerox Co Ltd | Image information recording device |
JPH07264417A (en) * | 1994-03-18 | 1995-10-13 | Oki Electric Ind Co Ltd | Image coding method |
JP2001102935A (en) * | 1999-09-29 | 2001-04-13 | Seiko Epson Corp | Data compression controller, data compression control method, printing information forming device, printing system, and recording medium storing program |
JP2002307762A (en) * | 2001-04-10 | 2002-10-23 | Oki Data Corp | Imaging apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8456684B2 (en) | Image processing apparatus and method | |
JP2004080520A (en) | Image processing apparatus, image reading apparatus and image forming apparatus | |
US7590778B2 (en) | Using operation codes to control a decoder's use of a buffer to generate data from an input data stream into an output data stream | |
US7369065B2 (en) | Using operation codes to control a decoder to generate data from an input data stream into an output data stream | |
JP2008011202A (en) | Film grain processing circuit | |
JP2008049503A (en) | Printing apparatus and thermal head apparatus | |
JP2008146186A (en) | Dma transfer device, data transfer control method, and data transfer control program | |
JP2006238291A (en) | Coding processing method of color image information, decoding processing method and printer using the same | |
US8280177B2 (en) | Encoding device using parallelized encoding, decoding device using parallelized decoding, and image forming device, method, and program storage medium including the same | |
JP2876987B2 (en) | Printing system | |
JP7040058B2 (en) | Encoding device | |
JP3797865B2 (en) | Image data rearrangement and rearrangement device and image compression / decompression device | |
JP2007060261A (en) | Image formation apparatus | |
JP2006115424A (en) | Image processor, transfer control method thereof, output control method thereof, control program thereof, and recording medium with the control program recorded thereon | |
US6940791B2 (en) | Data recording controller | |
US7630096B2 (en) | Image processing apparatus, image processing method, image forming apparatus, image forming method, computer program and computer-readable storage medium | |
JP2005297333A (en) | Image forming apparatus | |
JP4549380B2 (en) | Printing apparatus, control method therefor, and control program | |
JP4095296B2 (en) | Printing apparatus and printing control method therefor | |
JP2008141594A (en) | Print data generation apparatus, printer, and print system | |
JP4037872B2 (en) | Image forming apparatus | |
JP2020048041A (en) | Image decompression device, and control method and program for the same | |
JP2008097142A (en) | Printer and printer system | |
JP2007069424A (en) | Printer | |
JP2005193569A (en) | Image processor, printer, and reading method for stored data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20090708 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A977 | Report on retrieval |
Effective date: 20110318 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Effective date: 20110329 Free format text: JAPANESE INTERMEDIATE CODE: A131 |
|
A521 | Written amendment |
Effective date: 20110421 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
A02 | Decision of refusal |
Effective date: 20110607 Free format text: JAPANESE INTERMEDIATE CODE: A02 |