JPS59136281A - Printer - Google Patents

Printer

Info

Publication number
JPS59136281A
JPS59136281A JP992483A JP992483A JPS59136281A JP S59136281 A JPS59136281 A JP S59136281A JP 992483 A JP992483 A JP 992483A JP 992483 A JP992483 A JP 992483A JP S59136281 A JPS59136281 A JP S59136281A
Authority
JP
Japan
Prior art keywords
printing
paper
range
printing range
size
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
JP992483A
Other languages
Japanese (ja)
Inventor
Yasuhiro Tani
泰弘 谷
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP992483A priority Critical patent/JPS59136281A/en
Publication of JPS59136281A publication Critical patent/JPS59136281A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J19/00Character- or line-spacing mechanisms
    • B41J19/18Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
    • B41J19/60Auxiliary feed or adjustment devices
    • B41J19/64Auxiliary feed or adjustment devices for justifying

Abstract

PURPOSE:To obtain a printer capable of printing by calculating actual position and size of printing by a method in which the relative position and size of printing range and non-printing range are designated for the two directions, the directions of line and digit, of a printing paper and also the size of the paper is designated. CONSTITUTION:Printing menu is selected at the step S1, printing routine is entered, a printing range key is pushed at the step S2, and a routine with a designated printing range is entered. In this case, a printing range menu is called. At the step S3, the value, or (left-handed non-printing range length=X):(line-direction printing range length=Y): (right-handed non-printing range length=Z) ratio, of paper is designated. At the step S4, the value, or (upper non-printing range length =L):(digit-direction printing range length =M):(lower non-printing range length =N) ratio, in the digit direction is set up to be a given value by the moving position of cursor CU and input. In the step 5, the size of paper is determined, and in the step S6, the printing key of an input unit 2 is pushed and printing is made. From the value of ratios in the two directions of the paper and the size of paper, obtained in the steps S3-S5, actual printing size is calculated in the step S7, and when the possibility of printing is judged in the step S8, printing is made.

Description

【発明の詳細な説明】 技術分野 本発明は印字装置に関し、特に印字範囲の指定を印字用
紙に対する行方向9桁方向の2方向について、印字範囲
と非印字範囲の比例値により決定する印字装置に関する
TECHNICAL FIELD The present invention relates to a printing device, and more particularly to a printing device in which the printing range is determined in two directions, the line direction and the 9-column direction, with respect to the printing paper by proportional values of the printing range and the non-printing range. .

