JPH11277853A - Portable printer - Google Patents

Portable printer

Info

Publication number
JPH11277853A
JPH11277853A JP10084077A JP8407798A JPH11277853A JP H11277853 A JPH11277853 A JP H11277853A JP 10084077 A JP10084077 A JP 10084077A JP 8407798 A JP8407798 A JP 8407798A JP H11277853 A JPH11277853 A JP H11277853A
Authority
JP
Japan
Prior art keywords
format information
portable printer
host machine
print data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10084077A
Other languages
Japanese (ja)
Inventor
Koji Matsuda
興治 松田
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP10084077A priority Critical patent/JPH11277853A/en
Publication of JPH11277853A publication Critical patent/JPH11277853A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten communication time by registering required format information in the memory of a portable printer thereby eliminating the need of receiving format information every time when a print data is received from a host machine. SOLUTION: The CPU of a portable printer makes a decision whether format information is received from a host machine or not (S11) and registers format information in a memory for each number designating the type thereof. Subsequently, the CPU makes a decision whether a receiving data from the host machine is present or not (S15). If a receiving data is present, INDo for specifying the portable printer is checked (S16) and then the number designating the type of format information is checked (S17). When a number designating specified format information is detected, a print data is outputted based on corresponding format information stored in the memory thus performing print processing (S18).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ホスト機から送信
される印字データを受信して印字を行うポータブルプリ
ンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a portable printer which receives print data transmitted from a host machine and performs printing.

【0002】[0002]

【従来の技術】近年、例えば、宅配便の集配担当者等の
便宜を図るために、携帯可能な小型のポータブルプリン
タが普及している。このようなポータブルプリンタで
は、ハンディターミナル等のホスト機から送信される必
要なデータを受信してラベル等の印刷物を発行してい
る。この場合、ポータブルプリンタとホスト機とは、R
S−232C等のケーブルインターフェース、光(赤外
線)インターフェース、或いは無線インターフェースに
より接続される。
2. Description of the Related Art In recent years, portable small-sized printers have become widespread for the convenience of, for example, a person in charge of home delivery and collection. In such a portable printer, necessary data transmitted from a host machine such as a handy terminal is received and printed matter such as a label is issued. In this case, the portable printer and the host machine
The connection is made by a cable interface such as S-232C, an optical (infrared) interface, or a wireless interface.

【0003】また、印字に際し、フォント、文字や数字
のサイズ等、印字データを記録紙上に出力するフォーマ
ット情報に基づいて印字データを印字出力している。例
えば、宅配便等では一取り引き毎にラベル等の印刷物を
印字発行しているが、このような場合には、品名、価
格、数量等を印字出力し、これらのデータをさらにバー
コードにより印字出力することもある。この場合、品
名、価格、数量、バーコード等の印字データの記録紙上
での座標位置や文字等の回転方向はフォーマットされて
いるのが普通である。このような使用形態では、印字デ
ータの座標位置、文字等の回転方向、バーコードの種別
等はフォーマット情報として扱われ、これらのフォーマ
ット情報はその都度ホスト機からポータブルプリンタに
送信している。なお、バーコードの種類は、例えば、U
PC(Universal Product Code)、JAN(Japanese A
rticle Number )、EAN(European Article Number
)等である。
In printing, print data is printed out based on format information for outputting print data on recording paper, such as fonts, character and number sizes, and the like. For example, in courier services, printed materials such as labels are printed and issued for each transaction.In such a case, the product name, price, quantity, etc. are printed out, and these data are further printed out using bar codes. Sometimes. In this case, the coordinate position of print data such as an item name, a price, a quantity, and a barcode on a recording sheet and the rotation direction of characters are usually formatted. In such a usage form, the coordinate position of the print data, the rotation direction of characters and the like, the type of barcode, and the like are treated as format information, and the format information is transmitted from the host machine to the portable printer each time. The type of the barcode is, for example, U
PC (Universal Product Code), JAN (Japanese A
rticle Number), EAN (European Article Number)
).

【0004】[0004]

【発明が解決しようとする課題】従来は、ホスト機から
印字データを送信する度に、その印字データを記録紙上
に出力するフォーマット情報をホスト機からポータブル
プリンタに送信しなければならない。多くのフォーマッ
ト情報を、印字データを送信する度に送信すると、その
分だけ通信時間がかかる。このため、携帯して使用する
ポータブルプリンタやホスト機では、バッテリーを供給
電源としているのでバッテリーの寿命が短くなってしま
う。
Conventionally, every time print data is transmitted from the host machine, format information for outputting the print data on recording paper must be transmitted from the host machine to the portable printer. If a lot of format information is transmitted every time print data is transmitted, it takes a corresponding communication time. For this reason, in a portable printer or a host machine that is used in a portable manner, the life of the battery is shortened because the battery is used as a power supply.

【0005】また、ポータブルプリンタとホスト機との
間のデータの送信手段として、光インターフェース或い
は無線インターフェースを用いた場合には、周囲の環境
により外乱光によるノイズ、或いは電波ノイズの影響を
受けることがあり、通信時間が長いほど悪影響を受け
る。
When an optical interface or a wireless interface is used as a means for transmitting data between the portable printer and the host machine, noises due to disturbance light or radio wave noise may be affected by the surrounding environment. Yes, the longer the communication time, the more adversely the effect.

【0006】[0006]

【課題を解決するための手段】本発明は、バッテリによ
り駆動されホスト機から送信される印字データを印字部
で印字出力するポータブルプリンタにおいて、印字デー
タを記録紙上に出力するためのフォーマット情報を種類
別にメモリに登録するフォーマット情報登録手段と、前
記ホスト機から指定されたフォーマット情報を前記メモ
リから呼び出して設定する設定手段と、この設定手段に
より設定されたフォーマット情報によって前記ホスト機
から送信される印字データを前記印字部によって印字出
力する印字出力手段とを備える。
SUMMARY OF THE INVENTION The present invention relates to a portable printer which is driven by a battery and prints out print data transmitted from a host machine at a printing section, by using format information for outputting print data on recording paper. Format information registering means for separately registering in the memory, setting means for calling and setting format information specified by the host device from the memory, and printing transmitted from the host device based on the format information set by the setting device Print output means for printing out data by the print unit.

【0007】したがって、ポータブルプリンタ側では、
ホスト機から印字データを受信するとともにフォーマッ
ト情報の種類を指定されると、指定されたフォーマット
情報をメモリから呼び出し、設定されたフォーマット情
報に基づいて印字データを印字出力する。
Therefore, on the portable printer side,
When print data is received from the host device and the type of format information is designated, the designated format information is called from the memory, and the print data is printed out based on the set format information.

【0008】[0008]

【発明の実施の形態】本発明の第一の実施の形態を図1
ないし図6に基づいて説明する。図4において、1はプ
リンタ本体である。このプリンタ本体1は一面が開放さ
れたケース2と、このケース2の開放された面を開閉す
るカバー3とよりなる。図5に示すように、このカバー
3は支点軸4により回動自在に保持されている。ケース
2にはロール状に巻回された長尺状の記録紙5を転動自
在に収納するホッパ6が形成されている。本実施例にお
いて、記録紙5は、台紙5aに多数のラベル5bを等間
隔で貼付したものを用いているが、他の記録紙を用いて
もよい。また、ケース2にはホッパ6の底部からカバー
3側に向けて延出する用紙ガイド7が設けられ、この用
紙ガイド7のカバー3に近い部分には、回転自在のプラ
テン8と、このプラテン8の長手方向に沿うラベル剥離
体9とが配設されている。さらに、プリンタ本体1には
バッテリ10が着脱自在に設けられている。
FIG. 1 shows a first embodiment of the present invention.
This will be described with reference to FIG. In FIG. 4, reference numeral 1 denotes a printer main body. The printer body 1 includes a case 2 having an open surface, and a cover 3 for opening and closing the open surface of the case 2. As shown in FIG. 5, the cover 3 is rotatably held by a fulcrum shaft 4. The case 2 is provided with a hopper 6 for rotatably storing the long recording paper 5 wound in a roll shape. In the present embodiment, the recording paper 5 is formed by attaching a large number of labels 5b to the mount 5a at regular intervals, but other recording papers may be used. The case 2 is provided with a paper guide 7 extending from the bottom of the hopper 6 toward the cover 3. A portion of the paper guide 7 near the cover 3 is provided with a rotatable platen 8 and a platen 8. And a label releaser 9 along the longitudinal direction of the label. Further, a battery 10 is provided in the printer main body 1 in a detachable manner.

【0009】カバー3の内面にはヘッド支持体11が支
軸11aを中心に回動自在に設けられ、このヘッド支持
体11にはサーマルヘッド12が板ばね13により一方
向に付勢されて支軸11aを中心に回動自在に保持され
ている。ここで、プラテン8とサーマルヘッド12とに
より印字部14が形成されている。また、カバー3の自
由端側の両側には、スプリング15の付勢力によりプラ
テン8に圧接されたピンチローラ16が回転自在に設け
られている。さらに、カバー3には、サーマルヘッド1
2とピンチローラ16との間に配置されてラベル5bを
排出させるラベル排出口17と、ホッパ6内の記録紙5
の浮きを押える紙押え18とが形成されている。ケース
2にはカバー3の自由端との間で台紙5aを排出させる
台紙排出口19が形成されている。
A head support 11 is provided on the inner surface of the cover 3 so as to be rotatable about a support shaft 11a. A thermal head 12 is biased in one direction by a leaf spring 13 on the head support 11 to support the head. It is held rotatably about a shaft 11a. Here, the printing unit 14 is formed by the platen 8 and the thermal head 12. A pinch roller 16 pressed against the platen 8 by the urging force of a spring 15 is rotatably provided on both sides on the free end side of the cover 3. Further, the thermal head 1 is provided on the cover 3.
A label discharge port 17 disposed between the sheet 2 and the pinch roller 16 for discharging the label 5b;
And a paper presser 18 for suppressing the floating of the paper. The case 2 is provided with a mount discharge port 19 for discharging the mount 5a between the case 2 and the free end of the cover 3.

【0010】図4及び図6に示すように、ケース2の上
面には、電源スイッチ20、ラベルに印字を行わせるフ
ィードスイッチ21、バッテリ10を交換する場合に開
閉する蓋22、受光窓23が設けられている。さらに、
カバー3の両側には係止爪24がスライド自在に設けら
れている(図4参照)。これらの係止爪24は外側に向
けて付勢されてケース2に係止され、カバー3を開放す
るときに係止爪24を矢印マークで示すように内方スラ
イドさせてケース2との係止状態を解除する。
As shown in FIGS. 4 and 6, on the upper surface of the case 2, a power switch 20, a feed switch 21 for performing printing on a label, a lid 22 that opens and closes when the battery 10 is replaced, and a light receiving window 23 are provided. Is provided. further,
Locking claws 24 are slidably provided on both sides of the cover 3 (see FIG. 4). These locking claws 24 are urged outward and locked to the case 2, and when the cover 3 is opened, the locking claws 24 are slid inward as indicated by arrow marks to engage with the case 2. Release the stop state.

【0011】さらに、図6に示すように、プリンタ本体
1のカバー3とは反対側の一面には、オペレータの腰の
あたりに密着される弧面25が形成され、この弧面25
にはオペレータの衣服に対して滑りを少なくするための
滑り止め26と、この滑り止め26に対向してオペレー
タのベルトに引っ掛けられるベルト掛け27とが形成さ
れている。
Further, as shown in FIG. 6, an arc surface 25 is formed on one side of the printer body 1 opposite to the cover 3 so as to be in close contact with the waist of the operator.
Are formed with a non-slip 26 for reducing slippage with respect to the clothes of the operator, and a belt hook 27 which is hooked on the belt of the operator facing the non-slip 26.

【0012】次に、ハードウェアの構成を図3に示す。
CPU28と、このCPU28が実行するプログラム等
の固定データが書き込まれているROM29と、ワーク
データ等の可変データを更新自在に書き込むRAM30
と、印字データを記録紙上に出力するためのフォーマッ
ト情報を登録するメモリ31とがバスライン32を介し
て接続されている。そして、サーマルヘッド12を駆動
するサーマルヘッドドライバ33、プラテン8が連結さ
れたモータ34を駆動するモータドライバ35、各種セ
ンサ36及び電圧検知センサ10aが接続されたセンサ
回路37、カバー3の開閉によりオン、オフするカバー
オープンスイッチ38とフィードスイッチ21とインタ
ーフェース切替スイッチ39とが接続されたスイッチ回
路40、それぞれ接続手段である赤外線インターフェー
ス41及び無線インターフェース42が接続されたイン
ターフェース切替回路43、バッテリ10等がCPU2
8に接続されている。このように、図3に示す回路はプ
リンタ本体1の内部に設けられた基板(図示せず)上に
形成されている。赤外線インターフェース41は、前述
した受光窓23の内方に配置されている。インターフェ
ースは図ではI/Fと記す。
Next, FIG. 3 shows a hardware configuration.
A CPU 28, a ROM 29 in which fixed data such as a program executed by the CPU 28 are written, and a RAM 30 in which variable data such as work data is renewably written
And a memory 31 for registering format information for outputting print data on recording paper are connected via a bus line 32. A thermal head driver 33 for driving the thermal head 12, a motor driver 35 for driving a motor 34 to which the platen 8 is connected, a sensor circuit 37 to which various sensors 36 and the voltage detection sensor 10 a are connected, , A switch circuit 40 to which the cover open switch 38 to be turned off, the feed switch 21, and the interface switch 39 are connected, an interface switching circuit 43 to which an infrared interface 41 and a wireless interface 42 as connection means are connected, the battery 10, and the like. CPU2
8 is connected. As described above, the circuit shown in FIG. 3 is formed on a substrate (not shown) provided inside the printer main body 1. The infrared interface 41 is arranged inside the light receiving window 23 described above. The interface is described as I / F in the figure.

【0013】このようなポータブルプリンタは、記録紙
5をセットする場合にカバー3を開放し、ロール状に巻
回された記録紙5をプリンタ本体1のホッパ6に収納
し、カバー3が開放されている状態で記録紙5の先端を
プラテン8及びラベル剥離体9を覆う位置まで引き出
し、カバー3を閉止する。これにより、図5に示すよう
に、記録紙5の台紙5aの先端部分が、サーマルヘッド
12とピンチローラ16とによりプラテン8上に圧接さ
れ、また、ラベル剥離体9により台紙5aの引き出し経
路が鋭角に折曲され、ホッパ6の底面からの記録紙5の
浮きが紙押え18により阻止される。記録紙5をセット
したプリンタ本体1は、机上に置いて使用することも可
能であるが、通常はオペレータの腰に装着した状態で使
用する。そして、電源スイッチ20をオンにし、ハンデ
ィターミナル等のホスト機(図示せず)から印字データ
を入力して印字を行う。このホスト機は、キーボード等
のデータ入力手段、入力したデータや動作状態を表示す
る表示手段を備えた携帯用の小型コンピュータを構成す
るものである。
In such a portable printer, when the recording paper 5 is set, the cover 3 is opened, and the recording paper 5 wound in a roll is stored in the hopper 6 of the printer body 1, and the cover 3 is opened. In this state, the leading end of the recording paper 5 is pulled out to a position covering the platen 8 and the label peeling body 9, and the cover 3 is closed. As a result, as shown in FIG. 5, the leading end of the backing sheet 5 a of the recording paper 5 is pressed against the platen 8 by the thermal head 12 and the pinch roller 16, and the drawing path of the backing sheet 5 a is moved by the label releaser 9. The recording paper 5 is bent at an acute angle and is prevented from floating from the bottom surface of the hopper 6 by the paper presser 18. Although the printer main body 1 on which the recording paper 5 is set can be used by placing it on a desk, it is usually used while being attached to the waist of an operator. Then, the power switch 20 is turned on, and printing is performed by inputting print data from a host device (not shown) such as a handy terminal. This host device constitutes a small portable computer having data input means such as a keyboard and display means for displaying input data and operation status.

【0014】本実施の形態では宅配業務に伴い一取り引
き毎にラベルを印字発行する例で説明する。以下、図1
に示すフローチャートを参照し、ホスト機からポータブ
ルプリンタへのデータの送信処理について説明する。ホ
スト機は、ポータブルプリンタに必要なフォーマット情
報を送信したか否かを判断し(S1)、フォーマット情
報を送信したと判断したとき(S1のY)はステップS
6に移行し、送信していないと判断したときは(S1の
N)、ポータブルプリンタにフォーマット情報送信開始
コマンドを送信し(S2)、続いて、フォーマット情報
をその種類を特定する番号のデータと共に送信する(S
3)。この例におけるフォーマット情報は、品名、価
格、数量、バーコード等の印字データのラベル5b上で
の座標位置や文字及び数字の回転方向、フォント、文字
や数字のサイズ、バーコードの種類等である。フォーマ
ット情報を送信したと判断したときに(S4のY)、ポ
ータブルプリンタにフォーマット情報送信終了コマンド
を送信する(S5)。ポータブルプリンタ側の処理につ
いては後で述べるが、ポータブルプリンタ側からフォー
マット情報の登録処理が終了した旨の信号を受信したも
のと判断したときは(S6のY)、ステップS7に移行
する。
In this embodiment, an example will be described in which a label is printed and issued for each transaction in accordance with home delivery. Hereinafter, FIG.
The process of transmitting data from the host device to the portable printer will be described with reference to the flowchart shown in FIG. The host machine determines whether or not necessary format information has been transmitted to the portable printer (S1). If it determines that the format information has been transmitted (Y of S1), the process proceeds to step S1.
6, when it is determined that the format information has not been transmitted (N in S1), a format information transmission start command is transmitted to the portable printer (S2), and the format information is transmitted together with the data of the number specifying the type of the format information. Send (S
3). The format information in this example is a coordinate position on the label 5b of print data such as a product name, a price, a quantity, a barcode, a rotation direction of characters and numbers, a font, a size of characters and numbers, a type of barcode, and the like. . When it is determined that the format information has been transmitted (Y in S4), a format information transmission end command is transmitted to the portable printer (S5). Although the process on the portable printer side will be described later, when it is determined that a signal indicating that the format information registration process has been completed has been received from the portable printer side (Y in S6), the process proceeds to step S7.

