JPH04238080A - Printing control of printer - Google Patents

Printing control of printer

Info

Publication number
JPH04238080A
JPH04238080A JP588491A JP588491A JPH04238080A JP H04238080 A JPH04238080 A JP H04238080A JP 588491 A JP588491 A JP 588491A JP 588491 A JP588491 A JP 588491A JP H04238080 A JPH04238080 A JP H04238080A
Authority
JP
Japan
Prior art keywords
printing
paper
recording paper
printer
sensor
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
JP588491A
Other languages
Japanese (ja)
Inventor
池田 和昭
Kazuaki Ikeda
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP588491A priority Critical patent/JPH04238080A/en
Publication of JPH04238080A publication Critical patent/JPH04238080A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the printing time of a printer. CONSTITUTION:First the width of a recording sheet is detected by a sensor 3. Data is printed in a printing area defined in accordance with the length of the recording sheet without detection of the presence of the recording sheet. In addition, the sheet is discharged after interpretation of the end of printing in the printing area.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プリンタの印字制御方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control method for a printer.

【0002】0002

【従来の技術】従来、印字ヘッドのキャリッジに紙の有
無を検出するセンサを搭載したプリンタがある。この種
のプリンタでは、予め手動操作により設定された印刷書
式にしたがって印字を行ない、改行毎に記録用紙の有無
を判定し、用紙無しと判定したときに印字を停止し、排
紙するものである。
2. Description of the Related Art Conventionally, there are printers equipped with a sensor for detecting the presence or absence of paper in the carriage of a print head. This type of printer prints according to a print format that is manually set in advance, determines the presence or absence of recording paper at each line feed, and stops printing when it determines that there is no paper, and ejects the paper. .

【0003】0003

【発明が解決しようとする課題】上記従来のプリンタは
、印字前に記録用紙のサイズに応じた印刷書式を手動で
設定しなければならない煩しさがある。また、改行毎に
記録用紙の有無を判定するので、その分印字時間が長く
なる。
SUMMARY OF THE INVENTION The conventional printer described above has the trouble of having to manually set a print format according to the size of recording paper before printing. Furthermore, since the presence or absence of recording paper is determined for each line feed, the printing time increases accordingly.

【0004】本発明は、印字時間を短縮することのでき
るプリンタの印字制御方法を提供することを目的として
いる。
An object of the present invention is to provide a printing control method for a printer that can shorten printing time.

【0005】[0005]

【課題を解決するための手段】本発明は、センサによっ
て記録用紙幅を検出することにより、この記録用紙長に
応じた印字領域を設定した後、上記設定された印字領域
における印字を実行し、上記印字領域内での印字終了判
定後に排紙するようにして、上記課題を解決するもので
ある。
[Means for Solving the Problems] The present invention detects the width of the recording paper using a sensor, sets a printing area according to the length of the recording paper, and then executes printing in the set printing area, The above-mentioned problem is solved by ejecting the paper after determining the end of printing within the above-mentioned print area.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0007】図1はプリンタ要部を示したブロック図で
ある。同図において、1はプリンタ全体の動作を制御す
る制御回路、2は印字ヘッド、キャリア等からなる印字
部、3は記録用紙幅を検出するためのセンサであり、上
記キャリアに搭載されている。このセンサとしては発光
素子および受光素子からなる光学センサ等が用いられる
。4は記録用紙幅に対応した印刷書式データを記憶して
ある印刷書式記憶部、5は印字部2による印字が設定さ
れた印字領域を超えたか否かを判定する判定回路、6は
記録用紙の左端位置を記憶する位置記憶部である。
FIG. 1 is a block diagram showing the main parts of the printer. In the figure, 1 is a control circuit that controls the overall operation of the printer, 2 is a printing section consisting of a print head, a carrier, etc., and 3 is a sensor for detecting the recording paper width, which is mounted on the carrier. As this sensor, an optical sensor or the like consisting of a light emitting element and a light receiving element is used. Reference numeral 4 denotes a print format storage unit storing print format data corresponding to the recording paper width; 5 a determination circuit for determining whether or not the printing by the printing unit 2 exceeds the set printing area; This is a position storage unit that stores the left end position.

