JPH05185701A - Printer - Google Patents

Printer

Info

Publication number
JPH05185701A
JPH05185701A JP199492A JP199492A JPH05185701A JP H05185701 A JPH05185701 A JP H05185701A JP 199492 A JP199492 A JP 199492A JP 199492 A JP199492 A JP 199492A JP H05185701 A JPH05185701 A JP H05185701A
Authority
JP
Japan
Prior art keywords
print
unit
paper
image 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.)
Withdrawn
Application number
JP199492A
Other languages
Japanese (ja)
Inventor
Kiyotaka Yamaguchi
清隆 山口
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.)
NEC Data Terminal Ltd
Original Assignee
NEC Data Terminal Ltd
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 NEC Data Terminal Ltd filed Critical NEC Data Terminal Ltd
Priority to JP199492A priority Critical patent/JPH05185701A/en
Publication of JPH05185701A publication Critical patent/JPH05185701A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Handling Of Cut Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To make it possible to print at correct position at all times by a method wherein checking is performed as for the position of blank in addition to the checking of the absence or presence and size of the blank. CONSTITUTION:In the printer concerned, a blank position sensor 9, which detects the tip of blank and its left or right end, and a printing position correcting circuit 10, which sends the correction information of the deviation from the standard printing position calculated on the basis of the information sent from the blank position sensor 9 to an image data outputting section 5, is provided. Thus, the deviation of blank to the standard printing position is corrected, resulting in allowing to print at correct position at all times.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、あらかじめ所定の寸法
に切断されている用紙に対して印刷を行うプリンタ装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device which prints on paper which has been cut to a predetermined size.

【0002】[0002]

【従来の技術】図3は従来のプリンタ装置の一例を示す
ブロック図である。
2. Description of the Related Art FIG. 3 is a block diagram showing an example of a conventional printer device.

【0003】あらかじめ所定の寸法に切断されている用
紙(カット紙)に対して印刷を行う従来のプリンタ装置
(ページプリンタ装置)は、図3に示すように、上位装
置20からデータを入力するデータ受信部12と、デー
タ受信部12で受信したデータを解析するデータ解析部
13と、データ解析部13で解析した結果に基いて印刷
データを生成する印刷画像データ発生部14と、印刷画
像データ発生部14で生成した画像データを印刷機構部
18に送出する画像データ出力部15と、印刷機構部1
8の動作を制御する機構制御部16と、印刷のための用
紙の有無のチェックおよび用紙の大きさのチェックを行
う用紙センサ17と、機構制御部16の制御によって動
作し画像データ出力部15から入力した画像データを印
刷する印刷機構部18と、データ受信部12およびデー
タ解析部13および印刷画像データ発生部14および画
像データ出力部15および機構制御部16の動作を制御
するプリンタ制御部11とを備えている。
A conventional printer device (page printer device) that prints on paper (cut paper) that has been cut to a predetermined size in advance is a data input from the upper device 20, as shown in FIG. A receiving unit 12, a data analyzing unit 13 that analyzes the data received by the data receiving unit 12, a print image data generating unit 14 that generates print data based on the analysis result of the data analyzing unit 13, and a print image data generating unit. The image data output unit 15 for sending the image data generated by the unit 14 to the printing mechanism unit 18, and the printing mechanism unit 1.
8, a mechanism control unit 16 for controlling the operation, a paper sensor 17 for checking the presence / absence of a sheet for printing, and a size of the sheet for printing, and an image data output unit 15 that operates under the control of the mechanism control unit 16. A print mechanism unit 18 that prints input image data, a printer control unit 11 that controls the operations of the data receiving unit 12, the data analysis unit 13, the print image data generating unit 14, the image data output unit 15, and the mechanism control unit 16. Is equipped with.

【0004】このように構成されたページプリンタ装置
は、データ受信部12で受信したデータをデータ解析部
13で解析し、それに基いて印刷画像データ発生部14
においてビットマップデータに展開する。この動作を反
復して1ページ分のデータが完成すると、用紙センサ1
7によって用紙の有無のチェックし、用紙があるときは
機構制御部16によって印刷機構部18を起動する。印
刷機構部18の起動から一定時間を経過した後、画像デ
ータ出力部15は、印刷画像データ発生部14において
ビットマップデータに展開した画像データを印刷機構部
18に送り、印刷機構部18はそれを用紙に印刷する。
In the page printer device thus constructed, the data analysis unit 13 analyzes the data received by the data reception unit 12, and the print image data generation unit 14 is based on the analysis.
In, it is expanded to bitmap data. When one page of data is completed by repeating this operation, the paper sensor 1
7, the presence / absence of paper is checked, and when there is paper, the mechanism control unit 16 activates the printing mechanism unit 18. After a lapse of a certain time from the activation of the print mechanism unit 18, the image data output unit 15 sends the image data expanded into bitmap data in the print image data generation unit 14 to the print mechanism unit 18, and the print mechanism unit 18 Print on paper.