従来技術 あけ、上下のワクあけ、行ピッチ、文字ピッチ等の多く
の要件に情報を与えなけ、、Rばならなく大変複雑であ
った。また、とくに印字用紙と印字範囲の関係について
は、オペレータのプリントイメージと掛は離れる場合も
多(、且つ用紙サイズを途中で変更する際には左右マー
ジン値、」二下マージン値9文字ピッチ、行ピッチ等を
七の都度変更しなげねばならない欠点があった。
The prior art was extremely complex, requiring information on many requirements such as spacing, vertical spacing, line pitch, and character pitch. In addition, especially regarding the relationship between printing paper and printing range, there are many cases where the operator's print image differs from the print image. There was a drawback that the line pitch etc. had to be changed every time the line was made.

目   的 本発明は上記の点に鑑みてなさオtたもので、印字用紙
の行方向と桁方向の2方向に対して非印字範囲と印字範
囲とを比の値で指定することにより、印字用紙に対する
印字範囲の相対的位置と大きさを指定すると共に用紙サ
イズを指定することにより、実際の印字位置と大きさを
計算して印字することができる印字装置を提供すること
を目的と丁る。
Purpose The present invention has been developed in view of the above points, and is capable of printing by specifying the non-printing range and the printing range in two directions, the line direction and column direction, of printing paper using a ratio value. The purpose of the present invention is to provide a printing device that can calculate the actual printing position and size and print by specifying the relative position and size of the printing range with respect to the paper and also specifying the paper size. .

実施例 以下、本発明の一実施例を添付さ肚た図面と共に説明す
る。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the accompanying drawings.

第1崗は本発明(−係る印字装置の一実施例を説明する
だめの回路ブロック図であり、1は周辺装置の制御を行
ないシステム全体を監視するマイクロプロセッサ(中央
・処理装置CPU)である。2はオペレータが実行した
い命令や入力したいデータを入力するだめのキー人力装
置である。3は画面ソ リフレッシュメモリである表示画面上のデータを1対1
で対応させて一時記憶する。4はCRTコントローラで
あり、CRT周辺の回路の制御を行なうと共く二側面リ
フレッシュメモリ3(二対して表示アドレスを出力し文
字コードを読み出す。5はCRTである。6は印刷用文
書格納バッファであ0プリンタに出力する文字コードデ
ータを一時記憶する。7は各種レジスタ群であり、その
中には第2因に示すように印字範囲を指定する際に、印
字の行方向に平行な方向(二対して印字範囲と非印字範
囲の比、即ち〔左非印字範囲長−X〕:〔桁方向印字範
囲長−Y〕:〔左非印字範囲長−Z〕の比の値を夫々格
納する行方向レジスタAREG。
The first diagram is a circuit block diagram for explaining one embodiment of a printing device according to the present invention, and 1 is a microprocessor (central processing unit CPU) that controls peripheral devices and monitors the entire system. .2 is a key-powered device for inputting commands that the operator wants to execute and data that he wants to input.3 is a screen refresh memory that allows data on the display screen to be input one-to-one.
Correspond with and temporarily store it. 4 is a CRT controller, which controls the circuits around the CRT, and also outputs display addresses and reads character codes to the two-sided refresh memory 3 (2); 5 is a CRT; 6 is a printing document storage buffer; 0 temporarily stores the character code data to be output to the printer. 7 is a group of various registers, and as shown in the second factor, when specifying the printing range, there is a (In contrast, the ratio of the print range to the non-print range, that is, the ratio of [left non-print range length - X]: [digit direction print range length - Y]: [left non-print range length - Z] is stored respectively. row direction register AREG.

BRFG、  CREGが含まゎている。更にこのレジ
スタ群7には、印字の桁方向に平行な方向に対して同じ
ように印字範囲と非印字範囲の比、即ち〔上非印字範−
長−L〕:〔桁方向印字範囲長−M〕:〔下非印字範囲
長−N〕の比の値を夫々格納する桁方向レジスタDRE
G、 EREG、 FREG及び用紙のサイズを指定す
る用紙レジスタGREG、 HREGも含まわている。
Contains BRFG and CREG. Furthermore, this register group 7 also contains the ratio of the printing range to the non-printing range in the direction parallel to the printing digit direction, that is, [upper non-printing range -
Digit direction register DRE that stores the ratio values of [Length - L]: [Digit direction print range length - M]: [Lower non-print range length - N], respectively.
Also included are paper registers GREG, HREG that specify the paper size.

なお用紙レジスタGREG 、、 HREGには用紙の
縦横の長さが指定される。父上記各レジスタ値を入力す
る場所を指定するカーソルレジスタCUREGも含まれ
ている。8はキャラクタジェネレータであり画面リフレ
ッシュメモリ3へ文書格納バッファ6より読み出された
文字コードを文字ハターンデータに変換してCRT 5
に出力したり、プリンタ9(=出力をする文字フォント
データとなる。9はプリンタでありマイクロプロセッサ
1の監ネーの下でメモリやレジスタから送られるプリン
トアウトデータをm紙にプリントアウトする。
Note that the vertical and horizontal lengths of the paper are specified in the paper registers GREG, ., HREG. Also included is a cursor register CUREG that specifies the location where each of the above register values is input. 8 is a character generator which converts the character code read from the document storage buffer 6 into the screen refresh memory 3 into character pattern data and outputs it to the CRT 5.
This is the character font data to be output to the printer 9 (=character font data to be output). 9 is a printer, and under the supervision of the microprocessor 1, printout data sent from the memory or register is printed out on m paper.

10はアドレスバス、11はデータバス、121.!制
御信号であり、前記アドレスバス10.データバス11
.制御信号12を介してマイクロプロセッサ1はシステ
ム全体を制御する。
10 is an address bus, 11 is a data bus, 121. ! is a control signal, and is a control signal for the address bus 10. data bus 11
.. Via control signals 12 microprocessor 1 controls the entire system.

次に第3図のフローチャートを用いて本発明印字装置の
説明をする。ステップS1において、印刷メニューを選
択し印刷ルーチンにはいる。ステップS2において、印
刷範囲キーを押し、印刷範囲指定のルーチンにはいる。
Next, the printing apparatus of the present invention will be explained using the flowchart shown in FIG. In step S1, a print menu is selected and a print routine is entered. In step S2, the print range key is pressed to enter a print range designation routine.

この′時、第4図の如く印字範囲メニューが呼出される
。ここでCUはカーソルを表わす。ステップS3におい
て、第4図に示す用紙の(左非印字範囲長−X):(桁
方向印字範囲長=Y):(右非゛印字範囲長−Z)の比
の値の指定を行う。−g(わちA、B、Cの値をBRE
G、 CREGじ各々格納される。次にステップS4に
おいてもS3と同様に桁方向の(上非印字範囲長=L)
:(桁方向印字範囲長−M):(下印字範囲長FN)の
比D:E;Fの値をカーソルCUの移動位置によ0所定
値になるよう(:設定して入力する。例えば、今D=2
  E=11  F=2の値が入力されるとこれらの値
はレジスタ内の桁方向レジスタDREG、 EREG、
 FREGに各々格納される。
At this time, the printing range menu is called up as shown in FIG. Here, CU represents a cursor. In step S3, the ratio value of (left non-printing range length - X): (digit direction printing range length = Y): (right non-printing range length - Z) of the paper shown in FIG. 4 is specified in step S3. -g (that is, the values of A, B, and C are
G and CREG are stored respectively. Next, in step S4, similarly to S3, in the digit direction (upper non-printing range length = L)
:(Printing range length in digit direction - M):(Lower printing range length FN) ratio D:E;F value is set to 0 predetermined value according to the movement position of cursor CU (:Set and input. For example , now D=2
When the values of E=11 and F=2 are input, these values are stored in the digit direction registers DREG, EREG,
Each is stored in FREG.

次にステップ551−おいては用紙のサイズを決定する
。’17xわち第4図に示すような用紙の縦横の長さを
in単位で入力装置2のパラメータG、H設定用キーの
押下により入力する。これによって、レジスタ7内の用
紙レジスタGRE、G、 HREGに用紙の値が格納さ
れる。例えば今G=100imH=150闘とすると用
紙レジスタGREG f=100用紙レジスタHREG
に150が格納されるわけである。
Next, in step 551, the paper size is determined. '17x, that is, the length and width of the paper as shown in FIG. 4 are input in inches by pressing the parameters G and H setting keys of the input device 2. As a result, the paper value is stored in the paper registers GRE, G, and HREG in the register 7. For example, if G = 100imH = 150 mm, paper register GREG f = 100 paper register HREG
150 is stored in .

ステップS6において入力装置2の印刷キーが押下され
ると、印刷を実行する。前述したステップ53〜S5f
二よって得られた用紙の2方向における比の値と用紙サ
イズから実際の印字範囲をステップS7で計算する。T
なわち、第2図における用紙の各部の長さは次のように
なる。
When the print key of the input device 2 is pressed in step S6, printing is executed. Steps 53 to S5f described above
In step S7, the actual printing range is calculated from the ratio values in the two directions of the paper and the paper size obtained in step S7. T
That is, the lengths of each part of the paper in FIG. 2 are as follows.

1− −上一−100→ 左非印字範囲長 X−GXA+B+。−100×1+8
+1−8   −ニー−so(m→ 行方向印字範囲長Y−GXA+B+。=100×1+8
+1右非印字範囲長 Z=G冷−(−=1oox−1−
−10(m→A+B十CI+8+1 t 非印F?’In 囲長L−HxB + B + p
 =1s o X 2 、1”1 、2 =20 (1
1)→桁方向印字範囲長M=HxF]胛I”15oX7
H→、−=110(III→下非印字範囲長 N =H
XD + E + F−15o ×2 + 1”1 +
 2−20 m→と決定され、実際の印字範囲は80m
mX1lQ+++mの範囲で先頭位置が用紙の上から2
Qmm、左マージンlQmmのところから印字すると決
定され、かつ行ピッチ、文字ピッチ等も計算される。ス
テップS8において印字可能と判断さ肚ゎば第5図の如
く印字される。またステップS8において印字不可能な
指定の場合、たとえば1行の文字数に対して印字範囲が
極端に小さい時などは印刷不可能とす1〕、ステップS
9においてエラー表示され再入力とす番)ステップS3
へ戻る。
1--1-100→Left non-printing range length X-GXA+B+. -100×1+8
+1-8 -knee-so(m→ Line direction printing range length Y-GXA+B+.=100×1+8
+1 Right non-printing range length Z=G cold-(-=1oox-1-
-10(m→A+B0CI+8+1 t Non-marked F?'In Surrounding length L-HxB + B + p
=1s o X 2 ,1”1 ,2 =20 (1
1) → Digit direction printing range length M=HxF] 胛I"15oX7
H →, -=110 (III → Lower non-printing range length N = H
XD + E + F-15o ×2 + 1”1 +
The actual printing range is 80m.
The starting position is 2 from the top of the paper in the range mX1lQ+++m
Qmm, it is decided to print from the left margin lQmm, and the line pitch, character pitch, etc. are also calculated. If it is determined in step S8 that printing is possible, printing is performed as shown in FIG. Furthermore, if it is specified in step S8 that printing is not possible, for example, when the printing range is extremely small compared to the number of characters in one line, printing is disabled1], and step S8
(If an error is displayed in step 9, please re-enter) Step S3
Return to

なお上記実施例では印字範囲は長方形1つに対して決め
たが行方向2桁方向の比の値をとる点を多くスることに
より1つの長方形ブロック単位に分けての比の値を設定
することにより第5図の如く複雑なブロックBも印字範
囲として指定することも可能である。また−頁内の所定
の文書の印字範囲指定を規定するような文書範囲レジス
タを備えることにより、指定した文書を指定した用紙の
決められた印字範囲に用紙のサイズに関係なく印字可能
になる。また本実施例においては表示器CRTを用いた
が、表示器がなくても印字範囲の指定は可能であること
はいうまでもない。
In the above embodiment, the printing range is determined for one rectangle, but by selecting many points that take the ratio value in the two-digit row direction, the ratio value can be set for each rectangular block. As a result, even a complex block B as shown in FIG. 5 can be designated as a printing range. Furthermore, by providing a document range register that specifies the print range of a predetermined document within a page, it becomes possible to print the specified document in the predetermined print range of the specified paper regardless of the size of the paper. Further, in this embodiment, a display device CRT is used, but it goes without saying that the printing range can be specified even without a display device.

効果 以上説明してきたように本発明に係る印字装置によれば
印刷用紙に対する印字範囲の比を行と桁の2方向に対し
て与え、かつ用紙サイズを入力することによ【】簡単に
印刷指定ができ、且つオペレータがイメージしたプリン
トに近い形で印字できると共に用紙サイズを途中で変更
しても印字範囲は用紙サイズとの比で決まっているので
新たに印刷の為の多くの指定なしで簡単に印刷可能にす
ることができる。
Effects As explained above, according to the printing device according to the present invention, printing can be easily specified by giving the ratio of the printing range to the printing paper in two directions, row and column, and inputting the paper size. It is possible to print in a form close to the print that the operator envisioned, and even if the paper size is changed midway through, the printing range is determined by the ratio to the paper size, so there is no need to make many new specifications for printing. can be made printable.

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

第1図は本発明に係る印字装置の一実施例を不善 一ブ〜ヤード、第4図は第1図の印字装置(二おいて呼
出される印字範囲メニューの一例を示す説明図。 第5図は第1図の印字装置により印字される印字例を示
す説明図である。 1・・・中央処理装置   2・・・キー人力装置3・
・・++’n imリフレッシュメモリ4・・CRTコ
ントローラ 5・・・CRT6・・・印刷用文書格納バ
ッファ 7用しジスタ群8・・・ギャラクタジエネレー
タ  9・・・プリンタ10・・・アドレスバス   
12・・・制御信号11  庁°゛−タバス M3図 糖4図
Fig. 1 shows an embodiment of the printing device according to the present invention, and Fig. 4 is an explanatory diagram showing an example of the printing range menu called up in the printing device (2) of Fig. 1. The figure is an explanatory diagram showing an example of printing printed by the printing device shown in Fig. 1. 1...Central processing unit 2...Key manual device 3.
...++'n im refresh memory 4...CRT controller 5...CRT6...Printing document storage buffer 7 register group 8...Galactage generator 9...Printer 10...Address bus
12...Control signal 11 Agency°゛-Tabasu M3 diagram Sugar 4 diagram

Claims (1)

【特許請求の範囲】 中央処理装置の監視下でキーなどの入力手段により入力
さオtた印字情報に基づき所要の演算記憶動作を行い、
所望の文書形式で印刷用紙上に印字するようにした印字
装置において、印刷用紙に印刷さオする印刷範囲の関係
を行方向と桁方向との比で指定する指定手段と、前記指
定手段からの情報を記憶する記憶手段とを備え、前記入
力手段によ【〕入力さ7する用紙サイズ情報と前記記憶
手段内に格納された情報とに基づき演算さ扛た実際に許
容される印字範囲内で所望の印字を行うことを特徴とす
る印字装置。
[Claims] Under the supervision of a central processing unit, a necessary calculation and storage operation is performed based on the printed information inputted by an input means such as a key,
In a printing device configured to print on printing paper in a desired document format, there is provided a specification means for specifying the relationship between printing ranges to be printed on the printing paper in terms of a ratio between the line direction and the column direction; a storage means for storing information, the paper size information being inputted by the input means and the information stored in the storage means, and calculated based on the information stored in the storage means, within an actually permissible printing range. A printing device characterized by performing desired printing.
JP992483A 1983-01-26 1983-01-26 Printer Pending JPS59136281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP992483A JPS59136281A (en) 1983-01-26 1983-01-26 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP992483A JPS59136281A (en) 1983-01-26 1983-01-26 Printer

Publications (1)

Publication Number Publication Date
JPS59136281A true JPS59136281A (en) 1984-08-04

Family

ID=11733629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP992483A Pending JPS59136281A (en) 1983-01-26 1983-01-26 Printer

Country Status (1)

Country Link
JP (1) JPS59136281A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107559U (en) * 1984-12-19 1986-07-08
JPS6280081A (en) * 1985-10-02 1987-04-13 Canon Inc Recorder
JPS6364784A (en) * 1986-09-05 1988-03-23 Fuji Xerox Co Ltd Image editing apparatus
US4934845A (en) * 1987-05-13 1990-06-19 Seiko Epson Corporation Apparatus and method for controlling paper feeding in a printer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61107559U (en) * 1984-12-19 1986-07-08
JPS6280081A (en) * 1985-10-02 1987-04-13 Canon Inc Recorder
JPS6364784A (en) * 1986-09-05 1988-03-23 Fuji Xerox Co Ltd Image editing apparatus
US4934845A (en) * 1987-05-13 1990-06-19 Seiko Epson Corporation Apparatus and method for controlling paper feeding in a printer
US5071273A (en) * 1987-05-13 1991-12-10 Seiko Epson Corporation Apparatus and method for controlling paper feeding in a printer

Similar Documents

Publication Publication Date Title
GB1579641A (en) Visual display apparatus
JPH0411901B2 (en)
JPS59136281A (en) Printer
JPS62104785A (en) Document processing apparatus
JP2601473B2 (en) Data processing device having graphic processing function
JP2000181673A (en) Document printer
JPH074956B2 (en) Character processor
JPS5818780A (en) Output device for displaying or recording graphic pattern
JPH0610441Y2 (en) Word processor
JP2705690B2 (en) Display control device
JP2624670B2 (en) Typesetting system
JP2617190B2 (en) String output device
JP3119094B2 (en) Character output device
JP3108936B2 (en) Document processing device
JPS61286925A (en) Document forming device
JPH0423183A (en) Document with bar code preparing device
JP2555557B2 (en) Character processor
JPH02155779A (en) Outputting apparatus of data
JPS637963A (en) Printing apparatus
JPS63307976A (en) Recorder
JPS6321173A (en) Information processor
JPS59135177A (en) Printer
JPH05165809A (en) Document processor
JPS62286160A (en) Word processor
JPH02307768A (en) Printer