JPH03256774A - Printer - Google Patents

Printer

Info

Publication number
JPH03256774A
JPH03256774A JP5549090A JP5549090A JPH03256774A JP H03256774 A JPH03256774 A JP H03256774A JP 5549090 A JP5549090 A JP 5549090A JP 5549090 A JP5549090 A JP 5549090A JP H03256774 A JPH03256774 A JP H03256774A
Authority
JP
Japan
Prior art keywords
data
paper
printing
print
address
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
JP5549090A
Other languages
Japanese (ja)
Inventor
Koji Wada
考司 和田
Yutaka Kojima
豊 小島
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 Corp
NEC Data Terminal Ltd
Original Assignee
NEC Corp
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 Corp, NEC Data Terminal Ltd filed Critical NEC Corp
Priority to JP5549090A priority Critical patent/JPH03256774A/en
Publication of JPH03256774A publication Critical patent/JPH03256774A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To ensure that the same result can be obtained in printing data on a vertically long sheet in a running direction as that obtained in printing data on a laterally long sheet by expanding print data in dots in drawn image memory depending on a direction in which the sheet runs and reading the expanded data for printout. CONSTITUTION:When a vertically long sheet is used, an image drawing control device 11 expands print data in dots in drawn image memory 12. Then a data sending device 13 reads the data expanded in dots sequentially and allows a printing device 14 to print the data. Subsequently, in this case, the same result is obtained in printing data on the sheet as that obtained in printing data on the vertically long sheet using a conventional printer. On the other hand, when a laterally long sheet is used, the image drawing control device 11 expands print data in drawn image memory 12 from an address corresponding to a reference position suited to the laterally long sheet. Next, the data sending device 13 reads the data from a reading start address in accordance with the laterally long sheet sequentially and allows the printing device 14 to execute the printout process. Accordingly, it is possible to obtain the same result in printing data on the laterally long sheet as that obtained in printing data on the vertically long sheet.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は情報処理装置における出力装置に使用されるプ
リンタに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer used as an output device in an information processing device.

[従来の技術] 従来、この種のプリンタは、lベージの印字データの配
列か縦長である場合、走行方向に対し縦長の用紙への印
刷時は印字領域の左上隅位置を開始位置として描画を行
い、印字領域の左上隅位置から右横方向へ描画を行った
データを読み出しながら用紙の印字領域左上隅位置から
右横方向へ印刷を行っていた。
[Prior Art] Conventionally, this type of printer, when printing on paper that is vertically long with respect to the running direction, starts drawing at the upper left corner of the printing area when the layout of print data is vertically long. Then, printing was performed from the upper left corner of the printing area of the paper in the right lateral direction while reading the data drawn from the upper left corner of the printing area in the right lateral direction.

また、走行方向に対し横長の用紙への印刷時は、前記縦
長の用紙の描画を左に90°回転した形式で印刷を行っ
ていた。すなわち、印字領域の左下隅位置を開始位置と
して描画を行い、前記縦長の用紙でのデータの読み出し
、読み出したデータの用紙への印刷を同一方法て行って
いた。
Furthermore, when printing on paper that is horizontally long with respect to the running direction, the drawing on the vertically long paper is rotated 90 degrees to the left. That is, drawing is performed with the lower left corner position of the printing area as the starting position, reading of data on the vertically long paper, and printing of the read data on the paper are performed in the same manner.

[発明が解決しようとする課題] 上述した従来のプリンタは、横長の用紙への印刷を縦長
の用紙への描画を回転させるたけて行っているので、用
紙を正面から見たときの印字不可領域の左端部の幅と上
端部の長さの違いから縦長の用紙への印刷結果と横長の
用紙への印刷結果による印字領域か合致しないという欠
点かある。
[Problems to be Solved by the Invention] The conventional printer described above prints on horizontally long paper by rotating the drawing on vertically long paper, so when the paper is viewed from the front, there is a problem in the non-printable area. Due to the difference in the width of the left end and the length of the top end, there is a drawback that the print areas of the print results on portrait paper and the print results on landscape paper do not match.

本発明は、上記欠点に鑑みてなされたちのてあり、走行
方向に対し縦長の用紙への印刷結果と横長の用紙への印
刷結果を同一にすることかてきるプリンタを提供するこ
とを目的とする。
The present invention has been made in view of the above-mentioned drawbacks, and an object of the present invention is to provide a printer that can print the same result on paper that is longitudinally elongated with respect to the running direction as that on paper that is elongated horizontally. do.