【0005】[0005]

【発明が解決しようとする課題】上述したような、従来
のページプリンタ装置は、用紙の有無のチェックおよび
用紙の大きさのチェックを行っているが、用紙の位置に
関するチェックは行っておらず、用紙を置いた位置およ
び用紙送りモータの回転時間のみから印刷位置の決定を
行っている。
As described above, the conventional page printer apparatus checks the presence / absence of paper and the size of paper, but does not check the position of paper. The printing position is determined only from the position of the paper and the rotation time of the paper feed motor.

【0006】このため、用紙を置いた位置の精度や用紙
送りの精度によって印刷位置に誤差が生じるため、印刷
位置の精度が悪いという欠点を有している。特に、プレ
印刷を行ってある用紙や、OCR用紙等に印刷する場
合、印刷結果が枠からはみでた位置に印刷されることが
あるといういう欠点を有している。
Therefore, there is a drawback in that the accuracy of the printing position is poor because an error occurs in the printing position due to the accuracy of the position where the paper is placed and the accuracy of the paper feeding. In particular, when printing on preprinted paper, OCR paper, or the like, there is a drawback that the print result may be printed at a position outside the frame.

【0007】[0007]

【課題を解決するための手段】本発明のプリンタ装置
は、印刷の開始時に用紙の先端の位置および左端または
右端の位置を検出する用紙位置センサと、前記用紙位置
センサからの情報によって印刷基準位置からのずれを算
出して補正情報を画像データ出力部に対して送出する印
刷位置補正回路と、前記印刷位置補正回路から入力した
前記補正情報によって印刷画像データ発生部から入力し
た画像データを補正して印刷機構部に送出する画像デー
タ出力部とを備えている。
SUMMARY OF THE INVENTION A printer device of the present invention comprises a paper position sensor for detecting the position of the leading edge and the left edge or the right edge of a sheet at the start of printing, and a print reference position based on information from the sheet position sensor. From the print position correction circuit that calculates the deviation from the print position and sends the correction information to the image data output unit, and corrects the image data input from the print image data generation unit by the correction information input from the print position correction circuit. And an image data output unit for sending to the printing mechanism unit.

【0008】[0008]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0009】図1は本発明の一実施例を示すブロック
図、図2は図1の実施例の動作を示すフローチャートで
ある。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart showing the operation of the embodiment of FIG.

【0010】図1において、データ受信部2は、上位装
置20からデータを入力する。データ解析部3は、デー
タ受信部2で受信したデータを解析する。印刷画像デー
タ発生部4は、データ解析部3で解析した結果に基いて
ビットマップデータに展開した印刷データを生成する。
画像データ出力部5は、印刷画像データ発生部4で生成
した画像データを印刷機構部8に送出する。機構制御部
6は、印刷機構部8のの紙送りモータを回転させて用紙
送り動作の制御を行う。用紙センサ7は、用紙置台の近
傍に設けられており、印刷のためのカット用紙の有無の
チェックおよびその大きさのチェックを行う。印刷機構
部8は、紙送りモータと印刷部とを有し、機構制御部6
の制御によって動作し、画像データ出力部5から入力し
た画像データを印刷する。用紙位置センサ9は、複数の
受光部を有し、用紙の通過するタイミングおよび用紙の
左右の基準位置からのずれを検出する。印刷位置補正回
路10は、用紙位置センサ9からの情報によって印刷位
置の補正情報を発生する。プリンタ制御部1は、データ
受信部2およびデータ解析部3および印刷画像データ発
生部4および画像データ出力部5および機構制御部6の
動作を制御する。
In FIG. 1, the data receiving unit 2 inputs data from the host device 20. The data analysis unit 3 analyzes the data received by the data reception unit 2. The print image data generation unit 4 generates print data expanded into bitmap data based on the result analyzed by the data analysis unit 3.
The image data output unit 5 sends the image data generated by the print image data generation unit 4 to the printing mechanism unit 8. The mechanism control unit 6 controls the paper feeding operation by rotating the paper feeding motor of the printing mechanism unit 8. The paper sensor 7 is provided in the vicinity of the paper tray and checks the presence or absence of cut paper for printing and the size thereof. The printing mechanism unit 8 includes a paper feed motor and a printing unit, and the mechanism control unit 6
The image data input from the image data output unit 5 is printed by the control. The paper position sensor 9 has a plurality of light receiving units, and detects the timing when the paper passes and the deviation of the paper from the left and right reference positions. The print position correction circuit 10 generates print position correction information based on the information from the paper position sensor 9. The printer control unit 1 controls the operations of the data reception unit 2, the data analysis unit 3, the print image data generation unit 4, the image data output unit 5, and the mechanism control unit 6.

