JP5469299B2 - Thermal printer printing control apparatus and thermal printer printing control method - Google Patents

Thermal printer printing control apparatus and thermal printer printing control method Download PDF

Info

Publication number
JP5469299B2
JP5469299B2 JP2007291680A JP2007291680A JP5469299B2 JP 5469299 B2 JP5469299 B2 JP 5469299B2 JP 2007291680 A JP2007291680 A JP 2007291680A JP 2007291680 A JP2007291680 A JP 2007291680A JP 5469299 B2 JP5469299 B2 JP 5469299B2
Authority
JP
Japan
Prior art keywords
print data
thermal printer
printing
memory
mode
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
JP2007291680A
Other languages
Japanese (ja)
Other versions
JP2009113444A (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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2007291680A priority Critical patent/JP5469299B2/en
Publication of JP2009113444A publication Critical patent/JP2009113444A/en
Application granted granted Critical
Publication of JP5469299B2 publication Critical patent/JP5469299B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、サーマルプリンタにおいて、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる、サーマルプリンタ印刷制御装置、およびサーマルプリンタ印刷制御方法に関する。   The present invention relates to a thermal printer printing control apparatus capable of printing in a page mode having a good print quality as much as possible in terms of memory size in a thermal printer, and capable of dealing with long printing as required, and thermal printer printing. It relates to a control method.

情報印刷端末のひとつであるサーマルプリンタは、小売業界や物流業界をはじめ.様々なシステム形態の中で使用されている。このサーマルプリンタは、複数の発熱素子がライン状に配設されたサーマルヘッドを感熱紙に押し当て、複数の発熱素子のうちから選択指定した発熱素子にパルス通電を行うと共に、サーマルヘッドへのパルス通電と感熱紙の紙送りとを交互に繰り返して印刷を行うものである。   Thermal printers, one of the information printing terminals, include retail and logistics industries. It is used in various system forms. In this thermal printer, a thermal head in which a plurality of heating elements are arranged in a line shape is pressed against thermal paper, and the heating element selected from the plurality of heating elements is energized and a pulse is applied to the thermal head. Printing is performed by alternately repeating energization and paper feeding of thermal paper.

ところで、ホストコンピュータからサーマルプリンタに印刷データを送り、サーマルプリンタにより印刷データの印刷を行う場合、印刷制御方法として大きく分けて2つの印刷モードがある。1つは、1頁内の印刷データの全てを一旦プリンタが実装するページメモリに展開した後、一気に印刷するモード(以後、ページモードと呼ぶ)である。もう1つは、1ライン分の印刷データが揃った時点で印刷を開始するモード(以後、スタンダードモードと呼ぶ)である。   By the way, when printing data is sent from the host computer to the thermal printer and printing is performed by the thermal printer, there are roughly two printing modes as printing control methods. One is a mode in which all the print data in one page is once expanded in a page memory mounted on the printer and then printed at once (hereinafter referred to as a page mode). The other is a mode in which printing is started when print data for one line is prepared (hereinafter referred to as a standard mode).

しかしながら、ページモードを利用する場合、設定できる1頁の用紙全体を印刷データに展開したサイズ、もしくは1頁分のイメージデータを印刷データに展開したサイズが、プリンタに実装されるページメモリのメモリサイズに納まる範囲に制限されてしまい、長尺の用紙印刷(例えば、1m以上の印刷)ができないと言う問題がある。   However, when using the page mode, the size of one page of paper that can be set is expanded into print data, or the size of one page of image data expanded into print data is the memory size of the page memory installed in the printer. Therefore, there is a problem that long paper printing (for example, printing of 1 m or more) cannot be performed.

またスタンダードモードは、コマンドのパラメータが許す限り長尺の用紙印刷が可能となるが、データの受信状況などの影響により印刷速度が安定せず、印刷品質が良好でない場合がある。   In the standard mode, it is possible to print a long sheet as long as the command parameter permits. However, the printing speed may not be stable due to the influence of the data reception status and the print quality may not be good.

更に、ページモードを繰り返すことにより仮想的に用紙(イメージ)サイズを拡大することも可能であるが、ページモードを繰り返す際に発生する印刷停止の期間のため、スタンダードモード以上に印刷ムラが発生する場合がある。   Furthermore, it is possible to virtually enlarge the paper (image) size by repeating the page mode, but due to the print stop period that occurs when the page mode is repeated, uneven printing occurs more than the standard mode. There is a case.

このため、サーマルプリンタにおいて、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる、サーマルプリンタ印刷制御装置の提供が望まれていた。   For this reason, it is desirable to provide a thermal printer printing control apparatus that can print in a page mode with the best print quality as much as possible in terms of memory size, and can also support long printing as necessary. It was.

なお、ページモードとスタンダードモードを備える従来技術の印刷制御装置がある(例えば、特許文献1を参照)。特許文献1の印刷制御装置は、シリアルドットインパクトヘッドを有する印刷装置のページモード印刷においても強調印刷を可能とすることを目的としている。このために、ページモード印刷を行うときの印刷データをメモリ(ページメモリ)に保存しておいて、当該ページデータに基づき印刷媒体の被印刷領域へページモード印刷を行う。その後、このページデータを再利用して同一の被印刷領域へページモード印刷を繰り返す。   Note that there is a conventional print control apparatus having a page mode and a standard mode (see, for example, Patent Document 1). The print control apparatus of Patent Document 1 is intended to enable emphasized printing even in page mode printing of a printing apparatus having a serial dot impact head. For this purpose, print data for performing page mode printing is stored in a memory (page memory), and page mode printing is performed on a print area of a print medium based on the page data. Thereafter, this page data is reused and page mode printing is repeated on the same print area.

しかしながら、特許文献1の印刷制御装置は、上述したメモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる、サーマルプリンタ印刷制御装置を提供するものではなく、本発明とは、発明の目的と構成が異なるものである。
特開2005−53115号公報
However, the print control apparatus disclosed in Patent Document 1 is a thermal printer print control apparatus that can print in the page mode with the best print quality as much as possible in the above-described memory size, and can also support long printing as required. The present invention is different from the present invention in the object and configuration.
JP 2005-53115 A

上述したように、従来のサーマルプリンタにおいては、ページモードを利用する場合、設定できる印刷する用紙全体を印刷データに展開したサイズもしくは1頁分のイメージデータを印刷データに展開したサイズが、プリンタに実装されるメモリサイズに納まる範囲に制限されてしまうという問題があった。またスタンダードモードはコマンドのパラメータが許す限り長尺の用紙長印刷が可能となるが、データの受信状況などの影響により印刷速度が安定せず、印刷品質が良好でない場合があった。   As described above, in the conventional thermal printer, when the page mode is used, the size of the entire printable paper that can be set is expanded to the print data or the size of the image data for one page expanded to the print data is included in the printer. There was a problem that it was limited to a range that fits in the memory size to be mounted. In the standard mode, a long paper length can be printed as long as the command parameter permits, but the printing speed is not stable due to the influence of the data reception status and the print quality may not be good.

本発明は、斯かる実情に鑑みなされたものであり、本発明の目的は、サーマルプリンタにおいて、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる、サーマルプリンタ印刷制御装置、およびサーマルプリンタ印刷制御方法を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to allow a thermal printer to print in a page mode having a good print quality as much as possible in terms of memory size, and a long length if necessary. It is an object of the present invention to provide a thermal printer printing control apparatus and a thermal printer printing control method that can cope with printing and the like.

本発明は上記課題を解決するためになされたものであり、本発明のサーマルプリンタ印刷制御装置は、発熱素子が主走査方向にライン状に配設されたサーマルヘッドを感熱紙に押し当て、1ドットラインごとに印刷を行うサーマルプリンタと、前記サーマルプリンタに印刷データを送信して印刷を行わせるホストコンピュータとで構成されるサーマルプリンタ印刷制御装置であって、印刷する1頁分の印刷データを前記サーマルプリンタのページメモリ上に展開した後に印刷するページモードと、1ライン分の印刷データが確定した時点で印刷を開始するスタンダードモードとで印刷を行えるように構成されると共に、印刷対象となる1頁分のイメージデータの全体が前記サーマルプリンタのページメモリに収まると判定された場合は、前記ページモードで印刷し、その他の場合は、スタンダードモードで印刷するように構成されたこと、を特徴とする。
上記構成からなる本発明のサーマルプリンタ印刷制御装置では、1頁分の印刷データの全部をサーマルプリンタのページメモリに展開した後に印刷するページモードと、1ライン分の印刷データが確定した時点で印刷を開始するスタンダードモードの2モードで印刷できるようにする。そして、印刷対象となる1頁分の印刷データのサイズが、サーマルプリンタのページメモリのメモリサイズに収まると判定された場合は、ページモードで印刷し、その他の場合はスタンダードモードで印刷する。
これにより、サーマルプリンタに実装されたページメモリのメモリサイズを基にして、最適な印刷モードを判定して印刷を行うことができる。このため、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる。
The present invention has been made to solve the above-described problems, and a thermal printer printing control apparatus according to the present invention presses a thermal head having heating elements arranged in a line in the main scanning direction against thermal paper. A thermal printer printing control apparatus including a thermal printer that performs printing for each dot line and a host computer that transmits printing data to the thermal printer to perform printing, and print data for one page to be printed. The printer is configured to perform printing in a page mode that is printed after being developed on the page memory of the thermal printer, and a standard mode that starts printing when print data for one line is determined, and is a printing target. If it is determined that the entire image data for one page fits in the page memory of the thermal printer, Printed with Jimodo, otherwise, it is configured to print in standard mode, characterized by.
In the thermal printer printing control apparatus of the present invention configured as described above, a page mode for printing after all the printing data for one page is expanded in the page memory of the thermal printer and printing is performed when the printing data for one line is determined. Enable to print in 2 modes of standard mode. If it is determined that the size of the print data for one page to be printed falls within the memory size of the page memory of the thermal printer, printing is performed in the page mode, and in other cases, printing is performed in the standard mode.
Thus, it is possible to perform printing by determining an optimum print mode based on the memory size of the page memory mounted on the thermal printer. For this reason, it is possible to print in a page mode having a good print quality as much as possible in terms of memory size, and it is also possible to cope with long printing as required.

また、本発明のサーマルプリンタ印刷制御装置は、前記ホストコンピュータは、前記サーマルプリンタに実装されたページメモリのメモリサイズを取得するプリンタメモリサイズ取得部と、前記印刷対象となる1頁分のイメージデータを印刷データに展開したデータサイズと前記サーマルプリンタのページメモリのメモリサイズとを比較し、前記1頁分の印刷データが前記サーマルプリンタのページメモリに展開できると判定した場合は、前記ページモードを選択すると共に、前記1頁分の印刷データを前記サーマルプリンタのページメモリに展開できない場合は、前記スタンダードモードを選択するモード切替判定部と、前記モード切替判定部により選択された前記ページモードまたはスタンダードモードに応じて、前記サーマルプリンタに送信する印刷データを生成する印刷データ生成部と、前記印刷データ生成部により生成された印刷データを前記サーマルプリンタに送信する印刷データ送信部と、を備え、前記サーマルプリンタは、前記ホストコンピュータから印刷データを受信する印刷データ受信部と、前記ホストコンピュータから受信した印刷データが、ページモードのデータであるか、またはスタンダードモードのデータであるかを判別すると共に、前記印刷データがページモードのデータである場合は、当該印刷データを前記ページメモリに展開して保存する受信データモード判定部と、ページモードの場合に、前記ページメモリに保存された印刷データを読み出し、印刷用の1ドットラインデータを順次に生成し前記サーマルヘッドを駆動して印刷すると共に、スタンダードモードの場合に、前記ホストコンピュータから受信した印刷データが1ドットライン分揃うごとに前記サーマルヘッドを駆動して印刷を開始する印刷処理部と、を備えることを特徴とする。
ここで、「印刷データ」とは、イメージデータをプリント用に展開した場合のデータをいう。
上記構成からなる本発明のサーマルプリンタ印刷制御装置では、ホストコンピュータは、サーマルプリンタのページメモリのメモリサイズの情報を取得する。そして、印刷する1頁分の印刷データが、サーマルプリンタ内のページメモリに全て展開できるサイズであるかどうかを判定する。その結果、展開できると判定した場合は、ページモードとして印刷を行う印刷データをサーマルプリンタに送信する。展開できないと判定した場合は、スタンダードモードとして印刷を行う印刷データをサーマルプリンタに送信する。サーマルプリンタでは、ホストコンピュータから送信される印刷データの印刷モードを判定する。ページモードの場合は、印刷データを一旦ページメモリに保存した後に、該ページメモリに保存された印刷データを読み出して印刷を行う。スタンダードモードの場合は、ホストコンピュータから受信した印刷データが1ドットライン分揃うごとに印刷を行う。
これにより、サーマルプリンタが実装するページメモリのメモリサイズを基にして、最適な印刷モードを判定して印刷を行うことができる。このため、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる。
In the thermal printer printing control apparatus according to the present invention, the host computer has a printer memory size acquisition unit for acquiring a memory size of a page memory mounted on the thermal printer, and image data for one page to be printed. Is compared with the memory size of the thermal printer page memory, and if it is determined that the print data for one page can be expanded in the page memory of the thermal printer, the page mode is In addition, when the print data for one page cannot be expanded in the page memory of the thermal printer, a mode switching determination unit that selects the standard mode and the page mode or standard selected by the mode switching determination unit Depending on the mode, the thermal printer A print data generation unit that generates print data to be transmitted; and a print data transmission unit that transmits the print data generated by the print data generation unit to the thermal printer. The thermal printer performs printing from the host computer. A print data receiving unit for receiving data, and determining whether the print data received from the host computer is page mode data or standard mode data, and the print data is page mode data. If there is, a received data mode determination unit that expands and stores the print data in the page memory, and in the case of page mode, the print data stored in the page memory is read, and 1 dot line data for printing is read. Sequentially generated and printed by driving the thermal head, When Tan hindered mode, characterized in that it comprises, a print processing unit for printing data received from the host computer initiates printing by driving said thermal head each aligned one dot line.
Here, “print data” refers to data when image data is expanded for printing.
In the thermal printer printing control apparatus of the present invention configured as described above, the host computer acquires information on the memory size of the page memory of the thermal printer. Then, it is determined whether or not the print data for one page to be printed has a size that can be expanded in the page memory in the thermal printer. As a result, if it is determined that the data can be expanded, print data to be printed as a page mode is transmitted to the thermal printer. If it is determined that the data cannot be expanded, the print data for printing in the standard mode is transmitted to the thermal printer. In the thermal printer, the print mode of print data transmitted from the host computer is determined. In the page mode, the print data is temporarily stored in the page memory, and then the print data stored in the page memory is read and printed. In the standard mode, printing is performed every time print data received from the host computer is aligned for one dot line.
Accordingly, it is possible to perform printing by determining an optimum print mode based on the memory size of the page memory mounted on the thermal printer. For this reason, it is possible to print in a page mode having a good print quality as much as possible in terms of memory size, and it is also possible to cope with long printing as required.

また、本発明のサーマルプリンタ印刷制御装置は、前記ホストコンピュータは、印刷対象となるイメージデータを記憶すると共に、印刷を行わせようとするサーマルプリンタと、該サーマルプリンタに実装されたページメモリのメモリサイズとを対応づけて記憶する記憶部を、備え、前記プリンタメモリサイズ取得部は、前記記憶部から前記サーマルプリンタのページメモリのメモリサイズを取得するように構成された、ことを特徴とする。
上記構成からなる本発明のサーマルプリンタ印刷制御装置では、印刷を行わせようとするサーマルプリンタと、該サーマルプリンタに実装されたページメモリのメモリサイズとを対応づけて、予め記憶部に記憶しておく。
これにより、ホストコンピュータでは、予め記憶部に保存されたサーマルプリンタのページメモリのメモリサイズの情報を利用して、イメージデータをページモードで印刷するか、スタンダードモードで印刷するかを判定できる。
In the thermal printer printing control apparatus according to the present invention, the host computer stores image data to be printed, and causes the printer to perform printing, and a memory of a page memory mounted on the thermal printer. The printer memory size acquisition unit is configured to acquire the memory size of the page memory of the thermal printer from the storage unit.
In the thermal printer printing control apparatus of the present invention having the above configuration, the thermal printer to be printed is associated with the memory size of the page memory mounted on the thermal printer and stored in advance in the storage unit. deep.
Thereby, the host computer can determine whether to print the image data in the page mode or the standard mode by using the memory size information of the page memory of the thermal printer stored in the storage unit in advance.

また、本発明のサーマルプリンタ印刷制御装置は、前記ホストコンピュータは、1または2以上のサーマルプリンタと通信接続されると共に、前記プリンタメモリサイズ取得部は、印刷を行わせようとするサーマルプリンタからページメモリのメモリサイズの情報を受信するように構成されたこと、を特徴とする。
上記構成からなる本発明のサーマルプリンタ印刷制御装置では、ホストコンピュータは、1または2以上のサーマルプリンタと通信接続されると共に、印刷を行わせようとするサーマルプリンタからページメモリのメモリサイズの情報を取得する。そして、取得したページメモリのメモリサイズを基にして、最適な印刷モードを判定して印刷を行う。
これにより、サーマルプリンタ印刷制御装置では、印刷を行わせようとするサーマルプリンタのページメモリのメモリサイズが不明な場合にも、サーマルプリンタのページメモリのメモリサイズの情報を取得でき、最適な印刷モードを選択できるようになる。
In the thermal printer printing control apparatus of the present invention, the host computer is connected to one or more thermal printers in communication, and the printer memory size acquisition unit starts printing from the thermal printer to be printed. It is configured to receive information on the memory size of the memory.
In the thermal printer printing control apparatus of the present invention having the above-described configuration, the host computer is connected to one or more thermal printers in communication, and receives information on the memory size of the page memory from the thermal printer to be printed. get. Then, based on the acquired memory size of the page memory, the optimum print mode is determined and printing is performed.
As a result, the thermal printer print control device can acquire information on the memory size of the page memory of the thermal printer even when the memory size of the page memory of the thermal printer to be printed is unknown. Can be selected.

また、本発明のサーマルプリンタ印刷制御方法は、発熱素子が主走査方向にライン状に配設されたサーマルヘッドを感熱紙に押し当て、1ドットラインごとに印刷を行うサーマルプリンタと、前記サーマルプリンタに印刷データを送信して印刷を行わせるホストコンピュータとで構成されるサーマルプリンタ印刷制御装置におけるサーマルプリンタ印刷制御方法であって、印刷する1頁分の印刷データを前記サーマルプリンタのページメモリ上に展開した後に印刷するページモードと、1ライン分の印刷データが確定した時点で印刷を開始するスタンダードモードとで印刷を行えるようにする手順と、印刷対象となる1頁分のイメージデータの全体が前記サーマルプリンタのページメモリに収まると判定された場合は、前記ページモードで印刷し、その他の場合は、スタンダードモードで印刷する手順と、を含むことをする。
上記手順を含む本発明のサーマルプリンタ印刷制御装置では、1頁分の印刷データの全部をサーマルプリンタのページメモリに展開した後に印刷するページモードと、1ライン分の印刷データが確定した時点で印刷を開始するスタンダードモードの2モードで印刷できるようにする。そして、印刷対象となる1頁分のイメージデータを印刷データに展開したデータサイズが、サーマルプリンタのページメモリのメモリサイズに収まると判定された場合は、ページモードで印刷し、その他の場合はスタンダードモードで印刷する。
これにより、サーマルプリンタに実装されたページメモリのメモリサイズを基にして、最適な印刷モードを判定して印刷を行うことができる。このため、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる。
The thermal printer printing control method of the present invention includes a thermal printer that presses a thermal head having heating elements arranged in a line in the main scanning direction against thermal paper and performs printing for each dot line, and the thermal printer. A thermal printer printing control method in a thermal printer printing control apparatus comprising a host computer for sending printing data to the printer and printing the printing data for one page to be printed on the page memory of the thermal printer The procedure for enabling printing in the page mode for printing after development and the standard mode for starting printing when the print data for one line is determined, and the entire image data for one page to be printed are If it is determined that it fits in the page memory of the thermal printer, it is printed in the page mode. And, otherwise, to include a step of printing in the standard mode, the.
In the thermal printer printing control apparatus of the present invention including the above-described procedure, a page mode for printing after all the printing data for one page is expanded in the page memory of the thermal printer and printing is performed when the printing data for one line is determined. Enable to print in 2 modes of standard mode. If it is determined that the data size obtained by expanding the image data for one page to be printed into the print data fits in the memory size of the page memory of the thermal printer, printing is performed in the page mode. Print in mode.
Thus, it is possible to perform printing by determining an optimum print mode based on the memory size of the page memory mounted on the thermal printer. For this reason, it is possible to print in a page mode having a good print quality as much as possible in terms of memory size, and it is also possible to cope with long printing as required.

また、本発明のサーマルプリンタ印刷制御方法は、前記ホストコンピュータ内のCPUにより、前記サーマルプリンタに実装されたページメモリのメモリサイズを取得するプリンタメモリサイズ取得手順と、前記印刷対象となる1頁分のイメージデータを印刷データに展開したデータサイズと前記サーマルプリンタのページメモリのメモリサイズとを比較し、前記1頁分の印刷データが前記サーマルプリンタのページメモリに展開できると判定した場合は、前記ページモードを選択すると共に、前記1頁分の印刷データを前記サーマルプリンタのページメモリに展開できない場合は、前記スタンダードモードを選択するモード切替判定手順と、前記モード切替判定手順により選択された前記ページモードまたはスタンダードモードに応じて、前記サーマルプリンタに送信する印刷データを生成する印刷データ生成手順と、前記印刷データ生成手順により生成された印刷データを前記サーマルプリンタに送信する印刷データ送信手順と、が行われ、前記サーマルプリンタ内のCPUにより、前記ホストコンピュータから印刷データを受信する印刷データ受信手順と、前記ホストコンピュータから受信した印刷データが、ページモードのデータであるか、またはスタンダードモードのデータであるかを判別すると共に、前記印刷データがページモードのデータである場合は、当該印刷データを前記ページメモリに展開して保存する受信データモード判定手順と、ページモードの場合に、前記ページメモリに保存された印刷データを読み出し、印刷用の1ドットラインデータを順次に生成し前記サーマルヘッドを駆動して印刷すると共に、スタンダードモードの場合に、前記ホストコンピュータから受信した印刷データが1ドットライン分揃うごとに前記サーマルヘッドを駆動して印刷を開始する印刷処理手順と、が行われることを特徴とする。
上記手順を含む本発明のサーマルプリンタ印刷制御方法では、ホストコンピュータは、サーマルプリンタのページメモリのメモリサイズの情報を取得する。そして、印刷する1頁分の印刷データが、サーマルプリンタ内のページメモリに全て展開できるサイズであるかどうかを判定する。その結果、展開できると判定した場合は、ページモードとして印刷を行う印刷データをサーマルプリンタに送信する。展開できないと判定した場合は、スタンダードモードとして印刷を行う印刷データをサーマルプリンタに送信する。サーマルプリンタでは、ホストコンピュータから送信される印刷データの印刷モードを判定する。ページモードの場合は、印刷データを一旦ページメモリに保存した後に、該ページメモリに保存された印刷データを読み出して印刷を行う。スタンダードモードの場合は、ホストコンピュータから受信した印刷データが1ドットライン分揃うごとに印刷を行う。
これにより、サーマルプリンタが実装するページメモリのメモリサイズを基にして、最適な印刷モードを判定して印刷を行うことができる。このため、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる。
The thermal printer printing control method of the present invention includes a printer memory size acquisition procedure for acquiring a memory size of a page memory mounted on the thermal printer by a CPU in the host computer, and a print target for one page. When comparing the data size of the image data developed into the print data with the memory size of the page memory of the thermal printer and determining that the print data for one page can be developed into the page memory of the thermal printer, When the page mode is selected and the print data for one page cannot be expanded in the page memory of the thermal printer, the mode switching determination procedure for selecting the standard mode and the page selected by the mode switching determination procedure Depending on the mode or standard mode, A print data generation procedure for generating print data to be transmitted to the thermal printer, and a print data transmission procedure for transmitting the print data generated by the print data generation procedure to the thermal printer. The CPU determines the print data reception procedure for receiving print data from the host computer, and whether the print data received from the host computer is page mode data or standard mode data, and When the print data is page mode data, the received data mode determination procedure for expanding and storing the print data in the page memory, and in the page mode, reading the print data stored in the page memory, Sequentially generate 1 dot line data for printing A print processing procedure for driving the thermal head to start printing each time the print data received from the host computer is aligned for one dot line in the standard mode. It is performed.
In the thermal printer printing control method of the present invention including the above procedure, the host computer acquires information on the memory size of the page memory of the thermal printer. Then, it is determined whether or not the print data for one page to be printed has a size that can be expanded in the page memory in the thermal printer. As a result, if it is determined that the data can be expanded, print data to be printed as a page mode is transmitted to the thermal printer. If it is determined that the data cannot be expanded, the print data for printing in the standard mode is transmitted to the thermal printer. In the thermal printer, the print mode of print data transmitted from the host computer is determined. In the page mode, the print data is temporarily stored in the page memory, and then the print data stored in the page memory is read and printed. In the standard mode, printing is performed every time print data received from the host computer is aligned for one dot line.
Accordingly, it is possible to perform printing by determining an optimum print mode based on the memory size of the page memory mounted on the thermal printer. For this reason, it is possible to print in a page mode having a good print quality as much as possible in terms of memory size, and it is also possible to cope with long printing as required.

本発明のサーマルプリンタ印刷制御装置では、サーマルプリンタが実装するページメモリのメモリサイズを基にして、最適な印刷モードを判定して印刷を行うことができる。このため、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷でき、かつ必要に応じて長尺印刷などにも対応できる。   In the thermal printer printing control apparatus of the present invention, printing can be performed by determining the optimum printing mode based on the memory size of the page memory mounted on the thermal printer. For this reason, it is possible to print in a page mode having a good print quality as much as possible in terms of memory size, and it is also possible to cope with long printing as required.

以下、本発明の実施の形態を添付図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the accompanying drawings.

「第1の実施の形態」
図1は、本発明の実施の形態に係わるサーマルプリンタ印刷制御装置の構成を示す図であり、本発明に関係する部分を示したものである。
“First Embodiment”
FIG. 1 is a diagram showing a configuration of a thermal printer printing control apparatus according to an embodiment of the present invention, and shows portions related to the present invention.

図1に示すサーマルプリンタ印刷制御装置は、印刷対象となるイメージデータ(画像データ)を保持するホストコンピュータ1と、ホストコンピュータ1から受信した印刷データを感熱紙に印刷するサーマルプリンタ2とで構成される。   The thermal printer printing control apparatus shown in FIG. 1 includes a host computer 1 that holds image data to be printed (image data), and a thermal printer 2 that prints print data received from the host computer 1 on thermal paper. The

ホストコンピュータ1は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等を含むコンピュータシステムである。例えば、パーソナルコンピュータ等である。   The host computer 1 is a computer system including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. For example, a personal computer or the like.

ホストコンピュータ1内の記憶部15内には、印刷対象となるイメージデータ(画像デ ータ)が保存されている。また、記憶部15内には、サーマルプリンタの機種(または 、識別番号)と実装されたページメモリのメモリサイズとを対応付けて記録されたテー ブル「機種:ページメモリサイズ」が保存されている。   Image data (image data) to be printed is stored in the storage unit 15 in the host computer 1. The storage unit 15 stores a table “model: page memory size” in which the thermal printer model (or identification number) and the memory size of the mounted page memory are recorded in association with each other. .

ホストコンピュータ1内のプリンタメモリサイズ取得部11は、記憶部15に保存されている上記テーブルを参照し、印刷を行わせようとするサーマルプリンタ2に搭載されているページメモリのメモリサイズを取得する。   The printer memory size acquisition unit 11 in the host computer 1 refers to the table stored in the storage unit 15 and acquires the memory size of the page memory installed in the thermal printer 2 to be printed. .

モード切替判定部12は、記憶部15から取得した印刷対象となる印刷データをメモリに展開した場合の1頁分のデータ量と、サーマルプリンタ2のページメモリ25のメモリサイズとを比較する。そして、1頁分の印刷データがサーマルプリンタ2が実装するページメモリに展開できると判定した場合に、ページモードを選択する。このページモードは、1頁分の印刷データをサーマルプリンタ2のページメモリに全て展開した後に印刷するモードである。また、1頁分の印刷データがページメモリ25に展開できないと判定した場合には、1ライン分の印刷データが揃った時点で印刷を開始するスタンダードモードを選択する。   The mode switching determination unit 12 compares the data amount for one page when the print data to be printed acquired from the storage unit 15 is expanded in the memory and the memory size of the page memory 25 of the thermal printer 2. When it is determined that the print data for one page can be expanded in the page memory mounted on the thermal printer 2, the page mode is selected. This page mode is a mode in which print data for one page is printed after all the data is expanded in the page memory of the thermal printer 2. If it is determined that the print data for one page cannot be expanded in the page memory 25, the standard mode for starting printing when the print data for one line is ready is selected.

印刷データ生成部13は、モード切替判定部12により選択されたページモードまたはスタンダードモードに応じて、サーマルプリンタ2に送信する印刷データを生成する。   The print data generation unit 13 generates print data to be transmitted to the thermal printer 2 according to the page mode or the standard mode selected by the mode switching determination unit 12.

印刷データ送信部14は、印刷データ生成部13により生成された印刷データを、サーマルプリンタ2に送信する処理を行う。なお、ホストコンピュータ1とサーマルプリンタ2とは、それぞれのインタフェース部(I/F)16、22により双方向通信可能に通信接続されており、この通信接続には、USB等を使用することができる。また、所望の場合には、無線LANを使用することもできる。   The print data transmission unit 14 performs processing for transmitting the print data generated by the print data generation unit 13 to the thermal printer 2. The host computer 1 and the thermal printer 2 are communicatively connected via respective interface units (I / F) 16 and 22 so as to enable bidirectional communication. A USB or the like can be used for this communication connection. . Further, if desired, a wireless LAN can be used.

次に、サーマルプリンタ2の構成について説明する。
サーマルプリンタ2において、プリント制御部21は、ホストコンピュータ1から受信した印刷データの印刷処理を行う制御部である。このプリント制御部21は、CPU、ROM、RAM等を含むコンピュータシステムで構成されている。
Next, the configuration of the thermal printer 2 will be described.
In the thermal printer 2, the print control unit 21 is a control unit that performs print processing of print data received from the host computer 1. The print control unit 21 is configured by a computer system including a CPU, a ROM, a RAM, and the like.

プリント制御部21内の印刷データ受信部23は、ホストコンピュータ1から送信される印刷データを、インタフェース部(I/F)22を介して受信する処理を行う。   A print data receiving unit 23 in the print control unit 21 performs a process of receiving print data transmitted from the host computer 1 via the interface unit (I / F) 22.

受信データモード判定部24は、ホストコンピュータ1から送信される印刷データが、ページモードとして送られたデータであるか、または、スタンダードモードとして送られたデータであるかを判定する。ページモードの場合、受信データモード判定部24は印刷データをページメモリ25に展開して保存する。   The reception data mode determination unit 24 determines whether the print data transmitted from the host computer 1 is data transmitted as the page mode or data transmitted as the standard mode. In the page mode, the reception data mode determination unit 24 develops and stores the print data in the page memory 25.

印刷処理部26は、ヘッド駆動回路部41に送信する印刷データを生成する。この印刷処理部26は、ページモード印刷処理部27と、スタンダードモード印刷処理部28とで構成される。   The print processing unit 26 generates print data to be transmitted to the head drive circuit unit 41. The print processing unit 26 includes a page mode print processing unit 27 and a standard mode print processing unit 28.

印刷処理部26内のページモード印刷処理部27は、ページモードの場合に、ページメモリ25に保存された印刷データを読み出し、印刷用の1ドットラインデータを順次に生成して、ヘッド駆動回路部41に送信する。   In the page mode, the page mode print processing unit 27 in the print processing unit 26 reads out print data stored in the page memory 25, sequentially generates one dot line data for printing, and generates a head drive circuit unit. 41.

スタンダードモード印刷処理部28は、スタンダードモードの場合に、ホストコンピュータ1から受信する1ライン分の印刷データが揃った時点で、印刷用の1ドットラインデータを生成して、ヘッド駆動回路部41に送信する。   In the standard mode, the standard mode print processing unit 28 generates one dot line data for printing when the print data for one line received from the host computer 1 is prepared, and sends it to the head drive circuit unit 41. Send.

ヘッド駆動回路部41は、サーマルヘッド42の発熱素子R1〜Rnを駆動する回路部である。サーマルヘッド42上には、主走査方向(紙送り方向と直角の方向)にライン状に発熱素子R1〜Rnが配列されており、選択指定した発熱素子にパルス通電して発熱させることにより、感熱紙上に1ドットラインの印刷を行う。   The head drive circuit unit 41 is a circuit unit that drives the heating elements R <b> 1 to Rn of the thermal head 42. On the thermal head 42, heating elements R1 to Rn are arranged in a line in the main scanning direction (direction perpendicular to the paper feed direction), and heat is generated by applying a pulse to the selected heating element to generate heat. Print one dot line on paper.

モータ制御部29は、紙送り用のモータ52を制御するための処理部である。モータ駆動部51は、モータ制御部29からの制御指令により、モータ52を駆動し、所望の角度だけ回転させるための制御部である。モータ52の回転はプラテン53に伝達され、プラテン53を回転させることにより感熱紙の紙送りを行う。これにより、1ドットライン印刷動作と紙送り動作とを交互に行い、感熱紙上にイメージを発現させる。   The motor control unit 29 is a processing unit for controlling the paper feeding motor 52. The motor drive unit 51 is a control unit for driving the motor 52 in accordance with a control command from the motor control unit 29 and rotating it by a desired angle. The rotation of the motor 52 is transmitted to the platen 53, and the thermal paper is fed by rotating the platen 53. As a result, the one-dot line printing operation and the paper feeding operation are alternately performed to develop an image on the thermal paper.

また、図2は、図1に示すサーマルプリンタ印刷制御装置における処理の流れをフローチャートで示したものである。   FIG. 2 is a flowchart showing the flow of processing in the thermal printer printing control apparatus shown in FIG.

図2を参照して、ホストコンピュータ1のプリンタメモリサイズ取得部11は、記憶部15から、サーマルプリンタ2のページメモリのメモリサイズの情報を取得する(ステップS1)。そして、印刷する用紙全体を印刷データに展開したサイズ、もしくは1頁分のイメージデータを印刷データに展開したサイズと、サーマルプリンタ2のページメモリのメモリサイズとを比較する(ステップS2)。   Referring to FIG. 2, the printer memory size acquisition unit 11 of the host computer 1 acquires the memory size information of the page memory of the thermal printer 2 from the storage unit 15 (step S1). Then, the size in which the entire paper to be printed is expanded into print data or the size in which image data for one page is expanded into print data is compared with the memory size of the page memory of the thermal printer 2 (step S2).

そして、印刷する用紙の印刷データのサイズ、もしくは1頁分の印刷データのサイズが、サーマルプリンタ2内のページメモリ25に全て展開できるサイズであるかを判定する(ステップS3)。その結果、展開可能と判定された場合には(ステップS3:Yes)、ページモードとして印刷する印刷データをサーマルプリンタ2に送信してページモードで印刷を行う(ステップS4)。   Then, it is determined whether the print data size of the paper to be printed or the print data size for one page can be expanded in the page memory 25 in the thermal printer 2 (step S3). As a result, when it is determined that development is possible (step S3: Yes), print data to be printed as the page mode is transmitted to the thermal printer 2 and printing is performed in the page mode (step S4).

一方、ページメモリ25に展開できないと判定された場合には(ステップS3:No)、スタンダードモードとして印刷する印刷データをサーマルプリンタ2に送信して、スタンダードモードで印刷を行う(ステップS5)。   On the other hand, if it is determined that the data cannot be expanded in the page memory 25 (step S3: No), print data to be printed as the standard mode is transmitted to the thermal printer 2 and printing is performed in the standard mode (step S5).

例えば、サーマルプリンタ2内のページメモリ25のメモリサイズが10×10cm用紙サイズまで対応できると仮定した場合、1頁内の印刷データのサイズが10×10cm以下のサイズの場合、ページモードで印刷を実施する。   For example, assuming that the memory size of the page memory 25 in the thermal printer 2 can handle up to 10 × 10 cm paper size, printing is performed in the page mode when the size of print data in one page is 10 × 10 cm or less. carry out.

以上説明したように、本発明のサーマルプリンタ印刷制御装置においては、イメージデータを印刷データに展開してサーマルプリンタで印刷する場合に、メモリサイズ的に可能な限り印刷品質の良好なページモードで印刷する。また、スタンダードモード印刷により、必要に応じて長尺印刷などの印刷にも対応できるようにする。   As described above, in the thermal printer printing control apparatus according to the present invention, when image data is expanded into print data and printed by a thermal printer, printing is performed in a page mode having the best print quality as much as possible in terms of memory size. To do. In addition, standard mode printing enables printing such as long printing as required.

[第2の実施の形態]
図1に示した第1の実施の形態に係わるサーマルプリンタ印刷制御装置では、ホストコンピュータ内の記憶部に、サーマルプリンタに実装されたページメモリのメモリサイズが予め保存されている(予め分かっている)例について説明した。本発明の第2の実施の形態では、ホストコンピュータが、サーマルプリンタのページメモリのメモリサイズの情報を、サーマルプリンタから取得する例について説明する。
[Second Embodiment]
In the thermal printer printing control apparatus according to the first embodiment shown in FIG. 1, the memory size of the page memory mounted in the thermal printer is stored in advance in the storage unit in the host computer (it is known in advance). ) Explained the example. In the second embodiment of the present invention, an example in which the host computer acquires the memory size information of the page memory of the thermal printer from the thermal printer will be described.