【0008】つぎに、図2のフローチャートに沿って、
記録用紙の吸入から排出までの印字動作について説明す
る。
Next, according to the flowchart in FIG.
The printing operation from suction to ejection of recording paper will be explained.

【0009】まず、記録用紙の吸入命令により、記録用
紙を所定位置まで吸入するとともに、センサ3を記録用
紙を検出できる所定位置、例えば中央部に配置する(ス
テップA)。
First, in response to a recording paper suction command, the recording paper is sucked to a predetermined position, and the sensor 3 is placed at a predetermined position where the recording paper can be detected, for example, at the center (step A).

【0010】つぎに、センサ3を上記所定位置からホー
ム位置へ移動する(ステップB)。
Next, the sensor 3 is moved from the predetermined position to the home position (step B).

【0011】この移動により、センサ3で用紙有りから
用紙無しへの変化を検出したときのセンサ3の位置すな
わち記録用紙の左端位置を位置記憶部6に記憶する(ス
テップC)。
By this movement, the position of the sensor 3 when the sensor 3 detects a change from paper presence to paper absence, that is, the left end position of the recording paper, is stored in the position storage section 6 (step C).

【0012】上記センサ3の移動が終了すると、印刷書
式記憶部4の印刷書式データに基づいて、位置記憶部6
に記憶した用紙の左端位置に対応する印刷書式を設定す
る。
When the movement of the sensor 3 is completed, the position storage unit 6 is moved based on the print format data in the print format storage unit 4.
Set the print format corresponding to the left edge position of the paper stored in .

【0013】本例においては、左端位置がレター紙のも
のであると判定されると用紙長は11インチに設定され
(ステップD)、A4のものであると判定されると用紙
長は297ミリに設定され(ステップE)、B5のもの
であると判定されると用紙長は257ミリに設定される
(ステップF)。
In this example, if the left edge position is determined to be letter paper, the paper length is set to 11 inches (step D), and if it is determined to be A4 paper, the paper length is set to 297 mm. (Step E), and if it is determined that the paper is B5, the paper length is set to 257 mm (Step F).

【0014】つぎに、判定された用紙サイズに基づいて
、印字行数等の印刷書式を設定する(ステップG)。
Next, the printing format, such as the number of lines to be printed, is set based on the determined paper size (step G).

【0015】印刷書式の設定が終了すると、これに基づ
いて印字を行なう。印字中は、センサ3による用紙の有
無検出は行なわず、上記設定された印字行数を超えたか
否かを判定回路5で判定する。印字行数が設定された値
に達すると印字終了判定が出され、印字を停止するとと
もに記録用紙を排出する(ステップH)。
[0015] When the setting of the print format is completed, printing is performed based on the setting. During printing, the sensor 3 does not detect the presence or absence of paper, and the determination circuit 5 determines whether or not the set number of print lines has been exceeded. When the number of printed lines reaches the set value, a print completion determination is issued, printing is stopped, and the recording paper is ejected (step H).

【0016】以上の動作により、印刷書式の設定および
印字が行なわれる。
[0016] Through the above operations, the print format is set and printing is performed.

【0017】なお、上記実施例においては、記録用紙の
左端位置を検出する際、センサ3を所定位置からホーム
位置へ移動して用紙有りから用紙無しへの変化を検出す
るようにしたが、これに限らず、センサ3をホーム位置
から所定位置へ移動して用紙無しから用紙有りへの変化
を検出するようにしてもよい。
In the above embodiment, when detecting the left edge position of the recording paper, the sensor 3 is moved from a predetermined position to the home position to detect a change from paper presence to paper absence. However, the sensor 3 may be moved from the home position to a predetermined position to detect a change from no paper to paper present.

【0018】また、記録用紙の左端と右端位置の両方を
検出して記録用紙幅を求めるようにしてもよい。
Furthermore, the width of the recording paper may be determined by detecting both the left end and right end positions of the recording paper.

【0019】また、上記実施例において、印刷書式記憶
部4は3種類の用紙サイズに対応した印刷書式データを
記憶しているものとしたが、これに限らず、印刷書式デ
ータの種類数は任意に設定してよい。
Further, in the above embodiment, the print format storage unit 4 stores print format data corresponding to three types of paper sizes, but the number of types of print format data is not limited to this. You can set it to .