【0011】次に、上述のように構成したプリンタ装置
の動作について、図2を参照して説明する。
Next, the operation of the printer device configured as described above will be described with reference to FIG.

【0012】上位装置20から送られてきたデータは、
データ受信部2で受信する。データ受信部2で受信した
データは、データ解析部3において解析される。解析さ
れたデータが印刷されるべきデータであるときは、その
データは印刷画像データ発生部4に送られ、そこで印刷
画像イメージのビットマップデータに展開される。通
常、印刷画像データ発生部4は、1ページ分以上の容量
のメモリを有しており、1ページ分のデータが揃うま
で、ビットマップデータに展開した印刷データをこのメ
モリに保持しておく。データ受信部2およびデータ解析
部3もバッファメモリを有しており、複数のデータを同
時に処理する。印刷画像データ発生部4のメモリに1ペ
ージ分のデータが揃うと、画像データ出力部5は、それ
を印刷機構部8に送出して印刷させる。
The data sent from the host device 20 is
The data is received by the data receiving unit 2. The data received by the data receiving unit 2 is analyzed by the data analyzing unit 3. When the analyzed data is the data to be printed, the data is sent to the print image data generation unit 4 and developed there into bitmap data of the print image image. Normally, the print image data generation unit 4 has a memory having a capacity of one page or more, and holds print data expanded into bitmap data in this memory until data for one page is prepared. The data receiving unit 2 and the data analyzing unit 3 also have a buffer memory and simultaneously process a plurality of data. When one page of data is stored in the memory of the print image data generation unit 4, the image data output unit 5 sends it to the printing mechanism unit 8 to print it.

【0013】印刷機構部8における印刷動作は、まず用
紙センサ7によって用紙の有無のチェックし、用紙があ
るときは機構制御部6によって印刷機構部8を起動し、
紙送りモータを回転させて用紙の搬送を開始する。用紙
が用紙位置センサ9に位置にくると、用紙位置センサ9
は、用紙の先端を検出する(図2のステップ21)。続
いて用紙の左端または右端を検出し(ステップ22)て
それらの情報を印刷位置補正回路10に送る。印刷位置
補正回路10は、入力した情報を基に、あらかじめ設定
されている印刷基準位置からのずれを算出し(ステップ
23)、補正情報を画像データ出力部5に送る。画像デ
ータ出力部5は、印刷位置補正回路10から入力した情
報によって印刷データに補正を加え、印刷機構部8に送
出する。印刷機構部8は、起動から一定時間を経過する
のを待ち(ステップ24)、用紙の先端が所定の位置に
きたとき、1ドットラインずつ印刷する。用紙が正規の
位置にあるときは、あらかじめ指定されているドット数
だけ白データ(無印字データ)を出力し(ステップ2
5)た後、印刷データを出力する(ステップ26)。用
紙位置センサ9によって用紙のずれが検出されたとき
は、そのずれの大きさに応じて白データ(無印字デー
タ)の数を加減して補正を行う。
In the printing operation of the printing mechanism unit 8, first, the paper sensor 7 checks whether or not there is a sheet, and if there is a sheet, the mechanism control unit 6 starts the printing mechanism unit 8
Rotate the paper feed motor to start the paper conveyance. When the paper reaches the position of the paper position sensor 9, the paper position sensor 9
Detects the leading edge of the paper (step 21 in FIG. 2). Then, the left edge or the right edge of the paper is detected (step 22) and the information is sent to the print position correction circuit 10. The print position correction circuit 10 calculates the deviation from the preset print reference position based on the input information (step 23) and sends the correction information to the image data output unit 5. The image data output unit 5 corrects the print data according to the information input from the print position correction circuit 10 and sends it to the print mechanism unit 8. The printing mechanism unit 8 waits for a certain period of time from the start (step 24), and prints one dot line at a time when the leading edge of the paper reaches a predetermined position. When the paper is in the proper position, white data (non-printing data) is output for the number of dots specified in advance (step 2
After 5), print data is output (step 26). When the paper position sensor 9 detects the deviation of the paper, the number of white data (non-printing data) is adjusted according to the magnitude of the deviation to perform the correction.

【0014】[0014]

【発明の効果】以上説明したように、本発明のプリンタ
装置は、用紙の先端および用紙の左端または右端を検出
する用紙位置センサと、用紙位置センサからの情報によ
って印刷基準位置からのずれを算出して補正情報を画像
データ出力部に対して送出する印刷位置補正回路とを設
けることにより、印刷基準位置に対する用紙のずれを補
正して、常に正しい位置に印刷することができるという
効果があるる。
As described above, the printer device of the present invention calculates the deviation from the printing reference position based on the information from the paper position sensor that detects the leading edge of the paper and the left or right edge of the paper and the information from the paper position sensor. By providing a print position correction circuit for sending the correction information to the image data output unit, it is possible to correct the deviation of the paper with respect to the print reference position and always print at the correct position. .

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of the embodiment of FIG.