図3は、本発明の第2の実施の形態に係わるサーマルプリンタ印刷制御装置の構成を示す図である。   FIG. 3 is a diagram showing a configuration of a thermal printer printing control apparatus according to the second embodiment of the present invention.

図3に示すサーマルプリンタ印刷制御装置が、図1に示すサーマルプリンタ印刷制御装置と構成上異なるのは、図3に示すサーマルプリンタ2Aのプリント制御部21A内に、メモリサイズ送信部31を、新たに追加した点である。他の構成は図1に示すサーマルプリンタ印刷制御装置と同様である。このため、同一の構成部分には同一の符号を付し、重複する説明は省略する。   The thermal printer printing control apparatus shown in FIG. 3 is different from the thermal printer printing control apparatus shown in FIG. 1 in that the memory size transmission unit 31 is newly installed in the printing control unit 21A of the thermal printer 2A shown in FIG. It is a point added to. Other configurations are the same as those of the thermal printer printing control apparatus shown in FIG. For this reason, the same code | symbol is attached | subjected to the same component and the overlapping description is abbreviate | omitted.

図3において、サーマルプリンタ2Aのプリント制御部21A内のメモリサイズ送信部31は、ページメモリ25のメモリサイズの情報を、ホストコンピュータ1に送信するための処理部である。このメモリサイズ送信部31は、ホストコンピュータ1から受信するメモリサイズ送信要求に応じて、メモリサイズの情報をホストコンピュータ1に送信する処理を行う。   In FIG. 3, a memory size transmission unit 31 in the print control unit 21 </ b> A of the thermal printer 2 </ b> A is a processing unit for transmitting information on the memory size of the page memory 25 to the host computer 1. The memory size transmission unit 31 performs a process of transmitting memory size information to the host computer 1 in response to a memory size transmission request received from the host computer 1.

