JP2004155165A - Printing controller and program - Google Patents

Printing controller and program Download PDF

Info

Publication number
JP2004155165A
JP2004155165A JP2002325481A JP2002325481A JP2004155165A JP 2004155165 A JP2004155165 A JP 2004155165A JP 2002325481 A JP2002325481 A JP 2002325481A JP 2002325481 A JP2002325481 A JP 2002325481A JP 2004155165 A JP2004155165 A JP 2004155165A
Authority
JP
Japan
Prior art keywords
record
records
record data
surplus
copies
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
Application number
JP2002325481A
Other languages
Japanese (ja)
Other versions
JP4228658B2 (en
Inventor
Kazuhiko Iwanaga
和彦 岩永
Kyosuke Torii
京介 鳥居
Junjiro Yoshida
純二郎 吉田
Motonori Tanaka
元規 田中
Mina Kawai
美奈 河合
Kazuhiko Sugiura
和彦 杉浦
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2002325481A priority Critical patent/JP4228658B2/en
Publication of JP2004155165A publication Critical patent/JP2004155165A/en
Application granted granted Critical
Publication of JP4228658B2 publication Critical patent/JP4228658B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To raise a usage efficiency of a printing paper by maintaining a distribution efficiency when a group of record data consisting of a plurality of pieces of record data is printed to make a plurality of copies. <P>SOLUTION: Four pages in two-by-two are set on one sheet of paper 201. When the data of seven pages per one copy is printed on the sheets of printing paper 201 to make two copies, pages 1-4 and pages 5-7 are respectively printed on each of the sheets of printing paper 201 and the next page of the page 7 is made to be a blank and the next copy is made by printing on a new sheet of printing paper 201. When the data of six pages per one copy is printed on the sheet of printing paper 201 to make two copies, pages 1-4 are printed on one sheet of printing paper 201 and pages 5-6 are printed on the same sheet of printing paper 201 to make two copies. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、1枚の印刷媒体中に複数レコードの印刷内容が印刷可能な印刷制御装置及びプログラムに関する。
【0002】
【従来の技術】
ワードプロセッサ等には、例えば1枚の用紙中に複数のページ(レコード)を設定し、各ページに印刷内容(レコードデータ群)を印刷するという複数ページ同時印刷機能を備えたものがある。この複数ページ同時印刷機能は、用紙枚数の減少による低コスト化や、印刷物の省スペース化、印刷内容全体の把握の容易化等の効果を有するため広く用いられている。
【0003】
このような複数ページ印刷機能を利用して印刷内容を複数部数印刷する際に、1つの印刷内容を全て印刷し終えると、次の印刷内容は、新しい用紙の先頭ページから印刷される。このような場合、1つの印刷内容を印刷した最後の用紙は余白ページを生じることがあり、印刷物の用紙枚数の減少などの効果が十分に発揮できない。そこで、複数ページ同時印刷機能を用いて複数の印刷内容を連続印刷する場合に、1つの印刷内容の印刷が終了したときに用紙に余白ページが存在するか否かを判断し、余白ページが存在すると判断された場合に、他の印刷内容がその余白ページから印刷されるといった技術が提案されている(例えば、特許文献1参照)。このような場合、余白ページを生じることなく他の印刷内容を印刷することができるため、用紙の利用効率は、非常に優れている。
【0004】
【特許文献1】
特許第2510563号公報
【0005】
【発明が解決しようとする課題】
しかしながら、その一方で、各部の境界が用紙の境界と一致するとは限らないため、印刷物を1部ずつ配布する必要があるときは、用紙を切断しなければならなくなり、そのときの印刷物は、各部によってそれぞれ異なる形状となる場合がある。各部における印刷物を同形状にするためには、印刷物を最小単位まで切断しなければならなくなり、作業効率も悪くなる。
【0006】
そこで、本発明の目的は、1枚の印刷媒体に複数ページ印刷可能であって、かつ複数のレコードデータからなるレコードデータ群を複数部数印刷する際に、余白ページが生じるのを抑制しつつ印刷物の各部ごとの配布効率を低減させない印刷制御装置及びプログラムを提供することである。
【0007】
【課題を解決するための手段及び発明の効果】
上記目的を達成するために、請求項1に記載の印刷制御装置は、複数のレコードデータからなるレコードデータ群を複数部数印刷可能な印刷制御装置であって、1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2を超える数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2以下の数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段とを備えている。
【0008】
請求項10に記載のプログラムは、コンピュータを、1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2を超える数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2以下の数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段として機能させる。
【0009】
請求項1、請求項10によると、剰余レコード数nがレコード数kの1/2を超える数又はゼロである第1の数である場合には、各部の境界が1枚の印刷媒体の途中に存在しないように複数部数のレコードデータ群中の各レコードデータが印刷媒体に割当てられるので、各部ごとの配布が容易となる。また、剰余レコード数がレコード数kの1/2より大きいので、印刷媒体に生じる余白レコード数は比較的少ない。一方、剰余レコード数nがレコード数kの1/2以下の数(ゼロを除く)である第2の数である場合には、各部の境界が1枚の印刷媒体の途中に存在しないように複数部数のレコードデータ群中の各レコードデータを印刷媒体に割当てることにより各部の境界を用紙の境界と一致させると、用紙に生じる余白レコード数が多くなってしまう。そこで、剰余レコード数分のレコード以外のレコードが各部ごとに印刷され、剰余レコード数分のレコードが複数部数まとめて印刷されるようにすることで、印刷媒体に生じる余白レコード数も比較的少なくなる。また、各部ごとの配布を行うには、剰余レコード数分のレコードが印刷された印刷媒体を切断すればよいだけであってこの切断作業は比較的簡単に行うことができる。このように、剰余レコード数nが第1の数及び第2の数のいずれである場合にも、余白レコードが生じるのを抑制しつつ印刷物の各部ごとの配布を容易にすることが可能となる。
【0010】
請求項2に記載の印刷制御装置は、複数のレコードデータからなるレコードデータ群を複数部数印刷可能な印刷制御装置であって、1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2以上の数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2より小さい数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段とを備えている。
【0011】
請求項11に記載のプログラムは、コンピュータを、1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2以上の数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2より小さい数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段として機能させる。
【0012】
請求項2、請求項11によると、剰余レコード数nがレコード数kの1/2以上の数又はゼロである第1の数である場合には、各部の境界が1枚の印刷媒体の途中に存在しないように複数部数のレコードデータ群中の各レコードデータが印刷媒体に割当てられるので、各部ごとの配布が容易である。また、剰余レコード数がレコード数kの1/2より大きいので、印刷媒体に生じる余白レコード数は比較的少ない。一方、剰余レコード数nがレコード数kの1/2より小さい数(ゼロを除く)である第2の数である場合には、各部の境界が1枚の印刷媒体の途中に存在しないように複数部数のレコードデータ群中の各レコードデータを印刷媒体に割当てることにより各部の境界を用紙の境界と一致させると、用紙に生じる余白レコード数が多くなってしまう。そこで、剰余レコード数分のレコード以外のレコードが各部ごとに印刷され、剰余レコード数分のレコードが複数部数まとめて印刷されるようにすることで、印刷媒体に生じる余白レコード数も比較的少なくなる。また、各部ごとの配布を行うには、剰余レコード数分のレコードが印刷された印刷媒体を切断すればよいだけであって、この切断作業は比較的簡単に行うことができる。このように、剰余レコード数nが第1の数及び第2の数のいずれである場合にも、余白レコードが生じるのを抑制しつつ印刷物の各部ごとの配布を容易にすることが可能となる。
【0013】
請求項3に記載の印刷制御装置及び請求項12に記載のプログラムにおいて、前記割当手段は、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、複数部数の前記レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てる。
【0014】
請求項3、請求項12によると、剰余レコード数nが第1の数である場合に、レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるので、印刷媒体切断後にレコードの組替えをすることなく印刷物を配布することができる。
【0015】
請求項4に記載の印刷制御装置及び請求項13に記載のプログラムにおいて、前記割当手段は、前記剰余判断手段によって前記剰余レコード数nが前記第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードと前記剰余レコード数分のレコードとが、夫々各部内においてレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てる。
【0016】
請求項4、請求項13によると、剰余レコード数nが第2の数である場合に、剰余レコード数分のレコード以外のレコードと剰余レコード数分のレコードとが、夫々各部内においてレコード順に配列されて印刷されるので、印刷媒体切断後のレコードの組替え作業が軽減される。
【0017】
請求項5に記載の印刷制御装置及び請求項14に記載のプログラムにおいて、前記割当手段は、前記剰余レコード数nが前記第2の数であると前記剰余判断手段によって判断された場合に、前記剰余レコード数分のレコード以外のレコードと前記剰余レコード数分のレコードとが、夫々各部内において先頭レコードまたは後端レコードからレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てる。
【0018】
請求項5、請求項14によると、剰余レコード数nが第2の数である場合に、剰余レコード数分のレコード以外のレコードと剰余レコード数分のレコードとが、夫々各部内において先頭レコードまたは後端レコードからレコード順に配列されて印刷されるので、剰余レコード数分のレコード以外のレコードと剰余レコード数分のレコードとが夫々各部内においてレコード順に配列されているだけでなく、剰余レコード数分のレコード以外のレコードのレコード順と剰余レコード数分のレコードのレコード順とが混ざり合っておらず、印刷媒体切断後のレコードの組換え作業がさらに軽減される。
【0019】
請求項6に記載の印刷制御装置は、レコードが印刷媒体内においてその送り方向と直交する方向に沿って印刷されるときに、印刷媒体を送り方向と直交する方向に沿って分割した各領域内に印刷可能なレコードの数である領域内印刷可能レコード数h(h:自然数)を記憶するための領域内印刷可能レコード数記憶手段と、レコードデータ群の印刷部数を記憶するための印刷部数記憶手段と、前記剰余判断手段によって前記剰余レコード数nが第2の数であると判断された場合に、前記領域内印刷可能レコード数記憶手段に記憶された領域内印刷可能レコード数hと前記剰余レコード数nとに基づいて、印刷媒体の一つの前記領域内における前記剰余レコード数分のレコードの印刷可能部数を算出するための印刷可能部数算出手段と、前記印刷部数記憶手段に記憶されたレコードデータ群の印刷部数が、前記印刷可能部数算出手段によって算出された印刷可能部数より多いか否かを判断するための領域内印刷可否判断手段とをさらに備えている。そして、前記割当手段は、前記領域内印刷可否判断手段によってレコードデータ群の印刷部数の方が多いと判断された場合、前記印刷可能部数算出手段によって算出された印刷可能部数の剰余レコード数分のレコードが一つの前記領域に印刷され、残りの部数の剰余レコード数分のレコードが他の前記領域の先頭位置から印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てる。
【0020】
請求項15のプログラムは、レコードが印刷媒体内においてその送り方向と直交する方向に沿って印刷されるときに、印刷媒体を送り方向と直交する方向に沿って分割した各領域内に印刷可能なレコードの数である領域内印刷可能レコード数h(h:自然数)を記憶するための領域内印刷可能レコード数記憶手段と、レコードデータ群の印刷部数を記憶するための印刷部数記憶手段と、前記剰余判断手段によって前記剰余レコード数nが第2の数であると判断された場合に、前記領域内印刷可能レコード数記憶手段に記憶された領域内印刷可能レコード数hと前記剰余レコード数nとに基づいて、印刷媒体の一つの前記領域内における前記剰余レコード数分のレコードの印刷可能部数を算出するための印刷可能部数算出手段と、前記印刷部数記憶手段に記憶されたレコードデータ群の印刷部数が、前記印刷可能部数算出手段によって算出された印刷可能部数より多いか否かを判断するための領域内印刷可否判断手段としてコンピュータをさらに機能させる。そして、前記割当手段は、前記領域内印刷可否判断手段によってレコードデータ群の印刷部数の方が多いと判断された場合、前記印刷可能部数算出手段によって算出された印刷可能部数の剰余レコード数分のレコードが一つの前記領域に印刷され、残りの部数の剰余レコード数分のレコードが他の前記領域の先頭位置から印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てる。
【0021】
請求項6、請求項15によると、各部の剰余レコード数分のレコードが複数領域に跨って印刷されることがないため、剰余レコード数分のレコードが印刷された印刷媒体を配布する際、剰余レコード数分のレコードが印刷される印刷媒体をこれが領域ごとに分けられるように切断するだけでよく、印刷物の配布がさらに容易になる。
【0022】
請求項7に記載の印刷制御装置は、複数のレコードデータからなるレコードデータ群を複数部数印刷可能な印刷制御装置であって、1枚の印刷媒体中に複数設定され且つ互いの境界が行の途中に存在しない各領域に印刷可能なレコード数p(p:2以上の自然数)を記憶するための領域レコード数記憶手段と、レコードデータ群の1部当たりの含有レコード数q(q:自然数)を記憶するための含有レコード数記憶手段と、複数部数の前記レコードデータ群が各部ごとに順次印刷される際、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在することがないように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段とを備えている。
【0023】
請求項16に記載のプログラムは、コンピュータを、1枚の印刷媒体中に複数設定され且つ互いの境界が行の途中に存在しない各領域に印刷可能なレコード数p(p:2以上の自然数)を記憶するための領域レコード数記憶手段と、レコードデータ群の1部当たりの含有レコード数q(q:自然数)を記憶するための含有レコード数記憶手段と、複数部数の前記レコードデータ群が各部ごとに順次印刷される際、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在することがないように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段として機能させる。
【0024】
請求項7、請求項16によると、1枚の印刷媒体中に複数設定され且つ互いの境界が行の途中に存在しないように各領域に分けられているので、領域の途中に各部の境界が存在することがないように複数部数のレコードデータ群中の各レコードデータが印刷媒体に割当てられる。これによると、レコードデータ群の各部が必ず領域の先頭から印刷されることになるので、各部ごとの配布を行うには、剰余レコード数分のレコードが印刷される印刷媒体を各領域ごとに切断するという簡易な作業を行うだけでよい。また、印刷物の各部が常に印刷媒体の先頭から印刷されることがないので、余白レコード数も比較的少ないものとなる。
【0025】
請求項8に記載の印刷制御装置及び請求項17に記載のプログラムにおいて、前記割当手段は、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在せず且つ複数部数の前記レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てる。
【0026】
請求項8、請求項17によると、レコードが各部内においてレコード順に配列されて印刷されるので、印刷媒体切断後にレコードの組替えをすることなく印刷物を配布することができる。
【0027】
請求項9に記載の印刷制御装置及び請求項18に記載のプログラムは、前記領域レコード数記憶手段に記憶されたレコード数pが2であり、1枚の印刷媒体中にそれぞれが2レコードを印刷可能な2つの領域が設定されることを特徴としている。
【0028】
請求項9、請求項18によると、1枚の印刷媒体中に設定された2つの領域にそれぞれ2レコードを印刷可能であるために、印刷媒体内の余白を最小限に抑えることができる。
【0029】
なお、請求項10〜18に記載のプログラムは、CD−ROM(Compact DiskRead Only Memory)、MO(Magneto−Optical disk)などのリムーバブル型記録媒体に記録して配布可能である他、有線又は無線の電気通信手段によってインターネットなどの通信ネットワークを介して配布可能である。
【0030】
【発明の実施の形態】
<第1の実施の形態>
以下、本発明の好適な実施の形態について、図面を参照しつつ説明する。図1は、本発明の第1の実施の形態に係る印刷制御装置であるパーソナルコンピュータを含む印刷システム10の外観図である。図1に示すように印刷システム10は汎用のパーソナルコンピュータ11を中心として構成されており、ケーブルを介して、ディスプレイ12と、キーボード13と、プリンタ14とに接続されている。プリンタ14には印刷媒体である図示しない印刷用紙201が供給される。
【0031】
次に、図1に示す印刷システム10により印刷される印刷物について、図2を参照しつつ説明する。図2は、図1に示す印刷システム10により印刷される印刷物の例を描いた模式図である。印刷物には、図2(a)に示すような通常印刷による印刷物と、図2(b)に示すような複数ページ同時印刷による印刷物とがある。
【0032】
通常印刷とは、複数のページ(レコードデータ)からなる印刷内容(レコードデータ群)を印刷する場合に、1ページをそれぞれ1枚の印刷用紙201に印刷する印刷方法である。このとき、例えば、図2(a)に示すように、1枚の印刷用紙201に対して、複数ページのうちの1ページ分だけが印刷される。
【0033】
一方、複数ページ同時印刷とは、複数のページからなる印刷内容を印刷する場合に、1枚の印刷用紙201に複数のページ202を格子状に印刷する印刷方法である。この複数ページ同時印刷において、印刷用紙201を送り方向と直交する方向(本実施の形態では印刷用紙201の幅方向)に沿って分割した各領域を行と称する。複数ページ同時印刷の場合、複数のページは、上の行から下の行に向かうほどページ数が増加し且つ各行内において左から右に向かうに連れてページ数が増加するように印刷用紙201内に配列される。なお、図2(a)、(b)の各ページ202内に記載された数字(「1」、「2」、…「9」)は、ページ数を表すものとする。
【0034】
1枚の印刷用紙201に印刷可能なページ202の数及び各行に印刷可能なページ202の数は、ユーザにより設定可能である。例えば、図2(b)に示すように、1枚の印刷用紙201に行数が3で9ページ同時印刷できるように設定された場合は、3行3列の格子状に分割されたページ202に1ページから9ページの各ページ202が印刷される。
【0035】
次に、印刷システム10の構成について図3を参照しつつ詳細に説明する。図3は、図1に示す印刷システム10の構成を示すブロック図である。パーソナルコンピュータ11は、各種演算を実行するCPU(Central Processing Unit)と、パーソナルコンピュータ11を動作させる演算プログラムを記憶しているROM(Read Only Memory)と、パーソナルコンピュータ11を印刷システム10として機能させる演算プログラム(このプログラムは、CD−ROM、MO等のリムーバブル型記録媒体に記録しておくことにより、任意のコンピュータにインストールすることが可能である)を記憶しているHD(Hard Disc)と、演算プログラムを動作させる上で必要となるデータを記憶するRAM(Random−Access Memory)と、パーソナルコンピュータ10と各種外部機器(ディスプレイ12、キーボード13、マウス14)とを接続するインターフェース130とを有している。これらは相互に接続されておりデータの転送等を行う。そして、これらのハードウェア及びソフトウェアが組み合わされることによって、後に説明する各機能部111から118が構築される。
【0036】
まず、図3における各機能部111から115について説明する。ページ単位レコード数記憶部(レコード数記憶手段)111は、複数ページ同時印刷の場合に、1枚の印刷用紙201に印刷可能なページ数又はレコード数(以下、「ページ単位レコード数k」(k:2以上の自然数)と称する)を記憶する。
【0037】
部単位レコード数記憶部(含有レコード数記憶手段)112は、複数ページ同時印刷の場合に、印刷内容1部あたりに含まれるページ数又はレコード数(以下、「部単位レコード数m」(m:自然数)と称する)を記憶する。
【0038】
剰余レコード数算出部(剰余レコード数算出手段)113は、複数ページ同時印刷の場合に、全ページを印刷した場合の最後の印刷用紙201に印刷されるページ数又はレコード数を算出する。具体的には、部単位レコード数記憶部112に記憶されている部単位レコード数mをページ単位レコード数記憶部111に記憶されているページ単位レコード数kで除算したときの剰余数を剰余レコード数n(n:自然数)として算出する。
【0039】
剰余レコード処理判断部(剰余判断手段)114は、剰余レコード数算出部113で算出した剰余レコード数nがページ単位レコード数kの1/2を超える数または0である通常処理数(第1の数)か、又は、0を除くページ単位レコード数kの1/2以下である剰余レコード一括処理数(第2の数)かを判断する。
【0040】
レコード割当部(割当手段)115は、複数部数の印刷内容が印刷される際、剰余レコード処理判断部114によって剰余レコード数nが通常処理数であると判断された場合に、各部の境界が1枚の印刷用紙201の途中に存在しないように印刷内容中の各レコードデータを印刷用紙201に割当て、剰余レコード処理判断部114によって剰余レコード数nが剰余レコード一括処理数であると判断された場合に、剰余レコード数n分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるように印刷内容中の各レコードデータを印刷媒体に割当てる。また、レコード割当部115は、剰余レコード処理判断部114によって剰余レコード数nが剰余レコード一括処理数であると判断された場合に、剰余レコード数n分のレコード以外のレコードと剰余レコード数n分のレコードとが、夫々各部内においてレコード順に配列されて印刷されるように印刷内容中の各レコードデータを印刷用紙201に割当てる。
【0041】
レコード割当部115での処理について、図4を参照しつつ具体的に説明する。図4は、第1の実施の形態に係る印刷システム10による複数ページ同時印刷における複数部数印刷の印刷例である。レコード割当部115は、複数ページ同時印刷において、複数部数の印刷を行う場合に、剰余レコード処理判断部114により、剰余レコード数nが通常処理数と判断されたときは通常処理である通常印刷割当てを行い、剰余レコード数nが剰余レコード一括処理数であると判断されたときは剰余レコード一括処理である剰余レコード一括割当を行う。
【0042】
通常印刷割当とは、印刷用紙201に対して各部のページ202を先頭レコードからレコード順に割当てていき、最後のページ202を割当てると、印刷用紙201にページ202を割当てる余白があるか否かと関係なく、次の印刷用紙201に改ページして、再び次の部の先頭ページ202からレコード順に割当てる方法である。
具体例を図4(a)に示す。図4(a)は、ページ単位レコード数kが4、部単位レコード数mが7、印刷部数2の場合の印刷例である。剰余レコード数算出部113により剰余レコード数nは3となる。従って剰余レコード処理判断部114により、剰余レコード数n(=3)が通常処理数であると判断されるため、通常印刷割当を行う。そこで1部目は1ページ目の先頭からレコード「1」から「4」をレコード順に割当てる。その後改ページして次の印刷用紙201の先頭から剰余ページであるレコード「5」から「7」をレコード順に割当て、1部目の割当てを終了する。続いて2部目は、2ページ目にある1レコード分の空きを残して改ページし、3ページ目の印刷用紙201の先頭からレコード「1」から「4」をレコード順に割当て、改ページして4ページ目の印刷用紙201の先頭から剰余ページであるレコード「5」から「7」をレコード順に割当てて、全ての割当てを終了する。
【0043】
剰余レコード一括割当とは、各部の最後から剰余レコード数n分のレコードを除いたレコードを、印刷用紙201に対して先頭レコードからレコード順に割当てていき、全部数について剰余レコード分を除くレコードを割当てた後に改ページして、剰余レコード数n分のレコードのみをレコード順に割当てる割当て方法である。この際、レコード割当部115により、全部数の剰余レコードを1つの行に割当てることができない場合は、各部の境ごとに改行を行いつつ剰余レコードをレコード順に割当てる。具体例を図4(b)に示す。図4(b)は、ページ単位レコード数kが4、部単位レコード数mが6、印刷部数が2の場合の印刷例である。この場合、剰余レコード数算出部113により剰余レコード数nは2となる。従って剰余レコード処理判断部114により、剰余レコード数n(=2)が剰余レコード処理数と判断されるため、剰余レコード一括割当てを行う。1部目は1ページ目の印刷用紙201の先頭から剰余レコード数2を除くレコード「1」から「4」をレコード順に割当てて1部目を終了する。続いて2部目も一部目と同様に改ページして2ページ目の印刷用紙201の先頭から剰余レコード数2を除くレコード「1」から「4」をレコード順に割当てて2部目を終了する。その後、改ページして3ページ目の印刷用紙201に1部目の剰余レコード「5」から「6」と2部目の剰余レコード「5」から「6」をレコード順に割当てて全ての割当てを終了する。
【0044】
続いて、図3における残りの機能部116から119について説明する。領域内印刷可能レコード数記憶部(領域内印刷可能レコード数記憶手段)116は、複数ページ同時印刷において、各行に印刷可能なページ数又はレコード数を領域内印刷可能レコード数h(h:自然数)として記憶する。
【0045】
印刷部数記憶部(印刷部数記憶手段)117は、印刷内容の印刷部数を記憶する。
【0046】
印刷可能部数算出部(印刷可能部数算出手段)118は、レコード割当部115において、剰余レコード一括割当てを行うときに、各行に剰余レコードが何部印刷可能かを算出する。具体的には、領域内印刷可能レコード数hを剰余レコード数nで除して、その商を算出する。
【0047】
領域内印刷可否判断部(領域内印刷可否判断手段)119は、印刷部数が印刷可能部数算出部118により算出された印刷可能部数より多いか否かにより、全部数の剰余レコードを1つの行に割当てることができるか否かを判断する。つまり、印刷部数が印刷可能部数より多い場合は全部数の剰余レコードを1つの行に割当てることができないが、印刷部数が印刷可能部数以下である場合は割当てることができる。
【0048】
レコード割当部115での剰余行の割当動作について、図5を参照しつつ説明する。図5は、印刷システム10による複数ページ同時印刷における複数部数印刷の場合に剰余レコード一括割当てを行った印刷例である。レコード割当部115は、領域内印刷可否判断部119により全部数の剰余レコードを1つの行に割当てることができると判断された場合は、全剰余レコードを1つ目の行内にレコード順に割当てる。例えば、図5(a)は、ページ単位レコード数kが8、領域内印刷可能レコード数hが4、部単位レコード数mが10、印刷部数が2の場合の印刷例である。剰余レコード数算出部113により剰余レコード数nが2となるので剰余レコード処理判断部114により剰余レコード一括割当てが行われる。剰余レコード一括割当てが行われると図5(a)が示すように、各部のレコード「1」から「8」が1ページ目と2ページ目の印刷用紙201に、それぞれレコード順に割当てられ、レコード「9」から「10」は剰余レコードとして3ページ目の印刷用紙201にレコード順に割当てられる。このとき、領域内印刷可否判断部119により、印刷部数2が、印刷可能部数算出部118で算出される行に割当可能な剰余レコード部数2と等しい、つまり印刷可能部数以下であると判断されるので、レコード割当部115により各部の剰余レコードは1つ目の行に割当てられる。
【0049】
領域内印刷可否判断部119により全部数の剰余レコードを1つの行に割当てることができないと判断された場合は、最初の行にできるだけ多くの部数の剰余レコードを割り当て、印刷できない残りの部数の剰余レコードを次の行に割り当てるというように順次割り当てていく。例えば、図5(b)は、ページ単位レコード数kが8、領域内印刷可能レコード数hが4、部単位レコード数mが11、印刷部数が2の場合の印刷例である。剰余レコード数算出部113により剰余レコード数nが3となるので剰余レコード処理判断部114により剰余レコード一括割当てが行われる。剰余レコード一括割当てが行われると図5(b)が示すように、各部のレコード「1」から「8」が1ページ目と2ページ目の印刷用紙201に、それぞれレコード順に割当てられ、レコード「9」から「11」は剰余レコードとして3ページ目の印刷用紙201からレコード順に割当てられる。このとき、領域内印刷可否判断部119により、印刷部数2が印刷可能部数算出部118で算出される各行に割当可能な剰余レコード部数1より多いと判断されるので、1部の剰余レコードが割当てられる毎に改行し、レコード割当部115によりそれぞれ1つの行にレコード順に割当てられる。
【0050】
次に、印刷システム10の複数ページ同時印刷における複数部数印刷時の処理手順について、図6を参照しつつ説明する。図6は、印刷システム10の複数ページ同時印刷における複数部数印刷時の処理手順を示すフローチャートである。
【0051】
まず、ステップS110(以下S110と略す、他のステップも同様)に移行して、初期化を行う。初期化の内容は印刷部数、部単位レコード数k、ページ単位レコード数、領域内印刷可能レコード数h等印刷に必要なデータの格納、剰余レコード数算出部113による剰余レコード数nの算出や、現在印刷完了している部数を示す印刷部数カウンタHに0を代入してリセットすることである。その後、S120に移行する。S120では、印刷部数カウンタHより印刷完了部数を確認して全部数の印刷が終了したか否かを判断する。印刷部数カウンタが全印刷部数より小さく、全部数の印刷が終了していなければ(S120:YES)、S150に移行し、印刷が完了した総ページ数又は総レコード数を示すレコードカウンタKに0を代入することでレコードカウンタKの初期化を行い、S160に移行する。
【0052】
S160において、部単位の印刷が完了したか否か判断する。部単位の印刷が完了したか否かは、剰余レコード処理判断部114により、通常処理を行うと判断された場合は部単位レコード全てのページ202の印刷が完了したときであり、剰余レコード一括処理を行うと判断された場合は部単位レコードから剰余レコードを除く数のレコードの印刷が完了したときである。部単位の印刷が完了していない場合は(S160:NO)、S170に移行し、レコードカウンタKが示す値に1を足した値に相当するページ202からページ単位レコード数k分のページ202を印刷用紙201に割当てる。但し通常処理の場合は、ページ単位レコード数k分のページ202を印刷用紙201に割当てる前に最後のページ202が現れる場合がある(例えば、図4(a)における2ページ目の印刷用紙)。その場合は最後のページ202(図4(a)のレコード「7」)まで割当てる。そして割当ての完了した印刷ページを印刷する。その後、S180に移行して改ページする。その後、レコードカウンタKを割当てたレコード分だけカウントアップして再びS160に移行する。S160において、部単位の印刷が完了した場合は(S160:YES)、S200に移行し、部数カウンタHをカウントアップしてS120に移行する。
【0053】
S120において、全部数の印刷が終了していれば(S120:NO)、S130に移行し、剰余レコード一括処理が残っているか否か判断する。剰余レコード一括処理が残っていれば(S130:YES)、図7のフローチャートによる剰余複数ページ同時印刷処理を行う。その後、図6のフローチャートである印刷システムの処理手順を終了する。剰余レコード一括処理が残っていなければ(S130:NO)、そのまま図6のフローチャートである印刷システムの処理手順を終了する。
【0054】
次に図6のフローチャートにおけるS140である剰余複数ページ同時印刷処理の処理手順について、図7を参照しつつ説明する。図7は印刷システム10の剰余複数ページ同時印刷処理の処理手順を示すフローチャートである。まず、S310に移行し、剰余複数ページ同時印刷部数カウンタWと行カウンタYとに0を代入してリセットすることなど、剰余レコード一括処理用の初期化を行う。その後、S320に移行して行カウンタYが1ページ当りの行数を超えているか否か判断する。行カウンタYが1ページ当りの行数を超えていれば(S320:NO)、S330に移行して改ページし、さらにS340に移行して行カウンタYに0を代入してリセットする。その後、S350に移行する。
【0055】
S320において、行カウンタYが1ページ当りの行数を超えていなければ(S320:YES)、S350に移行し、レコードカウンタXに0を代入してリセットする。ここでレコードカウンタXは、印刷したレコード数を記憶するものである。その後S360に移行し、レコードカウンタXが0でない場合に、これに続けて1部に係る剰余レコードを割当て可能か否か判断する。割当て可能か否かの判断は領域内印刷可否判断部119で行う。具体的には、レコードカウンタXの値に基づいて、当該行内の残りのページ数を算出し、残りのページ数が剰余レコードに係るページ数を超えているかどうかを判断する。部単位の剰余レコードを割当て不能であれば(S360:NO)、S370に移行し、行カウンタYをカウントアップして、その後、再びS320に移行する(図5(b)参照)。部単位の剰余レコードを割当て可能であれば(S360:YES)、S380に移行し、1部に係る剰余レコードを順次行に割当てるとともに印刷を実行する(図5(a)参照)。その後、S390に移行してレコードカウンタXを印刷したレコード分カウントアップし、剰余複数ページ同時印刷部数カウンタWをカウントアップする。その後、S400に移行し、印刷部数カウンタWに基づいて全ての部数の印刷が完了したか否か判断する。全ての部数の印刷が完了すれば(S400:NO)、図7のフローチャートを終了して図6のフローチャートに戻る。全ての部数の印刷が完了していなければ(S400:YES)、再びS360に移行する。なお、実際には1ページ内又は1行内のページを順番に印刷するのではなく、同時に印刷するようにしてよい。
【0056】
以上、説明したように、本実施の形態によると、複数ページ同時印刷において、複数部数印刷する場合に、印刷されるレコードの割当て状態により通常処理の印刷と剰余レコード一括処理の印刷を切り替えるので用紙の使用効率が上がる。また、配布する際には、剰余レコードのみが印刷された用紙のみを切断することにより各部を分離することができるので配布作業が容易になる。また、ページ202の割当ては全てレコード順に従ってなされているので印刷用紙201切断後のページ組替え作業等が不要になる。しかも、図4(b)のように剰余ページのまとめ印刷を行う場合に、後端ページからページ順に選択されたレコード「5」「6」をまとめ印刷しているので、印刷用紙201切断後のページ組替え作業が非常に簡易となる。なお、図4(b)の例において先端ページから選択されたレコード「1」「2」をまとめ印刷しても同様の効果が得られる。
【0057】
<第2の実施の形態>
次に本発明の第2の実施の形態について説明する。第1の実施の形態との相違は機能及び印刷の処理手順であるのでその部分のみ説明する。
【0058】
次に第2の実施の形態に係る印刷システム10の機能について図8を参照しつつ詳細に説明する。図8は、本実施の形態に係る印刷システム10の構成を示すブロック図である。
【0059】
領域レコード数記憶部(領域レコード記憶手段)211は、印刷用紙201上に設定され、複数の行で構成される同形状の領域内に含まれるページ202の数を領域レコード数p(p:自然数)として記憶する。この領域について、図9を参照しつつ説明する。図9は本実施の形態に係る印刷システム10による複数ページ同時印刷における複数部数印刷の印刷例である。図9に示すように、印刷用紙201は上下2つの領域(行)205に分けられる。この領域205の領域レコード数pは2である。
【0060】
部単位レコード数記憶部(含有レコード数記憶手段)212は、複数ページ同時印刷の場合に、印刷される1部あたりのページ数又はレコード数を部単位レコード数q(q:自然数)としてRAMに記憶する。
【0061】
レコード割当部(割当手段)213は、複数ページ同時印刷において、複数部数印刷する場合に、部単位レコード数qと領域レコード数pとに基づいて、各部の境界が領域205の途中に存在せず且つ複数部数の印刷内容に係るレコードが各部内においてレコード順に配列されて印刷されるようにページ202を順次印刷用紙201に割当てる。例えば、図9のように印刷用紙201に上下2つの領域205があって印刷部数が2で、部単位レコード数記憶部212に記憶されたページ数が5の場合は、1枚目の印刷用紙201に1部目の1〜4ページがページ順に割当てられ、2枚目の印刷用紙201の上領域205に1部目の5ページが割り当てられ、2枚目の印刷用紙201の下領域205に2部目の1〜2ページが割り当てられ、3枚目の印刷用紙201の上領域205に2部目の3〜4ページが割り当てられ、3枚目の印刷用紙201の下領域205に2部目の5ページが割り当てられる。
【0062】
次に、本実施の形態に係る印刷システム10の複数ページ同時印刷における複数部数印刷時の処理手順について、図10を参照しつつ説明する。図10は、本実施の形態に係る印刷システム10の複数ページ同時印刷における複数部数印刷時の処理手順を示すフローチャートである。
【0063】
まず、S510において、初期化処理を行う。そして、S520において、各レコード又はページを印刷用紙201に上領域205から順に割り当てる。S530では、S520で割り当てられたレコードが各部の最後のレコード(図9の例では「5」)であるかが判断される。そして、各部の最後のレコードであれば(S530:YES)、S540に進む。他方、各部の最後のレコードでなければ(S530:NO)、S520に戻る。
【0064】
S540では、予定されている全ての部の印刷が終了したかどうかが判断される。そして印刷が終了したと判断されると(S540:YES)、本処理を終了する。他方、印刷が終了していないと判断されると(S540:NO)、S550に進む。
【0065】
S550では、S520で割り当てられたレコードに係る各領域205内に未だレコードが割り当てられていない空白部分が残っているか、つまり当該部の終了位置が領域の途中か否かが判断される。そして、空白部分が残っている場合(S550:YES)、S560に進む。S560では、その空白部分にレコードが割り当てられないように当該行が改行され、S520へと戻る。他方、空白部分が残っていない場合には(S550:NO)、改行をおこなうことなくS520に戻る。これにより、図9に示したような印刷結果が得られる。
【0066】
以上、説明したように、本発明の第2の実施の形態によると、複数ページ同時印刷において、複数部数の印刷をする場合に、各部の境界が領域の途中に存在しないので、印刷用紙201の分離作業も配布作業も効率がよく、印刷用紙201の余白ページ数も少なくなる。また、ページ202の割当ては全てレコード順に従ってなされているので印刷用紙201切断後の組替え作業がほとんど不要になる。
【0067】
以上、本発明の好適な実施の形態について説明したが、本発明は上述の実施の形態に限られるものではなく、特許請求の範囲に記載した限りにおいて様々な設計変更が可能なものである。例えば、第1の実施の形態では、剰余レコード一括処理を行うか否かの判断基準を剰余レコードが印刷される印刷用紙201の使用率が1/2以下としたが使用率が1/2未満としてもよい。
【0068】
また、第1、第2の実施の形態では、ページ202の割当て順はレコードの順に従ってなされているがこのような方法に限定されるものではなく、例えばレコード順の逆の順に割当ててもよいし、まったくばらばらであってもよい。ただし、レコード順又はその逆順とすることで、印刷用紙201切断後の配布が容易になる。
【0069】
また、第1の実施の形態においては、図4(b)に示すように、まとめて印刷されるのが後端ページから順番に選ばれた剰余レコード数分のレコードであるが、まとめて印刷されるページはどのページであってもよい。ただし、第1の実施の形態のようにすることで、印刷用紙201切断後の配布が容易になる。また、第2の実施の形態においても、各部は必ずしもページ順に割り当てられる必要はない。
【図面の簡単な説明】
【図1】本発明の印刷制御装置を含む印刷システムの外観図である。
【図2】図1に示す印刷システムにより印刷される印刷物の例である。
【図3】第1の実施の形態に係る印刷システムのブロック図である。
【図4】図3に示す印刷システムによる複数ページ同時印刷における複数部数印刷の印刷例である。
【図5】図3に示す印刷システムにおける複数部数印刷の場合に剰余レコード一括割当てを行った印刷例である。
【図6】図3に示す印刷システムの複数ページ同時印刷における複数部数印刷時の処理手順を示すフローチャートである。
【図7】図1に示す印刷システムの剰余複数ページ同時印刷処理の処理手順を示すフローチャートである。
【図8】本発明の第2の実施の形態に係る印刷システムのブロック図である。
【図9】図8に示す印刷システムによる複数ページ同時印刷における複数部数印刷の印刷例である。
【図10】図8に示す印刷システムによる複数ページ同時印刷における複数部数印刷時の処理手順を示すフローチャートである。
【符号の説明】
11 パーソナルコンピュータ
12 ディスプレイ
13 キーボード
14 プリンタ
111 ページ単位レコード数記憶部
112 部単位レコード数記憶部
113 剰余レコード数算出部
114 剰余レコード処理判断部
115 レコード割当部
201 印刷用紙
202 レコード
205 領域
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a print control device and a program capable of printing a plurality of records on a single print medium.
[0002]
[Prior art]
Some word processors and the like have, for example, a plurality of pages (records) on one sheet of paper and a function of printing a plurality of pages simultaneously (print data group) on each page. The multiple page simultaneous printing function is widely used because it has effects such as cost reduction by reducing the number of sheets, space saving of printed matter, and easy understanding of the entire print content.
[0003]
When printing a plurality of copies of the print content using such a multi-page print function, when one print content is completely printed, the next print content is printed from the first page of a new sheet. In such a case, a blank page may be formed on the last sheet on which one print content is printed, and the effect of reducing the number of sheets of the printed matter cannot be sufficiently exerted. Therefore, when printing a plurality of print contents continuously using the simultaneous printing function of a plurality of pages, it is determined whether or not a blank page exists on the sheet when printing of one print content is completed. A technique has been proposed in which, if it is determined that another print content is printed from the margin page (for example, see Patent Document 1). In such a case, since other print contents can be printed without generating a blank page, the paper use efficiency is very excellent.
[0004]
[Patent Document 1]
Japanese Patent No. 2510563
[0005]
[Problems to be solved by the invention]
However, on the other hand, since the boundaries of each set do not always coincide with the boundaries of the paper, when it is necessary to distribute the printed matter one copy at a time, the paper must be cut, and the printed matter at that time must be May have different shapes. In order to make the printed matter in each part the same shape, it is necessary to cut the printed matter to the minimum unit, and the work efficiency is deteriorated.
[0006]
Accordingly, an object of the present invention is to print a plurality of pages on a single print medium, and to suppress generation of blank pages when printing a plurality of sets of record data groups including a plurality of record data while suppressing the generation of blank pages. It is an object of the present invention to provide a print control apparatus and a program which do not reduce the distribution efficiency of each unit.
[0007]
Means for Solving the Problems and Effects of the Invention
In order to achieve the above object, a print control device according to claim 1 is a print control device capable of printing a plurality of record data groups including a plurality of record data on a single print medium. Record number storage means for storing the number of records k (k: a natural number of 2 or more), and content record number storage means for storing the number of contained records m (m: natural number) per copy of a record data group A remainder record number calculation unit for calculating a remainder record number n when the content record number m stored in the content record number storage unit is divided by the record number k stored in the record number storage unit; The surplus record number n calculated by the surplus record number calculation means is a number exceeding one half of the record number k stored in the record number storage means or zero. A remainder judging means for judging whether the number is 1 or a second number which is not more than half (excluding zero) of the number k of records stored in the record number storage means. When a plurality of copies of the record data group are printed, if the remainder determination unit determines that the remainder record number n is the first number, the boundary of each copy is set in the middle of one print medium. All the record data in the record data group are allocated to the print medium so as not to exist in the record medium, and when the surplus determination unit determines that the number of surplus records is the second number, the record data other than the record number of the surplus records is All records are allocated to print media so that records of each record are printed separately for each copy, and records of the surplus records are printed collectively for a plurality of copies. And a order assignment unit.
[0008]
The program according to claim 10, wherein the computer is configured to store a record number k (k: a natural number of 2 or more) printable on one print medium, and a record number storage unit for each copy of a record data group. The number of contained records for storing the number of contained records m (m: natural number), and the number of contained records m stored in the contained record number storing means by the number of records k stored in the record number storing means. A surplus record number calculating means for calculating a surplus record number n at the time of division, and the surplus record number n calculated by the surplus record number calculation means is a record number k stored in the record number storage means. A first number that is more than 1/2 or zero, and a number (excluding zero) that is less than or equal to 1/2 of the number k of records stored in the record number storage means. A remainder judging unit for judging which one of the second numbers, and when the plurality of sets of the record data group are printed, the surplus judging unit sets the surplus record number n to the first number. When it is determined that each record data in the record data group is allocated to the print medium so that the boundary of each part does not exist in the middle of one print medium, the remainder determination unit determines that the number of surplus records is the second. Record data such that records other than the number of records of the remainder record are printed separately for each copy, and the records of the number of remainder records are collectively printed for a plurality of copies. It is made to function as an allocating means for allocating each record data in the group to a print medium.
[0009]
According to claims 1 and 10, when the number n of surplus records is a number exceeding 1/2 of the number k of records or the first number which is zero, the boundary of each part is set in the middle of one print medium. Since the record data in the record data group of a plurality of copies are allocated to the print medium so as not to exist in the print data, distribution of each copy becomes easy. Further, since the number of surplus records is larger than 1/2 of the number k of records, the number of blank records generated on the print medium is relatively small. On the other hand, if the number n of surplus records is a second number that is equal to or less than の of the number k of records (excluding zero), the boundary of each part should not exist in the middle of one print medium. If each record data in the record data group of a plurality of copies is assigned to a print medium so that the boundaries of the respective portions coincide with the boundaries of the paper, the number of blank records generated on the paper increases. Therefore, records other than the record of the number of surplus records are printed for each copy, and the records of the number of surplus records are printed collectively for a plurality of copies, so that the number of blank records generated on the print medium is also relatively small. . In addition, distribution of each copy can be performed simply by cutting the print medium on which records of the number of surplus records are printed, and this cutting operation can be performed relatively easily. As described above, regardless of whether the number n of the surplus records is the first number or the second number, it is possible to facilitate the distribution of each copy of the printed matter while suppressing the generation of the blank record. .
[0010]
The print control device according to claim 2 is a print control device capable of printing a plurality of sets of record data groups including a plurality of record data, wherein the number k of records that can be printed on one print medium (k: 2 or more) Record number storing means for storing the natural number of record records, content record number storing means for storing the number m of contained records per copy of a record data group (m: natural number), and the stored record number storing means. The remainder record number calculation means for calculating the remainder record number n when the stored content record number m is divided by the record number k stored in the record number storage means, and the remainder record number calculation means A first number in which the number n of remaining records is equal to or more than の of the number k of records stored in the number-of-records storage means or zero; A remainder judging means for judging which of the second numbers is a number (excluding zero) smaller than 1/2 of the number k of records stored in the storage means (excluding zero); At the time of printing, when the remainder determination unit determines that the remainder record number n is the first number, the record data group is set so that the boundary of each part does not exist in the middle of one print medium. Is allocated to a print medium, and when the remainder determination unit determines that the number of surplus records is the second number, records other than the record of the number of surplus records are printed separately for each copy. Allocating means for allocating each record data in a record data group to a print medium such that the records of the number of surplus records are collectively printed for a plurality of copies. To have.
[0011]
12. The computer program product according to claim 11, wherein the computer is configured to store a record number k (k: a natural number of 2 or more) printable on one print medium, The number of contained records for storing the number of contained records m (m: natural number), and the number of contained records m stored in the contained record number storing means by the number of records k stored in the record number storing means. A surplus record number calculating means for calculating a surplus record number n at the time of division, and the surplus record number n calculated by the surplus record number calculation means is a record number k stored in the record number storage means. A first number that is 1/2 or more or zero, and a number (excluding zero) that is smaller than 1/2 of the number k of records stored in the record number storage unit. A remainder determining means for determining which of the second number is the second number, and when the plurality of sets of record data groups are printed, the remainder determining means sets the remainder record number n to the first number. If it is determined that there is, the record data in the record data group is allocated to the print medium so that the boundary of each section does not exist in the middle of one print medium, and the surplus determination means determines that the number of surplus records is the second. If it is determined that the number of records is equal to the number of records, records other than the number of records of the remainder record are printed separately for each copy, and records of the number of remainder records are printed collectively for a plurality of copies. It is made to function as an allocating means for allocating each record data in the data group to the print medium.
[0012]
According to the second and eleventh aspects, when the number n of surplus records is a number equal to or more than の of the number k of records or the first number which is zero, the boundary of each part is in the middle of one print medium. Since the record data in the record data group of a plurality of copies is allocated to the print medium so as not to exist in the print medium, distribution of each copy is easy. Further, since the number of surplus records is larger than 1/2 of the number k of records, the number of blank records generated on the print medium is relatively small. On the other hand, if the number n of surplus records is a second number that is smaller than の of the number k of records (excluding zero), the boundary of each part should not exist in the middle of one print medium. If each record data in the record data group of a plurality of copies is assigned to a print medium so that the boundaries of the respective portions coincide with the boundaries of the paper, the number of blank records generated on the paper increases. Therefore, records other than the record of the number of surplus records are printed for each copy, and the records of the number of surplus records are printed collectively for a plurality of copies, so that the number of blank records generated on the print medium is also relatively small. . In addition, distribution of each copy only requires cutting the print medium on which records of the number of surplus records are printed, and this cutting operation can be performed relatively easily. As described above, regardless of whether the number n of the surplus records is the first number or the second number, it is possible to facilitate the distribution of each copy of the printed matter while suppressing the generation of the blank record. .
[0013]
13. The print control apparatus according to claim 3, wherein the allocating unit is configured to execute a plurality of processes when the surplus record number n is determined to be the first number by the surplus determination unit. Each record data in the record data group is allocated to a print medium such that the records related to the record data group of the number of copies are arranged in the order of records in each copy and printed.
[0014]
According to the third and twelfth aspects, when the number n of surplus records is the first number, the records related to the record data group are arranged and printed in the order of the records in each copy. Printed materials can be distributed without rearrangement.
[0015]
14. The print control device according to claim 4, wherein in the program according to claim 13, the allocating unit is configured to execute the processing when the surplus determination unit determines that the surplus record number n is the second number. Each record data in the record data group is allocated to the print medium such that records other than the record of the remainder record number and the record of the remainder record number are arranged and printed in the record order in each unit.
[0016]
According to claim 4 and claim 13, when the number n of surplus records is the second number, records other than the number of records of the number of surplus records and records of the number of surplus records are arranged in the order of records in each unit. Since the data is printed after being cut, the work of rearranging records after cutting the print medium is reduced.
[0017]
The print control device according to claim 5 and the program according to claim 14, wherein the allocating unit is configured to, when the remainder determining unit determines that the remainder record number n is the second number, Each record data in the record data group is arranged such that records other than the record of the remainder record number and the record of the remainder record number are arranged and printed in the record order from the first record or the last record in each copy. Assign to print media.
[0018]
According to claim 5 and claim 14, when the number n of surplus records is the second number, the record other than the record of the number of surplus records and the record of the number of surplus records are respectively the first record or Since the records are arranged in the record order from the rear end record and printed, the records other than the record of the number of the surplus records and the records of the number of the surplus records are not only arranged in the record order in each unit, but also the number of the records of the surplus records. The record order of the records other than the record record and the record order of the records corresponding to the number of surplus records are not mixed, and the work of recombining the records after cutting the print medium is further reduced.
[0019]
The print control device according to claim 6, wherein when the record is printed in the print medium in a direction orthogonal to the feed direction, each area obtained by dividing the print medium in the direction orthogonal to the feed direction. Area printable record number storage means for storing the number h (h: natural number) of printable records in the area, which is the number of records printable in the printer, and storage of the number of print copies for storing the number of print copies of the record data group Means for determining whether the remainder record number n is a second number by the remainder determination means, the number h of printable records in the area stored in the number of printable records in area storage means and the remainder A printable copy number calculating unit for calculating the printable copy number of the record of the surplus record number in one area of the print medium based on the record number n; In-area printability determination means for determining whether the number of print copies of the record data group stored in the number-of-copies storage means is greater than the number of printable copies calculated by the printable-number-of-prints calculation means. . When the in-area printability determination means determines that the number of print copies of the record data group is larger, the allocating means determines whether the number of printable copies calculated by the number of printable copies calculation means is equal to the number of surplus records. Each record data in the record data group is assigned to a print medium such that records are printed in one of the areas and the remaining copies of the remaining copies are printed from the head position of the other areas.
[0020]
The program according to claim 15, when the record is printed on the print medium along a direction orthogonal to the feed direction, can print the print medium in each area divided along the direction orthogonal to the feed direction. An in-area printable record number storage unit for storing the number h (h: natural number) of in-area printable records that is the number of records; a print copy number storage unit for storing the number of print copies of a record data group; When the surplus record number n is determined to be the second number by the surplus determination means, the number h of printable records in the area stored in the number of printable records in area storage means and the number n of the surplus records are stored. Printable copy number calculating means for calculating the number of printable copies of the number of records corresponding to the number of surplus records in one area of a print medium based on the number of print copies, Number of copies of the record data groups stored in the 憶 means further causes the computer to function as an area in the print permission determination means for determining whether more or not than the calculated printable copy number by the printable copy number calculation means. When the in-area printability determination means determines that the number of print copies of the record data group is larger, the allocating means determines whether the number of printable copies calculated by the number of printable copies calculation means is equal to the number of surplus records. Each record data in the record data group is assigned to a print medium such that records are printed in one of the areas and the remaining copies of the remaining copies are printed from the head position of the other areas.
[0021]
According to the sixth and fifteenth aspects, since the records corresponding to the number of surplus records of each unit are not printed over a plurality of areas, when distributing a print medium on which the records corresponding to the number of surplus records are printed, It is only necessary to cut the print medium on which the records for the number of records are printed so that the print medium is divided into regions, and the distribution of the printed matter is further facilitated.
[0022]
A print control device according to claim 7, wherein the print control device is capable of printing a plurality of sets of record data including a plurality of record data, wherein a plurality of record data groups are set in one print medium, and a boundary between the plurality of record data groups is set to a line. Area record number storage means for storing the number of records p (p: a natural number of 2 or more) printable in each area that does not exist on the way, and the number of contained records q per copy of a record data group (q: natural number) When the record data group of a plurality of copies is sequentially printed for each copy, the number of records p stored in the area record number storage means and the number of content records stored in the content record number storage means are stored. Based on the stored content record number q, each record data in the record data group of a plurality of copies is marked so that the boundary of each part does not exist in the middle of the area. And a assigning means for assigning to the medium.
[0023]
The program according to claim 16, wherein the computer is configured to set a plurality of records p (p: a natural number of 2 or more) that can be printed in a plurality of areas set on a single print medium and whose boundaries do not exist in the middle of a line. Area record number storing means for storing the number of contained records per copy of a record data group (q: natural number), and a record data group storage means for storing a plurality of copy record data groups. When sequentially printed for each area, the boundary of each part is located in the middle of the area based on the record number p stored in the area record number storage means and the content record number q stored in the content record number storage means. It is made to function as allocating means for allocating each record data in the plurality of record data groups to a print medium so as not to exist.
[0024]
According to Claims 7 and 16, a plurality of print areas are set in one print medium, and the boundaries are divided into areas so that the boundaries do not exist in the middle of a line. Each record data in the record data group of plural copies is allocated to the print medium so as not to exist. According to this, since each part of the record data group is always printed from the beginning of the area, in order to distribute each part, the print medium on which the record of the surplus record number is printed is cut for each area. All you have to do is perform the simple task of doing so. In addition, since each part of the printed matter is not always printed from the top of the print medium, the number of margin records is relatively small.
[0025]
18. The print control device according to claim 8, wherein the allocating unit includes a record number p stored in the area record number storage unit and a content record stored in the content record number storage unit. Based on the number q, the plurality of sets of record data are arranged such that the boundaries of the respective sets do not exist in the middle of the area, and the records related to the plurality of sets of record data groups are arranged in the order of records in each set and printed. Each record data in the group is assigned to a print medium.
[0026]
According to the eighth and seventeenth aspects, the records are arranged in the order of the records in each copy and printed, so that the printed matter can be distributed without rearranging the records after cutting the print medium.
[0027]
The print control device according to claim 9 and the program according to claim 18, wherein the number of records p stored in the area record number storage means is 2, and two records are each printed on one print medium. It is characterized in that two possible areas are set.
[0028]
According to the ninth and eighteenth aspects, since two records can be printed in each of two areas set in one print medium, the margin in the print medium can be minimized.
[0029]
The program according to claims 10 to 18 can be recorded and distributed on a removable recording medium such as a CD-ROM (Compact Disk Read Only Memory) and an MO (Magneto-Optical Disk), and can be wired or wireless. It can be distributed by a telecommunication means via a communication network such as the Internet.
[0030]
DETAILED DESCRIPTION OF THE INVENTION
<First Embodiment>
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an external view of a printing system 10 including a personal computer, which is a print control device according to a first embodiment of the present invention. As shown in FIG. 1, the printing system 10 is mainly configured with a general-purpose personal computer 11, and is connected to a display 12, a keyboard 13, and a printer 14 via cables. The printer 14 is supplied with a printing paper 201 (not shown) as a printing medium.
[0031]
Next, a printed matter printed by the printing system 10 shown in FIG. 1 will be described with reference to FIG. FIG. 2 is a schematic diagram illustrating an example of a printed matter printed by the printing system 10 illustrated in FIG. The printed matter includes a printed matter by normal printing as shown in FIG. 2A and a printed matter by simultaneous printing of a plurality of pages as shown in FIG. 2B.
[0032]
The normal printing is a printing method for printing one page on one print sheet 201 when printing a print content (record data group) including a plurality of pages (record data). At this time, for example, as shown in FIG. 2A, only one page of the plurality of pages is printed on one print sheet 201.
[0033]
On the other hand, simultaneous printing of a plurality of pages is a printing method of printing a plurality of pages 202 on a single print sheet 201 in a grid pattern when printing a print content including a plurality of pages. In the simultaneous printing of a plurality of pages, each area obtained by dividing the printing paper 201 along a direction orthogonal to the feeding direction (in the present embodiment, the width direction of the printing paper 201) is referred to as a row. In the case of simultaneous printing of a plurality of pages, the number of pages in the printing paper 201 is such that the number of pages increases from the upper row to the lower row and the number of pages increases from left to right in each row. Is arranged. The numbers (“1”, “2”,..., “9”) described in each page 202 in FIGS. 2A and 2B represent the number of pages.
[0034]
The number of pages 202 that can be printed on one print sheet 201 and the number of pages 202 that can be printed on each line can be set by the user. For example, as shown in FIG. 2B, when it is set so that nine lines can be simultaneously printed with three lines on one printing paper 201, the pages 202 divided into a grid of three rows and three columns are used. 1 to 9 pages 202 are printed.
[0035]
Next, the configuration of the printing system 10 will be described in detail with reference to FIG. FIG. 3 is a block diagram showing a configuration of the printing system 10 shown in FIG. The personal computer 11 includes a CPU (Central Processing Unit) that performs various calculations, a ROM (Read Only Memory) that stores a calculation program for operating the personal computer 11, and a calculation that causes the personal computer 11 to function as the printing system 10. An HD (Hard Disc) storing a program (this program can be installed in any computer by recording the program on a removable recording medium such as a CD-ROM or MO), A RAM (Random-Access Memory) for storing data required for operating the program, a personal computer 10 and various external devices (display 12, keyboard 13, mouse) 4) and an interface 130 for connecting the. These are interconnected and perform data transfer and the like. Then, by combining these hardware and software, functional units 111 to 118 described later are constructed.
[0036]
First, each of the functional units 111 to 115 in FIG. 3 will be described. The page unit record number storage unit (record number storage unit) 111 stores the number of pages or the number of records printable on one print sheet 201 (hereinafter, “page unit record number k” (k : Natural number of 2 or more) is stored.
[0037]
In the case of simultaneous printing of a plurality of pages, the copy unit record number storage unit (content record number storage unit) 112 stores the number of pages or the number of records included in one copy of the print content (hereinafter, “collection unit record number m” (m: (Called a natural number).
[0038]
A surplus record number calculation unit (residual record number calculation unit) 113 calculates the number of pages or the number of records to be printed on the last print sheet 201 when all pages are printed in the case of simultaneous printing of a plurality of pages. Specifically, the remainder obtained by dividing the number of records per set m stored in the number of records per copy storage unit 112 by the number k of records per page stored in the per page record number storage unit 111 is the remainder record It is calculated as a number n (n: natural number).
[0039]
The remainder record processing determination unit (remainder determination unit) 114 determines whether the number n of surplus records calculated by the number-of-remaining-records calculation unit 113 is more than の of the number k of records per page, or is zero (the first processing number). Number) or the number of batch-processed remainder records (second number) which is 1 / or less of the number k of page unit records excluding 0 (second number).
[0040]
The record allocating unit (allocating unit) 115 determines that the boundary of each copy is 1 when the surplus record processing determination unit 114 determines that the surplus record number n is the normal processing number when the print content of a plurality of copies is printed. When each record data in the print content is assigned to the print sheet 201 so that the record data does not exist in the middle of the print sheets 201, and the surplus record processing determination unit 114 determines that the surplus record number n is the surplus record batch processing number Each record data in the print content is printed on a printing medium such that records other than the record of the remainder record number n are printed separately for each copy, and the records for the remainder record number are printed collectively for a plurality of copies. Assign to In addition, when the remainder record processing determination unit 114 determines that the number n of remaining records is the number of batches of remainder records, the record allocating unit 115 determines whether a record other than the number n of remainder records and a number n Are allocated to the printing paper 201 so that the records of the print contents are arranged in the order of records in each copy and printed.
[0041]
The processing in the record allocating unit 115 will be specifically described with reference to FIG. FIG. 4 is an example of printing a plurality of copies in simultaneous printing of a plurality of pages by the printing system 10 according to the first embodiment. The record allocating unit 115 performs the normal print allocation when the surplus record processing determination unit 114 determines that the surplus record number n is the normal process number when performing printing of a plurality of copies in the simultaneous printing of a plurality of pages. Is performed, and when it is determined that the surplus record number n is the surplus record batch processing number, the surplus record batch allocation, which is the surplus record batch processing, is performed.
[0042]
The normal print assignment means that the pages 202 of each unit are assigned to the printing paper 201 in the order of record from the first record, and the last page 202 is assigned, regardless of whether there is a margin for assigning the page 202 to the printing paper 201 or not. In this method, the page is changed to the next print sheet 201, and the pages are again allocated in the order of records from the first page 202 of the next copy.
A specific example is shown in FIG. FIG. 4A is an example of printing in the case where the number of page unit records k is 4, the number of copy unit records m is 7, and the number of print copies is 2. The remainder record number calculation unit 113 sets the remainder record number n to 3. Therefore, the remainder record processing determination unit 114 determines that the number n (= 3) of remainder records is the normal processing number, and thus performs normal print allocation. Therefore, the first copy assigns records “1” to “4” from the top of the first page in record order. After that, a page break is performed and records “5” to “7”, which are surplus pages, are allocated in order of record from the top of the next printing paper 201, and the allocation of the first copy is completed. Subsequently, the second copy starts a new page, leaving an empty space for one record on the second page, allocates records “1” to “4” from the top of the printing paper 201 on the third page in record order, and performs a new page. Then, records “5” to “7”, which are surplus pages from the top of the fourth page of the printing paper 201, are allocated in record order, and all allocation is completed.
[0043]
The surplus record batch allocation means that records excluding the number of surplus records n from the end of each copy are allocated to the printing paper 201 in order from the first record, and records excluding the surplus records for the total number are allocated. After that, a page break is performed, and only records of the surplus record number n are allocated in record order. At this time, if the record allocating unit 115 cannot allocate all the remainder records to one line, the record allocating unit 115 allocates the surplus records in the order of records while performing a line feed at each boundary of each unit. A specific example is shown in FIG. FIG. 4B is a printing example when the number of page unit records k is 4, the number of copy unit records m is 6, and the number of print copies is 2. In this case, the remainder record number calculation unit 113 sets the remainder record number n to 2. Accordingly, since the remainder record processing determination unit 114 determines that the number n of surplus records (= 2) is the number of surplus record processes, the surplus record batch allocation is performed. For the first copy, records “1” to “4”, excluding the remainder record number 2 from the top of the first page of the printing paper 201, are allocated in record order, and the first copy ends. Subsequently, the second copy is page-changed in the same manner as the first copy, and records “1” to “4” excluding the surplus record number 2 from the top of the printing paper 201 of the second page are allocated in record order, and the second copy is completed. I do. Then, a page break is performed, and the surplus records “5” to “6” of the first copy and the surplus records “5” to “6” of the second copy are allocated to the printing paper 201 of the third page in record order, and all the allocations are performed. finish.
[0044]
Subsequently, the remaining functional units 116 to 119 in FIG. 3 will be described. The area printable record number storage unit (area printable record number storage unit) 116 determines the number of pages or records printable on each line in the simultaneous printing of a plurality of pages by the printable record number h (h: natural number) in the area. To be stored.
[0045]
The print copy storage unit (print copy storage unit) 117 stores the number of print copies of the print contents.
[0046]
The printable copy number calculation unit (printable copy number calculation unit) 118 calculates how many surplus records can be printed on each line when the record allocation unit 115 performs surplus record batch allocation. Specifically, the quotient is calculated by dividing the number h of printable records in the area by the number n of remaining records.
[0047]
The area printability determination unit (area printability determination unit) 119 determines whether the number of printable copies is greater than the number of printable copies calculated by the printable number calculation unit 118, and outputs the remainder records in one line. It is determined whether it can be assigned. That is, when the number of print copies is larger than the number of printable copies, the remainder records cannot be assigned to one line, but when the number of print copies is equal to or less than the number of printable copies, they can be assigned.
[0048]
The operation of allocating the remainder row in the record allocating unit 115 will be described with reference to FIG. FIG. 5 is a printing example in which the surplus records are collectively allocated in the case of printing a plurality of copies in the simultaneous printing of a plurality of pages by the printing system 10. The record allocating unit 115 allocates all the surplus records to the first row in the record order when the in-area printability determination unit 119 determines that all the remainder records can be allocated to one line. For example, FIG. 5A is a print example in a case where the number k of page-unit records is 8, the number h of printable records in the area is 4, the number m of copy-unit records is 10, and the number of print copies is 2. Since the remainder record number n becomes 2 by the remainder record number calculation unit 113, the remainder record processing determination unit 114 performs the remainder record batch allocation. When the remainder record batch allocation is performed, as shown in FIG. 5A, records “1” to “8” of each unit are allocated to the first and second pages of the printing paper 201 in the record order, respectively, and the record “ “9” to “10” are allocated to the third page of the printing paper 201 in record order as surplus records. At this time, the in-area print availability determination unit 119 determines that the number of print copies 2 is equal to the number of surplus records 2 that can be allocated to the line calculated by the printable copy calculation unit 118, that is, is equal to or less than the number of printable copies. Therefore, the remainder record of each unit is assigned to the first row by the record assignment unit 115.
[0049]
If it is determined by the in-area printability determination unit 119 that the total number of surplus records cannot be assigned to one line, the remainder record of as many copies as possible is assigned to the first line, and the remainder of the unprintable remaining copies is assigned. Records are assigned sequentially to the next line. For example, FIG. 5B shows a print example in which the number k of records per page is 8, the number h of printable records in the area is 4, the number m of records per copy is 11, and the number of print copies is 2. Since the remainder record number n becomes 3 by the remainder record calculation unit 113, the remainder record processing determination unit 114 performs the remainder record batch allocation. When the surplus record batch allocation is performed, as shown in FIG. 5B, records “1” to “8” of each unit are allocated to the first and second pages of the printing paper 201 in the record order, respectively, and the record “ “9” to “11” are allocated as a surplus record in the order of records from the printing paper 201 on the third page. At this time, since the in-area printability determination unit 119 determines that the number of print copies 2 is greater than the number of surplus records that can be allocated to each line calculated by the printable copy number calculation unit 118, one surplus record is allocated. Each time a new line is entered, the record is allocated to one line by the record allocation unit 115 in the order of records.
[0050]
Next, a processing procedure when printing a plurality of copies in the simultaneous printing of a plurality of pages of the printing system 10 will be described with reference to FIG. FIG. 6 is a flowchart illustrating a processing procedure for printing a plurality of copies in the simultaneous printing of a plurality of pages of the printing system 10.
[0051]
First, the process proceeds to step S110 (hereinafter, abbreviated as S110, and other steps are the same) to perform initialization. The contents of the initialization include storage of data necessary for printing, such as the number of copies to be printed, the number of records per copy k, the number of records per page, the number h of records that can be printed in the area, the calculation of the number n of remaining records by the number of remaining records calculation unit 113, This is to reset the print copy counter H, which indicates the number of print copies currently completed, by substituting 0 into the counter. Then, the process proceeds to S120. In S120, the number of print completed copies is confirmed from the print copy counter H, and it is determined whether or not printing of all copies has been completed. If the number-of-prints counter is smaller than the total number of copies and the printing of all the numbers has not been completed (S120: YES), the process proceeds to S150, and 0 is set to the record counter K indicating the total number of pages or total number of records that have been printed. By substituting, the record counter K is initialized, and the routine goes to S160.
[0052]
In S160, it is determined whether or not printing for each copy is completed. Whether or not printing in collation is completed is determined when the surplus record processing determination unit 114 determines that normal processing is to be performed when printing of the page 202 of all collation records is completed. Is determined when printing of the number of records excluding the remainder record from the copy record is completed. If the printing in copies has not been completed (S160: NO), the process proceeds to S170, in which the pages 202 corresponding to the number k of page-unit records from the page 202 corresponding to the value indicated by the record counter K plus 1 are added. Assigned to printing paper 201. However, in the case of the normal processing, the last page 202 may appear before the pages 202 of the number k of page unit records are allocated to the printing paper 201 (for example, the second printing paper in FIG. 4A). In this case, the last page 202 (record “7” in FIG. 4A) is allocated. Then, the print page to which the assignment has been completed is printed. After that, the processing shifts to S180 and a page break is performed. After that, the count is incremented by the number of records to which the record counter K is assigned, and the process returns to S160. In S160, if the printing in copies is completed (S160: YES), the process proceeds to S200, where the number of copies counter H is counted up, and the process proceeds to S120.
[0053]
If the printing of all the copies has been completed in S120 (S120: NO), the process proceeds to S130, and it is determined whether or not the surplus record batch processing remains. If the remainder record batch process remains (S130: YES), the remainder multiple page simultaneous printing process according to the flowchart of FIG. 7 is performed. Thereafter, the processing procedure of the printing system, which is the flowchart of FIG. 6, ends. If there is no remaining record batch processing (S130: NO), the processing procedure of the printing system, which is the flowchart of FIG. 6, ends.
[0054]
Next, a description will be given, with reference to FIG. 7, of a processing procedure of the surplus plural pages simultaneous printing processing in S140 in the flowchart of FIG. FIG. 7 is a flowchart illustrating the processing procedure of the simultaneous multiple pages printing process of the printing system 10. First, the flow shifts to S310, where initialization for remainder record batch processing is performed, such as resetting by assigning 0 to the surplus plural pages simultaneous printing copy counter W and row counter Y. Thereafter, the flow shifts to S320, where it is determined whether or not the row counter Y exceeds the number of rows per page. If the line counter Y exceeds the number of lines per page (S320: NO), the flow shifts to S330 to start a new page, and further shifts to S340 to reset 0 by substituting 0 for the line counter Y. Then, the process proceeds to S350.
[0055]
In S320, if the row counter Y does not exceed the number of rows per page (S320: YES), the process proceeds to S350, where 0 is substituted for the record counter X and reset. Here, the record counter X stores the number of printed records. Thereafter, the flow shifts to S360, where if the record counter X is not 0, it is determined whether a remainder record relating to one copy can be allocated subsequently. The determination as to whether or not the assignment is possible is made by the in-area printability determination unit 119. Specifically, based on the value of the record counter X, the number of remaining pages in the line is calculated, and it is determined whether the number of remaining pages exceeds the number of pages related to the surplus record. If it is not possible to assign a remainder record for each copy (S360: NO), the flow shifts to S370, counts up the row counter Y, and then shifts to S320 again (see FIG. 5B). If a remainder record can be allocated for each copy (S360: YES), the flow shifts to S380, and the remainder records for one copy are sequentially allocated to lines and printing is performed (see FIG. 5A). Thereafter, the flow shifts to S390, where the record counter X is counted up by the number of records printed, and the surplus plural pages simultaneous printing copy counter W is counted up. Thereafter, the flow shifts to S400, where it is determined whether or not printing of all copies has been completed based on the print copy counter W. When printing of all copies has been completed (S400: NO), the flowchart of FIG. 7 ends, and the process returns to the flowchart of FIG. If printing of all copies has not been completed (S400: YES), the process returns to S360. It should be noted that, in practice, pages in one page or one line may not be sequentially printed, but may be printed simultaneously.
[0056]
As described above, according to the present embodiment, when printing a plurality of copies in simultaneous printing of a plurality of pages, the printing of the normal processing and the printing of the surplus record batch processing are switched depending on the allocation state of the records to be printed. Use efficiency is increased. Further, when distributing, each part can be separated by cutting only the sheet on which only the surplus record is printed, so that the distribution work is facilitated. In addition, since the pages 202 are all assigned in the order of records, there is no need to perform a page rearrangement operation after cutting the printing paper 201. Further, when batch printing of the surplus pages is performed as shown in FIG. 4B, the records “5” and “6” selected in page order from the trailing end page are printed together, so The page rearrangement work becomes very simple. Note that, in the example of FIG. 4B, the same effect can be obtained by printing together the records “1” and “2” selected from the top page.
[0057]
<Second Embodiment>
Next, a second embodiment of the present invention will be described. The difference from the first embodiment is the function and the processing procedure of printing, so only the part will be described.
[0058]
Next, functions of the printing system 10 according to the second embodiment will be described in detail with reference to FIG. FIG. 8 is a block diagram illustrating a configuration of the printing system 10 according to the present embodiment.
[0059]
An area record number storage unit (area record storage unit) 211 stores the number of pages 202 set in the printing paper 201 and included in an area of the same shape composed of a plurality of rows as the area record number p (p: natural number) ). This region will be described with reference to FIG. FIG. 9 is an example of printing a plurality of copies in simultaneous printing of a plurality of pages by the printing system 10 according to the present embodiment. As shown in FIG. 9, the printing paper 201 is divided into two upper and lower areas (rows) 205. The number p of area records of this area 205 is two.
[0060]
The copy unit record number storage unit (content record number storage unit) 212 stores the number of pages or the number of records per set to be printed in the RAM as the copy unit record number q (q: natural number) in the case of simultaneous printing of a plurality of pages. Remember.
[0061]
The record allocating unit (allocating unit) 213 determines that the boundary of each part does not exist in the middle of the area 205 based on the number of copies per unit record q and the number of area records p when printing a plurality of copies in simultaneous printing of a plurality of pages. In addition, the pages 202 are sequentially allocated to the printing paper 201 such that records relating to the print contents of a plurality of copies are arranged and printed in the order of records in each copy. For example, as shown in FIG. 9, when there are two upper and lower areas 205 on the print sheet 201 and the number of print copies is 2, and the number of pages stored in the copy number record storage unit 212 is 5, the first print sheet The first to fourth pages are assigned to page 201 in the order of pages, the upper area 205 of the second print sheet 201 is assigned to 5 pages, and the lower page 205 of the second print sheet 201 is assigned to Pages 1 and 2 of the second copy are assigned, pages 3 and 4 of the second copy are assigned to the upper area 205 of the third print sheet 201, and 2 copies are assigned to the lower area 205 of the third print sheet 201. Five pages of eyes are allocated.
[0062]
Next, a processing procedure at the time of printing a plurality of copies in the simultaneous printing of a plurality of pages of the printing system 10 according to the present embodiment will be described with reference to FIG. FIG. 10 is a flowchart illustrating a processing procedure when printing a plurality of copies in simultaneous printing of a plurality of pages in the printing system 10 according to the present embodiment.
[0063]
First, in S510, an initialization process is performed. Then, in S520, each record or page is sequentially allocated to the printing paper 201 from the upper area 205. In S530, it is determined whether the record allocated in S520 is the last record of each unit ("5" in the example of FIG. 9). If it is the last record of each part (S530: YES), the process proceeds to S540. On the other hand, if it is not the last record of each part (S530: NO), the process returns to S520.
[0064]
In S540, it is determined whether or not printing of all scheduled copies has been completed. Then, when it is determined that the printing has been completed (S540: YES), the present process ends. On the other hand, if it is determined that the printing has not been completed (S540: NO), the process proceeds to S550.
[0065]
In S550, it is determined whether a blank portion to which no record has been allocated remains in each area 205 related to the record allocated in S520, that is, whether the end position of the relevant part is in the middle of the area. If a blank portion remains (S550: YES), the process proceeds to S560. In S560, the line is broken so that no record is assigned to the blank portion, and the process returns to S520. On the other hand, if no blank portion remains (S550: NO), the process returns to S520 without performing a line feed. Thereby, a print result as shown in FIG. 9 is obtained.
[0066]
As described above, according to the second embodiment of the present invention, when printing a plurality of copies in simultaneous printing of a plurality of pages, since the boundary of each portion does not exist in the middle of the area, the printing paper 201 Both the separation work and the distribution work are efficient, and the number of blank pages on the printing paper 201 is reduced. Further, since all the pages 202 are allocated in the order of the records, the rearrangement work after cutting the printing paper 201 is almost unnecessary.
[0067]
The preferred embodiment of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and various design changes can be made within the scope of the appended claims. For example, in the first embodiment, the criterion for determining whether to perform the remainder record batch processing is that the usage rate of the printing paper 201 on which the remainder record is printed is 以下 or less, but the usage rate is less than 1 /. It may be.
[0068]
Further, in the first and second embodiments, the assignment order of the pages 202 is determined in accordance with the order of the records. However, the assignment is not limited to such a method. For example, the assignment may be performed in the reverse order of the record order. And may be completely disjointed. However, by setting the order of records or the reverse order, distribution after cutting the printing paper 201 becomes easy.
[0069]
Further, in the first embodiment, as shown in FIG. 4B, the number of records to be printed collectively is the number of remainder records selected in order from the trailing end page. The page to be executed may be any page. However, distribution according to the first embodiment facilitates distribution after the printing paper 201 is cut. Further, also in the second embodiment, each unit does not necessarily need to be allocated in the page order.
[Brief description of the drawings]
FIG. 1 is an external view of a printing system including a print control device of the present invention.
FIG. 2 is an example of a printed matter printed by the printing system shown in FIG. 1;
FIG. 3 is a block diagram of the printing system according to the first embodiment.
FIG. 4 is a print example of printing of a plurality of copies in simultaneous printing of a plurality of pages by the printing system shown in FIG. 3;
FIG. 5 is a printing example in which a surplus record is collectively allocated in a case of printing a plurality of copies in the printing system shown in FIG. 3;
6 is a flowchart showing a processing procedure when printing a plurality of copies in simultaneous printing of a plurality of pages in the printing system shown in FIG. 3;
FIG. 7 is a flowchart showing a processing procedure of a surplus plural pages simultaneous printing process of the printing system shown in FIG. 1;
FIG. 8 is a block diagram of a printing system according to a second embodiment of the present invention.
FIG. 9 is a print example of a multiple copy print in simultaneous printing of a plurality of pages by the print system illustrated in FIG. 8;
10 is a flowchart illustrating a processing procedure when printing a plurality of copies in simultaneous printing of a plurality of pages by the printing system illustrated in FIG. 8;
[Explanation of symbols]
11 Personal computer
12 Display
13 Keyboard
14 Printer
111 page unit record count storage
112 Records per record unit
113 remainder record number calculation unit
114 Remainder record processing determination unit
115 Record Allocator
201 printing paper
202 records
205 areas

Claims (18)

複数のレコードデータからなるレコードデータ群を複数部数印刷可能な印刷制御装置であって、
1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、
レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、
前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、
前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2を超える数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2以下の数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、
複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段とを備えていることを特徴とする印刷制御装置。
A print control device capable of printing a plurality of record data groups consisting of a plurality of record data,
Record number storage means for storing a record number k (k: a natural number of 2 or more) printable on one print medium;
Content record number storage means for storing a content record number m (m: natural number) per copy of the record data group;
A surplus record number calculation unit for calculating a surplus record number n when dividing the content record number m stored in the content record number storage unit by the record number k stored in the record number storage unit,
A first number in which the number n of surplus records calculated by the number-of-remaining-records calculating means is more than half of the number k of records k stored in the number-of-records storing means or zero; A remainder determining means for determining which of the second numbers is a number (excluding zero) equal to or less than の of the number k of records stored in the storage means,
When a plurality of copies of the record data group are printed, if the remainder determination unit determines that the remainder record number n is the first number, the boundary of each copy is set in the middle of one print medium. Each record data in the record data group is allocated to a print medium so that it does not exist. Allocating means for allocating each record data in a record data group to a print medium such that records are printed separately for each copy and the same number of records as the surplus records are printed collectively for a plurality of copies. A print control device.
複数のレコードデータからなるレコードデータ群を複数部数印刷可能な印刷制御装置であって、
1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、
レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、
前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、
前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2以上の数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2より小さい数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、
複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段とを備えていることを特徴とする印刷制御装置。
A print control device capable of printing a plurality of record data groups consisting of a plurality of record data,
Record number storage means for storing a record number k (k: a natural number of 2 or more) printable on one print medium;
Content record number storage means for storing a content record number m (m: natural number) per copy of the record data group;
A surplus record number calculation unit for calculating a surplus record number n when dividing the content record number m stored in the content record number storage unit by the record number k stored in the record number storage unit,
A first number in which the number n of residual records calculated by the number-of-remaining-records calculating means is equal to or more than 1 / of a number k of records k stored in the number-of-records storing means or zero; Remainder determination means for determining which of the second numbers is a number (excluding zero) smaller than の of the number k of records stored in the storage means,
When a plurality of copies of the record data group are printed, if the remainder determination unit determines that the remainder record number n is the first number, the boundary of each copy is set in the middle of one print medium. Each record data in the record data group is allocated to a print medium so that it does not exist. Allocating means for allocating each record data in a record data group to a print medium such that records are printed separately for each copy and the same number of records as the surplus records are printed collectively for a plurality of copies. A print control device.
前記割当手段は、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、複数部数の前記レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てることを特徴とする請求項1又は2に記載の印刷制御装置。When the remainder determining unit determines that the remainder record number n is the first number, the allocating unit prints the records related to the record data group of a plurality of copies in the order of records in each copy. 3. The print control apparatus according to claim 1, wherein each record data in the record data group is assigned to a print medium in such a manner as to be performed. 前記割当手段は、前記剰余判断手段によって前記剰余レコード数nが前記第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードと前記剰余レコード数分のレコードとが、夫々各部内においてレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てることを特徴とする請求項1から3のいずれか1項に記載の印刷制御装置。The allocating means, when the remainder determination means determines that the remainder record number n is the second number, records other than the record of the remainder record number and the record of the remainder record number 4. The print control apparatus according to claim 1, wherein each record data in a record data group is assigned to a print medium such that each record data is arranged and printed in a record order in each unit. 前記割当手段は、前記剰余レコード数nが前記第2の数であると前記剰余判断手段によって判断された場合に、前記剰余レコード数分のレコード以外のレコードと前記剰余レコード数分のレコードとが、夫々各部内において先頭レコードまたは後端レコードからレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てることを特徴とする請求項4に記載の印刷制御装置。The allocating means, when it is determined by the surplus determination means that the number n of surplus records is the second number, records other than records of the number of surplus records and records of the number of surplus records 5. The print control apparatus according to claim 4, wherein each record data in the record data group is assigned to a print medium such that each record data is arranged and printed in record order from the first record or the last record in each unit. レコードが印刷媒体内においてその送り方向と直交する方向に沿って印刷されるときに、印刷媒体を送り方向と直交する方向に沿って分割した各領域内に印刷可能なレコードの数である領域内印刷可能レコード数h(h:自然数)を記憶するための領域内印刷可能レコード数記憶手段と、
レコードデータ群の印刷部数を記憶するための印刷部数記憶手段と、
前記剰余判断手段によって前記剰余レコード数nが第2の数であると判断された場合に、前記領域内印刷可能レコード数記憶手段に記憶された領域内印刷可能レコード数hと前記剰余レコード数nとに基づいて、印刷媒体の一つの前記領域内における前記剰余レコード数分のレコードの印刷可能部数を算出するための印刷可能部数算出手段と、
前記印刷部数記憶手段に記憶されたレコードデータ群の印刷部数が、前記印刷可能部数算出手段によって算出された印刷可能部数より多いか否かを判断するための領域内印刷可否判断手段とをさらに備え、
前記割当手段は、前記領域内印刷可否判断手段によってレコードデータ群の印刷部数の方が多いと判断された場合、前記印刷可能部数算出手段によって算出された印刷可能部数の剰余レコード数分のレコードが一つの前記領域に印刷され、残りの部数の剰余レコード数分のレコードが他の前記領域の先頭位置から印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てることを特徴とする請求項1から5のいずれか1項に記載の印刷制御装置。
When a record is printed on a print medium along a direction orthogonal to the feed direction, an area that is the number of records that can be printed in each area obtained by dividing the print medium along a direction orthogonal to the feed direction An in-area printable record number storage unit for storing a printable record number h (h: natural number);
Print copy number storage means for storing the number of print copies of the record data group,
When the remainder determination unit determines that the number n of remaining records is a second number, the number h of printable records in the area and the number n of remainder records stored in the number of printable records in area storage unit Based on the number of printable copies calculating means for calculating the number of printable copies of the number of records of the surplus records in one area of a print medium,
The apparatus further includes an in-area printability determination unit for determining whether the number of print copies of the record data group stored in the print copy number storage unit is greater than the number of printable copies calculated by the printable copy number calculation unit. ,
The allocating unit, when the in-area printability determination unit determines that the number of print copies of the record data group is larger, the number of records equal to the number of surplus records of the number of printable copies calculated by the number of printable copies calculation unit is determined. Each record data in a record data group is allocated to a print medium such that records are printed in one of the areas and the remaining copies of the remaining copies are printed from the head position of the other area. The print control device according to claim 1.
複数のレコードデータからなるレコードデータ群を複数部数印刷可能な印刷制御装置であって、
1枚の印刷媒体中に複数設定され且つ互いの境界が行の途中に存在しない各領域に印刷可能なレコード数p(p:2以上の自然数)を記憶するための領域レコード数記憶手段と、
レコードデータ群の1部当たりの含有レコード数q(q:自然数)を記憶するための含有レコード数記憶手段と、
複数部数の前記レコードデータ群が各部ごとに順次印刷される際、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在することがないように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段とを備えていることを特徴とする印刷制御装置。
A print control device capable of printing a plurality of record data groups consisting of a plurality of record data,
Area record number storage means for storing the number of records p (p: a natural number of 2 or more) printable in each area where a plurality of print areas are set in a single print medium and no mutual boundary exists in the middle of a line;
Content record number storage means for storing the number of content records q (q: natural number) per copy of the record data group;
When the record data group of a plurality of copies is sequentially printed for each copy, based on the number of records p stored in the area record number storage means and the number of contained records q stored in the contained record number storage means, A print control apparatus comprising: an allocating unit for allocating each record data in the plurality of record data groups to a print medium so that a boundary of each part does not exist in the middle of the area. .
前記割当手段は、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在せず且つ複数部数の前記レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てることを特徴とする請求項7に記載の印刷制御装置。The allocating means is configured such that, based on the number of records p stored in the area record number storage means and the number of content records q stored in the content record number storage means, the boundary of each part does not exist in the middle of the area. 8. A method according to claim 7, further comprising allocating each record data in said plurality of record data groups to a print medium such that records related to said plurality of record data groups are arranged in record order in each copy and printed. 3. The print control device according to claim 1. 前記領域レコード数記憶手段に記憶されたレコード数pが2であり、1枚の印刷媒体中にそれぞれが2レコードを印刷可能な2つの領域が設定されることを特徴とする請求項7又は8に記載の印刷制御装置。9. The number of records p stored in the area record number storage means is 2, and two areas each capable of printing two records are set in one print medium. 3. The print control device according to claim 1. コンピュータを、
1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、
レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、
前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、
前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2を超える数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2以下の数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、
複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段として機能させることを特徴とするプログラム。
Computer
Record number storage means for storing a record number k (k: a natural number of 2 or more) printable on one print medium;
Content record number storage means for storing a content record number m (m: natural number) per copy of the record data group;
A surplus record number calculation unit for calculating a surplus record number n when dividing the content record number m stored in the content record number storage unit by the record number k stored in the record number storage unit,
A first number in which the number n of surplus records calculated by the number-of-remaining-records calculating means is more than half of the number k of records k stored in the number-of-records storing means or zero; A remainder determining means for determining which of the second numbers is a number (excluding zero) equal to or less than の of the number k of records stored in the storage means,
When a plurality of copies of the record data group are printed, if the remainder determination unit determines that the remainder record number n is the first number, the boundary of each copy is set in the middle of one print medium. Each record data in the record data group is allocated to a print medium so as not to exist, and when the surplus determination unit determines that the number of surplus records is the second number, a record other than the number of records corresponding to the number of surplus records is used. Functioning as allocating means for allocating each record data in a record data group to a print medium such that records are printed separately for each copy and records of the surplus records are printed collectively for a plurality of copies. Program characterized by the following.
コンピュータを、
1枚の印刷媒体に印刷可能なレコード数k(k:2以上の自然数)を記憶するためのレコード数記憶手段と、
レコードデータ群の1部当たりの含有レコード数m(m:自然数)を記憶するための含有レコード数記憶手段と、
前記含有レコード数記憶手段に記憶された含有レコード数mを前記レコード数記憶手段に記憶されたレコード数kで除算したときの剰余レコード数nを算出するための剰余レコード数算出手段と、
前記剰余レコード数算出手段によって算出された前記剰余レコード数nが、前記レコード数記憶手段に記憶されたレコード数kの1/2以上の数又はゼロである第1の数、及び、前記レコード数記憶手段に記憶されたレコード数kの1/2より小さい数(ゼロを除く)である第2の数のいずれであるかを判断するための剰余判断手段と、
複数部数の前記レコードデータ群が印刷される際、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、各部の境界が1枚の印刷媒体の途中に存在しないようにレコードデータ群中の各レコードデータを印刷媒体に割当て、前記剰余判断手段によって前記剰余レコード数が第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードが各部ごとに別々に印刷され且つ前記剰余レコード数分のレコードが複数の部についてまとめて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段として機能させることを特徴とするプログラム。
Computer
Record number storage means for storing a record number k (k: a natural number of 2 or more) printable on one print medium;
Content record number storage means for storing a content record number m (m: natural number) per copy of the record data group;
A surplus record number calculation unit for calculating a surplus record number n when dividing the content record number m stored in the content record number storage unit by the record number k stored in the record number storage unit,
A first number in which the number n of residual records calculated by the number-of-remaining-records calculating means is equal to or more than 1 / of a number k of records k stored in the number-of-records storing means or zero; Remainder determination means for determining which of the second numbers is a number (excluding zero) smaller than の of the number k of records stored in the storage means,
When a plurality of copies of the record data group are printed, if the remainder determination unit determines that the remainder record number n is the first number, the boundary of each copy is set in the middle of one print medium. Each record data in the record data group is allocated to a print medium so as not to exist, and when the surplus determination unit determines that the number of surplus records is the second number, a record other than the number of records corresponding to the number of surplus records is used. Functioning as allocating means for allocating each record data in a record data group to a print medium such that records are printed separately for each copy and records of the surplus records are printed collectively for a plurality of copies. Program characterized by the following.
前記割当手段は、前記剰余判断手段によって前記剰余レコード数nが前記第1の数であると判断された場合に、複数部数の前記レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるように機能させることを特徴とする請求項10又は11に記載のプログラム。When the remainder determining unit determines that the remainder record number n is the first number, the allocating unit prints the records related to the record data group of a plurality of copies arranged in the order of records in each copy. The program according to claim 10, wherein the program is operable to assign each record data in a record data group to a print medium in such a manner as to be performed. 前記割当手段は、前記剰余判断手段によって前記剰余レコード数nが前記第2の数であると判断された場合に、前記剰余レコード数分のレコード以外のレコードと前記剰余レコード数分のレコードとが、夫々各部内においてレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるように機能させることを特徴とする請求項10から12のいずれか1項に記載のプログラム。The allocating means, when the remainder determination means determines that the remainder record number n is the second number, records other than the record of the remainder record number and the record of the remainder record number 13. The recording medium according to claim 10, wherein each of the units has a function of allocating each record data in a record data group to a print medium so as to be arranged in a record order and printed. program. 前記割当手段は、前記剰余レコード数nが前記第2の数であると前記剰余判断手段によって判断された場合に、前記剰余レコード数分のレコード以外のレコードと前記剰余レコード数分のレコードとが、夫々各部内において先頭レコードまたは後端レコードからレコード順に配列されて印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるように機能させることを特徴とする請求項13に記載のプログラム。The allocating means, when it is determined by the surplus determination means that the number n of surplus records is the second number, records other than the records of the number of surplus records and records of the number of surplus records 14. The apparatus according to claim 13, wherein each record data in a record data group is assigned to a print medium such that the record data is arranged and printed in record order from the first record or the last record in each unit. program. レコードが印刷媒体内においてその送り方向と直交する方向に沿って印刷されるときに、印刷媒体を送り方向と直交する方向に沿って分割した各領域内に印刷可能なレコードの数である領域内印刷可能レコード数h(h:自然数)を記憶するための領域内印刷可能レコード数記憶手段と、
レコードデータ群の印刷部数を記憶するための印刷部数記憶手段と、
前記剰余判断手段によって前記剰余レコード数nが第2の数であると判断された場合に、前記領域内印刷可能レコード数記憶手段に記憶された領域内印刷可能レコード数hと前記剰余レコード数nとに基づいて、印刷媒体の一つの前記領域内における前記剰余レコード数分のレコードの印刷可能部数を算出するための印刷可能部数算出手段と、
前記印刷部数記憶手段に記憶されたレコードデータ群の印刷部数が、前記印刷可能部数算出手段によって算出された印刷可能部数より多いか否かを判断するための領域内印刷可否判断手段としてコンピュータをさらに機能させ、
前記割当手段は、前記領域内印刷可否判断手段によってレコードデータ群の印刷部数の方が多いと判断された場合、前記印刷可能部数算出手段によって算出された印刷可能部数の剰余レコード数分のレコードが一つの前記領域に印刷され、残りの部数の剰余レコード数分のレコードが他の前記領域の先頭位置から印刷されるようにレコードデータ群中の各レコードデータを印刷媒体に割当てるように機能させることを特徴とする請求項10から14のいずれか1項に記載のプログラム。
When a record is printed on a print medium along a direction orthogonal to the feed direction, an area that is the number of records that can be printed in each area obtained by dividing the print medium along a direction orthogonal to the feed direction An in-area printable record number storage unit for storing a printable record number h (h: natural number);
Print copy number storage means for storing the number of print copies of the record data group,
When the remainder determination unit determines that the number n of remaining records is a second number, the number h of printable records in the area and the number n of remainder records stored in the number of printable records in area storage unit Based on the number of printable copies calculating means for calculating the number of printable copies of the number of records of the surplus records in one area of a print medium,
A computer is further provided as an in-area printability determination means for determining whether the number of print copies of the record data group stored in the print copy number storage means is greater than the number of printable copies calculated by the printable copy number calculation means. Let it work,
The allocating unit, when the in-area printability determination unit determines that the number of print copies of the record data group is larger, the number of records equal to the number of surplus records of the number of printable copies calculated by the number of printable copies calculation unit is determined. A function of allocating each record data in a record data group to a print medium such that records corresponding to the number of surplus records of the remaining copies are printed in one of the areas and are printed from the head position of the other area. The program according to any one of claims 10 to 14, wherein:
コンピュータを、
1枚の印刷媒体中に複数設定され且つ互いの境界が行の途中に存在しない各領域に印刷可能なレコード数p(p:2以上の自然数)を記憶するための領域レコード数記憶手段と、
レコードデータ群の1部当たりの含有レコード数q(q:自然数)を記憶するための含有レコード数記憶手段と、
複数部数の前記レコードデータ群が各部ごとに順次印刷される際、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在することがないように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てるための割当手段として機能させることを特徴とするプログラム。
Computer
Area record number storage means for storing the number of records p (p: a natural number of 2 or more) printable in each area where a plurality of print areas are set in a single print medium and no mutual boundary exists in the middle of a line;
Content record number storage means for storing the number of content records q (q: natural number) per copy of the record data group;
When the record data group of a plurality of copies is sequentially printed for each copy, based on the number of records p stored in the area record number storage means and the number of contained records q stored in the contained record number storage means, A program for functioning as allocating means for allocating each record data in a plurality of record data groups to a print medium so that a boundary of each part does not exist in the middle of the area.
前記割当手段は、前記領域レコード数記憶手段に記憶されたレコード数pと前記含有レコード数記憶手段に記憶された含有レコード数qとに基づいて、各部の境界が前記領域の途中に存在せず且つ複数部数の前記レコードデータ群に係るレコードが各部内においてレコード順に配列されて印刷されるように複数部数の前記レコードデータ群中の各レコードデータを印刷媒体に割当てるように機能させることを特徴とする請求項16に記載のプログラム。The allocating means is configured such that, based on the number of records p stored in the area record number storage means and the number of content records q stored in the content record number storage means, the boundary of each part does not exist in the middle of the area. And a function of allocating each record data in the plurality of record data groups to a print medium such that records related to the record data group of a plurality of copies are arranged and printed in the order of records in each copy. The program according to claim 16, which performs the following. 前記領域レコード数記憶手段に記憶されたレコード数pが2であり、1枚の印刷媒体中にそれぞれが2レコードを印刷可能な2つの領域が設定されるように機能させることを特徴とする請求項16又は17に記載のプログラム。The number of records p stored in the area record number storage means is 2, and the function is such that two areas each of which can print two records are set in one print medium. Item 18. The program according to Item 16 or 17.
JP2002325481A 2002-11-08 2002-11-08 Print control apparatus and program Expired - Fee Related JP4228658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002325481A JP4228658B2 (en) 2002-11-08 2002-11-08 Print control apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002325481A JP4228658B2 (en) 2002-11-08 2002-11-08 Print control apparatus and program

Publications (2)

Publication Number Publication Date
JP2004155165A true JP2004155165A (en) 2004-06-03
JP4228658B2 JP4228658B2 (en) 2009-02-25

Family

ID=32804688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002325481A Expired - Fee Related JP4228658B2 (en) 2002-11-08 2002-11-08 Print control apparatus and program

Country Status (1)

Country Link
JP (1) JP4228658B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060268303A1 (en) * 2005-05-30 2006-11-30 Brother Kogyo Kabushiki Kaisha Image forming apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060268303A1 (en) * 2005-05-30 2006-11-30 Brother Kogyo Kabushiki Kaisha Image forming apparatus
JP2006327126A (en) * 2005-05-30 2006-12-07 Brother Ind Ltd Image forming apparatus
JP4591208B2 (en) * 2005-05-30 2010-12-01 ブラザー工業株式会社 Image forming apparatus
US8599443B2 (en) 2005-05-30 2013-12-03 Brother Kogyo Kabushiki Kaisha Image forming apparatus with N-in-one printing

Also Published As

Publication number Publication date
JP4228658B2 (en) 2009-02-25

Similar Documents

Publication Publication Date Title
US7599094B2 (en) Optimizing the printing of data on a page
CN111596869B (en) Printing data typesetting method and device, printer and storage medium
US8605323B2 (en) Automated imposition
CN106671608A (en) Serial number regulating method and device, consumable chip and imaging box
JP2004155165A (en) Printing controller and program
US7612908B2 (en) Method and apparatus for rotating and combining a plurality of images for printing on single or multiple sheets
US20090059298A1 (en) Simultaneous printing of pages from multiple jobs
JP2006268110A (en) Printing job processing program and its method and distribution/delivery system
JP5344168B2 (en) Management device, image forming system, and program
JP5845892B2 (en) Print control device, print control program
CN101387948B (en) Form printing method and system
JP2011116013A (en) Print data layout apparatus, print data layout method, and program
JP4449364B2 (en) Print control device
WO2012086086A1 (en) Print management device, print management device control method and print management device control program
CN103377181A (en) Typesetting method and typesetting equipment
JP2007086914A (en) Information providing device and information providing method
JP6503999B2 (en) Image processing apparatus, imposition control program, and imposition control method
CN109144437A (en) Optimized printing makeup method
US20080259368A1 (en) Printer, Printing program, and printing method
US20230041908A1 (en) Image processing apparatus, non-transitory computer readable medium, and image processing method
JP2016000520A (en) Image formation device and image formation method
JP2008245184A (en) Image forming apparatus
JP2009061595A (en) Inkjet printer and its control method
JP2007034757A (en) Distributed printing system
JP6753317B2 (en) Printer controller, program, printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081014

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081111

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081124

R150 Certificate of patent or registration of utility model

Ref document number: 4228658

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131212

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees