JPH04276817A - Printer for issuing continuous numbers - Google Patents
Printer for issuing continuous numbersInfo
- Publication number
- JPH04276817A JPH04276817A JP3037677A JP3767791A JPH04276817A JP H04276817 A JPH04276817 A JP H04276817A JP 3037677 A JP3037677 A JP 3037677A JP 3767791 A JP3767791 A JP 3767791A JP H04276817 A JPH04276817 A JP H04276817A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- serial number
- data
- numbers
- serial
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 abstract description 3
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は連続番号を発行できるプ
リンタ装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device capable of issuing consecutive numbers.
【0002】0002
【従来の技術】製品の品質管理や保証管理を円滑に行う
ため、製品毎、あるいは製品ロット毎に連続番号を付す
ことが行われている。そして従来、外部の制御用コンピ
ュータからプリンタに、連続番号の開始番号、インクリ
メント又はデクリメントするステップ、発行する枚数等
のデータを与え、これに基きプリンタがラベル等に連続
番号を印字することが行われている。2. Description of the Related Art In order to smoothly perform product quality control and warranty management, it is common practice to assign serial numbers to each product or product lot. Conventionally, data such as the starting number of a serial number, steps to increment or decrement, and the number of sheets to be printed are given to the printer from an external control computer, and the printer prints serial numbers on labels etc. based on this data. ing.
【0003】0003
【発明が解決しようとする課題】ところで従来の連続番
号発行プリンタ装置は、外部の制御用コンピュータ側に
連続番号の開始番号等連続番号を制御する機能をもたせ
ているので、外部の制御用コンピュータとプリンタとを
組合わせて使用するとき、同じ番号を2枚以上発行して
しまう危険性があった。又複数の外部の制御用コンピュ
ータと複数の従来のプリンタとの組合せでは、前記危険
性が更に大になるという問題があった。更に連続番号発
行時点では、重複した番号が発行されているか否かの確
認をすることが困難であった。[Problems to be Solved by the Invention] In the conventional serial number issuing printer device, the external control computer has a function to control the serial numbers such as the start number of the serial numbers. When used in combination with a printer, there was a risk of issuing two or more copies of the same number. Furthermore, when a plurality of external control computers and a plurality of conventional printers are combined, the above-mentioned danger becomes even greater. Furthermore, at the time of issuing consecutive numbers, it was difficult to confirm whether duplicate numbers had been issued.
【0004】0004
【課題を解決するための手段】本発明は上記に鑑み、印
字発行される連続番号が全く独立な連続番号であること
を保証できる連続番号発行プリンタ装置を提供すること
を目的とし、この目的を達成するため、印字発行毎に連
続番号データをインクリメント又はデクリメントするカ
ウタ機能を持つ内部制御装置と、無電源で前記連続番号
データを保持できる記憶装置と、記憶装置に保持された
連続番号データに基いて連続番号の印字を行う印字装置
とを備えたプリンタと、このプリンタに通信可能に接続
された外部制御装置とから連続番号発行プリンタ装置を
構成したことを特徴とするものである。[Means for Solving the Problems] In view of the above, an object of the present invention is to provide a serial number issuing printer device that can guarantee that the serial numbers printed and issued are completely independent serial numbers. In order to achieve this, an internal control device has a counter function that increments or decrements the serial number data each time printing is issued, a storage device that can hold the serial number data without power supply, and a storage device that is based on the serial number data held in the storage device. The present invention is characterized in that a serial number issuing printer device is constructed from a printer equipped with a printing device for printing serial numbers, and an external control device communicably connected to the printer.
【0005】前記内部制御装置は、通常のプリンタの制
御装置として用いられる1チップコンピュータの一部を
用いて容易に構成できる。又前記記憶装置として、EE
PROM(Electrically Erasabl
e and Programmable Read O
nly Memory )を用いると、信頼性が高く好
適である。[0005] The internal control device can be easily constructed using a part of a one-chip computer used as a control device for a normal printer. Further, as the storage device, EE
PROM (Electrically Erasable
e and Programmable Read O
nly Memory ) is highly reliable and suitable.
【0006】連続番号を数字を用いて印字してもよいが
、バーコードを用いて印字してもよい。バーコードを用
いて連続番号を印字することにより、連続番号の読取り
の機械処理が可能となり、検索、通信、検査等の容易な
連続番号発行プリンタ装置を提供できる。[0006] The serial number may be printed using numbers, or may be printed using a bar code. By printing serial numbers using barcodes, it is possible to read the serial numbers mechanically, and it is possible to provide a serial number issuing printer device that facilitates searching, communication, inspection, etc.
【0007】又連続番号の印字位置と印字フォントの種
類のデータを、外部制御装置からプリンタに送信するよ
うに構成すると、印字の書式の自由度を失わない連続番
号発行プリンタ装置とすることができる。[0007] Furthermore, by configuring data such as the printing position of serial numbers and the type of printing font to be sent from an external control device to the printer, it is possible to obtain a serial number issuing printer device that does not lose flexibility in printing format. .
【0008】又前記記憶装置に独立した複数の連続番号
データを保持させ、どの連続番号データを用いるかの選
択データを、外部制御装置からプリンタに送信するよう
に構成すれば、異種の製品に対しては別の連続番号のセ
ットを印字発行できる連続番号発行プリンタ装置を提供
することができる。[0008] Furthermore, if the storage device is configured to hold a plurality of independent serial number data, and data for selecting which serial number data is to be used is sent from the external control device to the printer, it is possible to Therefore, it is possible to provide a serial number issuing printer device that can print and issue another set of serial numbers.
【0009】更に前記記憶装置に保持された連続番号デ
ータに基いて印字装置により印字される連続番号は、連
続番号データのすべてをそのまま用いてもよいが、その
一部を用いたり、一定の加工を加えたものを用いたりし
てもよい。そして、印字する番号文字列にチェック文字
を含むように構成すると、信用度のより一層向上した連
続番号発行プリンタ装置を提供することができる。Furthermore, the serial numbers printed by the printing device based on the serial number data held in the storage device may use all of the serial number data as is, but may use a part of it or undergo certain processing. You may also use one with the addition of . By configuring the number character string to be printed to include a check character, it is possible to provide a serial number issuing printer device with further improved reliability.
【0010】0010
【作用】本発明によれば、プリンタ側に印字発行毎に連
続番号データをインクリメント又はデクリメントするカ
ウンタ機能を持たせると共に、その連続番号データを無
電源で保持できる機能を持たせているので、常に独立し
た連続番号の印字発行が可能となる。[Operation] According to the present invention, the printer side is provided with a counter function that increments or decrements the serial number data each time a print is issued, and also has a function that can hold the serial number data without power supply. It becomes possible to print and issue independent consecutive numbers.
【0011】[0011]
【実施例】図1は本発明の一実施例における主要部のブ
ロック図である。1は連続番号発行用のプリンタで、内
部制御装置2、記憶装置3及び印字装置4を備えている
。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of main parts in an embodiment of the present invention. Reference numeral 1 denotes a printer for issuing serial numbers, which includes an internal control device 2, a storage device 3, and a printing device 4.
【0012】5は外部制御装置で、前記プリンタ1に接
続され、両者間で通信を行う。Reference numeral 5 denotes an external control device, which is connected to the printer 1 and communicates between the two.
【0013】内部制御装置2としては、通常の1チップ
マイクロコンピュータ(具体例、日立製作所製6418
0)を用いている。記憶装置3としては、シリアルのE
EPROM(具体例、ローム社製BR93C46)を用
いている。印字装置4としては、熱転写式のラインサー
マルヘッドを用いている。外部制御装置5としては、パ
ーソナルコンピュータ(具体例、松下電器産業製パナコ
ムM800)を用い、この外部制御装置5と連続番号発
行用プリンタ1の内部制御装置2とを通信可能に接続し
ている(具体例、RS−232C)。As the internal control device 2, an ordinary one-chip microcomputer (specific example, 6418 manufactured by Hitachi, Ltd.) is used.
0) is used. As storage device 3, serial E
An EPROM (specific example, BR93C46 manufactured by ROHM Co., Ltd.) is used. As the printing device 4, a thermal transfer type line thermal head is used. As the external control device 5, a personal computer (specific example, Panacom M800 manufactured by Matsushita Electric Industrial Co., Ltd.) is used, and this external control device 5 and the internal control device 2 of the serial number issuing printer 1 are communicably connected ( Specific example, RS-232C).
【0014】前記内部制御装置2はレジスタ、演算部を
備え、前記プリンタ1が印字発行毎に連続番号データを
インクリメントするカウンタ機能を有している。連続番
号データは16桁の数字を用いており、0から9,99
9,999,999,999,999までをカウントで
きる。通常の製品の生産量ではこの数値を越えることは
ないが、もしこの数値を越える場合があると、0に戻す
ことにしている。これは実用上かなりの年月後に2度目
の0が始まるので、最初の一連の番号と、次の一連の番
号とを別のものとして扱うことが容易であるからである
。The internal control device 2 includes a register and an arithmetic unit, and has a counter function for incrementing serial number data each time the printer 1 issues a print. Consecutive number data uses 16 digits, from 0 to 9,99.
It can count up to 9,999,999,999,999. Normal product production does not exceed this value, but if this value is exceeded, it is set back to 0. This is because, in practice, the second 0 starts after a considerable period of time, so it is easy to treat the first series of numbers and the next series of numbers as different.
【0015】前記記憶装置3は、無電源で前記連続番号
データを保持できるものであり、具体的には、最初0が
16桁書き込まれる。この記憶装置3の連続番号データ
をそのまま、印字装置4によってラベル等に印字するこ
とは、外部制御装置5からの通信で可能である。又この
記憶装置3の連続番号データの一部を用いて印字したり
、一定の加工を加えて印字することも可能である。例え
ば、桁数を制限すること、連続番号の頭に特定のアルフ
ァベットの文字列を付け加えることが可能である。特定
のアルファベットの文字列は、連続番号発行用のプリン
タ1を複数台用いるときに、プリンタ1の機器コードと
しての使用が可能である。The storage device 3 is capable of holding the serial number data without power supply, and specifically, 16 digits of 0 are written first. The serial number data stored in the storage device 3 can be directly printed on a label or the like by the printing device 4 through communication from the external control device 5. It is also possible to print using a part of the serial number data in the storage device 3, or to print after adding certain processing. For example, it is possible to limit the number of digits or add a specific alphabetic character string to the beginning of the consecutive numbers. A specific alphabetic character string can be used as a device code for the printer 1 when a plurality of printers 1 for issuing serial numbers are used.
【0016】本装置により、1頁目の印字を行うと、た
とえそれが出荷前のテスト印字であっても、記憶装置3
の連続番号データは内部制御装置2により、演算と書き
込みが行なわれ、最後の桁が1に変わる。以後同様にし
て、1頁の印字発行毎に記憶装置3の連続番号データは
インクリメントされていく(デクリメントされるように
構成することも可能である。)。外部制御装置5は、必
要に応じて、プリンタ1の連続番号を読み取ることがで
きるが、書き換えることはできない。When the first page is printed using this device, even if it is a test print before shipping, the storage device 3
The serial number data is calculated and written by the internal control device 2, and the last digit is changed to 1. Thereafter, in the same manner, the serial number data in the storage device 3 is incremented each time one page is printed (it is also possible to configure it so that it is decremented). The external control device 5 can read the serial number of the printer 1 if necessary, but cannot rewrite it.
【0017】記憶装置3への書き込み時に、停電などが
起こる場合には、データが正確に書き込めないことが考
えられる。しかし連続番号データは、例えば16バイト
以下であり、その書き込みに要する時間は短時間である
ので、前記プリンタ1の電源にAC−DCコンバータを
用いることにより、停電時にも電解コンデンサの放電時
間以内で書き込みを正常に終らせることが可能である。[0017] If a power outage or the like occurs when writing to the storage device 3, it is conceivable that data cannot be written accurately. However, since the serial number data is, for example, 16 bytes or less and the time required to write it is short, by using an AC-DC converter for the power supply of the printer 1, even in the event of a power outage, it can be done within the discharge time of the electrolytic capacitor. It is possible to finish writing normally.
【0018】図2は上記連続番号発行プリンタ装置の動
作のフローチャートを示している。FIG. 2 shows a flowchart of the operation of the serial number issuing printer device.
【0019】先ず外部制御装置5からのコマンドを前記
プリンタ1は受信する(ステップ#1)。このコマンド
の内容は印字のデータや、印字位置、印字フォント等の
データが含まれたものであり、又連続番号の印字を行う
か否かの指令も含まれる。次に記憶装置3からの連続番
号データの読み込みを行う(ステップ#2)。その後、
連続番号の印字を行うか否かを判定し(ステップ#3)
、行う場合には印字装置4により連続番号を含む印字発
行を行い(ステップ#4)、行わない場合には印字装置
4により連続番号を含まない印字発行を行う(ステップ
#5)。次にいずれの場合にも連続番号データのインク
リメントを行う(ステップ#6)。その後、新しい連続
番号データを記憶装置3に書き込み(ステップ#7)、
一連の動作を終了する。記憶装置3は無電源で連続番号
データを保持できるので、電源を切っても連続番号がと
ぎれることはない。First, the printer 1 receives a command from the external control device 5 (step #1). The contents of this command include print data, data such as print position, print font, etc., and also include a command as to whether or not to print consecutive numbers. Next, serial number data is read from the storage device 3 (step #2). after that,
Determine whether or not to print consecutive numbers (step #3)
, if so, the printing device 4 issues a printout including the serial numbers (step #4), and if not, the printing device 4 issues a printout that does not include the serial numbers (step #5). Next, in either case, the serial number data is incremented (step #6). After that, write new serial number data to the storage device 3 (step #7),
Finish a series of actions. Since the storage device 3 can hold serial number data without power, the serial numbers will not be interrupted even if the power is turned off.
【0020】図2に示す実施例では、連続番号の印字を
行わない場合にも、連続番号データのインクリメントを
行ったが、連続番号の印字を行う場合にのみ、連続番号
データのインクリメントを行うように構成してもよい。In the embodiment shown in FIG. 2, the serial number data is incremented even when serial numbers are not printed, but the serial number data is incremented only when serial numbers are printed. It may be configured as follows.
【0021】[0021]
【発明の効果】本発明によれば、連続番号の管理を連続
番号発行用のプリンタで行い、連続番号データはプリン
トの連続番号印字に伴い自動的にインクリメント又はデ
クリメントされ、その連続番号データは無電源でも保持
されるので、短期間に同じ番号が印字発行されることが
なく、連続番号の独立性が保証される。しかもパソコン
等の外部制御装置によりプリントを制御して、上記連続
番号発行機能を営ませることができるので、従来と同じ
ように外部制御装置の操作によって連続番号の管理を行
うことが可能である。According to the present invention, serial numbers are managed by a printer for issuing serial numbers, and the serial number data is automatically incremented or decremented as the serial numbers are printed, and the serial number data is ignored. Since it is also maintained by the power supply, the same number will not be printed in a short period of time, and the independence of consecutive numbers is guaranteed. Moreover, since printing can be controlled by an external control device such as a personal computer and the serial number issuing function described above can be carried out, it is possible to manage the serial numbers by operating the external control device in the same way as in the past.
【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】本発明の連続番号発行プリンタ装置の動作の1
例を示すフローチャートである。[Fig. 2] 1 of operations of the serial number issuing printer device of the present invention
3 is a flowchart showing an example.
Claims (4)
リメント又はデクリメントするカウタ機能を持つ内部制
御装置と、無電源で前記連続番号データを保持できる記
憶装置と、記憶装置に保持された連続番号データに基い
て連続番号の印字を行う印字装置とを備えたプリンタと
、このプリンタに通信可能に接続された外部制御装置と
からなる連続番号発行プリンタ装置。Claim 1: An internal control device having a counter function that increments or decrements serial number data each time a print is issued, a storage device that can hold the serial number data without a power supply, and a storage device that stores the serial number data held in the storage device. A serial number issuing printer device comprising a printer equipped with a printing device that prints serial numbers based on a base number, and an external control device communicably connected to the printer.
ることを特徴とする請求項1記載の連続番号発行プリン
タ装置。2. The serial number issuing printer device according to claim 1, wherein the serial number is printed using a bar code.
種類のデータは外部制御装置からプリンタに送信される
ことを特徴とする請求項1記載の連続番号発行プリンタ
装置。3. The serial number issuing printer device according to claim 1, wherein data on the printing position of the serial number and the type of printing font are transmitted from an external control device to the printer.
ータを保持し、どの連続番号データを用いるかの選択デ
ータは外部制御装置からプリンタに送信されることを特
徴とする請求項1記載の連続番号発行プリンタ装置。4. The serial printer according to claim 1, wherein a plurality of independent serial number data are held in the storage device, and data for selecting which serial number data to use is transmitted from an external control device to the printer. Number issuing printer device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3037677A JP2702296B2 (en) | 1991-03-05 | 1991-03-05 | Serial number issuing printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3037677A JP2702296B2 (en) | 1991-03-05 | 1991-03-05 | Serial number issuing printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04276817A true JPH04276817A (en) | 1992-10-01 |
JP2702296B2 JP2702296B2 (en) | 1998-01-21 |
Family
ID=12504250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3037677A Expired - Lifetime JP2702296B2 (en) | 1991-03-05 | 1991-03-05 | Serial number issuing printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2702296B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5525383A (en) * | 1978-08-14 | 1980-02-23 | Dainippon Printing Co Ltd | Serial number printing machine with check digit |
JPS5998229A (en) * | 1982-11-27 | 1984-06-06 | Nippon Kanri Raberu:Kk | Label with sequential number code for optical read |
JPS63132700U (en) * | 1987-02-20 | 1988-08-30 | ||
JPS63296977A (en) * | 1987-05-29 | 1988-12-05 | Kazuo Maruta | Checking system for printed serial number |
-
1991
- 1991-03-05 JP JP3037677A patent/JP2702296B2/en not_active Expired - Lifetime
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5525383A (en) * | 1978-08-14 | 1980-02-23 | Dainippon Printing Co Ltd | Serial number printing machine with check digit |
JPS5998229A (en) * | 1982-11-27 | 1984-06-06 | Nippon Kanri Raberu:Kk | Label with sequential number code for optical read |
JPS63132700U (en) * | 1987-02-20 | 1988-08-30 | ||
JPS63296977A (en) * | 1987-05-29 | 1988-12-05 | Kazuo Maruta | Checking system for printed serial number |
Also Published As
Publication number | Publication date |
---|---|
JP2702296B2 (en) | 1998-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS60109892A (en) | Electronic typewriter | |
JPH04276817A (en) | Printer for issuing continuous numbers | |
KR19980014555A (en) | Automatic format printing device and printing method | |
JP3769408B2 (en) | Storage device and information processing device equipped with the same | |
JPH10151810A (en) | Method for controlling label printer and label printer | |
JPH09267523A (en) | Method for controlling label printer, the label printer and bar code printer | |
JP2997558B2 (en) | Printer | |
JPS5826586B2 (en) | electronic cash register | |
JPH07211089A (en) | Memory writing control system | |
JPH074950B2 (en) | Label printer | |
JPS61173974A (en) | Printer | |
JPH0267161A (en) | Label publishing apparatus | |
JPH078590B2 (en) | Printer device | |
JPH02127072A (en) | Control circuit for printing of printer | |
JPS61150560A (en) | Method for managing version of software in facsimile | |
JPH0519994A (en) | Printer | |
JPH05338312A (en) | Portable label printer | |
JPS62128771A (en) | Printer | |
JPH01308658A (en) | Printer | |
JPH03202374A (en) | Printing device | |
JPH07195750A (en) | Printer | |
JPH01100233U (en) | ||
JPH05233171A (en) | Printer | |
JPH0569647A (en) | System for displaying ink ribbon exchange information for printer | |
JPH0326584A (en) | Printer |