【図3】従来のプリンタ装置の一例を示すブロック図で
ある。
FIG. 3 is a block diagram showing an example of a conventional printer device.

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

1 プリンタ制御部 2 データ受信部 3 データ解析部 4 印刷画像データ発生部 5 画像データ出力部 6 機構制御部 7 用紙センサ 8 印刷機構部 9 用紙位置センサ 10 印刷位置補正回路 11 プリンタ制御部 12 データ受信部 13 データ解析部 14 印刷画像データ発生部 15 画像データ出力部 16 機構制御部 17 用紙センサ 18 印刷機構部 20 上位装置 21〜26 ステップ 1 Printer Control Section 2 Data Reception Section 3 Data Analysis Section 4 Print Image Data Generation Section 5 Image Data Output Section 6 Mechanism Control Section 7 Paper Sensor 8 Printing Mechanism Section 9 Paper Position Sensor 10 Printing Position Correction Circuit 11 Printer Control Section 12 Data Reception Unit 13 data analysis unit 14 print image data generation unit 15 image data output unit 16 mechanism control unit 17 paper sensor 18 printing mechanism unit 20 upper device 21 to 26 steps

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 印刷の開始時に用紙の先端の位置および
左端または右端の位置を検出する用紙位置センサと、前
記用紙位置センサからの情報によって印刷基準位置から
のずれを算出して補正情報を画像データ出力部に対して
送出する印刷位置補正回路とを備えることを特徴とする
プリンタ装置。
1. A paper position sensor that detects the position of the leading edge and the position of the left edge or the right edge of a sheet at the start of printing, and the deviation from the print reference position is calculated based on the information from the sheet position sensor, and the correction information is imaged. A printer device, comprising: a print position correction circuit for sending to a data output unit.
【請求項2】 印刷の開始時に用紙の先端の位置および
左端または右端の位置を検出する用紙位置センサと、前
記用紙位置センサからの情報によって印刷基準位置から
のずれを算出して補正情報を画像データ出力部に対して
送出する印刷位置補正回路と、前記印刷位置補正回路か
ら入力した前記補正情報によって印刷画像データ発生部
から入力した画像データを補正して印刷機構部に送出す
る画像データ出力部とを備えることを特徴とするプリン
タ装置。
2. A sheet position sensor that detects the position of the leading edge and the position of the left edge or the right edge of the sheet at the start of printing, and the deviation from the print reference position is calculated based on the information from the sheet position sensor, and the correction information is imaged. A print position correction circuit for sending to a data output unit, and an image data output unit for correcting the image data input from the print image data generation unit by the correction information input from the print position correction circuit and sending it to the printing mechanism unit. A printer device comprising:
JP199492A 1992-01-09 1992-01-09 Printer Withdrawn JPH05185701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP199492A JPH05185701A (en) 1992-01-09 1992-01-09 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP199492A JPH05185701A (en) 1992-01-09 1992-01-09 Printer

Publications (1)

Publication Number Publication Date
JPH05185701A true JPH05185701A (en) 1993-07-27

Family

ID=11517017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP199492A Withdrawn JPH05185701A (en) 1992-01-09 1992-01-09 Printer

Country Status (1)

Country Link
JP (1) JPH05185701A (en)

Similar Documents

Publication Publication Date Title
JP3008541B2 (en) Printing method
EP0072709A2 (en) Printer control system
JPH05185701A (en) Printer
JPS6135954A (en) System for detecting printing control abnormality
JPH11208043A (en) Device of and method for controlling of paper conveying
JPH07309039A (en) Printer
JPH01308677A (en) Printer
JPH02281978A (en) Printing controller
JP2690759B2 (en) Recording device
JPS6158784A (en) Method for setting final printing line of printer
JPH08142422A (en) Paper feed control device for image data printing
JPH05309925A (en) Printer
JP3813075B2 (en) Image forming apparatus
JPH07251993A (en) Continuous paper for continuous document printer and conveyance control device therefor
JPH06320796A (en) Method and apparatus for image processing
JPH0469266A (en) Line spacing system of printer
JPH0725106A (en) Printer
JP2001277642A (en) Printer system and method of printing
JPH04364980A (en) Printer
JPH0624107A (en) Printer
JPH10190899A (en) Image-recognition output device
JPS62103164A (en) Dot-type printer
JPH04364979A (en) Printer
JPH09270882A (en) Character image recognition, printing and communication equipment
JP2002113909A (en) Paper exhaustion detecting method, continuous paper and printer device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990408