ホストコンピュータ1では、プリンタメモリサイズ取得部11が、サーマルプリンタ2Aに対するメモリサイズ送信要求を発行する。また、プリンタメモリサイズ取得部11は、サーマルプリンタ2Aのメモリサイズ送信部31から受信したメモリサイズの情報を、モード切替判定部12に送信すると共に、記憶部15に保存する。記憶部15に保存する場合は、サーマルプリンタの機種または識別番号と、メモリサイズとを対応付けて記憶部15に記憶する。以後、同じサーマルプリンタを使用して印刷を行う場合は、記憶部15に保存されたメモリサイズの情報を利用することができる。   In the host computer 1, the printer memory size acquisition unit 11 issues a memory size transmission request to the thermal printer 2A. Further, the printer memory size acquisition unit 11 transmits the memory size information received from the memory size transmission unit 31 of the thermal printer 2 </ b> A to the mode switching determination unit 12 and stores it in the storage unit 15. When storing in the storage unit 15, the model or identification number of the thermal printer is associated with the memory size and stored in the storage unit 15. Thereafter, when printing is performed using the same thermal printer, the memory size information stored in the storage unit 15 can be used.

上記構成により、ホストコンピュータにおいて、サーマルプリンタに実装されたページメモリのメモリサイズの情報が不明の場合にも、サーマルプリンタのページメモリの情報を取得して、ページモード、またはスタンダードモードを選択できるようになる。   With the above configuration, even when the memory size information of the page memory mounted on the thermal printer is unknown in the host computer, it is possible to acquire the page memory information of the thermal printer and select the page mode or standard mode. become.