[課題を解決するための手段] 本発明のプリンタは、 走行方向に対し縦長の用紙と横長の用紙への印刷が可能
てあり、用紙の印字可能領域に対応する描画メモリにド
ツト展開されたデータを印刷するプリント手段を有する
プリンタにおいて、用紙の走行方向に応じて、前記印字
可能領域の基準位置を検出し、基準位置に対応する前記
描画メモリのアドレス位置より印字データをドツト展開
する描画制御手段と、 前記描画メモリCドツト展開されたデータを、用紙の走
行方向に応して、読み出し開始アドレスより順次読み出
して前記プリント手段に印刷させるデータ送出手段とを
有している。
[Means for Solving the Problems] The printer of the present invention is capable of printing on vertically long paper and horizontally long paper with respect to the running direction, and prints data expanded into dots in the drawing memory corresponding to the printable area of the paper. In the printer having a printing means for printing, a drawing control means detects a reference position of the printable area according to the running direction of paper, and develops print data into dots from an address position of the drawing memory corresponding to the reference position. and data sending means for sequentially reading out the data developed in the drawing memory C dot from a reading start address according to the direction of paper travel and causing the printing means to print the data.

[作用] 縦長の用紙を用いる場合は、従来のプリンタと同様にし
て、描画制御手段か印字データを描画メモリにドツト展
開し、ドツト展開されたデータをデータ送出手段か順次
読み出してプリント手段に印刷させる。したかって、こ
の場合の印刷結果は従来のプリンタによる縦長の用紙へ
の印刷結果と同一になる。
[Operation] When using vertically long paper, the drawing control means develops print data into a drawing memory in the same manner as in conventional printers, and the data transmission means sequentially reads out the dot-developed data and prints it on the printing means. let Therefore, the print result in this case is the same as the print result on vertically long paper by a conventional printer.

また、横長の用紙を用いる場合は、描画制御手段が横長
の用紙に応じた基準位置に対応するアドレスより印字デ
ータを描画メモリに展開し、ドツト展開されたデータを
、横長の用紙に応じた読み出し開始アドレスよりデータ
送出手段か順次読み出してプリント手段に実行させる。
In addition, when using horizontally long paper, the drawing control means develops the print data in the drawing memory from the address corresponding to the reference position corresponding to the horizontally long paper, and reads out the dot-developed data according to the horizontally long paper. The data sending means sequentially reads data from the start address and causes the printing means to execute it.

したかって、この場合の印刷結果を、縦長の用紙への印
刷結果と同一にすることができる。
Therefore, the printing result in this case can be the same as the printing result on a vertically long sheet of paper.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のプリンタの一実施例を示すブロック図
、第2図は第1図の印字データ送出部13内の印字デー
タ読み出しアドレス発生部を示すブロック図、第3図は
用紙の印字不可領域を示す説明図、第4図は用紙の走行
方向に対し縦長の用紙への印刷状態を示す説明図、第5
図は用紙走行方向に対し横長の用紙への印刷状態を示す
説明図、第6図は第1図の描画メモリ12の印字領域に
対応するアドレス位置を示す説明図、第7図は縦長の用
紙への印刷結果と横長の用紙への印刷結果との比較図で
ある。
FIG. 1 is a block diagram showing an embodiment of the printer of the present invention, FIG. 2 is a block diagram showing a print data read address generation section in the print data sending section 13 of FIG. 1, and FIG. 3 is a block diagram showing the printing of paper. FIG. 4 is an explanatory diagram showing the impossible area; FIG.
The figure is an explanatory diagram showing the state of printing on paper that is horizontally long with respect to the paper running direction, FIG. 6 is an explanatory diagram that shows the address position corresponding to the print area of the drawing memory 12 in FIG. FIG. 4 is a comparison diagram of the printing results on a horizontally long paper and the printing results on a horizontally elongated sheet of paper.

描画制御部11は、用紙の印字領域に対応し、lアドレ
スに16ドツトのデータを格納する描画メモリ12のア
ドレス位置に印字データをドツト展開する。印字データ
送出1113は、描画制御部11によりドツト展開され
たデータを描画メモリ12から読み出し、データを用紙
に印刷するプリント部14へ送出する。
The drawing control unit 11 develops the print data into dots at the address position of the drawing memory 12 which corresponds to the print area of the paper and stores 16 dots of data at the l address. The print data sending 1113 reads the data developed into dots by the drawing control section 11 from the drawing memory 12 and sends it to the printing section 14 which prints the data on paper.