【0015】複数種のラベル5bを使い分けて発行する
場合には、それぞれのラベル5b毎にフォーマット情報
が異なる場合もあるので、そのためにステップS7で
は、ポータブルプリンタに必要なフォーマット情報を全
て送信したか否かを判断する(S7)。送信していない
と判断したとき(S7のN)はステップS2に移行し、
送信したと判断したとき(S7のY)はフォーマット情
報の送信を行わない。そして、印字を開始する場合に
は、まず、フォーマット情報の種類を指定するナンバー
をポータブルプリンタに送信し(S8)、その後に実際
の印字データを送信する(S9)。この場合、赤外線イ
ンターフェース41又は無線インターフェース42を用
いてデータを送信しているので、フォーマット情報の種
類を指定するナンバーをポータブルプリンタに送信する
(S8)前に、複数のポータブルプリンタがデータを受
信する場合を想定してポータブルプリンタを特定するI
Dナンバーを送信する。
When a plurality of types of labels 5b are issued separately, format information may be different for each label 5b. Therefore, in step S7, it is determined whether all format information necessary for the portable printer has been transmitted. It is determined whether or not it is (S7). When it is determined that the data has not been transmitted (N in S7), the process proceeds to step S2,
When it is determined that the format information has been transmitted (Y in S7), the format information is not transmitted. When printing is to be started, first, a number designating the type of format information is transmitted to the portable printer (S8), and then actual print data is transmitted (S9). In this case, since the data is transmitted using the infrared interface 41 or the wireless interface 42, the plurality of portable printers receive the data before transmitting the number specifying the type of format information to the portable printer (S8). I Identify Portable Printer Assuming Case
Send the D number.

【0016】次に、図2に示すフローチャートを参照
し、ポータブルプリンタ側の処理について説明する。ポ
ーブルプリンタ側では電源スイッチ20をオンにすると
ともに、ホスト機からのデータの通信方式に合わせ、赤
外線インターフェース41を使用するか無線インターフ
ェース42を使用するかをインターフェース切替回路4
3により切り替えて待機する。この切り替えはインター
フェース切替スイッチ39により行う。
Next, the processing on the portable printer side will be described with reference to the flowchart shown in FIG. On the portable printer side, the power switch 20 is turned on, and the interface switching circuit 4 determines whether to use the infrared interface 41 or the wireless interface 42 in accordance with the data communication method from the host machine.
3 to switch and wait. This switching is performed by the interface switch 39.

【0017】CPU28はホスト機からフォーマット情
報を受信したか否かを判断し(S11)、受信したもの
と判断したときは(S11のY)、そのフォーマット情
報をその種類を指定するナンバー毎にメモリ31に登録
する(S12)。続いて、フォーマット情報の登録を終
了したものと判断したときは(S13のY)、ホスト機
に登録終了信号を送信する(S14)。送信した信号は
ホスト機で認識される(図2のS6)。
The CPU 28 determines whether or not format information has been received from the host machine (S11). If it is determined that the format information has been received (Y in S11), the format information is stored in a memory for each number designating its type. 31 (S12). Subsequently, when it is determined that the registration of the format information has been completed (Y in S13), a registration end signal is transmitted to the host device (S14). The transmitted signal is recognized by the host device (S6 in FIG. 2).

【0018】続いて、ポータブルプリンタのCPU28
はホスト機からの受信データの有無を判断する(S1
5)。この受信データには、ポータブルプリンタを特定
するIDNo、フォーマット情報の種類を指定する指定
ナンバー、印字データが含まれる。受信データがあるも
のと判断したときは(S15のY)、IDNoをチェッ
クし(S16)、このポータブルプリンタがデータの受
信対象機であると判断したときは(S16のY)、フォ
ーマット情報の種類を指定するナンバーをチェックする
(S17)。そして、指定されたフォーマット情報の指
定ナンバーを検出したときは(S17のY)、その指定
されたフォーマット情報がメモリ31に登録されている
ので、該当するフォーマット情報に基づいて印字データ
をサーマルヘッド12に出力して印字処理を行う(S1
8)。この印字処理の過程においては、プラテン8を駆
動すると台紙5aがラベル剥離体9により鋭角に折曲さ
れた状態で引き出され、印字済みのラベル5bが台紙5
aから剥離されてラベル排出口17から発行される。
Subsequently, the CPU 28 of the portable printer
Determines whether there is data received from the host machine (S1).
5). The received data includes an ID number for specifying the portable printer, a specified number for specifying the type of format information, and print data. If it is determined that there is received data (Y in S15), the ID number is checked (S16). If it is determined that this portable printer is a data receiving device (Y in S16), the type of format information is determined. Is checked (S17). When the designated number of the designated format information is detected (Y in S17), since the designated format information is registered in the memory 31, the print data is transferred based on the corresponding format information. And print processing (S1)
8). In the printing process, when the platen 8 is driven, the backing sheet 5a is pulled out in a state where it is bent at an acute angle by the label peeling body 9, and the printed label 5b is removed.
a is released from the label discharge port 17.