また、図4は、ホストコンピュータ1に複数のプリンタ2Aが接続され、ホストコンピュータ1がプリンタ2Aを選択指定して印刷を行うように構成された例である。この場合にも、ホストコンピュータ1は、印刷を行おうとするサーマルプリンタ2Aからページメモリ25のメモリサイズの情報を取得し、ページモード、またはスタンダードモードを選択して印刷を行うことができる。   FIG. 4 shows an example in which a plurality of printers 2A are connected to the host computer 1, and the host computer 1 selects and designates the printer 2A to perform printing. Also in this case, the host computer 1 can acquire information on the memory size of the page memory 25 from the thermal printer 2A to perform printing, and can perform printing by selecting the page mode or the standard mode.

以上、本発明の実施の形態について説明したが、本発明のサーマルプリンタ印刷制御装置は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   Although the embodiment of the present invention has been described above, the thermal printer printing control apparatus of the present invention is not limited to the above illustrated example, and various modifications are made within the scope not departing from the gist of the present invention. Of course you get.

本発明の第1の実施の形態に係わるサーマルプリンタ印刷制御装置の構成を示す図である。It is a figure which shows the structure of the thermal printer printing control apparatus concerning the 1st Embodiment of this invention. 図1に示すサーマルプリンタ印刷制御装置における処理の流れを示すフローチャートである。3 is a flowchart showing a flow of processing in the thermal printer printing control apparatus shown in FIG. 1. 本発明の第2の実施の形態に係わるサーマルプリンタ印刷制御装置の構成を示す図である。It is a figure which shows the structure of the thermal printer printing control apparatus concerning the 2nd Embodiment of this invention. ホストコンピュータに複数のサーマルプリンタが接続された例を示す図である。It is a figure which shows the example by which the some thermal printer was connected to the host computer.