第2図に示すアドレスレジスタ21、印字データアドレ
スカウンタ22、カウント方式回路23はいずれも第1
図の印字データ送出部13内に設けられている。アドレ
スレジスタ21は、描画メモリ12にドツト展開された
データを読み出し、読み出したデータを印字領域の左上
隅から用紙に印刷する際、描画メモリ12の読み出し開
始アドレスを印字領域の右下隅に印字不可領域の左端部
の幅と上端部の長さとの差を印字可能領域の下方向へ加
算した位置に対応する描画メモリのアドレス値として格
納する。印字データアドレスカウンタ22は、用紙走行
方向に対し、印字領域の後端部の位置に対応する描画メ
モリ12のアドレスからドツト展開されたデータを読み
出す際は、アドレスレジスタ21に格納された開始アド
レスから印字領域の左上隅の位置に対応する描画メモリ
12のアドレスまて「=1」の減算を行い、用紙走行方
向に対し、印字領域の上端部の位置に対応する画像メ、
モリ12のアドレスからドツト展開されたデータを読み
出す際は、アドレスレジスタ21に格納された開始アド
レスから印字領域の右下隅の位置に対応する描画メモリ
12のアドレスまて「+1」の加算を行い、ドツト展開
データ読み出しアドレスを発生する。カウント方式回路
23は、印字データアドレスカウンタ22て、減算を行
いアドレスを発生する場合は選択信号Saを「1」とし
て、加算を行いアドレスを発生する場合は選択信号Sa
を「0」として出力することにより、印字データアドレ
スカウンタ22の加算または減算の選択を行う。
The address register 21, print data address counter 22, and counting method circuit 23 shown in FIG.
It is provided in the print data sending section 13 shown in the figure. The address register 21 reads the data expanded into dots in the drawing memory 12, and when printing the read data on paper from the upper left corner of the printing area, the address register 21 sets the readout start address of the drawing memory 12 to the lower right corner of the printing area in the non-printable area. The difference between the width of the left end and the length of the top end is added downward in the printable area and stored as an address value in the drawing memory corresponding to the position. The print data address counter 22 starts from the start address stored in the address register 21 when reading dot-expanded data from the address in the drawing memory 12 corresponding to the position of the trailing edge of the print area with respect to the paper running direction. The address of the drawing memory 12 corresponding to the position of the upper left corner of the print area is subtracted by "=1", and the image mark corresponding to the position of the upper end of the print area with respect to the paper running direction is
When reading dot-expanded data from the address of the memory 12, add "+1" from the start address stored in the address register 21 to the address of the drawing memory 12 corresponding to the lower right corner position of the print area. Generates a dot expansion data read address. The counting system circuit 23 uses the print data address counter 22 to set the selection signal Sa to "1" when performing subtraction to generate an address, and to set the selection signal Sa to "1" when performing addition to generate an address.
By outputting as "0", addition or subtraction of the print data address counter 22 is selected.

次に、本実施例の動作について説明する。ここては、第
3図に示す用紙の左端部の輻および下端部の長さかaド
ツト、上端部の長さおよび右端部の幅かbドツトの印字
不可領域で囲まれる印字可能領域に印刷を行うものとす
る。
Next, the operation of this embodiment will be explained. Here, print in the printable area surrounded by the width of the left edge of the paper and the length of the bottom edge of the paper (a dot), the length of the top edge and the width of the right edge of the paper (b dot), which are the non-printable areas. Assumed to be performed.