【0019】このように、ポータブルプリンタのメモリ
31に必要なフォーマット情報を登録しておくことがで
きるので、ホスト機から印字データを受信する度に、そ
の印字データをフォーマット情報を受信する必要がな
い。これにより、ホスト機との通信時間を短縮すること
ができる。したがって、バッテリ10の寿命を延長する
ことができる。さらに、通信時間を短縮することができ
るため、光信号によるデータを赤外線インターフェース
41を介して受信する場合でも、或いは電波信号による
データを無線インターフェース42を介して受信する場
合でも、ノイズによる影響を少なくすることができる。
As described above, since necessary format information can be registered in the memory 31 of the portable printer, it is not necessary to receive the print data every time print data is received from the host machine. . Thereby, the communication time with the host device can be reduced. Therefore, the life of the battery 10 can be extended. Further, since the communication time can be shortened, the influence of noise is reduced even when data based on an optical signal is received via the infrared interface 41 or when data based on a radio signal is received via the wireless interface 42. can do.

【0020】次に、本発明の第二の実施の形態について
説明する。本実施の形態は、ホスト機からポータブルプ
リンタへのデータの送信をRS−232Cケーブルイン
ターフェース(図示せず)を用いて行う例である。本実
施の形態における構成は、図3における赤外線インター
フェース41、無線インターフェース42に代えてRS
−232CケーブルインターフェースをCPU28に接
続した例である。この場合、インターフェース切替スイ
ッチ39、インターフェース切替回路43は不要であ
る。もちろん、赤外線インターフェース41、無線イン
ターフェース42、RS−232Cケーブルインターフ
ェースを使い分けるようにしてもよい。他の構成は前実
施の形態と同様であるので説明を省略する。
Next, a second embodiment of the present invention will be described. This embodiment is an example in which data transmission from a host device to a portable printer is performed using an RS-232C cable interface (not shown). The configuration in the present embodiment is different from the infrared interface 41 and the wireless interface 42 in FIG.
This is an example in which a −232C cable interface is connected to the CPU 28. In this case, the interface changeover switch 39 and the interface changeover circuit 43 are unnecessary. Of course, the infrared interface 41, the wireless interface 42, and the RS-232C cable interface may be selectively used. The other configuration is the same as that of the previous embodiment, and the description is omitted.

【0021】RS−232Cケーブルインターフェース
を用いた場合は、ホスト機からのデータを受信するポー
タブルプリンタが特定されるため、ポータブルプリンタ
を特定するIDNoはホスト機からは送信しない。
When the RS-232C cable interface is used, a portable printer that receives data from the host machine is specified, and therefore, the ID number for specifying the portable printer is not transmitted from the host machine.

【0022】ポータブルプリンタでは、図7に示すフロ
ーチャートに示すように、CPU28はホスト機からフ
ォーマット情報を受信したか否かを判断し(S21)、
受信したものと判断したときは(S21のY)、そのフ
ォーマット情報をその種類を指定するナンバー毎にメモ
リ31に登録する(S22)。続いて、フォーマット情
報の登録を終了したものと判断したときは(S23の
Y)、ホスト機に登録終了信号を送信する(S24)。
送信した信号はホスト機で認識される(図2のS6)。
In the portable printer, as shown in the flowchart of FIG. 7, the CPU 28 determines whether or not format information has been received from the host machine (S21).
If it is determined that the format information has been received (Y in S21), the format information is registered in the memory 31 for each number designating the type (S22). Subsequently, when it is determined that the registration of the format information has been completed (Y in S23), a registration end signal is transmitted to the host device (S24).
The transmitted signal is recognized by the host device (S6 in FIG. 2).

【0023】続いて、ポータブルプリンタのCPU28
はホスト機からの受信データの有無を判断する(S2
5)。この受信データには、フォーマット情報の種類を
指定する指定ナンバー、印字データが含まれる。受信デ
ータがあるものと判断したときは(S25のY)、フォ
ーマット情報の種類を指定するナンバーをチェックする
(S26)。そして、指定されたフォーマット情報の指
定ナンバーを検出したときは(S26のY)、その指定
されたフォーマット情報がメモリ31に登録されている
ので、該当するフォーマット情報に基づいて印字データ
をサーマルヘッド12に出力して印字処理を行う(S2
7)。
Subsequently, the CPU 28 of the portable printer
Determines whether there is data received from the host machine (S2).
5). The received data includes a designated number for designating the type of format information and print data. If it is determined that there is received data (Y in S25), the number specifying the type of format information is checked (S26). When the designated number of the designated format information is detected (Y in S26), since the designated format information is registered in the memory 31, the print data is transferred to the thermal head 12 based on the corresponding format information. And print processing is performed (S2
7).