符号の説明Explanation of symbols

1・・・ホストコンピュータ、2、2A・・・サーマルプリンタ、11・・・プリンタメモリサイズ取得部、12・・・モード切替判定部、13・・・印刷データ生成部、14・・・印刷データ送信部、15・・・記憶部、16・・・インタフェース部、21、21A・・・プリント制御部、22・・・インタフェース部、23・・・印刷データ受信部、24・・・受信データモード判定部、25・・・ページメモリ、26・・・印刷処理部、27・・・ページモード印刷処理部、28・・・スタンダードモード印刷処理部、29・・・モータ制御部、31・・・メモリサイズ送信部、41・・・ヘッド駆動回路部、42・・・サーマルヘッド、51・・・モータ駆動部、52・・・モータ、53・・・プラテン DESCRIPTION OF SYMBOLS 1 ... Host computer, 2 and 2A ... Thermal printer, 11 ... Printer memory size acquisition part, 12 ... Mode switch determination part, 13 ... Print data generation part, 14 ... Print data Transmission unit, 15 ... storage unit, 16 ... interface unit, 21, 21A ... print control unit, 22 ... interface unit, 23 ... print data receiving unit, 24 ... received data mode Determining unit, 25 ... page memory, 26 ... print processing unit, 27 ... page mode print processing unit, 28 ... standard mode print processing unit, 29 ... motor control unit, 31 ... Memory size transmission unit, 41... Head drive circuit unit, 42... Thermal head, 51... Motor drive unit, 52.