第4図(a)に示す用紙走行方向に対し縦長の輻xドツ
ト、長さyドツトの用紙に輻x−a−bドツト、長さy
−a−bドツトの印刷を行うときは、第4図(b)に示
すように、縦長の用紙の印字可能領域の左上隅に対応し
た第6図に示す描画メモリ12のアドレスCから右横方
向ヘトット展開を描画制御部11により行い、アドレス
レジスタ21に描画メモリ12のアドレスCを格納し、
カウント方式回路23より選択信号Saとして「0」を
出力し、印字データアドレスカウンタ22によりアドレ
スCから順に「+1」加算し、縦長の用紙の右下隅に位
置するアドレスNまてのアドレスを発生し、描画メモリ
12の展開されたドツトデータを順に読み出し、プリン
ト部14に送出し、プリント部14により印字可能領域
の左上隅位置から用紙に印刷され、第4図(c)に示す
印刷結果を得る。
As shown in Fig. 4(a), dots with a radius x-a-b and a length y are placed on a sheet of paper with a vertically elongated radius x dot and a length y dot with respect to the paper running direction.
-a-b When printing dots, as shown in FIG. 4(b), from the address C of the drawing memory 12 shown in FIG. 6 corresponding to the upper left corner of the printable area of the vertically long paper, The drawing control unit 11 performs direction expansion, stores the address C of the drawing memory 12 in the address register 21,
The counting method circuit 23 outputs "0" as the selection signal Sa, and the print data address counter 22 sequentially adds "+1" from address C to generate the address starting from address N located at the lower right corner of the vertically long paper. , the expanded dot data in the drawing memory 12 is sequentially read out and sent to the print unit 14, which prints it on the paper starting from the upper left corner of the printable area, obtaining the print result shown in FIG. 4(c). .

また、第5図(a)に示す用紙の用紙走行方向に対し横
長の幅yドツト、長さXドツトの用紙に第4図(C)に
示す印字結果と同一のデータにより輻z−a−bドツト
、長さy−a−bドツトの印刷を行うときは、第5図(
b)に示すように、横長の用紙の印字可能領域の左下隅
に対応した第6図に示す描画メモリ12のアドレスmか
ら横長の用紙の印字可能領域の上方向に位置するアドレ
スCの方向へ印字データのドツト展開を描画制御部11
により行い、横長の用紙の印字可能領域の右下隅位置に
印字不可領域のaドツトとbドツトの差の長さを加算し
た場所に位置するアドレスl十(a−b)Xy/16を
アドレスレジスタ21に格納し、カウント方式回路23
より選択信号Saとして「1」を出力し、印字データア
ドレスカウンタ22によりアドレスl−1+ (a−b
)Xy/16から順に「−1」減算し、印字可能領域の
左上隅に位置するアドレスCまてのアドレスを発生し、
描画メモリエ2に展開されたドツトデータを順に読み出
し、プリント部14に送出し、プリント部14により印
字可能領域の左上隅から用紙に印刷され、第5図(c)
に示す印刷結果を得る。
In addition, the same data as the printing result shown in FIG. 4(C) was used to print the width z-a- on the sheet of horizontally long width y dots and length X dots with respect to the paper running direction of the paper shown in FIG. 5(a). When printing b dots and length y-a-b dots, please refer to Fig. 5 (
As shown in b), from the address m of the drawing memory 12 shown in FIG. 6, which corresponds to the lower left corner of the printable area of the horizontally long sheet, to the address C located above the printable area of the horizontally long sheet of paper. The drawing control unit 11 performs dot development of the print data.
The address l + (a-b) 21 and counting method circuit 23
outputs "1" as the selection signal Sa, and the print data address counter 22 selects the address l-1+ (a-b
)Xy/16 by subtracting "-1" in order to generate the address up to address C located in the upper left corner of the printable area,
The dot data developed in the drawing memory 2 is sequentially read out and sent to the print section 14, where it is printed on paper starting from the upper left corner of the printable area, as shown in FIG. 5(c).
Obtain the print result shown below.

以上より第7図に示すように、第5図(c)に示す印字
結果を左に90″回転したとき、第5図(C)と第4図
(c)は全く同一の印刷結果となる。
From the above, as shown in Fig. 7, when the printing result shown in Fig. 5(c) is rotated 90'' to the left, Fig. 5(C) and Fig. 4(c) have exactly the same printing result. .

[発明の効果] 以上説明したように本発明は、用紙の走行方向に応じて
描画メモリへ印字データをドツト展開し、ドツト展開し
たデータを読み出して印刷することにより、横長の用紙
へ印刷した場合、縦長の用紙に同一の印字データを印刷
した印刷結果と全く同一の印刷結果を得ることかできる
効果かある。
[Effects of the Invention] As explained above, the present invention expands print data into dots in the drawing memory according to the running direction of the paper, and reads and prints the dot-expanded data. , it is possible to obtain a print result that is exactly the same as that obtained by printing the same print data on a vertically long sheet of paper.

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