【0024】前実施の形態においては、フォーマット情
報をホスト機からポータブルプリンタのメモリ31に送
信して登録する例で説明したが、必要なフォーマット情
報をポータブルプリンタのメモリ31に予め登録してお
いてもよいものである。
In the above embodiment, an example has been described in which format information is transmitted from the host machine to the memory 31 of the portable printer and registered. However, necessary format information is registered in the memory 31 of the portable printer in advance. Is also good.

【0025】また、フォーマット情報を登録するメモリ
31は、この例ではEROMであるが、DRAMやSR
AM等のような他の記憶媒体を用いてもよい。また、ホ
スト機から受信する印字データは、一旦記憶媒体に格納
してからサーマルヘッド12に出力するが、印字データ
を格納する記憶媒体をフォーマット情報を記憶する記憶
媒体と共用するようにしてもよい。
The memory 31 for registering the format information is an EROM in this example.
Other storage media such as AM may be used. The print data received from the host machine is temporarily stored in a storage medium and then output to the thermal head 12, but the storage medium storing the print data may be shared with the storage medium storing the format information. .

【0026】ここで、図1におけるS12及び図7にお
けるS22は、印字データを記録紙上に出力するための
フォーマット情報をメモリ31に登録するフォーマット
情報登録手段に相当する。また、図1におけるS17及
び図7におけるS26は、ホスト機から指定されたフォ
ーマット情報をメモリ31から呼び出して設定する設定
手段に相当する。さらに、図1におけるS18及び図7
におけるS27は、設定手段により設定されたフォーマ
ット情報によって前記ホスト機から送信される印字デー
タを前記印字部によって印字出力する印字出力手段に相
当する。
Here, S12 in FIG. 1 and S22 in FIG. 7 correspond to format information registration means for registering format information for outputting print data on recording paper in the memory 31. S17 in FIG. 1 and S26 in FIG. 7 correspond to setting means for calling and setting the format information specified by the host device from the memory 31. Further, S18 in FIG. 1 and FIG.
S27 corresponds to print output means for printing out the print data transmitted from the host machine by the printing unit according to the format information set by the setting means.

【0027】[0027]

【発明の効果】本発明は、バッテリにより駆動されホス
ト機から送信される印字データを印字部で印字出力する
ポータブルプリンタにおいて、印字データを記録紙上に
出力するためのフォーマット情報を種類別にメモリに登
録するフォーマット情報登録手段と、前記ホスト機から
指定されたフォーマット情報を前記メモリから呼び出し
て設定する設定手段と、この設定手段により設定された
フォーマット情報によって前記ホスト機から送信される
印字データを前記印字部によって印字出力する印字出力
手段とを備えるので、ポータブルプリンタのメモリに必
要なフォーマット情報を登録しておくことができ、これ
により、ホスト機から印字データを受信する度に、フォ
ーマット情報を受信する必要がなく、これにより、ホス
ト機との通信時間を短縮することができる。したがっ
て、バッテリの寿命を延長することができる。さらに、
通信時間を短縮することができるため、光信号によるデ
ータを赤外線インターフェースを介して受信する場合で
も、或いは電波信号によるデータを無線インターフェー
スを介して受信する場合でも、ノイズによる影響を少な
くすることができる。
According to the present invention, in a portable printer which is driven by a battery and prints out print data transmitted from a host machine in a print section, format information for outputting print data on recording paper is registered in a memory for each type. Format information registering means, setting means for calling and setting format information designated by the host machine from the memory, and printing the print data transmitted from the host machine according to the format information set by the setting means. And a print output unit for printing out by the unit, so that the necessary format information can be registered in the memory of the portable printer, thereby receiving the format information every time print data is received from the host machine. There is no need for this, which allows communication time with the host machine It can be shortened. Therefore, the life of the battery can be extended. further,
Since the communication time can be shortened, the influence of noise can be reduced even when data based on an optical signal is received via an infrared interface or when data based on a radio signal is received via a wireless interface. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第一の実施の形態におけるホスト機側
のデータの処理を示すフローチャートである。
FIG. 1 is a flowchart showing data processing on a host device side according to a first embodiment of the present invention.

【図2】ポータブルプリンタ側のデータの処理を示すフ
ローチャートである。
FIG. 2 is a flowchart illustrating data processing on the portable printer side.

【図3】ハードウェア構成を示すブロック図である。FIG. 3 is a block diagram illustrating a hardware configuration.

【図4】ポータブルプリンタの外観を表側から示す斜視
図である。
FIG. 4 is a perspective view showing the appearance of the portable printer from the front side.

【図5】ポータブルプリンタの内部構造を示す水平断面
図である。
FIG. 5 is a horizontal sectional view showing the internal structure of the portable printer.

【図6】ポータブルプリンタの外観を裏側から示す斜視
図である。
FIG. 6 is a perspective view showing the appearance of the portable printer from the back side.