Claims (6)

発熱素子が主走査方向にライン状に配設されたサーマルヘッドを感熱紙に押し当て、1ドットラインごとに印刷を行うサーマルプリンタと、前記サーマルプリンタに印刷データを送信して印刷を行わせるホストコンピュータとで構成されるサーマルプリンタ印刷制御装置であって、
印刷する用紙全体の印刷データを前記サーマルプリンタに実装されたメモリ上に展開した後に印刷するページモードと、前記メモリを使用せずに1ライン分の印刷データが確定した時点で印刷を開始するスタンダードモードとで印刷を行えるように構成され、かつ
前記印刷する用紙全体の印刷データのサイズと前記メモリのメモリサイズとを比較し、前記印刷する用紙全体の印刷データが前記メモリに収まると判定された場合は、前記ページモードで印刷し、その他の場合は、スタンダードモードで印刷するように構成されたこと、
を特徴とするサーマルプリンタ印刷制御装置。
A thermal printer that presses a thermal head in which heating elements are arranged in a line in the main scanning direction against thermal paper, and a printer that performs printing for each dot line, and a host that transmits printing data to the thermal printer for printing A thermal printer printing control device comprising a computer,
A page mode for printing after the print data of the entire paper to be printed is expanded on the memory mounted on the thermal printer, and a standard that starts printing when print data for one line is determined without using the memory Configured to print in mode, and
The size of the print data of the whole paper to be printed is compared with the memory size of the memory, and if it is determined that the print data of the whole paper to be printed fits in the memory, printing is performed in the page mode, If configured to print in standard mode,
A thermal printer printing control device characterized by the above.
前記ホストコンピュータは、
前記サーマルプリンタに実装されたメモリのメモリサイズを取得するプリンタメモリサイズ取得部と、
前記印刷する用紙全体のイメージデータを印刷データに展開したデータサイズと前記メモリサイズとを比較し、
前記印刷データが前記メモリに展開できると判定した場合は、前記ページモードを選択すると共に、前記印刷データを前記メモリに展開できない場合は、前記スタンダードモードを選択するモード切替判定部と、
前記モード切替判定部により選択された前記ページモードまたはスタンダードモードに応じて、前記サーマルプリンタに送信する印刷データを生成する印刷データ生成部と、
前記印刷データ生成部により生成された印刷データを前記サーマルプリンタに送信する印刷データ送信部と、
を備え、
前記サーマルプリンタは、
前記ホストコンピュータから印刷データを受信する印刷データ受信部と、
前記ホストコンピュータから受信した印刷データが、ページモードのデータであるか、またはスタンダードモードのデータであるかを判別すると共に、前記印刷データがページモードのデータである場合は、当該印刷データを前記メモリに展開して保存する受信データモード判定部と、
ページモードの場合に、前記メモリに保存された印刷データを読み出し、印刷用の1ドットラインデータを順次に生成し前記サーマルヘッドを駆動して印刷すると共に、スタンダードモードの場合に、前記ホストコンピュータから受信した印刷データが1ドットライン分揃うごとに前記サーマルヘッドを駆動して印刷を開始する印刷処理部と、
を備えることを特徴とする請求項1に記載のサーマルプリンタ印刷制御装置。
The host computer
A printer memory size acquisition unit for acquiring the memory size of the memory mounted in the thermal printer;
Comparing the data size of the image data of the entire paper to be printed into print data and the memory size;
If it is determined that the print data can be expanded in the memory, the page mode is selected, and if the print data cannot be expanded in the memory, a mode switching determination unit that selects the standard mode;
A print data generation unit that generates print data to be transmitted to the thermal printer according to the page mode or the standard mode selected by the mode switching determination unit;
A print data transmission unit that transmits the print data generated by the print data generation unit to the thermal printer;
With
The thermal printer is
A print data receiving unit for receiving print data from the host computer;
It is determined whether the print data received from the host computer is page mode data or standard mode data. If the print data is page mode data, the print data is stored in the memory. Received data mode determination unit that expands and stores
In the page mode, the print data stored in the memory is read, one dot line data for printing is sequentially generated and the thermal head is driven for printing. In the standard mode, the print data is read from the host computer. A print processing unit that starts printing by driving the thermal head every time the received print data is aligned for one dot line;
The thermal printer printing control apparatus according to claim 1, further comprising:
前記ホストコンピュータは、
前記印刷する用紙全体のイメージデータを記憶すると共に、印刷を行わせようとするサーマルプリンタと、該サーマルプリンタに実装されたメモリのメモリサイズとを対応づけて記憶する記憶部を、備え、
前記プリンタメモリサイズ取得部は、
前記記憶部から前記メモリサイズを取得するように構成された、
ことを特徴とする請求項2に記載のサーマルプリンタ印刷制御装置。
The host computer
A storage unit that stores the image data of the entire paper to be printed and stores a thermal printer that is intended to perform printing and a memory size of a memory that is mounted on the thermal printer;
The printer memory size acquisition unit
Configured to obtain the memory size from the storage unit;
The thermal printer printing control apparatus according to claim 2.
前記ホストコンピュータは、
1または2以上のサーマルプリンタと通信接続されると共に、
前記プリンタメモリサイズ取得部は、
印刷を行わせようとするサーマルプリンタから該サーマルプリンタに実装されたメモリのメモリサイズの情報を受信するように構成されたこと、
を特徴とする請求項2に記載のサーマルプリンタ印刷制御装置。
The host computer
Communicatively connected to one or more thermal printers,
The printer memory size acquisition unit
The memory size information of the memory mounted on the thermal printer is received from the thermal printer to be printed.
The thermal printer printing control apparatus according to claim 2.
発熱素子が主走査方向にライン状に配設されたサーマルヘッドを感熱紙に押し当て、1ドットラインごとに印刷を行うサーマルプリンタと、前記サーマルプリンタに印刷データを送信して印刷を行わせるホストコンピュータとで構成されるサーマルプリンタ印刷制御装置におけるサーマルプリンタ印刷制御方法であって、
印刷する用紙全体の印刷データを前記サーマルプリンタに実装されたメモリ上に展開した後に印刷するページモードと、前記メモリを使用せずに1ライン分の印刷データが確定した時点で印刷を開始するスタンダードモードとで印刷を行えるようにする手順と、
前記印刷する用紙全体の印刷データのサイズと前記メモリのメモリサイズとを比較し、前記印刷する用紙全体の印刷データが前記メモリに収まると判定された場合は、前記ページモードで印刷し、その他の場合は、スタンダードモードで印刷する手順と、
を含むことをするサーマルプリンタ印刷制御方法。
A thermal printer that presses a thermal head in which heating elements are arranged in a line in the main scanning direction against thermal paper, and a printer that performs printing for each dot line, and a host that transmits printing data to the thermal printer for printing A thermal printer printing control method in a thermal printer printing control apparatus configured with a computer,
A page mode for printing after the print data of the entire paper to be printed is expanded on the memory mounted on the thermal printer, and a standard that starts printing when print data for one line is determined without using the memory The procedure to enable printing in mode,
The size of the print data of the whole paper to be printed is compared with the memory size of the memory, and if it is determined that the print data of the whole paper to be printed fits in the memory, printing is performed in the page mode, If you want to print in standard mode,
A thermal printer printing control method.
前記ホストコンピュータ内のCPUにより、
前記サーマルプリンタに実装されたメモリのメモリサイズを取得するプリンタメモリサイズ取得手順と、
前記印刷する用紙全体のイメージデータを印刷データに展開したデータサイズと前記メモリサイズとを比較し、
前記印刷データが前記メモリに展開できると判定した場合は、前記ページモードを選択すると共に、前記印刷データを前記メモリに展開できない場合は、前記スタンダードモードを選択するモード切替判定手順と、
前記モード切替判定手順により選択された前記ページモードまたはスタンダードモードに応じて、前記サーマルプリンタに送信する印刷データを生成する印刷データ生成手順と、
前記印刷データ生成手順により生成された印刷データを前記サーマルプリンタに送信する印刷データ送信手順と、
が行われ、
前記サーマルプリンタ内のCPUにより、
前記ホストコンピュータから印刷データを受信する印刷データ受信手順と、
前記ホストコンピュータから受信した印刷データが、ページモードのデータであるか、またはスタンダードモードのデータであるかを判別すると共に、前記印刷データがページモードのデータである場合は、当該印刷データを前記メモリに展開して保存する受信データモード判定手順と、
ページモードの場合に、前記メモリに保存された印刷データを読み出し、印刷用の1ドットラインデータを順次に生成し前記サーマルヘッドを駆動して印刷すると共に、スタンダードモードの場合に、前記ホストコンピュータから受信した印刷データが1ドットライン分揃うごとに前記サーマルヘッドを駆動して印刷を開始する印刷処理手順と、
が行われることを特徴とする請求項5に記載のサーマルプリンタ印刷制御方法。
By the CPU in the host computer,
A printer memory size acquisition procedure for acquiring the memory size of the memory mounted in the thermal printer;
Comparing the data size of the image data of the entire paper to be printed into print data and the memory size;
When it is determined that the print data can be expanded in the memory, the page mode is selected, and when the print data cannot be expanded in the memory, a mode switching determination procedure for selecting the standard mode;
A print data generation procedure for generating print data to be transmitted to the thermal printer according to the page mode or the standard mode selected by the mode switching determination procedure;
A print data transmission procedure for transmitting the print data generated by the print data generation procedure to the thermal printer;
Is done,
By the CPU in the thermal printer,
A print data receiving procedure for receiving print data from the host computer;
It is determined whether the print data received from the host computer is page mode data or standard mode data. If the print data is page mode data, the print data is stored in the memory. Received data mode determination procedure to expand and save to,
In the page mode, the print data stored in the memory is read, one dot line data for printing is sequentially generated and the thermal head is driven for printing. In the standard mode, the print data is read from the host computer. A print processing procedure for starting printing by driving the thermal head every time the received print data is aligned for one dot line;
The thermal printer printing control method according to claim 5, wherein:
JP2007291680A 2007-11-09 2007-11-09 Thermal printer printing control apparatus and thermal printer printing control method Active JP5469299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007291680A JP5469299B2 (en) 2007-11-09 2007-11-09 Thermal printer printing control apparatus and thermal printer printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007291680A JP5469299B2 (en) 2007-11-09 2007-11-09 Thermal printer printing control apparatus and thermal printer printing control method