【0020】[0020]

【発明の効果】本発明によれば、記録用紙幅を検出する
ことにより印刷書式を自動的に設定し、印字中は記録用
紙の有無の判定を行なわないので、その分印字時間を短
縮することができる。
[Effects of the Invention] According to the present invention, the printing format is automatically set by detecting the width of the recording paper, and the presence or absence of the recording paper is not determined during printing, thereby reducing the printing time. I can do it.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】プリンタ要部のブロック図[Figure 1] Block diagram of main parts of printer

【図2】記録用紙吸入から排出までの印字動作を説明す
るためのフローチャート
[Figure 2] Flowchart for explaining printing operation from intake to ejection of recording paper

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

3  センサ 3 Sensor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  センサによって記録用紙幅を検出する
ことにより、この記録用紙長に応じた印字領域を設定し
た後、上記設定された印字領域における印字を実行し、
上記印字領域内での印字終了判定後に排紙することを特
徴とするプリンタの印字制御方法。
1. After setting a printing area according to the length of the recording paper by detecting the width of the recording paper with a sensor, printing is executed in the set printing area,
A printing control method for a printer, characterized in that the paper is ejected after it is determined that printing is completed within the printing area.
JP588491A 1991-01-22 1991-01-22 Printing control of printer Pending JPH04238080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP588491A JPH04238080A (en) 1991-01-22 1991-01-22 Printing control of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP588491A JPH04238080A (en) 1991-01-22 1991-01-22 Printing control of printer

Publications (1)

Publication Number Publication Date
JPH04238080A true JPH04238080A (en) 1992-08-26

Family

ID=11623327

Family Applications (1)

Application Number Title Priority Date Filing Date
JP588491A Pending JPH04238080A (en) 1991-01-22 1991-01-22 Printing control of printer

Country Status (1)

Country Link
JP (1) JPH04238080A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007260938A (en) * 2006-03-27 2007-10-11 Noritsu Koki Co Ltd Image recorder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6120780A (en) * 1984-07-09 1986-01-29 Sharp Corp Detection of width of printer recording paper
JPH0226978A (en) * 1988-07-15 1990-01-29 Kanebo Ltd Warp preparation process
JPH02269078A (en) * 1989-02-03 1990-11-02 Canon Inc Document processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6120780A (en) * 1984-07-09 1986-01-29 Sharp Corp Detection of width of printer recording paper
JPH0226978A (en) * 1988-07-15 1990-01-29 Kanebo Ltd Warp preparation process
JPH02269078A (en) * 1989-02-03 1990-11-02 Canon Inc Document processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007260938A (en) * 2006-03-27 2007-10-11 Noritsu Koki Co Ltd Image recorder

Similar Documents

Publication Publication Date Title
US6079807A (en) Print mode mapping for plain paper and transparency
US6604820B1 (en) Ink-jet type image forming device
JPH0985942A (en) Image printer
JPH07314844A (en) Printer device
US6999194B2 (en) Print operation processing device for serial printer
JP3880510B2 (en) Recording apparatus and recording medium type discrimination method
JPH04238080A (en) Printing control of printer
US20050068360A1 (en) Image-forming device in which media is manually inserted and remains stationary during image formation
JP2608807B2 (en) Printer paper length detection method
JPH05278906A (en) Recording device
JP3859059B2 (en) Printer and paper type difference detection method in printer
US6490050B2 (en) Printing apparatus and control method for same, and a data storage medium recording the control method
US11485598B2 (en) Conveyance apparatus, method, and storage medium
JP2001001617A (en) Image-recording apparatus
KR20050077862A (en) Printing method for image forming apparatus
JP3170115B2 (en) Impact printer
JP3244080B2 (en) Printer and printing method
JP4654095B2 (en) Image processing apparatus, control method thereof, and control program
JP2000191158A (en) Printer, printing method, printing system and storage medium
JPH07119115B2 (en) Inkjet printer print control method
JPH0528650U (en) Printer
JPH03246088A (en) Medium right margin detection apparatus of printer
JPH05305741A (en) Printer
JP2001146052A (en) Method for trimming/cutting roll sheet and imaging apparatus
JPS61249782A (en) System for detecting paper size of printer