第1図は本発明のプリンタの一実施例を示すブロック図
、第2図は第1図の印字データ送出部13内の印字デー
タ読み出しアドレス発生部を示すブロック図、第3図は
用紙の印字不可領域を示す説明図、第4図は用紙走行方
向に対し縦長の用紙への印刷状態を示す説明図、第5図
は用紙走行方向に対し横長の用紙への印刷状態を示す説
明図、第6図は第1図の描画メモリ12の印字領域に対
応するアドレス位置を示す説明図、第7図は縦長の用紙
への印刷結果と横長の用紙への印刷結果との比較図であ
る。 11・・・描画制御部、 12・・・描画メモリ、 13・・・印字データ送出部、 14・・・プリント部、 21・・・アドレスレシスタ 22・・・印字データアドレスカウンタ、23・・・カ
ウント方式回路。
FIG. 1 is a block diagram showing an embodiment of the printer of the present invention, FIG. 2 is a block diagram showing a print data read address generation section in the print data sending section 13 of FIG. 1, and FIG. 3 is a block diagram showing the printing of paper. 4 is an explanatory diagram showing the printing state on paper that is vertically long with respect to the paper running direction. FIG. 5 is an explanatory diagram that shows the printing state on paper that is horizontally long with respect to the paper running direction. FIG. 6 is an explanatory diagram showing the address positions corresponding to the print areas of the drawing memory 12 shown in FIG. 1, and FIG. 7 is a diagram comparing the results of printing on vertically long paper and the results of printing on horizontally long paper. DESCRIPTION OF SYMBOLS 11... Drawing control part, 12... Drawing memory, 13... Print data sending part, 14... Print part, 21... Address register 22... Print data address counter, 23...・Count method circuit.

Claims (1)

【特許請求の範囲】 1、走行方向に対し縦長の用紙と横長の用紙への印刷が
可能であり、用紙の印字可能領域に対応する描画メモリ
にドット展開されたデータを印刷するプリント手段を有
するプリンタにおいて、用紙の走行方向に応じて、前記
印字可能領域の基準位置を検出し、基準位置に対応する
前記描画メモリのアドレス位置より印字データをドット
展開する描画制御手段と、 前記描画メモリにドット展開されたデータを、用紙の走
行方向に応じて、読み出し開始アドレスより順次読み出
して前記プリント手段に印刷させるデータ送出手段とを
有することを特徴とするプリンタ。
[Claims] 1. It is possible to print on paper that is vertically long and horizontally long with respect to the running direction, and it has a printing means that prints dot-developed data in a drawing memory that corresponds to the printable area of the paper. In the printer, a drawing control means detects a reference position of the printable area according to the running direction of paper, and develops print data into dots from an address position of the drawing memory corresponding to the reference position; 1. A printer comprising: data sending means for sequentially reading developed data from a reading start address according to the running direction of paper and causing the printing means to print the read data.
JP5549090A 1990-03-06 1990-03-06 Printer Pending JPH03256774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5549090A JPH03256774A (en) 1990-03-06 1990-03-06 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5549090A JPH03256774A (en) 1990-03-06 1990-03-06 Printer

Publications (1)

Publication Number Publication Date
JPH03256774A true JPH03256774A (en) 1991-11-15

Family

ID=13000074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5549090A Pending JPH03256774A (en) 1990-03-06 1990-03-06 Printer

Country Status (1)

Country Link
JP (1) JPH03256774A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05124748A (en) * 1991-10-31 1993-05-21 Sharp Corp Sheet leading edge adjusting method for laser printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05124748A (en) * 1991-10-31 1993-05-21 Sharp Corp Sheet leading edge adjusting method for laser printer

Similar Documents

Publication Publication Date Title
JPH03256774A (en) Printer
JP2713707B2 (en) Character output device
JP3254011B2 (en) Form drawing system
JP2738174B2 (en) Format control method
JPS6151344A (en) Proof printer
JPH0747337B2 (en) output method
JP2737883B2 (en) Output control device
JP2669336B2 (en) Printing equipment
JP2908571B2 (en) Page printer
JPS63100872A (en) Hard copy system for display screen
JPS6189861A (en) Printing controller
JP2606587B2 (en) Data output device
JP2506110B2 (en) Double-sided printing control device
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP2715475B2 (en) Graphic output device
JPH10119392A (en) Printing device
JP2606588B2 (en) Data output device
JP3006956B2 (en) Printing equipment
JP2606586B2 (en) Data output device
JPH0596811A (en) Printing method
JPS6356476A (en) Printer controller
JPH0550695A (en) Print data processing device
JP2000211204A (en) Image processor
JPH0570856B2 (en)
JPH06320840A (en) Rule output method