Publications (2)

Publication Number Publication Date
JP2009113444A JP2009113444A (en) 2009-05-28
JP5469299B2 true JP5469299B2 (en) 2014-04-16

Family

ID=40781118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007291680A Active JP5469299B2 (en) 2007-11-09 2007-11-09 Thermal printer printing control apparatus and thermal printer printing control method

Country Status (1)

Country Link
JP (1) JP5469299B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3183862B2 (en) * 1992-06-19 2001-07-09 キヤノン株式会社 Information processing apparatus and data processing method of information processing apparatus
JPH06336058A (en) * 1993-05-31 1994-12-06 Tokyo Electric Co Ltd Printer
JP3596221B2 (en) * 1997-03-21 2004-12-02 富士ゼロックス株式会社 Image processing device
JP4507526B2 (en) * 2003-08-05 2010-07-21 セイコーエプソン株式会社 Printing control method and apparatus
JP2007207194A (en) * 2006-02-06 2007-08-16 Canon Inc Printer, external device, print system, and method for controlling printer

Also Published As

Publication number Publication date
JP2009113444A (en) 2009-05-28

Similar Documents

Publication Publication Date Title
US20150183214A1 (en) Control apparatus, control method, and program
JP4167699B2 (en) Duplex printing device
US8049770B2 (en) Printing apparatus
JP2006293933A (en) Image forming system, image forming method, information processing apparatus, and image forming apparatus
JP3962537B2 (en) RECORDING DEVICE CONTROL METHOD, COMPUTER DEVICE, STORAGE MEDIUM, RECORDING DEVICE, AND RECORDING SYSTEM
JP5532848B2 (en) Recording control apparatus, control method, and program
JP5469299B2 (en) Thermal printer printing control apparatus and thermal printer printing control method
JP2007105910A (en) Inkjet recorder, and its control method and device
US8137015B2 (en) Image forming method for determining a position of an ink ribbon with a boundary line
JP2013230662A (en) Recording control device, recording device and control method of recording device
JP4586815B2 (en) Recording head durability test system
JP2001270192A (en) Accumulation member of recording materials, image forming apparatus and method for controlling the same
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JP2004167932A (en) Image processor system for inkjet recorder
JP4313981B2 (en) Recording apparatus and recording control method for the recording apparatus
JP5891610B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND IMAGE CORRECTION PROGRAM
JP2008204163A (en) Printing system, processor, and print processing program
JPH10193708A (en) Ink jet recorder
JP2005053191A (en) Printing system and scan start timing control method of printing device
JP2009137235A (en) Printer
JP2005047029A (en) Recorder
WO2018079738A1 (en) Printing apparatus
JP3044134B2 (en) Printing device
JP2005205667A (en) Recorder and recording system
JP2010005970A (en) Printing apparatus, method of controlling printing apparatus, and a control program for printing apparatus

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091105

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091113

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091117

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

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130514

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130711

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140131

R150 Certificate of patent or registration of utility model

Ref document number: 5469299

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250