【図7】本発明の第一の実施の形態におけるポータブル
プリンタ側のデータの処理を示すフローチャートであ
る。
FIG. 7 is a flowchart illustrating data processing on the portable printer side according to the first embodiment of the present invention.

【符号の説明】[Explanation of symbols]

5 記録紙 10 バッテリ 14 印字部 31 メモリ 41,42 接続手段 S12,S22 フォーマット情報登録手段 S17,S26 設定手段 S18,S27 印字出力手段 5 Recording paper 10 Battery 14 Printing unit 31 Memory 41, 42 Connection means S12, S22 Format information registration means S17, S26 Setting means S18, S27 Print output means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バッテリにより駆動されホスト機から送
信される印字データを印字部で印字出力するポータブル
プリンタにおいて、印字データを記録紙上に出力するた
めのフォーマット情報を種類別にメモリに登録するフォ
ーマット情報登録手段と、前記ホスト機から指定された
フォーマット情報を前記メモリから呼び出して設定する
設定手段と、この設定手段により設定されたフォーマッ
ト情報によって前記ホスト機から送信される印字データ
を前記印字部によって印字出力する印字出力手段とを備
えることを特徴とするポータブルプリンタ。
1. A portable printer, which is driven by a battery and prints out print data transmitted from a host machine by a printing unit, registers format information for outputting print data on recording paper in a memory for each type. Means, setting means for calling and setting format information designated by the host machine from the memory, and print data transmitted from the host machine according to the format information set by the setting means, which is output by the printing unit. A portable printer, comprising:
JP10084077A 1998-03-30 1998-03-30 Portable printer Pending JPH11277853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10084077A JPH11277853A (en) 1998-03-30 1998-03-30 Portable printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10084077A JPH11277853A (en) 1998-03-30 1998-03-30 Portable printer

Publications (1)

Publication Number Publication Date
JPH11277853A true JPH11277853A (en) 1999-10-12

Family

ID=13820436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10084077A Pending JPH11277853A (en) 1998-03-30 1998-03-30 Portable printer

Country Status (1)

Country Link
JP (1) JPH11277853A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002019229A (en) * 2000-07-11 2002-01-23 Sato Corp Portable printer
JP2006305907A (en) * 2005-04-28 2006-11-09 Toshiba Tec Corp Portable printer
JP2007172023A (en) * 2005-12-19 2007-07-05 Pfu Ltd Coupon printing method
JP2011148140A (en) * 2010-01-20 2011-08-04 Brother Industries Ltd Printing label forming apparatus
JP2011148141A (en) * 2010-01-20 2011-08-04 Brother Industries Ltd Printing label forming apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002019229A (en) * 2000-07-11 2002-01-23 Sato Corp Portable printer
JP2006305907A (en) * 2005-04-28 2006-11-09 Toshiba Tec Corp Portable printer
JP4568162B2 (en) * 2005-04-28 2010-10-27 東芝テック株式会社 Portable printer and index registration method
JP2007172023A (en) * 2005-12-19 2007-07-05 Pfu Ltd Coupon printing method
JP4643432B2 (en) * 2005-12-19 2011-03-02 株式会社Pfu Coupon printing method, coupon issuing system and server
JP2011148140A (en) * 2010-01-20 2011-08-04 Brother Industries Ltd Printing label forming apparatus
JP2011148141A (en) * 2010-01-20 2011-08-04 Brother Industries Ltd Printing label forming apparatus

Similar Documents

Publication Publication Date Title
WO2004000564A1 (en) Tape printer and tape cassette
US10055172B2 (en) Printer configured to receive print job communicated from operation terminal after determining that print job is acceptable
JP6909111B2 (en) Printer
JPH11277853A (en) Portable printer
JP6115025B2 (en) Medium processing apparatus and POS system
WO2010050245A1 (en) Printing apparatus and printing method
JP2013244628A (en) Medium processor and pos system
JP4240392B2 (en) Checkout terminal and checkout method
EP3521045B1 (en) Printer and printer control method
JP3720652B2 (en) Download method and portable printer used in this download method
JP2001274930A (en) Small portable terminal
US20210240421A1 (en) State monitoring in printer system
JPH0634250B2 (en) Printing device for labels, tags, etc.
JP3261154B2 (en) Printing device
JP3684999B2 (en) Mouse device with built-in printer
JPH09248924A (en) Thermal printer
JP3920639B2 (en) Printer
JPH1044554A (en) Printing apparatus
JP4723125B2 (en) Label printer
JP5924126B2 (en) Medium processing apparatus and POS system
JP2000062261A (en) Printing apparatus
JP2001019214A (en) Printer and its program recording medium
JP3601307B2 (en) Printing device
JPH04310768A (en) Printer equipped with scanner
KR0159892B1 (en) Ribbon cassette coiling device and driving method of cash register

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080909

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090122