JP2005115958A - Medium with print preview program recorded thereon, print preview device and print preview method - Google Patents

Medium with print preview program recorded thereon, print preview device and print preview method Download PDF

Info

Publication number
JP2005115958A
JP2005115958A JP2004298526A JP2004298526A JP2005115958A JP 2005115958 A JP2005115958 A JP 2005115958A JP 2004298526 A JP2004298526 A JP 2004298526A JP 2004298526 A JP2004298526 A JP 2004298526A JP 2005115958 A JP2005115958 A JP 2005115958A
Authority
JP
Japan
Prior art keywords
print
printing
double
page
area
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
JP2004298526A
Other languages
Japanese (ja)
Other versions
JP3944747B2 (en
Inventor
Azusa Iwai
梓 岩井
Kazuhisa Saka
和久 坂
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004298526A priority Critical patent/JP3944747B2/en
Publication of JP2005115958A publication Critical patent/JP2005115958A/en
Application granted granted Critical
Publication of JP3944747B2 publication Critical patent/JP3944747B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that it is difficult to discriminate whether an image is print of the front surface or print of the rear surface when the image is to be confirmed by preview before print. <P>SOLUTION: A confirmation work utilizing a preview function is easily performed by avoiding confusion of the front surface and the rear surface since a medium is constituted so that icons are displayed by dividing them to the front surface and the rear surface in line with double-side print in an icon display area 24a7 for displaying a print page number by icon, printing pages are sorted according to a print mode and display of an image display area 24a8 is updated suitably interlocked with specification of the print page number in the icon display area 24a at the time of preview execution when the medium is constituted so that a double-side print mode is specified at the time of specifying print. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、印刷プレビュープログラムを記録した媒体、印刷プレビュー装置および印刷プレビュー方法に関する。   The present invention relates to a medium on which a print preview program is recorded, a print preview apparatus, and a print preview method.

従来、コンピュータを利用して印刷プレビューを行う際、印刷ページ番号をアイコン表示するとともに、この表示領域に隣接して同領域にて選択される印刷ページ番号に連動した印刷時のイメージを表示している。   Conventionally, when performing a print preview using a computer, the print page number is displayed as an icon, and an image at the time of printing linked to the print page number selected in the same area is displayed adjacent to this display area. Yes.

この場合、印刷ページ番号のアイコン表示は単なる一列の表示に過ぎない。   In this case, the icon display of the print page number is merely a single line display.

プリンタドライバが両面印刷機能を有するようになってきているが、上述した従来の印刷プレビューでは、印刷時のイメージが両面印刷であるか否かに関わらず、印刷ページ番号のアイコン表示は表裏を考慮することなく単なる一様の表示に過ぎない。このため、印刷前にプレビューでイメージを確認しようとするとき表面の印刷であるのか裏面の印刷であるのか混乱しやすいという課題があった。   The printer driver has a double-sided printing function. However, in the above-described conventional print preview, the icon display of the print page number takes the front and back into consideration regardless of whether the image at the time of printing is double-sided printing or not. It's just a uniform display. For this reason, there is a problem that it is easy to be confused whether to print on the front side or the back side when trying to confirm the image with a preview before printing.

本発明は、上記課題にかんがみてなされたもので、両面印刷を行う場合に確認しようとするページが表面に当たるのか裏面に当たるのかを正確に把握して確認作業を行えることが可能な印刷プレビュープログラムを記録した媒体、印刷プレビュー装置および印刷プレビュー方法の提供を目的とする。   The present invention has been made in view of the above problems, and a print preview program capable of accurately confirming whether a page to be confirmed hits the front side or the back side when performing double-sided printing and performing a check operation. It is an object to provide a recorded medium, a print preview apparatus, and a print preview method.

上記目的を達成するため、請求項1にかかる発明は、印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とをコンピュータに表示させる印刷プレビュープログラムを記録した媒体において、両面印刷か否かの指定を受け付ける両面印刷指定受付機能と、両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け機能と、両面印刷時における印刷ページの振り分けを管理する振り分け管理機能と、上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成機能とを具備する構成としてある。   In order to achieve the above object, an invention according to claim 1 provides an computer with an icon display area for displaying a print page number as an icon and an image display area for printing linked to the print page number selected in the area. On the medium that records the print preview program to be displayed, the double-sided printing designation receiving function that accepts designation of whether or not double-sided printing is performed, and the print page number on the front side and the back side printing in the icon display area according to the designation of double-sided printing Front and back icon classification function that displays page numbers separately, a distribution management function that manages the distribution of printed pages during duplex printing, and the image display area linked to the selection of the divided print page numbers And an image display generation function for generating an image display during printing in A.

上記のように構成した請求項1にかかる発明においては、総印刷ページ数だけの印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とを表示させる印刷プレビューを実行するに際して、両面印刷指定受付機能で両面印刷の指定を受け付けると、表裏面対応アイコン区分け機能が上記アイコン表示領域で表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させるとともに、振り分け管理機能が両面印刷時における印刷ページの振り分けを管理しており、イメージ表示生成機能は上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成する。   In the invention according to claim 1 configured as described above, an icon display area for displaying the number of print page numbers corresponding to the total number of print pages, and an image at the time of printing linked to the print page number selected in the same area When executing the print preview to display the display area, if the double-sided printing designation acceptance function accepts the designation of double-sided printing, the front and back icon classification function will print the front side print page number and the back side printing in the icon display area. The page numbers are displayed separately, and the distribution management function manages the distribution of print pages during duplex printing. The image display generation function is linked to the selection of the divided print page numbers. Generate an image display when printing in an area.

すなわち、両面印刷時に一の表示領域には、完成状態における表裏関係のページ番号を対にしつつ一のページ番号を選択可能に表示し、他の表示領域には、同ページ番号に対応するページが実際に印刷される紙面上のイメージを表示するようにしている。   In other words, during double-sided printing, one page number can be selected and displayed in one display area while pairing the front and back related page numbers in the completed state, and the page corresponding to the page number is displayed in the other display areas. The image on the paper that is actually printed is displayed.

また、請求項2にかかる発明は、上記請求項1に記載の印刷プレビュープログラムを記録した媒体において、上記表裏面対応アイコン区分け機能では、表面側の印刷ページ番号と裏面側の印刷ページ番号とをそれぞれ一列ずつ隣接させて表示させる構成としてある。   According to a second aspect of the present invention, in the medium on which the print preview program according to the first aspect is recorded, the front side and back side corresponding icon classification function determines the front side print page number and the back side print page number. Each column is adjacent to each other for display.

上記のように構成した請求項2にかかる発明においては、アイコン表示領域で、表面側の印刷ページ番号と裏面側の印刷ページ番号とをそれぞれ一列ずつ表示させ、かつ、それらを隣接させて表示される。   In the invention according to claim 2 configured as described above, the print page number on the front side and the print page number on the back side are displayed one by one in the icon display area, and are displayed adjacent to each other. The

さらに、請求項3にかかる発明は、上記請求項1または請求項2のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記両面印刷指定受付機能は両面折り畳み製本印刷の指定を受け付け可能であり、上記振り分け管理機能では両面折り畳み製本印刷の指定に応じて印刷ページの振り分けを管理するとともに、上記イメージ表示生成機能では上記区分けされた印刷ページ番号における選択に連動しつつ上記振り分けられた同一紙面上の複数の印刷ページのイメージ表示を生成する構成としてある。   Further, according to a third aspect of the present invention, in the medium on which the print preview program according to the first or second aspect is recorded, the double-sided printing designation receiving function can accept double-sided folding bookbinding printing. Yes, the above distribution management function manages the distribution of printed pages according to the designation of double-sided folding bookbinding printing, and the above image display generation function links the above-mentioned distributed sheets in conjunction with the selection of the classified print page numbers. It is configured to generate an image display of a plurality of print pages above.

上記のように構成した請求項3にかかる発明においては、上記両面印刷指定受付機能で両面折り畳み製本印刷の指定を受け付けると、上記振り分け管理機能が両面折り畳み製本印刷の指定に応じて印刷ページの振り分けを管理し、上記イメージ表示生成機能が上記区分けされた印刷ページ番号における選択に連動しつつ上記振り分けられた同一紙面上の複数の印刷ページのイメージ表示を生成する。   In the invention according to claim 3 configured as described above, when the designation of double-sided folding bookbinding printing is received by the double-sided printing designation receiving function, the sorting management function sorts print pages according to the designation of double-sided folding bookbinding printing. And the image display generation function generates an image display of a plurality of printed pages on the same sorted paper sheet in conjunction with the selection of the sorted print page numbers.

さらに、請求項4にかかる発明は、上記請求項3に記載の印刷プレビュープログラムを記録した媒体において、上記両面印刷指定受付機能は両面折り畳み製本印刷の指定を受け付けるに際して折り畳み枚数を特定可能であり、上記振り分け管理機能では折り畳み枚数を特定した場合の両面折り畳み製本印刷の指定に応じて印刷ページの振り分けを管理する構成としてある。   Furthermore, in the invention according to claim 4, in the medium on which the print preview program according to claim 3 is recorded, the double-sided printing designation receiving function can specify the number of folded sheets when receiving the designation of double-sided folding bookbinding printing. The distribution management function is configured to manage the distribution of print pages in accordance with the designation of double-side folding bookbinding printing when the number of folded sheets is specified.

上記のように構成した請求項4にかかる発明においては、両面折り畳み製本印刷も全枚数を折り畳んで重ね合わせると綴じられない側における端部の不揃いが大きくなって見苦しいが、折り畳み枚数を特定することによって少数枚数の折り畳みを重ね合わせることになって見栄えがよくなる。しかしながら、このような指定を行う場合のページ振り分けは高度の熟練技術を要し、一般ユーザには困難である。これに対して、両面印刷指定受付機能が両面折り畳み製本印刷の指定を受け付けるに際して折り畳み枚数を特定した場合は、上記振り分け管理機能では折り畳み枚数を特定した場合の両面折り畳み製本印刷の指定に応じて印刷ページの振り分けを管理する。   In the invention according to claim 4 configured as described above, the double-sided folding bookbinding printing is also unsightly because the unevenness of the end on the side that cannot be bound becomes large when folded and overlapped, and the number of folded sheets is specified. By adding a small number of folds, the appearance is improved. However, page assignment in such a designation requires highly skilled techniques and is difficult for general users. On the other hand, when the double-sided printing designation receiving function specifies the number of folding sheets when accepting the designation of double-sided folding bookbinding printing, the above distribution management function prints according to the designation of double-sided folding binding printing when the number of folding sheets is specified. Manage page sorting.

さらに、請求項5にかかる発明は、上記請求項1〜請求項4のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記両面印刷指定受付機能は袋綴じ製本印刷の指定時に背表紙の両面印刷を受け付け可能であり、上記振り分け管理機能では袋綴じ製本印刷の指定に応じて背表紙への両面印刷の振り分けを加えて印刷ページの振り分けを管理するとともに、上記イメージ表示生成機能では上記区分けされた印刷ページ番号における選択に連動しつつ上記振り分けられた同一紙面上の複数の印刷ページのイメージ表示を生成する構成としてある。   Further, according to a fifth aspect of the present invention, in the medium on which the print preview program according to any one of the first to fourth aspects is recorded, the double-sided printing designation receiving function can Double-sided printing can be accepted, and the above-mentioned distribution management function manages the distribution of printed pages by adding double-sided printing to the back cover according to the specification of bag binding and bookbinding printing. The image display of a plurality of printed pages on the same allocated paper is generated while interlocking with the selection of the printed page number.

上記のように構成した請求項5にかかる発明においては、上記両面印刷指定受付機能が袋綴じ製本印刷の指定を受け付けると、上記振り分け管理機能が袋綴じ製本印刷の指定に応じた印刷ページの振り分けを管理し、上記イメージ表示生成機能が上記区分けされた印刷ページ番号における選択に連動しつつ上記振り分けられた同一紙面上の複数の印刷ページのイメージ表示を生成する。   In the invention according to claim 5 configured as described above, when the double-sided print designation receiving function accepts the specification of bag binding bookbinding printing, the distribution management function sorts the print pages according to the specification of bag binding bookbinding printing. And the image display generation function generates an image display of a plurality of printed pages on the same sorted paper sheet in conjunction with the selection of the sorted print page numbers.

さらに、請求項6にかかる発明は、上記請求項1〜請求項5のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記表裏面対応アイコン区分け機能では、個別の印刷ページの実行停止の選択操作を受け付け可能であり、実行停止の選択操作を受け付けた印刷ページのアイコンには印刷を行わない表示を行わせる構成としてある。   Furthermore, the invention according to claim 6 is the medium in which the print preview program according to any one of claims 1 to 5 is recorded. A selection operation can be accepted, and an icon for a print page that has received an execution stop selection operation is displayed so as not to perform printing.

上記のように構成した請求項6にかかる発明においては、印刷を失敗した場合などは印刷ページを個別に印刷したくない場合もあり、上記表裏面対応アイコン区分け機能で実行停止の選択操作を受け付けると、印刷ページのアイコンには印刷を行わない表示を行わせる。   In the invention according to claim 6 configured as described above, there is a case where it is not desired to individually print a print page when printing fails or the like, and an operation stop selection operation is accepted by the front and back corresponding icon classification function. Then, the print page icon is displayed without printing.

さらに、請求項7にかかる発明は、上記請求項1〜請求項6のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記イメージ表示生成機能は、他の機能からも参照可能な共有メモリ領域を逐次参照可能であり、上記イメージ表示生成機能の実行中に他の機能から同共有メモリ領域に対するデータの書き込みの有無を参照を参照し、書き込みに対応する指示を取得する構成としてある。   Further, according to a seventh aspect of the invention, in the medium on which the print preview program according to any one of the first to sixth aspects is recorded, the image display generation function is a shared memory that can be referred to by other functions. The area can be sequentially referred to, and during execution of the image display generation function, a reference is made to whether or not data is written to the shared memory area from another function, and an instruction corresponding to the writing is acquired.

上記のように構成した請求項7にかかる発明においては、同共有メモリ領域に対するデータの書き込み及び参照を介して一方の機能が実行中にも他の機能からの指示を取得可能とした。   In the invention according to claim 7 configured as described above, an instruction from another function can be acquired even when one function is being executed through data writing and reference to the shared memory area.

さらに、請求項8にかかる発明は、上記請求項1〜請求項7のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記イメージ表示生成機能は、イメージ表示に必要な個別コマンドの処理割合をビジュアル表示する構成としてある。   Furthermore, the invention according to claim 8 is the medium on which the print preview program according to any one of claims 1 to 7 is recorded, wherein the image display generation function is a processing ratio of individual commands necessary for image display. Is configured to display visually.

上記のように構成した請求項8にかかる発明においては、比較的長時間を要する印刷イメージ表示を行うに際し、画面への表示が停止ししてしまうと不安になるため、イメージ表示に必要な個別コマンドの処理割合をビジュアル表示する。なお、ビジュアル表示として有効なのはバーグラフであるとか円グラフなどの図柄表示であるが、数値表示であってもよい。   In the invention according to claim 8 configured as described above, when displaying a print image that requires a relatively long time, it becomes uneasy if the display on the screen stops. Display the command processing rate visually. The visual display is effective for a bar graph or a symbol display such as a pie chart, but it may be a numerical display.

むろん、このような記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一次複製品、二次複製品などの複製段階については全く問う余地無く同等である。   Of course, such a recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium that will be developed in the future. In addition, the duplication stages such as the primary duplication product and the secondary duplication product are the same without any question.

さらに、一部がソフトウェアであって、一部がハードウェアで実現されている場合においても発明の思想において全く異なるものではなく、一部を記録媒体上に記憶しておいて必要に応じて適宜読み込まれるような形態のものとしてあってもよい。むろん、このプログラム自体に発明の思想が反映されていることはいうまでもない。   Further, even when a part is software and a part is realized by hardware, the idea of the invention is not completely different, and a part is stored on a recording medium and is appropriately changed as necessary. It may be in the form of being read. Of course, it goes without saying that the idea of the invention is reflected in the program itself.

このように、両面印刷の指定を受け付けるとアイコン表示領域で表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる手法は実体のあるコンピュータにおいて実現され、その意味で本発明をそのようなコンピュータを含んだ実体のある装置としても適用可能であることは容易に理解できる。このため、請求項9にかかる発明は、印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とを有して印刷プレビューを表示する印刷プレビュー装置において、両面印刷か否かの指定を受け付ける両面印刷指定受付手段と、両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け手段と、両面印刷時における印刷ページの振り分けを管理する振り分け管理手段と、上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成手段とを具備する構成としてある。   As described above, when the designation of double-sided printing is received, a method of displaying the print page number on the front side and the print page number on the back side separately in the icon display area is realized in a substantial computer, and in this sense, the present invention It can be easily understood that the present invention can also be applied as an actual apparatus including such a computer. For this reason, the invention according to claim 9 has an icon display area for displaying a print page number as an icon and an image display area at the time of printing linked to the print page number selected in the area. In the print preview apparatus to be displayed, a double-sided print designation receiving unit that accepts designation of whether or not double-sided printing is performed, and in accordance with the designation of double-sided printing, the front-side print page number and the back-side print page number are displayed in the icon display area. Front and back corresponding icon classification means for displaying in a divided manner, a distribution management means for managing the distribution of print pages in duplex printing, and the printing in the image display area in conjunction with the selection in the divided print page numbers Image display generating means for generating an image display is provided.

すなわち、コンピュータで制御される実体のある装置としても有効であることに相違はない。むろん、このような印刷プレビュー装置は単独で実施される場合もあるし、ある機器に組み込まれた状態で他の方法とともに実施されることもあるなど、発明の思想としてはこれに限らず、各種の態様を含むものであって、適宜、変更可能である。   In other words, there is no difference in that it is effective as a substantial apparatus controlled by a computer. Of course, such a print preview apparatus may be implemented alone, or may be implemented together with other methods in a state of being incorporated in a certain device. And can be changed as appropriate.

また、このような印刷プレビュープログラムを記録した媒体はかかる制御に従って処理を進めていく上で、その根底にはその手順に発明が存在するということは当然であり、方法としても適用可能であることは容易に理解できる。このため、請求項10にかかる発明は、印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とを表示させる印刷プレビュー方法において、両面印刷か否かの指定を受け付ける両面印刷指定受付工程と、両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け工程と、両面印刷時における印刷ページの振り分けを管理する振り分け管理工程と、上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成工程とを具備する構成としてある。   In addition, it is natural that the medium on which such a print preview program is recorded proceeds with processing according to such control, and that the invention exists at the root of the procedure, and can be applied as a method. Is easy to understand. For this reason, the invention according to claim 10 is a print preview method for displaying an icon display area for displaying a print page number as an icon and an image display area for printing linked to the print page number selected in the area. A double-sided printing designation receiving step for accepting designation of whether or not double-sided printing is performed, and a table for displaying the front-side printed page number and the back-side printed page number separately in the icon display area according to the designation of double-sided printing. Image for generating an image display at the time of printing in the image display area in conjunction with the selection of the divided print page numbers in association with the back side icon classification process, the distribution management process for managing the distribution of print pages during duplex printing And a display generation step.

すなわち、必ずしも実体のある媒体などに限らず、その方法としても有効であることに相違はない。   In other words, the present invention is not necessarily limited to a tangible medium, and there is no difference that the method is effective.

以上説明したように本発明は、両面印刷の指定を受け付けたときにはアイコン表示領域で表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させることができ、参照すべき具体的な印刷イメージを把握しやすくなる。また、両面印刷での印刷ページの振り分けを正確に把握して表示することが可能な印刷プレビュープログラムを記録した媒体を提供することができる。   As described above, according to the present invention, when designation of double-sided printing is accepted, the print page number on the front side and the print page number on the back side can be displayed separately in the icon display area. It becomes easy to grasp a print image. In addition, it is possible to provide a medium on which a print preview program capable of accurately grasping and displaying the distribution of print pages in double-sided printing is displayed.

また、請求項2にかかる発明によれば、これまでの印刷ページ順の単なる一列表示との違和感も少ない。   Further, according to the invention of claim 2, there is little uncomfortable feeling with the conventional single-line display in the print page order.

さらに、請求項3にかかる発明によれば、表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させることが却って両面折り畳み製本印刷の順番を混乱させやすいが、あくまでも印刷ページ番号は順番に並び、そのいずれを選択した場合でも同時印刷される関連ページが正確に管理されるので、実際の印刷イメージを見て混乱することを防止できる。   Further, according to the invention of claim 3, although the front side print page number and the back side print page number are displayed separately, it is easy to confuse the order of double-sided folding bookbinding printing. The numbers are arranged in order, and the related pages that are simultaneously printed are managed accurately regardless of which one is selected, so that it is possible to prevent confusion when looking at the actual print image.

さらに、請求項4にかかる発明によれば、折り畳み枚数を特定する両面印刷の折り畳み製本印刷での印刷の順番の混乱を回避できる。むろん、アイコン表示では並んでいる印刷ページ番号と実際の印刷ページの並びの食い違いは大きく、その意味での混乱を最小限にできる。   Furthermore, according to the invention concerning Claim 4, the confusion of the order of printing in the folding bookbinding printing of double-sided printing that specifies the number of folding sheets can be avoided. Of course, in the icon display, there is a large discrepancy between the printed page number and the actual printed page arrangement, and confusion in that sense can be minimized.

さらに、請求項5にかかる発明によれば、表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させることは当然に袋綴じ印刷における背表紙の両面印刷の場合においても適用可能であり、他の印刷モードでの印刷との整合性が保たれる。   Further, according to the invention according to claim 5, the display of the front-side print page number and the back-side print page number is naturally applied also in the case of double-sided printing of the back cover in the bag binding printing. This is possible, and consistency with printing in other printing modes is maintained.

さらに、請求項6にかかる発明によれば、実行停止の選択操作を受け付けた印刷ページをビジュアルに把握できる。   Furthermore, according to the sixth aspect of the present invention, it is possible to visually grasp a print page that has received an execution stop selection operation.

さらに、請求項7にかかる発明によれば、印刷イメージを表示するにはきわめて多数の個別コマンドの処理が必要となるが、その実行を開始した後にもキャンセルさせたいなどの希望は多い。このような指示を個別の他の機能から指示することは通常不可能であるが、共有メモリ領域に対するデータの書き込みを逐次参照することによって即座に指示を伝達させることができる。   Furthermore, according to the seventh aspect of the present invention, a very large number of individual commands need to be processed in order to display a print image. However, there is a great desire to cancel the execution even after the execution is started. It is usually impossible to issue such an instruction from another individual function, but the instruction can be transmitted immediately by sequentially referring to the writing of data to the shared memory area.

さらに、請求項8にかかる発明によれば、比較的長時間を要する印刷イメージ表示中にもユーザーを不安にさせないようにすることができる。   Further, according to the eighth aspect of the present invention, it is possible to prevent the user from being uneasy during the display of a print image that requires a relatively long time.

さらに、請求項9にかかる発明によれば、同様の効果を奏する印刷プレビュー装置を提供でき、請求項10にかかる発明によれば、印刷プレビュー方法を提供できる。   Furthermore, according to the invention concerning Claim 9, the print preview apparatus with the same effect can be provided, and according to the invention concerning Claim 10, the print preview method can be provided.

以下、図面にもとづいて本発明の実施形態を説明する。
図1は、本発明の一実施形態にかかる印刷プレビュープログラムが含まれるプリンタドライバの実行環境をソフトウェアダイアグラムにより示している。本プリンタドライバは図示しないコンピュータハードウェアシステムにおいてオペレーティングシステムとともに実装され、アプリケーションからの印刷機能の実行時に稼働される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a software diagram showing an execution environment of a printer driver including a print preview program according to an embodiment of the present invention. This printer driver is mounted together with an operating system in a computer hardware system (not shown), and is operated when a printing function is executed from an application.

同図において、オペレーティングシステム(以下、OSと呼ぶ。)11はアプリケーション12からの各種の指令を待機している。アプリケーション12は印刷機能を有しており、この印刷機能を実行すると印刷モジュール12aがOS11のグラフィックユーザーインターフェイス機能を実現するGDI関数11aをコールして印刷インターフェイスを表示しつつ、各種のパラメータの選択が可能となるようにしてある。   In the figure, an operating system (hereinafter referred to as OS) 11 waits for various commands from an application 12. The application 12 has a print function. When this print function is executed, the print module 12a calls the GDI function 11a that realizes the graphic user interface function of the OS 11 to display the print interface, and various parameters can be selected. It is made possible.

図2はアプリケーション12で印刷機能を選択する操作画面を示しており、ウィンドウ枠12bの上方枠部12cの左端にファイル関連操作を意味する「ファイル」12c1の文字が表示されている。これをクリック操作するとプルダウンメニュー12dが表示され、その中の「印刷」メニュー12d1を実行すると図3に示すような印刷インターフェイス12eが表示される。この印刷インターフェイス12eを表示するのが図1におけるドライバ21〜24(総称してドライバ20と呼ぶ)である。図1において、ドライバ20はその機能及びOS11からの呼び出しに対応して四体のドライバ21〜24からなり、ドライバ24は主にプレビュー機能を担当している。   FIG. 2 shows an operation screen for selecting a print function in the application 12, and characters “file” 12c1 indicating a file-related operation are displayed at the left end of the upper frame portion 12c of the window frame 12b. When this button is clicked, a pull-down menu 12d is displayed, and when a “print” menu 12d1 is executed, a print interface 12e as shown in FIG. 3 is displayed. The print interface 12e is displayed by the drivers 21 to 24 (collectively referred to as the driver 20) in FIG. In FIG. 1, the driver 20 is composed of four drivers 21 to 24 corresponding to the function and the call from the OS 11, and the driver 24 is mainly in charge of the preview function.

アプリケーション12が印刷モジュール12aによってOS11を介してドライバ21に提供するのは所定のルールに則って印刷イメージを生成するための印刷コマンドの集合体であり、OS11のスプーラ11bがスプールファイルを作成して保持する。ドライバ21は主にグラフィックユーザーインターフェイスを表示してユーザの操作を取得し、取得されたパラメータは各ドライバ22〜ドライバ24において参照可能である。   The application 12 provides the print module 12a to the driver 21 via the OS 11 with a set of print commands for generating a print image in accordance with a predetermined rule, and the spooler 11b of the OS 11 creates a spool file. Hold. The driver 21 mainly displays a graphic user interface to acquire a user operation, and the acquired parameters can be referred to in each of the drivers 22 to 24.

図3に示す印刷インターフェイス12eには通常の印刷指示に対応できる程度の情報だけが表示されている。すなわち、開始ページ指示領域12e1、終了ページ指示領域12e2、用紙指示領域12e3、用紙方向指示領域12e4が表示されており、適宜パラメータを変更可能となっている。また、印刷指示ボタン12e5は指示されたパラメータに従って印刷を実行させる操作ボタンであり、キャンセル指示ボタン12e6は印刷を実行させないで終了させる操作ボタンである。   In the print interface 12e shown in FIG. 3, only information that can be used for a normal print instruction is displayed. That is, a start page instruction area 12e1, an end page instruction area 12e2, a paper instruction area 12e3, and a paper direction instruction area 12e4 are displayed, and parameters can be changed as appropriate. The print instruction button 12e5 is an operation button for executing printing in accordance with the instructed parameter, and the cancel instruction button 12e6 is an operation button for ending without executing printing.

一方、通常の印刷指示に加えて印刷態様を選択させるために詳細指示ボタン12e7が備えられており、これを操作すると図4に示す詳細用印刷インターフェイス12fが表示されて印刷モードを選択できるようになる。ここには、単純両面印刷指示領域12f1と、両面折り畳み製本印刷指示領域12f2と、袋綴じ印刷指示領域12f3が表示され、無指定あるいはいずれかの単独指定だけを許容するようになっている。ここで袋綴じ印刷指示領域12f3についてはさらに背表紙モードを指定するチェックボックス12f4も表示されている。   On the other hand, a detailed instruction button 12e7 is provided in order to select a printing mode in addition to a normal printing instruction. When this button is operated, a detailed printing interface 12f shown in FIG. 4 is displayed so that a printing mode can be selected. Become. Here, a simple double-sided printing instruction area 12f1, a double-sided folding bookbinding printing instruction area 12f2, and a bag binding printing instruction area 12f3 are displayed, and only non-designation or any single designation is permitted. Here, a check box 12f4 for designating the back cover mode is also displayed for the bag binding print instruction area 12f3.

また、各印刷モードについてより詳細なパラメータを指定するためにオプション指示ボタン12f5が表示され、いずれかの印刷モードを指定した状態でオプション指示ボタン12f5を操作した場合に図5〜図7に示す各印刷モード用印刷インターフェイス12g,12h,12jが表示されるようになっている。   In addition, an option instruction button 12f5 is displayed to specify more detailed parameters for each print mode. When the option instruction button 12f5 is operated in a state where any one of the print modes is specified, each of the options shown in FIGS. Print mode print interfaces 12g, 12h, and 12j are displayed.

ここで各印刷モードについて説明する。単純両面印刷は各用紙の表面と裏面とに各一ページ分の印刷を行なうものである。図5に示す単純両面印刷インターフェイス12gには両面印刷した状態で綴じる辺を選択する綴じ方向指示領域12g1が表示され、右綴じ、左綴じ、上綴じ、下綴じのいずれかを択一的に選択するようになっている。また、綴じ代を除いて左右上下の余白を指定する右余白指示領域12g2〜下余白指示領域12g5が表示され、さらには綴じ代の余白を指示する綴じ代余白指示領域12g6が表示されている。そして、最後に設定を有効にするためのOKボタン12g7と設定を無効にするためのキャンセルボタン12g8が配置されている。   Here, each print mode will be described. In simple double-sided printing, one page is printed on the front and back sides of each sheet. The simple double-sided printing interface 12g shown in FIG. 5 displays a binding direction instruction area 12g1 for selecting a side to be bound in a double-sided printing state, and selectively selects one of right binding, left binding, top binding, and bottom binding. It is supposed to be. Further, a right margin instruction area 12g2 to a lower margin instruction area 12g5 for designating left and right and upper and lower margins excluding the binding margin are displayed, and further, a binding margin instruction area 12g6 for instructing a margin for the binding margin is displayed. Finally, an OK button 12g7 for validating the setting and a cancel button 12g8 for invalidating the setting are arranged.

両面折り畳み印刷は用紙を半分に折り、それぞれの半ページの領域を各ページとして印刷を行うものであり、綴じ方向や折り畳み枚数の指定の有無に応じた印刷ページの振り分けを図8〜図11に示している。例えば、40ページの印刷を行うとして、折り畳み枚数を指定しない場合は図8と図9に示すように各用紙における4つの半ページ領域に一ページを振り分けて4ページを印刷できるため、10枚の用紙に両面印刷を行うことになる。この場合、図8は縦表示の印刷で左綴じの例を示しており、図9は右綴じの例を示している。   Double-sided folding printing is performed by folding a sheet in half and printing each half-page area as each page. Printing page distribution according to whether or not the binding direction and the number of folded sheets are designated is shown in FIGS. Show. For example, if 40 pages are printed and the number of folded sheets is not specified, as shown in FIGS. 8 and 9, four pages can be printed by distributing one page to four half-page areas on each sheet. Double-sided printing is performed on the paper. In this case, FIG. 8 shows an example of left binding in vertical display printing, and FIG. 9 shows an example of right binding.

一方、図10と図11は折り畳み枚数を指定した場合であり、それぞれ4枚を指定した場合の左綴じと右綴じの例を示している。10枚の用紙を使用することに代わりはないから、4枚、4枚、2枚と折り畳んで重ね合わせることにより、40ページの製本が可能となる。   On the other hand, FIG. 10 and FIG. 11 show the case where the number of folding sheets is designated, and shows an example of left binding and right binding when 4 sheets are designated respectively. Since there is no substitute for using 10 sheets, 40 pages can be bound by folding 4 sheets, 4 sheets, and 2 sheets.

図6に示す両面折り畳み印刷インターフェイス12hには折り畳み枚数指示領域12h1が表示され、指定の「なし」あるいは「あり」を選択でき、指定「あり」であればその枚数を指示する領域も表示されている。なお、内部では、指定「なし」の場合に使用する全枚数が自動的に折り畳み枚数としてセットされ、同じ処理を行うこととして処理の簡素化を図っている。また、折り畳み枚数指示領域12h1の下方には指示内容を表す図示領域12h2が表示されるようになっており、いずれかの指定に応じ、折り畳み枚数を指定しない図柄12h2aと、指定する図柄12h2bのうち、一方が通常表示され、他方がグレー表示されるようになっている。さらに、同図示領域12h2の下方左側には綴じ方向指示領域12h3が表示され、右綴じ、左綴じ、上綴じ、下綴じのいずれかを択一的に選択するようになっているとともに、その右側には綴じ代を除いて左右上下の余白を指定する右余白指示領域12h4〜下余白指示領域12h7が表示され、さらには綴じ代の余白を指示する綴じ代余白指示領域12h8が表示されている。そして、最後に設定を有効にするためのOKボタン12h9と設定を無効にするためのキャンセルボタン12h10が配置されている。   The double-sided folding printing interface 12h shown in FIG. 6 displays a folding number designation area 12h1, which can be designated “None” or “Yes”. If the designation is “Yes”, an area for instructing the number is also displayed. Yes. Internally, the total number of sheets used in the case of designation “none” is automatically set as the number of folded sheets, and the same processing is performed to simplify the processing. In addition, an illustrated area 12h2 representing the instruction content is displayed below the folding number designation area 12h1, and according to any designation, a pattern 12h2a that does not designate the number of folding and a designated pattern 12h2b. One is normally displayed and the other is displayed in gray. Further, a binding direction instruction area 12h3 is displayed on the lower left side of the illustrated area 12h2, and one of right binding, left binding, upper binding, and lower binding is selected alternatively, and the right side thereof is selected. The right margin designation area 12h4 to the bottom margin designation area 12h7 for designating left, right, top and bottom margins excluding the binding margin are displayed, and further, the binding margin designation area 12h8 for designating the margin for the binding margin is displayed. Finally, an OK button 12h9 for validating the setting and a cancel button 12h10 for invalidating the setting are arranged.

袋綴じ印刷では、通常は両面印刷を要しないが、背表紙モードを指定するときに両面印刷を行うことになる。図12と図13は背表紙モードを指定したときと、指定しないときとを示している。図12に示すように背表紙モードを指定すると用紙の一枚のみ他の用紙の端部を包み込むように折り曲げて製本することになる。このため、最初の2ページと最後の2ページについて両面印刷を行う。むろん、最後の2ページについては一方が空白ページとなることもあり得る。裏面が存在しないページに関してはアイコン表示領域24a7にて斜線で示すように工夫した。   In bag binding printing, double-sided printing is not usually required, but double-sided printing is performed when the back cover mode is designated. 12 and 13 show when the back cover mode is designated and when it is not designated. When the spine mode is designated as shown in FIG. 12, only one sheet of paper is folded and bound so as to wrap the edge of the other paper. For this reason, duplex printing is performed on the first two pages and the last two pages. Of course, one of the last two pages may be a blank page. The page where the back side does not exist is devised as indicated by hatching in the icon display area 24a7.

図7は袋綴じ印刷インターフェイス12jを示しており、左側には綴じ方向指示領域12j1が表示され、右綴じ、左綴じ、上綴じ、下綴じのいずれかを択一的に選択するようになっているとともに、その右側には綴じ代を除いて左右上下の余白を指定する右余白指示領域12j2〜下余白指示領域12j5が表示され、さらには綴じ代の余白を指示する綴じ代余白指示領域12j6が表示されている。そして、最後に設定を有効にするためのOKボタン12j7と設定を無効にするためのキャンセルボタン12j8が配置されている。   FIG. 7 shows the bag binding printing interface 12j. A binding direction instruction area 12j1 is displayed on the left side, and one of right binding, left binding, upper binding, and lower binding is selected. On the right side, right margin designation area 12j2 to bottom margin designation area 12j5 for designating left and right and top and bottom margins excluding the binding margin are displayed, and further, a binding margin designation area 12j6 for designating the margin for the binding margin is displayed. It is displayed. Finally, an OK button 12j7 for validating the setting and a cancel button 12j8 for invalidating the setting are arranged.

単純両面印刷、両面折り畳み印刷および袋綴じ印刷では、表・裏・表・裏…表・裏という順で印刷する単純送りと、表・表…表・裏…裏・裏という順序で印刷する各面一括送りの2方式がある。アイコン表示領域24a7の記述に従えば、通常送りは1,2,3,4…39,40、各面一括送りは1,3,5…39,2,4,6…40という順になる。各面一括送りは、用紙反転機構を備えていない印刷装置向きの方式である。   In simple double-sided printing, double-sided folding printing, and bag binding printing, each page is printed in the order of front / back / front / back ... front / back and front / back / front / back ... back / back There are two types of surface batch feed. According to the description of the icon display area 24a7, the normal feed is 1, 2, 3, 4... 39, 40, and each side batch feed is 1, 3, 5 ... 39, 2, 4, 6,. Each side batch feed is a method suitable for a printing apparatus that does not include a paper reversing mechanism.

通常の印刷では、OS11のスプーラ11bがスプールファイルとして保存している印刷コマンドの集合体からドライバ22がレンダリングに必要な情報を抽出してワークファイルを生成する。ドライバ23は同ワークファイルを読み込ながら印刷イメージを多階調RGBビットマップデータで生成した後、RGBビットマップデータをプリンタ30で出力可能なように色変換と階調変換とを行い、単階調CMYKビットマップデータを生成する。そして、このCMYKビットマップデータがスプーラ11bを介してプリンタ30へ出力されて印刷が行われる。なお、プリンタ30の仕様に応じてCMYKビットマップデータが多階調となったり、インク色数が適宜増減することはいうまでもない。   In normal printing, the driver 22 extracts information necessary for rendering from a collection of print commands stored as a spool file by the spooler 11b of the OS 11 to generate a work file. The driver 23 generates a print image with multi-gradation RGB bitmap data while reading the work file, and then performs color conversion and gradation conversion so that the RGB bitmap data can be output by the printer 30. Key CMYK bitmap data is generated. The CMYK bitmap data is output to the printer 30 via the spooler 11b and printing is performed. Needless to say, the CMYK bitmap data has multiple gradations and the number of ink colors appropriately increases or decreases according to the specifications of the printer 30.

通常の印刷に加えて、本ドライバ20ではプレビュー表示が可能であり、図3に示す印刷インターフェイス12eにはプレビュー指示ボタン12e8が備えられている。このプレビューは通常のアプリケーション12の機能ではなく、ドライバ20の機能なので、この時点でアプリケーション12は印刷のプロセスに入り、ドライバ24が上記ワークファイルを読み込ながら印刷イメージを多階調RGBビットマップデータで生成して表示することになる。   In addition to normal printing, the driver 20 can display a preview, and the print interface 12e shown in FIG. 3 includes a preview instruction button 12e8. Since this preview is not a function of the normal application 12, but a function of the driver 20, at this point, the application 12 enters a printing process, and the driver 24 reads the work file and converts the print image into multi-tone RGB bitmap data. Will be generated and displayed.

図14〜図17は単純両面印刷を行なう場合のプレビュー表示を示している。ウィンドウ枠24aの上部には画面のタイトル表示枠24a1があり、その下に補助的な情報などを表示する補助情報表示枠24a2があり、最下段の下枠部24a3には印刷実行指示ボタン24a4とキャンセル指示ボタン24a5とを表示している。この下枠部24a3には後述するプログレスバー24a6も表示されている。   14 to 17 show preview displays when simple duplex printing is performed. There is a screen title display frame 24a1 at the top of the window frame 24a, an auxiliary information display frame 24a2 for displaying auxiliary information and the like below it, and a print execution instruction button 24a4 at the lower frame 24a3 at the bottom. A cancel instruction button 24a5 is displayed. A progress bar 24a6, which will be described later, is also displayed on the lower frame portion 24a3.

補助情報表示枠24a2と下枠部24a3との間における左端寄り部分が印刷ページ番号のアイコン表示領域24a7であり、残りの部分が印刷イメージのイメージ表示領域24a8である。各図で示すアイコン表示領域24a7は両面印刷を行なう場合の表示例である。すなわち、通常であれば印刷される印刷ページ番号のアイコンが単に上方から下方に向けて一列に表示されるに過ぎない領域であるのに対して、このアイコン表示領域24a7では縦長の左右の二列に分け、左側を表面の領域とし、右側を裏面の領域として最上段に「表面」と「裏面」の文字表示を行ない、その下方には該当する印刷ページ番号のアイコンを上方から下方に向けて一列に表示している。   A portion near the left end between the auxiliary information display frame 24a2 and the lower frame portion 24a3 is an icon display region 24a7 for a print page number, and the remaining portion is an image display region 24a8 for a print image. An icon display area 24a7 shown in each figure is a display example when performing duplex printing. In other words, normally, the icons of the print page numbers to be printed are merely displayed in a line from the top to the bottom, whereas in the icon display area 24a7, two vertically long left and right columns are displayed. The left side is the front side area, the right side is the back side area, and the characters “front” and “back” are displayed at the top, with the corresponding print page number icon pointing from the top to the bottom. Displayed in a row.

このアイコン表示領域24a7で見て左右に並ぶアイコンの印刷ページ番号については実際の印刷時にも同じ紙面の表裏に印刷されるもの同士であることが一目瞭然となる。両面印刷や製本印刷では実際の作業中に表裏の関係となる印刷ページ番号が混乱しがちであるが、このようにしてアイコン表示領域24a7で表裏に印刷されるもの同士が常に左右に並べて表示されることにより、混乱を回避することができる。   It becomes obvious at a glance that the print page numbers of the icons arranged on the left and right when viewed in the icon display area 24a7 are printed on the front and back of the same sheet even during actual printing. In double-sided printing or bookbinding printing, the print page numbers that are the front and back sides tend to be confused during actual work, but in this way, the items printed on the front and back sides are always displayed side by side in the icon display area 24a7. By doing so, confusion can be avoided.

イメージ表示領域24a8にはアイコン表示領域24a7で表示されているアイコンのうち、操作者が選択した印刷ページ番号を含む紙面が表示されるようになっている。図14に示す例では「1」ページの印刷番号が選択され、この「1」ページとなる紙面の様子が表示されている。具体的には上端寄り部分に印刷ページ番号の数値と「ページ」の文字表示を行い、その下方に紙面のイメージを表示する。この際、用紙の紙面を表す矩形の表示とともに、その内側には設定した余白を破線で表示している。   Of the icons displayed in the icon display area 24a7, the image display area 24a8 displays a page including the print page number selected by the operator. In the example shown in FIG. 14, the print number of the “1” page is selected, and the state of the paper that becomes the “1” page is displayed. Specifically, the numerical value of the print page number and the characters “page” are displayed near the upper end, and the image of the paper surface is displayed below that. At this time, along with the display of the rectangle representing the paper surface of the paper, the set margin is displayed with a broken line inside.

余白については各印刷モード用印刷インターフェイス12g,12h,12jで設定した綴じ方向と綴じ代に応じてシフトが行われている。図14では右綴じを前提としているので、右余白として設定した余白に加えて綴じ代分が右方向に加えられている。従って、全体として右側部分には大きな余白が残されている。これに対して図15には「2」ページを表示しており、「1」ページの裏面となって綴じられるので左側に綴じ代が確保される。従って、全体として左側部分に大きな余白が残されている。すなわち、図14や図15に示す表示として右側の余白と左側の余白は異なるが、個別に異なる余白を設定しているのではなく、図5に示す右余白指示領域12g2〜下余白指示領域12g5で指示された余白に加えて実際の綴じ方向に合わせて綴じ代余白が加えられた上、印刷される際の余白が破線で表示されている。   The margin is shifted according to the binding direction and binding margin set in the print mode print interfaces 12g, 12h, and 12j. Since the right binding is assumed in FIG. 14, the binding margin is added in the right direction in addition to the margin set as the right margin. Therefore, a large margin is left on the right side as a whole. On the other hand, FIG. 15 shows the “2” page, which is bound on the back side of the “1” page, so that a binding margin is secured on the left side. Therefore, a large margin is left on the left side as a whole. That is, as shown in FIGS. 14 and 15, the right margin and the left margin are different, but different margins are not set individually. Instead, the right margin instruction area 12g2 to the lower margin instruction area 12g5 shown in FIG. In addition to the margin specified in (2), a binding margin margin is added in accordance with the actual binding direction, and a margin for printing is displayed by a broken line.

図18〜図20は印刷イメージを生成する際のパラメータを説明するための図である。図18は一枚の紙面に一つのページだけを振り分ける場合に利用するパラメータを示している。印刷を行う上では余白を踏まえて印刷イメージとして生成する領域を横方向にxドット、縦方向にyドットとし、この印刷イメージを用紙の先端からトップマージンTMドットだけ、用紙の左端からレフトマージンLMだけ空けて配置するものとして全体を管理している。また、印刷イメージは用紙に対して天方向をどちらに向けるかも重要な要素であり、図19に示すように方向パラメータに「a」〜「d」を割り当てることにより天方向を表すようにしている。   18 to 20 are diagrams for explaining parameters used when generating a print image. FIG. 18 shows parameters used when only one page is allocated to one sheet of paper. When printing, the area to be generated as a print image based on the margin is set to x dots in the horizontal direction and y dots in the vertical direction. This print image is the top margin TM dot from the leading edge of the paper, and the left margin LM from the left edge of the paper. The whole is managed as something that is only spaced apart. Further, it is an important factor for the print image to face the paper in the top direction. As shown in FIG. 19, the top direction is represented by assigning “a” to “d” to the direction parameter. .

図20は、このようなパラメータを全体として管理しつつ、さらに両面印刷で印刷ページの振り分けを管理するための単純両面印刷向け一面用印刷振り分けテーブルを示している。このテーブルはプリンタ30が機械的に印刷して排紙していく際に印刷する印刷ページ番号の順序を管理して手動両面印刷を行えるようにするため、第一項目として印刷ページ番号を管理し、続く第二項目〜第六項目として各印刷ページ番号ごとにパラメータx,y,TM,LMおよび方向パラメータを保存できるようになっている。   FIG. 20 shows a single-sided print distribution table for simple double-sided printing for managing such parameters as a whole and managing print page distribution by double-sided printing. This table manages the order of print page numbers to be printed when the printer 30 mechanically prints and discharges the paper so that manual duplex printing can be performed. Then, parameters x, y, TM, LM and direction parameters can be stored for each print page number as the subsequent second to sixth items.

ここで各面一括送りに基づく手動両面印刷について簡単に説明すると、機構的な用紙反転装置を備えない場合に、最初に奇数ページだけを順番に印刷していき、奇数ページの印刷を終えた時点で排紙した用紙の裏面を印刷面としてユーザに給紙スタッカへ移動させ、続いて偶数ページを奇数ページの裏面に印刷させるというものである。排紙した用紙がどのように積み重ねられるか、あるいは綴じ方向はどちらかということを管理して上述した天方向や余白を適宜計算することにより、反転装置を要することなく両面印刷が可能となる。なお、本実施形態のプリンタ30は本体背面側に給紙スタッカを備え、同給紙スタッカの上方から用紙を給紙し、後方側から前方側へと用紙を移動させながら上面に印刷を行い、本体前方側の排紙スタッカに対して上方から順次排紙していく。従って、「1」ページから印刷していくと印刷面を上面として下方から上方へ向けて順次印刷ページ番号が増加していくようにして積み重ねられていく。そして、手動両面印刷の場合は用紙の送り方向が変わらないようにして裏返し、給紙スタッカへ移動させることにする。   Here is a brief description of manual duplex printing based on batch feed for each side. When a mechanical paper reversing device is not provided, only odd pages are printed in order, and odd pages are printed. The user moves the back side of the paper discharged in step 1 to the paper feed stacker as the print side, and then prints even pages on the back side of odd pages. By controlling how the discharged sheets are stacked or in which direction the binding is performed and calculating the above-described top direction and margin as appropriate, double-sided printing can be performed without requiring a reversing device. The printer 30 of the present embodiment includes a paper feed stacker on the back side of the main body, feeds paper from above the paper feed stacker, performs printing on the upper surface while moving the paper from the rear side to the front side, Paper is discharged sequentially from above to the paper discharge stacker on the front side of the main body. Accordingly, when printing is performed from the “1” page, the print page numbers are sequentially stacked from the bottom to the top with the print surface as the top surface. In the case of manual duplex printing, the paper feed direction is turned over so as not to change, and the paper is moved to the paper feed stacker.

図20の一面用印刷振り分けテーブルは、このような手動両面印刷を実行可能にし、さらに、総合的に余白を管理できるようにするため、各ページごとに予めこれらのパラメータを設定しておくものである。従って、後述するように印刷ページの振り分け処理においてかかる上述した余白を実現するように各パラメータを総合的に処理するようにしている。   The one-side print distribution table in FIG. 20 sets these parameters in advance for each page so that manual double-sided printing can be executed and the blank space can be comprehensively managed. is there. Therefore, as will be described later, each parameter is comprehensively processed so as to realize the above-described margin in the print page distribution process.

なお、図14と図15で示すイメージ表示領域は単純両面印刷における各紙面の片面を表示しているのに対し、図16と図17は両面の表示例を示している。この場合、イメージ表示領域24a8を左右に分割し、左側を表面の領域として右側を裏面の領域として各紙面の印刷イメージを表示する。   Note that the image display area shown in FIGS. 14 and 15 displays one side of each paper surface in simple double-sided printing, whereas FIGS. 16 and 17 show examples of double-sided display. In this case, the image display area 24a8 is divided into right and left, and the print image of each sheet is displayed with the left side as the front side area and the right side as the back side area.

最後に、上記下枠部24a3にはプログレスバー24a6の表示を行っており、これはプレビュー時におけるレンダリングの進行率を%表示のバーグラフ表示で示している。より具体的には左方部分に「レンダリング進行率」の文字表示をし、その右方にて「0%」の文字と「100%」の文字との間に矩形のバーグラフ表示領域を配置して表示するようになっている。そして、バーグラフ表示領域では当初進行率が0%のときに全体が白色の表示であるが、百分率で計算した進行率に基づいて徐々に左方から右方に向けて青色のバーが伸びていくように表示する。   Finally, a progress bar 24a6 is displayed on the lower frame portion 24a3, and this indicates a progress rate of rendering at the time of preview by a bar graph display of% display. More specifically, the character “Render Progress” is displayed on the left side, and a rectangular bar graph display area is placed between the characters “0%” and “100%” on the right. Is displayed. In the bar graph display area, the entire display is white when the initial progress rate is 0%, but the blue bar gradually extends from left to right based on the progress rate calculated as a percentage. Display as you go.

ドライバ24が印刷イメージを多階調RGBビットマップデータで生成するには、上記ワークファイルを読み込ながら一つのコマンドごとに実行していくことになるため、時間を要する。印刷の場合にも同様の過程を経ているが、印刷の場合はOS11でスプールされたり、プリンタ30のバッファに蓄えられるなどして、現実に用紙が排出されるまでに時間がかかることが通常となっているので待ち時間もさほど気にならない。しかしながら、プレビューの場合はコンピュータを操作しながらイメージが表示されるのを待機するので同じ時間でもより長く感じやすい。このため、ビジュアルに進行具合を表示することによって進行時間を短く感じさせたり、現実に進行していることが分かりやすくなるようにしている。むろん、バーグラフ以外に単なる数値を表示するようにしても良い。なお、後述するように進行率の計算は実際に処理すべきコマンドの総数に対して処理済みのコマンドの数の割合を表示している。これについても、現実に要する時間に基づいて進行率を表示することは可能である。   It takes time for the driver 24 to generate a print image with multi-gradation RGB bitmap data because it is executed for each command while reading the work file. In the case of printing, the same process is performed. However, in the case of printing, it usually takes time until the sheet is actually ejected, for example, spooled by the OS 11 or stored in the buffer of the printer 30. Because it is, I do not care much about the waiting time. However, in the case of the preview, it waits for the image to be displayed while operating the computer, so it is easy to feel longer even in the same time. For this reason, the progress state is visually displayed to make the progress time feel short or to make it easy to understand that the progress is actually made. Of course, a simple numerical value may be displayed in addition to the bar graph. As will be described later, the calculation of the progress rate displays the ratio of the number of processed commands to the total number of commands to be actually processed. Again, it is possible to display the progress rate based on the actual time required.

次に、図21〜図23は両面折り畳み製本印刷におけるプレビューのイメージを表示している。この場合、補助情報表示枠24a2の印刷モードの欄には「両面折り畳み製本」の文字が表示され、折り畳み枚数として「全10枚 右綴じ」と表示している。   Next, FIGS. 21 to 23 display preview images in double-side folding bookbinding printing. In this case, the text “double-sided folding and binding” is displayed in the print mode column of the auxiliary information display frame 24a2, and “all 10 sheets are bound right” is displayed as the number of folded sheets.

一方、イメージ表示領域24a8では印刷される用紙の1ページを示しているが、図8〜図11に示すように用紙の1ページには印刷ページとして2ページが割り当てられるようになっており、その振り分けは非常に混乱しがちである。   On the other hand, the image display area 24a8 shows one page of paper to be printed, but as shown in FIGS. 8 to 11, two pages are assigned as print pages to one page of the paper. Sorting can be very confusing.

図21に示しているのは、アイコン表示領域24a7で印刷ページの「1」ページを選択した場合であり、イメージ表示領域24a8では両面折り畳み製本印刷で印刷ページの「1」ページを印刷する用紙面を表示している。図9を参照すると印刷ページの振り分け状況が理解できるが、印刷ページの「1」ページは印刷ページの「40」ページと並んで印刷されることになるから、プレビューでも並んで表示される。   FIG. 21 shows the case where the “1” page of the print page is selected in the icon display area 24a7, and the paper surface on which the “1” page of the print page is printed in the double-side folding bookbinding printing in the image display area 24a8. Is displayed. Referring to FIG. 9, the distribution status of the print pages can be understood. However, since the “1” page of the print page is printed side by side with the “40” page of the print page, it is also displayed side by side in the preview.

そして、綴じ代については各ページごとに必要であるから、両ページの間にて2倍の量が配置されることになる。従って、各印刷ページについて余白を表す破線についても用紙の間に2倍の綴じ代を空けた上で表示されている。   Since the binding margin is necessary for each page, a double amount is arranged between both pages. Accordingly, a broken line representing a margin for each printed page is also displayed with a double binding margin between sheets.

また、図22には折り畳み枚数として折り畳み枚数指示領域12h1で4枚を指定した場合であり、この場合は図11に示すように印刷ページの「1」ページは印刷ページの「16」ページと並んで印刷されるから、プレビューでも並んで表示される。ここで、アイコン表示領域24a7で印刷ページの「4」ページを選択したような場合には、図23に示すように印刷ページの「4」ページと印刷ページの「13」ページとが並んで表示される。   FIG. 22 shows a case where four sheets are designated as the number of folding sheets in the folding number instruction area 12h1, and in this case, the “1” page of the print page is aligned with the “16” page of the print page as shown in FIG. Will be printed side by side in the preview. Here, when the “4” page of the print page is selected in the icon display area 24a7, the “4” page of the print page and the “13” page of the print page are displayed side by side as shown in FIG. Is done.

ここで、アイコン表示領域24a7については、単純両面印刷と同様に単純に表面と裏面とに分けているだけである。これは最終的な製本作業では印刷ページの振り分けが複雑になるとしても、印刷ページ番号のアイコンが先頭から順番に並べてある方が確認作業をしやすいとの配慮による。   Here, the icon display area 24a7 is simply divided into the front surface and the back surface as in the case of simple double-sided printing. This is due to the consideration that even if it is complicated to sort the print pages in the final bookbinding operation, it is easier to perform the confirmation operation if the icons of the print page numbers are arranged in order from the top.

このように用紙の1ページに印刷ページとして2ページを割り当てる場合には、図24と図25に示すようにパラメータを管理する。図24に示すように用紙の流れる方向に沿って一面目と二面目の印刷領域が横方向xドットと縦方向yドットとして確保され、それぞれの位置をトップマージンTMとレフトマージンLMとミッドマージンMMとで管理する。また、各面において印刷される方向はそれぞれ個別の方向パラメータで管理するようにしている。   Thus, when two pages are assigned as print pages to one page of paper, parameters are managed as shown in FIGS. As shown in FIG. 24, the print areas on the first and second sides are secured as horizontal x dots and vertical y dots along the paper flow direction, and the respective positions are top margin TM, left margin LM, and mid margin MM. And manage with. In addition, the printing direction on each surface is managed by individual direction parameters.

すなわち、図25に示すように両面折り畳み印刷および袋綴じ背表紙モード印刷向き二面用印刷振り分けテーブルには第一項目として一面目の印刷ページ番号、第二項目としてこの一面目の方向パラメータ、続く第三項目と第四項目では印刷ページのサイズであるパラメータx,y、さらに第五項目として二面目の印刷ページ番号、第六項目として二面目の方向パラメータ、第七〜第九項目としてTM,LM,MMをそれぞれ保持するようにしている。この二面用印刷振り分けテーブルについても後述するように印刷ページの振り分け処理において各パラメータを総合的に処理するようにしている。なお、同図に示す二面用印刷振り分けテーブルには一例として図26に示すような右綴じの両面折り畳み製本印刷における印刷ページの振り分けを表す印刷ページ番号が第一項目と第五項目のパラメータとして記載されている。   That is, as shown in FIG. 25, double-sided folding printing and bag binding spine cover mode printing two-sided printing distribution table has a first page print page number as a first item, a first item direction parameter as a second item, and so on. The third item and the fourth item are parameters x and y which are the sizes of the printed pages, the fifth item is the print page number of the second page, the sixth item is the direction parameter of the second page, the seventh to ninth items are TM, LM and MM are held respectively. As will be described later, the two-side print distribution table is also configured to comprehensively process each parameter in the print page distribution process. In the two-sided print distribution table shown in the figure, as an example, print page numbers representing print page distribution in right-sided double-side folding bookbinding printing as shown in FIG. 26 are used as parameters of the first item and the fifth item. Has been described.

図27は袋綴じ背表紙モードにおけるプレビューのイメージを表示している。この場合、補助情報表示枠24a2の印刷モードの欄には「袋綴じ:背表紙モード 左綴じ」の文字が表示されている。   FIG. 27 displays a preview image in the bag binding back cover mode. In this case, the characters “bag binding: back cover mode left binding” are displayed in the print mode column of the auxiliary information display frame 24a2.

袋綴じ背表紙モードの印刷でも用紙の1ページに印刷ページとして2ページが割り当てられるため、図25に示す二面用印刷振り分けテーブルを利用する。ただし、背表紙を除いて両面印刷は行わず、背表紙モードでのみ両面印刷の振り分けが行われる。そして、印刷ページの振り分け処理において同二面用印刷振り分けテーブルのパラメータを総合的に処理する。   Since two pages are assigned as print pages to one page of the paper even in the case of the bag binding back cover mode printing, the two-sided print distribution table shown in FIG. 25 is used. However, double-sided printing is not performed except for the back cover, and double-sided printing is assigned only in the back cover mode. Then, in the print page distribution process, the parameters of the double-side print distribution table are comprehensively processed.

以上のような処理を実行するドライバ20をその機能に注目してブロック図として示したのが図28である。各機能の実行手順については図29以下に示すフローチャートを参照して後述するが、まず、各機能モジュールの概略について説明する。   FIG. 28 shows a block diagram of the driver 20 that executes the above processing, paying attention to its function. The execution procedure of each function will be described later with reference to flowcharts shown in FIG. 29 and the subsequent drawings. First, an outline of each function module will be described.

各種の表示およびこれに対応する操作を取得するためのグラフィックユーザーインターフェイスはGUIモジュール41が担当する。むろん、その一機能として両面印刷か否かの指定を受け付ける両面印刷指定受付機能も実現している。ドライバ20はOS11にて適宜コールされるほか、スプーラ11bが作成したスプールファイルにアクセスする必要があり、このためのインターフェイスを担当するのがスプーラI/Oモジュール42である。ドライバ20は単体で構成されず、複数のプログラムから構成されているが、例えば、レンダリングに特化したプログラムが起動してしまうと、このプログラムがGUIを介して中止の操作を受け付けるということができない。これはプログラム毎に専用の実行領域が割り当てられるOS11において特に顕著な課題であった。これを回避するため、通信モジュール43が備えられており、複数のプログラム間で共有メモリ領域を参照するようにしておき、この共有メモリ領域に適宜データを書き込むことによって他のプログラムからこれを参照し、通信を実行するというものである。従って、レンダリングに特化したプログラムであってもこの通信モジュール43を介して共有メモリ領域を適宜参照するようにし、他のグラフィックユーザーインターフェイスを担当するプログラムでレンダリングの中止操作を受け付けたときには同共有メモリ領域に中止操作を書き込んでレンダリングを中止させるということが可能になる。   The GUI module 41 is in charge of a graphic user interface for acquiring various displays and operations corresponding thereto. Of course, as one of the functions, a double-sided print designation receiving function for accepting designation as to whether or not double-sided printing is also realized. The driver 20 is called as appropriate by the OS 11 and needs to access the spool file created by the spooler 11b. The spooler I / O module 42 is responsible for the interface for this purpose. The driver 20 is not composed of a single unit but is composed of a plurality of programs. For example, if a program specialized for rendering is activated, the program cannot accept a cancel operation via the GUI. . This is a particularly significant problem in the OS 11 in which a dedicated execution area is assigned to each program. In order to avoid this, a communication module 43 is provided, and a shared memory area is referred to among a plurality of programs, and this is referred to from other programs by writing data appropriately in the shared memory area. , Execute communication. Therefore, even if the program is specialized for rendering, the shared memory area is appropriately referred to via the communication module 43, and when a rendering stop operation is received by another program in charge of the graphic user interface, It becomes possible to stop rendering by writing a stop operation in the area.

印刷ページ振り分けモジュール44は上述したような両面印刷は袋綴じ印刷などで印刷ページの振り分けを実行するものであり、印刷モードに応じて一面用印刷振り分けテーブルや二面用印刷振り分けテーブルにおける印刷ページの印刷ページ番号の振り分けを行ったり、各モードに応じた余白の設定や方向パラメータの設定などを行う。従って、この印刷ページ振り分けモジュール44が両面印刷時における印刷ページの振り分けを管理する振り分け管理機能を実現している。   The print page sorting module 44 executes print page sorting by double-sided printing as described above, such as bag binding printing. The print page sorting module 44 prints the print pages in the one-side print sort table or the two-side print sort table according to the print mode. Sort print page numbers, set margins and direction parameters according to each mode. Therefore, the print page distribution module 44 implements a distribution management function for managing the distribution of print pages during duplex printing.

印刷イメージ生成モジュール45はスプーラI/Oモジュール42を介して上記ワークファイルを読み込ながら印刷イメージを多階調RGBビットマップデータで生成する。この際、上記一面用印刷振り分けテーブルや二面用印刷振り分けテーブルを参照し、作成すべき印刷ページ番号が含まれる紙面を見つけ、作成すべきドット数としてパラメータx,yおよび方向パラメータを参照する。印刷イメージは印刷に際して作成される場合と、プレビューに際して作成される場合とがあり、プレビューの際に作成した多階調RGBビットマップデータは一時保存し、印刷の際に再利用することも可能である。プレビューの場合は本来の解像度で作成しておき、表示に際して縮小する。これに対して、再利用しない場合は、方向パラメータはそのまま利用するものの作成すべきドット数として読み込んだパラメータx,yについては適宜表示上のドット数に対応して小型の印刷イメージを生成する。   The print image generation module 45 generates a print image with multi-gradation RGB bitmap data while reading the work file via the spooler I / O module 42. At this time, referring to the one-side print distribution table or the two-side print distribution table, a paper surface including the print page number to be created is found, and the parameters x, y and the direction parameter are referred to as the number of dots to be created. The print image may be created at the time of printing or at the time of preview. Multi-tone RGB bitmap data created at the time of preview can be temporarily stored and reused at the time of printing. is there. In the case of a preview, it is created at the original resolution and is reduced when displayed. On the other hand, when not being reused, although the direction parameter is used as it is, the parameters x and y read as the number of dots to be created are appropriately generated in accordance with the number of dots on the display.

この印刷イメージ生成モジュール45はコマンドの処理割合をプログレスバー生成表示モジュール46に出力し、同プログレスバー生成表示モジュール46は下枠部24a3にプログレスバー24a6を表示して逐次更新する。   The print image generation module 45 outputs the processing rate of the command to the progress bar generation / display module 46, and the progress bar generation / display module 46 displays the progress bar 24a6 in the lower frame portion 24a3 and sequentially updates it.

印刷イメージ生成モジュール45が生成した印刷イメージは印刷イメージ表示モジュール47が表示する。上述したように印刷の解像度に合致する多階調RGBビットマップデータの場合は縮小して表示し、再利用しない多階調RGBビットマップデータの場合はそのまま表示する。   The print image generated by the print image generation module 45 is displayed by the print image display module 47. As described above, multi-tone RGB bitmap data matching the printing resolution is displayed in a reduced size, and multi-tone RGB bitmap data that is not reused is displayed as it is.

なお、上記印刷イメージ生成モジュール45と印刷イメージ表示モジュール47とで印刷ページ番号における選択に連動してイメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成機能を実現している。   The print image generation module 45 and the print image display module 47 realize an image display generation function for generating an image display at the time of printing in the image display area in conjunction with the selection of the print page number.

印刷データ生成モジュール48は上記印刷イメージ生成モジュール45が生成した多階調RGBビットマップデータをプリンタ30が印刷可能なように色変換と階調変換とを行い、単階調CMYKビットマップデータを生成する。生成されたCMYKビットマップデータはスプーラI/Oモジュール42を介してプリンタ30へ出力されて印刷が行われる。   The print data generation module 48 performs color conversion and gradation conversion so that the printer 30 can print the multi-gradation RGB bitmap data generated by the print image generation module 45 to generate single gradation CMYK bitmap data. To do. The generated CMYK bitmap data is output to the printer 30 via the spooler I / O module 42 and printed.

ここで、GUIモジュール41はグラフィックユーザーインターフェイスでユーザの操作を取得可能であるが、印刷ページ番号を表示するアイコン表示領域24a7については片面用印刷ページアイコン領域表示モジュール51と両面用印刷ページアイコン領域表示モジュール52とが表示と操作取得を行なう。片面用印刷ページアイコン領域表示モジュール51は従来どおりの一列でアイコンを表示するものであり、両面用印刷ページアイコン領域表示モジュール52はアイコン領域を縦長の左右の二列に分け、左側を表面の領域とし、右側を裏面の領域として印刷ページ番号のアイコンを上方から下方に向けて一列に表示する。従って、両面用印刷ページアイコン領域表示モジュール52は両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け機能を実現している。   Here, the GUI module 41 can acquire the user's operation through the graphic user interface. However, the icon display area 24a7 for displaying the print page number is displayed on the one-side print page icon area display module 51 and the two-side print page icon area display. The module 52 performs display and operation acquisition. The single-sided print page icon area display module 51 displays icons in a single line as in the past, and the double-sided print page icon area display module 52 divides the icon area into two vertically long columns, and the left side is the surface area. The page number icons are displayed in a line from the top to the bottom with the right side as the back area. Therefore, the double-sided print page icon area display module 52 distinguishes and displays the front and back side corresponding icon classification function in which the front-side print page number and the back-side print page number are displayed separately in the icon display area in accordance with the designation of double-sided printing. Is realized.

そして、以上の各機能は機能制御モジュール49にて適宜実行を制御されている。機能制御モジュール49はこのように適宜必要な機能を実行させるのであるから、概略的にはフローチャートの骨子に該当するといえる。   The functions of the above functions are appropriately controlled by the function control module 49. Since the function control module 49 appropriately executes necessary functions as described above, it can be said that the function control module 49 roughly corresponds to the outline of the flowchart.

次に、上記構成からなる本実施形態の動作を説明する。
図29はドライバ20の概略フローチャートを示しており、実際の作業手順に基づいて以下説明する。
Next, the operation of the present embodiment configured as described above will be described.
FIG. 29 shows a schematic flowchart of the driver 20, which will be described below based on an actual work procedure.

アプリケーション12で「印刷」メニュー12d1を実行すると、図3に示す印刷インターフェイス12eを表示し、各パラメータを取得する(ステップS100)。同印刷インターフェイス12eでは通常の片面印刷を設定するだけであるため、製本を前提とする場合には詳細指示ボタン12e7をクリック操作する。すると、ステップS102にて詳細入力の指示があったものと判断し、ステップS104にて詳細用印刷インターフェイス12fを表示して印刷モードの選択操作が行われるのを待機する。   When the “print” menu 12d1 is executed by the application 12, the print interface 12e shown in FIG. 3 is displayed, and each parameter is acquired (step S100). Since the printing interface 12e only sets normal single-sided printing, the user clicks the detailed instruction button 12e7 when bookbinding is assumed. Then, in step S102, it is determined that there has been a detailed input instruction, and in step S104, the detailed print interface 12f is displayed, and a print mode selection operation is awaited.

ユーザは単純両面印刷を行ないたいのであれば単純両面印刷指示領域12f1をクリックし、両面折り畳み製本印刷を行ないたいのであれば両面折り畳み製本印刷指示領域12f2をクリックし、袋綴じ印刷を行ないたいのであれば袋綴じ印刷指示領域12f3をクリックして選択するとともに、続いて詳細な項目を指定するためにオプション指示ボタン12f5をクリックする。すると、どの印刷モードを選択しているかがステップS106,S110,S114にて判断され、選択された印刷モードの詳細なパラメータを入力させるようにステップS108,S112,S116にて対応するインターフェイスを表示させる。   If the user wants to perform simple double-sided printing, he / she wants to click on simple double-sided printing instruction area 12f1, and if he wants to perform double-sided folding bookbinding printing area 12f2, he / she wants to perform bag binding printing. If the bag binding print instruction area 12f3 is selected by clicking, then an option instruction button 12f5 is clicked to specify a detailed item. Then, which printing mode is selected is determined in steps S106, S110, and S114, and the corresponding interface is displayed in steps S108, S112, and S116 so as to input detailed parameters of the selected printing mode. .

まず、単純両面印刷を行いたい場合、詳細用印刷インターフェイス12fの単純両面印刷指示領域12f1をクリックしてオプション指示ボタン12f5をクリックすることにより、印刷インターフェイス12gが表示される。この表示画面では綴じ方向と各余白を設定することになる。望むとおりの設定を行えたらOKボタン12g7をクリックし、設定をキャンセルしたいのであればキャンセルボタン12g8をクリックする。いずれの場合でもステップS108の単純両面パラメータ入力処理自体は終了するが、OKボタン12g7をクリックした場合には印刷モードの選択とともに入力されたパラメータが有効なものとして保持されるし、キャンセルボタン12g8をクリックした場合には入力されたパラメータのみならず選択された印刷モードの情報も破棄される。   First, when simple duplex printing is desired, the printing interface 12g is displayed by clicking the simple duplex printing instruction area 12f1 of the detail printing interface 12f and clicking the option instruction button 12f5. In this display screen, the binding direction and each margin are set. Click the OK button 12g7 when the desired setting has been made, or click the cancel button 12g8 to cancel the setting. In either case, the simple double-sided parameter input process itself in step S108 ends. However, when the OK button 12g7 is clicked, the input parameters are held valid together with the selection of the print mode, and the cancel button 12g8 is pressed. When clicked, not only the input parameters but also information on the selected print mode is discarded.

ステップS108を終了した場合、ステップS110,S114で両面折り畳み製本印刷や袋綴じ印刷であるとは判断されず、再度、ステップS100に戻って印刷インターフェイス12eが表示される。   When step S108 is completed, it is not determined in steps S110 and S114 that double-sided folding bookbinding printing or bag binding printing is performed, and the process returns to step S100 again to display the print interface 12e.

ユーザは所望の印刷モードを指定し、さらに詳細なパラメータを指定したため、印刷指示ボタン12e5をクリックして印刷を実行させても良いが、印刷前に自分の所望通りであるか否かを確認したければプレビュー指示ボタン12e8をクリックする。すると、いずれをクリックしたかに関わらずステップS118の印刷ページ振り分け処理を実行する。なお、この時点で印刷モジュール12aはOS11を介してスプーラ11bに対して印刷コマンドを出力し、同スプーラ11bがスプールファイルを作成して保存する。   Since the user has specified a desired print mode and specified more detailed parameters, printing may be executed by clicking the print instruction button 12e5. However, before printing, it is confirmed whether it is as desired. If so, the preview instruction button 12e8 is clicked. Then, the print page distribution process of step S118 is executed regardless of which one is clicked. At this point, the print module 12a outputs a print command to the spooler 11b via the OS 11, and the spooler 11b creates and saves a spool file.

図30は印刷ページ振り分け処理のフローチャートの一部を示している。むろん、この印刷ページ振り分け処理が印刷ページ振り分けモジュールを構成することになる。   FIG. 30 shows a part of a flowchart of print page distribution processing. Of course, this print page distribution process constitutes a print page distribution module.

まず、最初のステップS200にて印刷モードに応じて全ページ枚数を取得する。全ページ枚数はスプーラ11bに対して問合せて取得する。単純両面印刷を選択している場合は、ステップS202にて片面印刷ではないと判断され、ステップS204にて綴じ方向を取得した後、ステップS206での単純両面印刷か否かの判断を経てステップS208以下で単純両面印刷用の印刷ページ振り分けを実行する。   First, in step S200, the total number of pages is acquired according to the print mode. The total number of pages is obtained by making an inquiry to the spooler 11b. If simple double-sided printing is selected, it is determined in step S202 that it is not single-sided printing, the binding direction is acquired in step S204, and then it is determined whether or not simple double-sided printing is performed in step S206. In the following, print page distribution for simple duplex printing is executed.

ステップS208では上述した一面用印刷振り分けテーブルを作成する。用紙方向や綴じ方向によって用紙上での印刷イメージの方向は逐次変化することになるが、用紙に対して配置される順番自体は変化しない。すなわち、綴じ方向や用紙方向がいずれの向きであろうとも、印刷後の用紙を積み重ねたとき、最上面か最下面に「1」ページが配置され、下方あるいは上方に向けて順次印刷ページ番号が繰り上がって行く点では一致するからである。   In step S208, the one-side print distribution table described above is created. The direction of the print image on the paper sequentially changes depending on the paper direction and the binding direction, but the order in which the print image is arranged on the paper does not change. In other words, regardless of the binding direction or the paper direction, when the printed sheets are stacked, “1” pages are arranged on the uppermost surface or the lowermost surface, and the print page numbers are sequentially assigned downward or upward. This is because the points go up.

このため、ステップS210では一面用印刷振り分けテーブルにおける印刷ページ番号の欄の先頭から表面のページ数を前方側から順番に記入していき、最終の表面のページ数を記入したら、ステップS212にて同欄の続きに裏面のページ数を前方側から順番に記入していく。すなわち、表面のページ数は奇数番号であり、これを前方側のものから記入していくということであるから「1」、「3」、「5」…と記入していくことになり、裏面のページ数は偶数番号であり、これを前方側のものから記入していくということであるから「2」、「4」、「6」…と記入していくことになる。このようにすると、手動両面印刷で表面を印刷し終わった時点で排紙スタッカには下から「1」、「3」、「5」…と積み重ねられており、これを裏返すと上から「1」、「3」、「5」…と並ぶことになる。続いて裏面を印刷すると、この上面の紙を給紙して「2」、「4」、「6」…と印刷していくので、「1」ページの裏に「2」ページが印刷され、「3」ページの裏に「4」ページが印刷されて積み重ねられる。従って、奇数ページは下面を向いているし、偶数ページは上面を向いており、上方に向かうにつれて印刷ページ番号は大きな数字になるので、単純両面印刷がおこなわれたことになる。   For this reason, in step S210, the number of pages on the front side from the top of the print page number column in the one-side print distribution table is entered in order from the front side, and the number of pages on the final surface is entered. Enter the number of pages on the back side in order from the front side of the column. That is, the number of pages on the front surface is an odd number, and this is to be entered from the front side, so that “1”, “3”, “5”. Since the number of pages is an even number and this is to be entered from the front side, it is entered as “2”, “4”, “6”. In this way, when the surface is printed by manual duplex printing, “1”, “3”, “5”,... Are stacked from the bottom on the paper discharge stacker. "," 3 "," 5 ", etc. Subsequently, when the back side is printed, the paper on the top side is fed and printed as “2”, “4”, “6”, etc., so that “2” page is printed on the back side of “1” page, The “4” page is printed and stacked on the back of the “3” page. Therefore, the odd pages face the lower surface, the even pages face the upper surface, and the print page number becomes larger as going upward, so that simple duplex printing is performed.

ただし、印刷イメージの方向欄は綴じ方向と用紙方向との組み合わせによって図31に示すような対応関係となる。手動両面では表面を印刷した後で給紙スタッカに用紙を移動させる際、給紙方向に対する印刷方向は変わらない。従って、給紙方向に対して縦長の用紙に縦長の印刷イメージを印刷する場合、用紙を基準としたときに右綴じと左綴じとでは用紙の天地は変わらず、図19に示す方向パラメータは表面も裏面も「a」でよい。これに対して上綴じと下綴じとでは上端か下端かで綴じ合わせるので用紙に対して表面と裏面とでは上下が逆さまになる。従って、表面の方向パラメータが「a」なら、裏面の方向パラメータは「c」となる。   However, the direction column of the print image has a correspondence as shown in FIG. 31 depending on the combination of the binding direction and the paper direction. With manual duplex, when the sheet is moved to the sheet feed stacker after printing the front side, the printing direction relative to the sheet feeding direction does not change. Accordingly, when a vertically long print image is printed on a sheet that is vertically long with respect to the paper feeding direction, the top and bottom of the sheet does not change between the right binding and the left binding when the sheet is used as a reference, and the direction parameter shown in FIG. The back side may be “a”. On the other hand, since the upper binding and the lower binding are bound at the upper end or the lower end, the upper and lower sides of the sheet are turned upside down. Therefore, if the front direction parameter is “a”, the rear direction parameter is “c”.

一方、給紙方向に対して縦長の用紙に横長の印刷イメージを印刷する場合、印刷イメージは横向きに印字することになり、表面の方向パラメータを「b」とする。この場合、用紙は給紙方向先頭側は変化しないで裏返すため、印刷イメージを基準とすると天地が逆転することになる。従って、左綴じと右綴じの場合では天地を逆転させる必要があり、裏面の方向パラメータは「d」とする。一方、上綴じと下綴じの場合では逆転されることでちょうど良くなるのであるから裏面の方向パラメータは表面と同様に「b」とする。   On the other hand, when a horizontally long print image is printed on a sheet that is vertically long with respect to the paper feeding direction, the print image is printed horizontally, and the surface direction parameter is set to “b”. In this case, the paper is turned upside down without changing the leading side in the paper feeding direction, so that the top and bottom are reversed with respect to the print image. Therefore, in the case of left binding and right binding, it is necessary to reverse the top and bottom, and the direction parameter on the back surface is “d”. On the other hand, in the case of the upper binding and the lower binding, it is just improved by being reversed. Therefore, the direction parameter of the back surface is set to “b” similarly to the front surface.

ステップS214にて図31に示す対応関係より方向パラメータを設定し、ステップS216ではこの方向パラメータに基づいて用紙の大きさから余白を決定する。方向パラメータが「a」であれば、印刷イメージと給紙の方向は一致する。従って、綴じ方向の余白には綴じ代余白指示領域12g6で設定した余白を加えた上で右余白指示領域12g2〜下余白指示領域12g5で指示した余白を一面用印刷振り分けテーブルの所定の欄に記入する。また、余白が決まれば用紙サイズから各余白を控除して印刷ページのサイズであるパラメータx,yを求める。   In step S214, a direction parameter is set from the correspondence shown in FIG. 31, and in step S216, a margin is determined from the size of the paper based on this direction parameter. If the direction parameter is “a”, the print image and the paper feed direction match. Therefore, after adding the margin set in the binding margin specifying area 12g6 to the margin in the binding direction, the margin specified in the right margin indicating area 12g2 to the bottom margin indicating area 12g5 is entered in a predetermined column of the one-side print distribution table. To do. If the margins are determined, the margins are subtracted from the paper size to obtain parameters x and y that are the sizes of the printed pages.

ステップS216を終了すると、図32に示すフローチャートを実行するが、単純両面印刷なのでステップS300の判断により本フローチャートを実行することなく図34に示すフローチャートへとジャンプする。また、このフローチャートにおいてもステップS400の判断により本フローチャートを実行することはなく、これで印刷ページ振り分け処理を終了する。   When step S216 ends, the flowchart shown in FIG. 32 is executed. However, since simple duplex printing is performed, the process jumps to the flowchart shown in FIG. 34 without executing this flowchart according to the determination in step S300. Also in this flowchart, this flowchart is not executed based on the determination in step S400, and the print page distribution process ends here.

印刷ページ振り分け処理を終了すると、図29のステップS120でプレビューを選択していたか否かを判断する。先に示したように、プレビュー指示ボタン12e8をクリック操作しており、ステップS122の印刷イメージ生成表示処理を実行する。図35と図36はこの印刷イメージ生成表示処理をフローチャートにより示している。むろん、印刷イメージ生成表示処理が全体として印刷イメージ生成モジュール45を構成し、後述するステップS536およびステップS542が印刷イメージ表示モジュール47を構成する。   When the print page distribution process is completed, it is determined whether or not a preview has been selected in step S120 of FIG. As described above, the user clicks the preview instruction button 12e8, and executes the print image generation / display process in step S122. FIG. 35 and FIG. 36 are flowcharts showing this print image generation / display process. Of course, the print image generation / display process constitutes the print image generation module 45 as a whole, and steps S536 and S542, which will be described later, constitute the print image display module 47.

ステップS500では図14〜図17に示したウィンドウ枠24a、補助情報表示枠24a2、下枠部24a3などの印刷情報欄の表示を実行する。次に、ステップS502では両面印刷か片面印刷かを判断する。単純両面印刷ではステップS504にて印刷ページのアイコン表示領域24a7を各図に示すような両面用に設定し、ステップS506ではまず表面の印刷ページ番号を表すアイコンを表示する。この例では、上方から下方に向けて奇数ページのアイコンを表示していく。次に、ステップS508では裏面の印刷ページ番号を表すアイコンを表示し、具体的には、上方から下方に向けて偶数ページのアイコンを表示していく。これによりアイコン表示領域24a7では表面と裏面の印刷ページ番号のアイコンが左右に並び、上段から順次下段に向かってアイコンが並べられる。従って、ステップS504〜S508の処理が両面用印刷ページアイコン領域表示モジュール52を構成する。なお、片面印刷の場合はステップS510にて片面用印刷ページアイコン領域表示モジュール51を構成する。   In step S500, print information fields such as the window frame 24a, auxiliary information display frame 24a2, and lower frame portion 24a3 shown in FIGS. 14 to 17 are displayed. In step S502, it is determined whether the printing is duplex printing or simplex printing. In simple duplex printing, the icon display area 24a7 of the print page is set for duplex as shown in each figure in step S504, and in step S506, an icon representing the print page number on the front side is first displayed. In this example, icons of odd pages are displayed from the top to the bottom. Next, in step S508, an icon representing the printed page number on the back side is displayed. Specifically, icons for even pages are displayed from the top to the bottom. As a result, in the icon display area 24a7, the icons of the print page numbers on the front and back sides are arranged on the left and right, and the icons are arranged in order from the top to the bottom. Accordingly, the processes in steps S504 to S508 constitute the double-sided print page icon area display module 52. In the case of single-sided printing, the single-sided printing page icon area display module 51 is configured in step S510.

次に、ステップS512ではイメージ表示領域24a8に表示すべき印刷イメージを生成すべく表示ページ番号を取得する。表示ページ番号はGUIで所望のものを選択できるが、デフォルトでは「1」ページとなる。ステップS514では印刷モードに応じてこの表示ページ番号を含む印刷面を特定する。上述したように単純両面印刷は一面用印刷振り分けテーブルを作成しており、ステップS514では一面用印刷振り分けテーブルの中から表示ページ番号である「1」を含む印刷面を特定する。むろん、単純両面印刷では用紙の一面に印刷するのは1ページ分だけであり、表示ページ番号として「1」ページだけが特定される。なお、両面折り畳み製本印刷や袋綴じ印刷では二面用印刷振り分けテーブルを作成しており、用紙の一面に印刷するのは2ページ分であるから、表示ページ番号も2ページ分が特定される。   In step S512, a display page number is acquired to generate a print image to be displayed in the image display area 24a8. The desired display page number can be selected on the GUI, but it is “1” page by default. In step S514, the print surface including the display page number is specified according to the print mode. As described above, simple double-sided printing creates a single-sided printing distribution table, and in step S514, a printing surface including a display page number “1” is specified from the single-sided printing distribution table. Of course, in simple duplex printing, only one page is printed on one side of the paper, and only “1” page is specified as the display page number. In double-sided folding bookbinding printing and bag binding printing, a two-sided printing distribution table is created, and printing is performed for two pages on one side of the paper, so that two display page numbers are specified.

このようにして表示ページ番号を特定したらステップS516にて当該表示ページ番号の印刷ページを生成するために出力されている印刷コマンドをスプールファイルから抽出し、余分な情報を取り除いて必要な情報だけに編集し、別領域へ保存するとともに、ステップS518ではこの状態での印刷コマンド数を計算し、ステップS520ではプログレスバー24a6を「0」%で初期表示する。この印刷コマンド数はレンダリング処理すべき印刷コマンドの総数であり、プログレスバー24a6で表示される進行率を演算するときの分母として利用する。   When the display page number is specified in this way, in step S516, the print command output for generating the print page with the display page number is extracted from the spool file, and unnecessary information is removed to obtain only necessary information. In step S518, the number of print commands in this state is calculated. In step S520, the progress bar 24a6 is initially displayed as “0”%. The number of print commands is the total number of print commands to be rendered, and is used as a denominator when calculating the progress rate displayed by the progress bar 24a6.

ステップS522〜S526はレンダリングのループ処理であり、ステップS522にて印刷コマンドを読み込んでレンダリングし、ステップS524でプログレスバー24a6の表示を更新する。ステップS526では全ての印刷コマンドを処理したか判断し、全て処理するまで繰り返す。なお、ステップS518,S520,S524にてプログレスバーの表示と更新を行っており、プログレスバー生成表示モジュール46を構成する。   Steps S522 to S526 are a rendering loop process. In step S522, a print command is read and rendered. In step S524, the display of the progress bar 24a6 is updated. In step S526, it is determined whether all print commands have been processed, and the process is repeated until all are processed. The progress bar is displayed and updated in steps S518, S520, and S524, and the progress bar generation / display module 46 is configured.

全てのレンダリングを終了したら図36に示すようにステップS528にて用紙をイメージ表示領域24a8に表示する。ステップS530では二面印刷か否かを判断し、単純両面印刷のように一面印刷の場合はステップS532〜S536にて余白と印刷イメージを表示する。まず、ステップS532では綴じ代を空けて表示領域を決定する。一面印刷では方向パラメータに基づいて用紙の天地を判断し、綴じ方向に応じた辺の側に綴じ代を確保する。これにより、綴じ代を除いた領域が表示領域となり、ステップS534では余白として指示された部分を破線で表示する。最後のステップS536では破線で囲まれた領域内にレンダリングした印刷イメージを表示する。このように方向パラメータを基準として綴じ方向と綴じ代を確保してから余白を決定して破線で示すため、表示上、表面と裏面とでは破線の領域が綴じ代の分だけ適宜シフトして表示され、綴じ代を確実に確認できるようになる。   When all the renderings are completed, the sheet is displayed in the image display area 24a8 in step S528 as shown in FIG. In step S530, it is determined whether or not two-sided printing is performed. In the case of single-sided printing such as simple double-sided printing, margins and a print image are displayed in steps S532 to S536. First, in step S532, a display area is determined with a binding margin available. In single-sided printing, the top and bottom of the paper is determined based on the direction parameter, and a binding margin is secured on the side corresponding to the binding direction. As a result, the area excluding the binding margin becomes the display area, and the portion instructed as the margin is displayed with a broken line in step S534. In the last step S536, the rendered print image is displayed in the area surrounded by the broken line. In this way, the margin is determined after securing the binding direction and binding margin based on the direction parameter, and the margin is indicated by a broken line. Therefore, on the display, the broken line area is appropriately shifted and displayed by the binding margin on the front and back surfaces. As a result, the binding margin can be surely confirmed.

ただし、以上の処理を実行する場合、レンダリングした印刷イメージはプリンタ30の解像度に合わせて生成されているため、プレビューでのイメージ表示領域24a8には表示しきれない画素数である場合もある。むろん、これは用紙の表示や余白の破線表示も同様であり、これらの表示に際しては適宜同縮尺で縮小する。   However, when the above processing is executed, the rendered print image is generated in accordance with the resolution of the printer 30, and therefore the number of pixels that cannot be displayed in the preview image display area 24 a 8 may be obtained. Of course, this also applies to the display of paper and the broken line of margins, and the display is appropriately reduced to the same scale.

このように、プレビューを開始してウィンドウ枠24aやアイコン表示領域24a7などを表示した後、プログレスバー24a6の表示を除いて画面変化はほぼ停止するがレンダリングだけは進行しており、しばらく待機する。そして、レンダリングが終了したら用紙を表示し、余白を破線で表示し、印刷イメージを表示する。また、プレビューはドライバ24が担当するが、レンダリングの実行とプログレスバー24a6の更新中はループ処理に入ってしまい、この間はユーザの操作を監視できない。しかし、このような場合でも他のドライバから中止させる操作を実行すると、操作結果が共有メモリ領域へ書き込まれる。そして、ループ処理中もこの共有メモリ領域への書き込みを監視しており、同共有メモリ領域へレンダリングの中止を指示するデータが書き込まれると即時にレンダリングを終了させることになる。むろん、かかる処理が通信モジュール43を構成する。   As described above, after the preview is started and the window frame 24a, the icon display area 24a7, and the like are displayed, the screen change is almost stopped except for the display of the progress bar 24a6, but only the rendering is in progress and waits for a while. When rendering is completed, the paper is displayed, the margin is displayed with a broken line, and the print image is displayed. Although the driver 24 is in charge of the preview, a loop process is entered while the rendering is being executed and the progress bar 24a6 is being updated. During this time, the user's operation cannot be monitored. However, even in such a case, when an operation to be canceled from another driver is executed, the operation result is written to the shared memory area. The writing to the shared memory area is monitored even during the loop processing, and when the data for instructing to stop rendering is written to the shared memory area, the rendering is immediately terminated. Of course, such processing constitutes the communication module 43.

印刷イメージを表示したらステップS546ではユーザの操作を待機する。ユーザはプレビューを見て印刷指示の与え方が誤っていると気づけばキャンセルボタン24a5をクリックするし、正しいと確認できればOKボタン24a4をクリックする。また、プレビューはいろいろなページを確認する必要があるから表示ページ番号を変更する必要もある。従って、ステップS546で待機した結果、印刷ページ番号をクリックしたのであれば、ステップS548の判断を経てステップS552にてその種別を判断する。   When the print image is displayed, the operation of the user is waited in step S546. The user clicks the cancel button 24a5 when he sees the preview and notices that the way of giving the print instruction is wrong, and clicks the OK button 24a4 when the user can confirm that the print instruction is correct. Also, since it is necessary to check various pages in the preview, it is necessary to change the display page number. Accordingly, as a result of waiting in step S546, if the print page number is clicked, the type is determined in step S552 after the determination in step S548.

一般的に、左クリックは積極的な選択を意味し、右クリックは消極的な選択を意味する。そこで、左クリックであれば表示ページ番号を取得して表示させる操作を表し、右クリックであれば印刷に際して当該ページだけを個別に印刷させないように指示する操作を表すことにする。なお、個別に各ページを印刷させないようにするために印刷実行停止フラグを用意してあるとともに、印刷させないように指示した後、印刷させるようにするには再度の左クリック操作で解除できるようにしている。また、図38に示すように印刷させない場合は印刷ページ番号のアイコンに×表示をし、印刷させる場合は通常のアイコン表示を行う。   In general, a left click means an active selection, and a right click means a negative selection. Therefore, left click represents an operation to acquire and display a display page number, and right click represents an operation to instruct not to individually print only the page at the time of printing. In addition, a print execution stop flag is prepared to prevent each page from being printed individually, and after instructing not to print, it can be canceled by re-clicking again to start printing. ing. Further, as shown in FIG. 38, when printing is not performed, the print page number icon is displayed as x, and when printing is performed, normal icon display is performed.

すなわち、左クリックであればステップS554で印刷実行停止フラグを解除するとともに通常のアイコンの表示を行い、右クリックであればステップS556で印刷実行停止フラグを設定するとともに×表示のアイコンの表示を行う。そして、これらを実行したらクリック操作をした表示ページ番号を、図35に示すステップS512にて表示ページ番号として取得し、上述した処理で異なるページのプレビューを表示させることになる。   That is, if left click, the print execution stop flag is canceled and a normal icon is displayed in step S554, and if normal click is displayed, the print execution stop flag is set in step S556 and an x display icon is displayed. . When these are executed, the display page number on which the click operation has been performed is acquired as the display page number in step S512 shown in FIG. 35, and a preview of a different page is displayed in the above-described processing.

また、表示ページ番号の変更以外の操作は、印刷かキャンセルかであり、これらの場合はステップS550にて内容をパラメータの引継領域へ保存し、当該印刷ページ生成表示処理を終了する。   The operation other than changing the display page number is printing or canceling. In these cases, the contents are stored in the parameter takeover area in step S550, and the print page generation / display process is terminated.

単純両面印刷のプレビューで正しいと確認できればOKボタン24a4をクリックし、印刷ページ生成表示処理を終了するとともに、OKボタン24a4をクリックしたことを表すパラメータが引き継ぎ領域へ書き込まれる。この後、図29に示すステップS124では上記引き継ぎ領域へ書き込まれている最後の操作を取得し、ステップS126にて印刷を意味するのか否か判断する。印刷を意味する場合はステップS130にて印刷データを生成し、出力する。   If it is confirmed that the simple double-sided printing is correct, the OK button 24a4 is clicked to end the print page generation / display process, and a parameter indicating that the OK button 24a4 has been clicked is written to the takeover area. Thereafter, in step S124 shown in FIG. 29, the last operation written in the takeover area is acquired, and in step S126, it is determined whether or not it means printing. If printing is meant, print data is generated and output in step S130.

図37はこの印刷データを生成して出力するための処理を示している。ステップS600では使用する印刷振り分けテーブルを特定する。今回は単純両面印刷であるので一面用印刷用振り分けテーブルであり、以下、これを参照する。続いて、ステップS602では変数iに「1」を設定するが、これは何枚目の用紙であるかを特定するために利用する。   FIG. 37 shows a process for generating and outputting the print data. In step S600, the print distribution table to be used is specified. Since this time simple double-sided printing, it is a one-sided printing distribution table, which will be referred to below. In step S602, the variable i is set to “1”, which is used to specify the number of sheets.

ステップS604〜S626はi枚目の用紙に対する印刷処理の内容を示しており、1枚目から順次処理していく。ステップS604ではi枚目の用紙に印刷する印刷ページを特定する。印刷振り分けテーブル内では先頭行から一行毎に用紙一枚に対する印刷情報が記入されているから、i枚目の用紙に印刷する印刷ページはi行目に記載されている印刷ページ番号である。そして、ステップS606で同行に記載されたサイズと方向パラメータを取得し、印刷データを生成する。印刷データは印刷イメージに基づいて生成するので、プレビューで印刷イメージを生成している場合にはそれを保存しておいて利用しても良いし、保存しておく領域がないなどの問題から印刷イメージは再利用しないということでも構わない。印刷イメージは多階調RGBビットマップデータを単階調CMYKビットマップデータにするために色変換と階調変換を実施している。   Steps S604 to S626 indicate the contents of the printing process for the i-th sheet, and the processes are sequentially performed from the first sheet. In step S604, a print page to be printed on the i-th sheet is specified. Since print information for one sheet is entered for each line from the first line in the print distribution table, the print page to be printed on the i-th sheet is the print page number described in the i-th line. In step S606, the size and direction parameters described in the same line are acquired, and print data is generated. Since the print data is generated based on the print image, if the print image is generated in the preview, it can be saved and used, or it can be printed because there is no area to save. It does not matter that the image is not reused. The print image is subjected to color conversion and gradation conversion in order to convert multi-gradation RGB bitmap data into single gradation CMYK bitmap data.

印刷データを生成したらステップS608では余白のオフセットを出力する。最初はトップマージンTMとレフトマージンLMを確保するようにプリンタ30に指示するプリンタ用のコマンドを生成して出力する。その後、ステップS610にて一面目の印刷データを出力する。ステップS612〜S616は二面目を有する場合の手順であり、単純両面印刷では実施しない。   When the print data is generated, a margin offset is output in step S608. First, a printer command for instructing the printer 30 to secure the top margin TM and the left margin LM is generated and output. Thereafter, in step S610, the print data for the first page is output. Steps S612 to S616 are procedures when the second side is provided, and are not performed in simple duplex printing.

ステップS618ではi枚目を終了したということで変数iを「1」だけインクリメントし、ステップS620にて表面を終了したタイミングか否かを判断する。表面を終了したときには用紙を排紙スタッカから給紙スタッカへと戻す必要があるため、ステップS622にて手動による紙交換の指示を出す。ステップS624では紙交換の終了を待機し、終了を待って次のステップを実行する。   In step S618, the variable i is incremented by “1” because the i-th sheet is completed, and it is determined whether or not it is the timing when the surface is ended in step S620. When the front side is finished, since it is necessary to return the paper from the paper discharge stacker to the paper supply stacker, a manual paper replacement instruction is issued in step S622. In step S624, the end of the paper replacement is waited, and the next step is executed after waiting for the end.

表面の終了タイミング以外、あるいは手動紙交換後、ステップS626にて最終ページを終了したか否かを判断する。最終ページを終了していれば印刷データ生成出力処理は終了する。   In step S626, it is determined whether or not the last page has been completed, other than the front end timing or after manual paper replacement. If the last page has been completed, the print data generation / output process ends.

図20に示すように4ページまでの単純両面印刷であれば、一面用印刷振り分けテーブルの1行目には印刷ページ番号として「1」が記入されているので、印刷ページ番号として「1」ページを取得して印刷し、続いて2行目に「3」が記入されているので、印刷ページ番号として「3」ページを取得して印刷する。この時点で表面が終了したことになり、ステップS622〜S624にて手動紙交換を指示して待機する。   As shown in FIG. 20, in the case of simple double-sided printing up to 4 pages, “1” is entered as the print page number in the first line of the single-side print distribution table, so “1” page as the print page number. Since “3” is entered in the second line, “3” page is acquired and printed as the print page number. At this time, the front side is finished, and in step S622 to S624, manual paper replacement is instructed and the apparatus waits.

手動紙交換が終了したら今度は3行目には印刷ページ番号として「2」が記入されているので、印刷ページ番号として「2」ページを取得して印刷し、続いて4行目に「4」が記入されているので、印刷ページ番号として「4」ページを取得して印刷する。   When manual paper replacement is completed, since “2” is entered as the print page number in the third line, “2” page is acquired and printed as the print page number, and then “4” is displayed in the fourth line. "Is entered, so page" 4 "is acquired and printed as the print page number.

「4」ページを印刷すると変数は「5」となり、最終ページを終了しているのでステップS626の判断を経て印刷データ生成出力処理を終了する。これにより、図29に示すように本印刷処理自体も終了する。   When the “4” page is printed, the variable becomes “5”, and the final page is completed. Therefore, the print data generation / output process is terminated through the determination in step S626. As a result, as shown in FIG. 29, the printing process itself ends.

以上は、単純両面印刷を行う場合であるが、次に両面折り畳み製本印刷を行う場合について説明する。   The above is the case of performing simple double-sided printing, but the case of performing double-sided folding bookbinding printing will be described next.

両面折り畳み製本印刷を行いたい場合、図4に示す詳細用印刷インターフェイス12fの両面折り畳み製本印刷指示領域12f2をクリックしてオプション指示ボタン12f5をクリックすることにより、印刷インターフェイス12hが表示される。   When double-sided folding bookbinding printing is desired, the printing interface 12h is displayed by clicking the double-sided folding bookbinding printing instruction area 12f2 of the detail printing interface 12f shown in FIG. 4 and clicking the option instruction button 12f5.

この表示画面では、折り畳み枚数指定とともに綴じ方向と各余白を設定することになる。折り畳み枚数は枚数が多くなりそうであれば数枚に分離するのが好ましい。この例では折り畳み枚数の指定を「あり」とし、その枚数として「4」枚を指定したものとする。「あり」を選択した時点でGUIはその下方の図柄12h2bを選択表示するし、もし指定「なし」を選択したのであればGUIはその下方の図柄12h2aを選択表示する。   On this display screen, the binding direction and each margin are set together with the number of folded sheets. If the number of folded sheets is likely to increase, it is preferably separated into several sheets. In this example, it is assumed that designation of the number of folding is “present” and “4” is designated as the number. When “Yes” is selected, the GUI selects and displays the lower symbol 12h2b. If the designation “None” is selected, the GUI selectively displays the lower symbol 12h2a.

その他の余白を含めて望むとおりの設定を行えたらOKボタン12h9をクリックし、設定をキャンセルしたいのであればキャンセルボタン12h10をクリックする。いずれの場合でもステップS112の両面折り畳みパラメータ入力処理が終了し、再度、ステップS100に戻って印刷インターフェイス12eが表示される。   When the desired setting including other margins can be performed, the OK button 12h9 is clicked. If the setting is to be canceled, the cancel button 12h10 is clicked. In either case, the double-sided folding parameter input process in step S112 ends, and the process returns to step S100 again to display the print interface 12e.

印刷前に確認したければプレビュー指示ボタン12e8をクリックする。すると、ステップS118の印刷ページ振り分け処理を実行する。図30に示す印刷ページ振り分け処理では、最初のステップS200にてこの印刷モードに対応した全ページ枚数を取得する。また、両面折り畳み製本印刷を選択しているので、ステップS202にて片面印刷ではないと判断され、ステップS204にて綴じ方向を取得する。ステップS206では単純両面印刷か否かの判断を行なうが、単純両面印刷ではないのでステップS208〜S216を飛ばし、図32に示すステップS300の判断を経てステップS302以下で両面折り畳み製本印刷用の印刷ページ振り分けを実行する。   If you want to check before printing, click the preview instruction button 12e8. Then, the print page distribution process of step S118 is executed. In the print page distribution process shown in FIG. 30, the total number of pages corresponding to this print mode is acquired in the first step S200. Further, since double-side folding bookbinding printing is selected, it is determined in step S202 that it is not single-sided printing, and the binding direction is acquired in step S204. In step S206, it is determined whether or not simple double-sided printing is performed. However, since it is not simple double-sided printing, steps S208 to S216 are skipped, and after step S300 shown in FIG. Execute sorting.

ステップS302では二面用印刷振り分けテーブルを作成し、ステップS304では折り畳み枚数を決定してステップS306にて一束のページ数を計算する。折り畳み枚数は、上述したように指定「なし」も指定「あり」もありえる。しかし、処理の統一上、指定「なし」の場合も全部を印刷したならば必要とするであろう全枚数を指定した指定「あり」として処理する。従って、ステップS304では、指定「なし」の場合にこの全枚数を計算して指定枚数にセットする。そして、折り畳み枚数が必ず指定されたところで、ステップS306では一束のページ数を計算する。両面折り畳み製本印刷では、用紙一枚につき、4ページが印刷されるので、一束のページ数は「折り畳み枚数」×4となる。   In step S302, a two-sided print distribution table is created. In step S304, the number of folded sheets is determined, and in step S306, the number of pages in a bundle is calculated. As described above, the number of folded sheets can be designated as “none” or designated as “present”. However, due to the unification of processing, even in the case of designation “none”, it is processed as designation “present” designating all the numbers that would be required if all were printed. Accordingly, in step S304, if the designation is “none”, the total number is calculated and set to the designated number. When the number of folded sheets is always specified, the number of pages in a bundle is calculated in step S306. In double-side folding bookbinding printing, four pages are printed per sheet, so the number of pages in a bundle is “number of folded pages” × 4.

印刷ページの振り分けは各束毎に行っていくため、ステップS308では束数を示す変数iに「1」をセットして初期化する。まず、ステップS310ではi束目の前半ページ分について振り分けを行う。これは表面における一面目領域と裏面における一面目領域への振り分けである。図11の例を参照すると、1束目について前半の「1」ページから「8」ページまでの振り分けは、単純両面印刷の場合と全く同じであることが分かる。従って、ステップS310ではi束目の前半ページ分について、表面における一面目領域と裏面における一面目領域へ単純両面印刷と同じように振り分ける。   Since the print pages are sorted for each bundle, in step S308, a variable i indicating the number of bundles is set to “1” and initialized. First, in step S310, the first half page of the i-th bundle is sorted. This is a distribution to the first area on the front surface and the first area on the back surface. Referring to the example of FIG. 11, it can be seen that the sorting from the first “1” page to the “8” page for the first bundle is exactly the same as in simple duplex printing. Accordingly, in step S310, the first half page of the i-th bundle is assigned to the first area on the front surface and the first area on the back surface in the same manner as in simple duplex printing.

続いて、ステップS312ではi束目の後半ページ分について振り分けを行う。これは表面における二面目領域と裏面における二面目領域への振り分けであり、図11の例を参照すると、1束目について後半の「9」ページから「16」ページまでの振り分けは、単純両面印刷の場合と逆方向から振り分けているのと同じであることが分かる。すなわち、1束が4枚であるとすると印刷面は8面であり、二面用印刷振り分けテーブルでは8行に相当するが、8行目から1行目にかけて、「9」ページから「16」ページを、裏面の二面目領域から表面の二面目領域へ奇数ページと偶数ページを振り分けていくことになる。   Subsequently, in step S312, sorting is performed for the latter half of the i-th bundle. This is a distribution to the second area on the front surface and the second area on the back surface, and referring to the example of FIG. 11, the distribution from the latter 9th page to 16th page is simple duplex printing for the first bundle. It turns out that it is the same as sorting from the reverse direction. That is, if one bundle is four sheets, the number of print faces is eight, which corresponds to eight lines in the two-side print distribution table, but from the eighth line to the first line, from page “9” to “16”. The pages are divided into odd pages and even pages from the second surface area on the back surface to the second surface area on the front surface.

なお、図25と図26には折り畳み枚数に「2」枚を指定した場合の例を示している。全枚数は2枚であるから、前半ページ分として表面の一面目領域には「1」、「3」と記入し、裏面の一面目領域には「2」、「4」と記入する。また、後半ページ分として裏面の一面目領域には「5」、「7」と上方に向けて記入していき、表面の二面目領域には「6」、「8」と記入していく。このようにして二面用印刷振り分けテーブルに記入していった結果、図26に示す対応関係がきちんと反映されていることが確認できる。なお、前半ページの印刷で単純両面印刷と同様になることが分かるから、一面目領域と二面目領域との対応関係が確認されている以上、確実に実現できることも理解できる。   25 and 26 show an example in which “2” is designated as the number of foldings. Since the total number of sheets is two, “1” and “3” are written in the first surface area of the front surface and “2” and “4” are written in the first surface area of the back surface as the first half page. As the second half of the page, “5” and “7” are written upward in the first area on the back surface, and “6” and “8” are entered in the second area on the front surface. As a result of entering the double-sided printing distribution table in this way, it can be confirmed that the correspondence shown in FIG. 26 is properly reflected. Since it can be seen that the printing of the first half page is the same as the simple double-sided printing, it can be understood that it can be surely realized as long as the correspondence between the first side area and the second side area is confirmed.

一方、方向パラメータは綴じ方向と印刷イメージ方向との組み合わせによって図33に示すような対応関係となる。上述したように手動両面で表面を印刷した用紙を給紙スタッカに移動させる際、給紙方向に対する印刷イメージの方向は変わらず、給紙方向に対して縦長の用紙を長軸方向に二分してそれぞれの領域に給紙方向に対して90度回転させた縦長の印刷イメージを印刷する場合、一面目領域と二面目領域の方向パラメータは一致するが、印刷イメージを常に左(または右)から印刷する場合に右綴じと左綴じとでは用紙の天地が逆転する。右綴じで表面の一面目領域と二面目領域の方向パラメータを「b」とすれば、裏面の一面目領域と二面目領域の方向パラメータは「d」としなければならない。逆転することについては右綴じも左綴じも変わらないので左綴じでは表面の一面目領域と二面目領域の方向パラメータを「b」として、裏面の一面目領域と二面目領域の方向パラメータは「d」とする。   On the other hand, the direction parameter has a correspondence as shown in FIG. 33 depending on the combination of the binding direction and the print image direction. As described above, when the paper with the front side printed on both sides is moved to the paper feed stacker, the direction of the print image relative to the paper feed direction does not change, and the paper that is vertically long with respect to the paper feed direction is divided into two in the major axis direction. When printing a vertically long print image rotated 90 degrees with respect to the paper feed direction in each area, the direction parameters of the first and second areas match, but the print image is always printed from the left (or right). In this case, the top and bottom of the sheet is reversed between the right binding and the left binding. If the direction parameter of the first surface area and the second surface area of the front surface in the right binding is “b”, the direction parameter of the first surface area and the second surface area of the back surface must be “d”. As for the reverse binding, the right binding and the left binding do not change, so in the left binding, the direction parameter of the first surface area and the second surface area of the front surface is “b”, and the direction parameter of the first surface area and the second surface area of the back surface is “d”. "

一方、給紙方向に対して縦長の用紙を短軸方向に二分してそれぞれの領域に上下方向が給紙方向と一致した印刷イメージを印刷する場合、表面の一面目領域および二面目領域と、裏面の一面目領域および二面目領域は、印刷イメージの方向が逆さまになる。   On the other hand, when printing a print image in which the vertically long paper with respect to the paper feeding direction is divided into two in the short axis direction and the vertical direction coincides with the paper feeding direction in each area, The direction of the print image is upside down in the first surface area and the second surface area of the back surface.

ステップS314にて図33に示す対応関係より方向パラメータを設定し、ステップS316ではこの方向パラメータに基づいて用紙の大きさから余白を決定する。用紙は半分に折り曲げられて綴じ合わされるため、綴じ代の余白は用紙中央に2ページ分が確保され、残りの領域内で指示された通りの余白を確保する。すると、残りの領域が印刷サイズとなり、パラメータx,yが求められる。   In step S314, a direction parameter is set from the correspondence shown in FIG. 33, and in step S316, a margin is determined from the size of the paper based on this direction parameter. Since the sheet is folded in half and bound, the margin for the binding margin is secured for two pages in the center of the sheet, and the margin as specified in the remaining area is secured. Then, the remaining area becomes the print size, and the parameters x and y are obtained.

ステップS316を終了してもi束目を終了したに過ぎず、ステップS318で変数iを「1」だけインクリメントして次のi束目の振り分けを行う。ただし、最終束については、必ずしもこれまでどおりの折り畳み枚数とならないことがある。全ページ数が1束のページ数の整数倍に一致するとは限らないからである。このため、ステップS320にて次の束が最終束であると判断されると、ステップS322にて折り畳み枚数を調整する。例えば、40ページを印刷する場合、折り畳み枚数が「4」であれば一束で16ページを印刷することになる。すると、3束では48ページとなってあまりが生じるため、図10や図11に示したように最後の束については折り畳み枚数を「2」に調整してやることになる。   Even if step S316 is ended, only the i-th bundle is ended. In step S318, the variable i is incremented by “1” and the next i-th bundle is sorted. However, the final bundle may not always have the same number of folded sheets as before. This is because the total number of pages does not always match an integer multiple of the number of pages in a bundle. For this reason, when it is determined in step S320 that the next bundle is the final bundle, the number of folded sheets is adjusted in step S322. For example, when printing 40 pages, if the number of folded sheets is “4”, 16 pages are printed in a bundle. Then, since there are 48 pages in 3 bundles, so much occurs, and as shown in FIGS. 10 and 11, the number of folding is adjusted to “2” for the last bundle.

そして、同様にして最後の束について振り分けたときにはステップS324にて最終ページを終了したと判断でき、図32に示すループ処理を抜け、さらにこの印刷ページ振り分け処理自体を終了する。   Similarly, when the last bundle is sorted, it can be determined in step S324 that the last page has been completed, the loop process shown in FIG. 32 is exited, and the print page sorting process itself is terminated.

印刷ページ振り分け処理を終了すると、続いてステップS122の印刷イメージ生成表示処理を実行する。図35と図36に示す印刷イメージ生成表示処理のステップS500では図21〜図23に示した両面折り畳み製本印刷のプレビューを表示するウィンドウ枠24a、補助情報表示枠24a2、下枠部24a3などの印刷情報欄の表示を実行する。次に、ステップS502では両面印刷か片面印刷かを判断するが両面折り畳み製本印刷は片面印刷ではないのでステップS504〜S508にて印刷ページのアイコン表示領域24a7を両面用に設定して単純両面印刷の場合と同様のアイコン表示を実現する。   When the print page distribution process ends, the print image generation / display process of step S122 is subsequently executed. In step S500 of the print image generation display process shown in FIGS. 35 and 36, the window frame 24a, the auxiliary information display frame 24a2, the lower frame part 24a3, and the like for displaying the preview of the double-sided folding bookbinding printing shown in FIGS. Display the information column. Next, in step S502, it is determined whether double-sided printing or single-sided printing, but double-sided folding bookbinding printing is not single-sided printing. Therefore, in step S504 to S508, the icon display area 24a7 of the print page is set for double-sided printing. The icon display similar to the case is realized.

ステップS512ではイメージ表示領域24a8に表示すべき印刷イメージの表示ページ番号を取得する。デフォルトでは「1」ページとなる。ステップS514では印刷モードに応じてこの表示ページ番号を含む印刷面を特定するが、両面折り畳み製本印刷は二面用印刷振り分けテーブルを作成しており、ステップS514では二面用印刷振り分けテーブルの中から表示ページ番号である「1」を含む印刷面を特定する。折り畳み枚数が「4」である図11に示す対応関係からは、表示ページ番号として「1」を含む用紙の一面には「16」ページも特定されることが理解できる。   In step S512, the display page number of the print image to be displayed in the image display area 24a8 is acquired. The default is “1” page. In step S514, the print surface including the display page number is specified according to the print mode, but double-sided folding bookbinding printing creates a double-sided print distribution table. In step S514, the two-sided print distribution table is selected. A print surface including the display page number “1” is specified. From the correspondence shown in FIG. 11 in which the number of folded sheets is “4”, it can be understood that “16” pages are also specified on one side of the sheet including “1” as the display page number.

このようにして表示ページ番号「1」と「16」とを特定したらステップS516にて当該表示ページ番号の印刷ページを生成するために出力されている印刷コマンドをスプールファイルから抽出する。この場合もプログレスバーを表示するためにステップS518で印刷コマンド数を計算しておき、ステップS522〜S526でレンダリングのループ処理を全ての印刷コマンドが処理されるまで繰り返す。   When the display page numbers “1” and “16” are specified in this way, the print command output to generate the print page with the display page number is extracted from the spool file in step S516. Also in this case, in order to display the progress bar, the number of print commands is calculated in step S518, and the rendering loop processing is repeated in steps S522 to S526 until all print commands are processed.

レンダリング終了後、ステップS528にて用紙をイメージ表示領域24a8に表示し、ステップS530では二面印刷か否かを判断する。両面折り畳み製本印刷は二面印刷であり、ステップS537〜S542で余白と印刷イメージを表示する。まず、ステップS537では綴じ代を2倍にし、ステップS538では一面目領域と二面目領域との間にこの綴じ代を空けて表示領域を決定する。次に、ステップS540では一面目領域と二面目領域のそれぞれの表示領域内で方向パラメータに基づいて余白を特定し、破線で表示する。最後のステップS542では破線で囲まれた一面目領域と二面目領域内にレンダリングした印刷イメージを表示する。この場合も方向パラメータを基準として綴じ方向と綴じ代を確保してから余白を決定して破線で示すため、表示上、表面と裏面とでは破線の領域が綴じ代の分だけ適宜シフトして表示され、綴じ代を確実に確認できるようになる。   After the rendering is completed, the sheet is displayed in the image display area 24a8 in step S528, and it is determined in step S530 whether or not two-sided printing is performed. Double-sided folding bookbinding printing is two-sided printing, and a margin and a print image are displayed in steps S537 to S542. First, in step S537, the binding margin is doubled, and in step S538, the binding margin is provided between the first surface area and the second surface area to determine the display area. Next, in step S540, the margin is specified based on the direction parameter in the display area of each of the first area and the second area, and is displayed with a broken line. In the last step S542, the rendered print image is displayed in the first side area and the second side area surrounded by a broken line. Also in this case, since the margin is determined after securing the binding direction and the binding margin based on the direction parameter and indicated by a broken line, the broken line area is appropriately shifted and displayed by the amount of the binding margin on the front surface and the back surface. As a result, the binding margin can be surely confirmed.

図22はこのようにして表示ページ番号に「1」を指定したときにおける印刷プレビューを表示している。この場合、アイコン表示領域24a7では印刷ページ番号として「1」が選択状態に表示されている。そして、これに対してイメージ表示領域24a8では「1」ページと「16」ページとが並んで表示されている。この時点で両面折り畳み製本印刷を正確に把握していれば「1」ページと「16」ページとが並んで表示されるのは当然のことに過ぎないが、一般的には非常に混乱する。   FIG. 22 shows a print preview when “1” is designated as the display page number in this way. In this case, “1” is displayed in the selected state as the print page number in the icon display area 24a7. On the other hand, the “1” page and the “16” page are displayed side by side in the image display area 24a8. If the double-sided folding bookbinding printing is accurately grasped at this point, it is only natural that the “1” page and the “16” page are displayed side by side, but it is generally very confusing.

しかしながら、上述したようにアイコン表示領域24a7では表面と裏面との対応関係になる印刷ページ番号のアイコンが左右に対として並べて表示され、さらに下方に向けて順次印刷ページ番号が大きくなるように整列して表示されている。印刷ページ番号は用紙反転機構を備えた装置における自動両面印刷にて送出される順序に基づいている。用紙反転機構を備えない装置における手動両面印刷では、奇数番イメージが昇順で送出された後、偶数番イメージが昇順で送出されることを意味する。確認すべき印刷ページ番号についてはイメージ表示領域の並びに紛らわされることなく、アイコン表示領域24a7の表面と裏面との対応関係から適宜選択して操作することが可能となる。   However, as described above, in the icon display area 24a7, the icons of the print page numbers corresponding to the front and back surfaces are displayed side by side as a pair, and are further arranged downward so that the print page numbers are sequentially increased. Is displayed. The print page number is based on the order sent in automatic duplex printing in an apparatus having a paper reversing mechanism. In manual duplex printing in an apparatus that does not include a paper reversing mechanism, this means that after the odd-numbered images are sent in ascending order, the even-numbered images are sent in ascending order. The print page number to be confirmed can be appropriately selected and operated from the correspondence between the front surface and the back surface of the icon display region 24a7 without being misunderstood in the image display region.

図23には製本状態において二枚目の用紙の裏面には「4」ページが来るべきことがきちんと表示され、ユーザが印刷ページ番号として「4」ページを左クリックしたときにイメージ表示領域24a8には「4」ページを含む用紙の一面に「13」ページも同時に印刷されることを確認できる。   FIG. 23 clearly shows that the “4” page should come on the back side of the second sheet in the bookbinding state. When the user left-clicks the “4” page as the print page number, the image display area 24a8 is displayed. It can be confirmed that “13” pages are simultaneously printed on one side of the sheet including “4” pages.

両面折り畳み製本印刷のプレビューで正しいと確認できればOKボタン24a4をクリックする。すると、印刷ページ生成表示処理を終了しつつ、OKボタン24a4をクリックしたことを表すパラメータを引き継ぎ領域へ書き込む。そして、ステップS130にて印刷データを生成し、出力する。   If it can be confirmed by the preview of the double-sided folding bookbinding printing, the OK button 24a4 is clicked. Then, the parameter indicating that the OK button 24a4 is clicked is written to the takeover area while the print page generation / display process is completed. In step S130, print data is generated and output.

図37の印刷データ生成出力処理では、最初のステップS600にて使用する印刷振り分けテーブルを特定するが、今回は二面用印刷用振り分けテーブルである。また、ステップS602では変数iに「1」を設定する。   In the print data generation / output process of FIG. 37, the print distribution table to be used in the first step S600 is specified. This time, this is the double-sided print distribution table. In step S602, “1” is set to the variable i.

ステップS604ではi枚目の用紙に印刷する印刷ページを印刷振り分けテーブル内の先頭行から一行毎に印刷ページ番号を取得する。むろん、一面用と二面用の2ページ分の印刷ページ番号を取得する。そして、ステップS606で同行に記載されたサイズと方向パラメータを取得し、印刷データを生成する。   In step S604, a print page number is acquired for each line of the print page to be printed on the i-th sheet from the first line in the print distribution table. Needless to say, print page numbers for two pages for one side and two sides are acquired. In step S606, the size and direction parameters described in the same line are acquired, and print data is generated.

印刷データを生成したらステップS608ではトップマージンTMとレフトマージンLMを確保するようにプリンタ30に指示するプリンタ用のコマンドを生成して出力する。その後、ステップS610にて一面目の印刷データを出力する。両面折り畳み製本印刷では二面目もあるので、ステップS612の判断を経てステップS614にて一面目と二面目の間に空ける余白をオフセットとして確保するようにミッドマージンMMを表すプリンタ用のコマンドを生成して出力する。そして、ステップS616は二面目の印刷データを出力する。   When the print data is generated, in step S608, a printer command for instructing the printer 30 to secure the top margin TM and the left margin LM is generated and output. Thereafter, in step S610, the print data for the first page is output. In double-sided folding bookbinding printing, there is also a second page, so after determining in step S612, a command for the printer representing the mid margin MM is generated in step S614 so as to secure a blank space between the first and second pages as an offset. Output. In step S616, the print data for the second side is output.

このようにして用紙の一面に2ページ分の印刷イメージを出力していき、ステップS620にて表面を終了したと判断されたらステップS622にて手動による紙交換の指示を出す。同様にして裏面についても印刷を行い、ステップS626にて最終ページを終了したと判断されるまで印刷データ生成出力処理を実行する。   In this way, a print image for two pages is output on one side of the paper, and if it is determined in step S620 that the front side has been finished, a manual paper replacement instruction is issued in step S622. Similarly, the back side is also printed, and print data generation / output processing is executed until it is determined in step S626 that the last page has been completed.

次に、袋綴じ印刷を行う場合について説明する。袋綴じ印刷を行いたい場合、図4に示す詳細用印刷インターフェイス12fの袋綴じ印刷指示領域12f3をクリックしてオプション指示ボタン12f5をクリックすることにより、印刷インターフェイス12hが表示される。ただし、通常の袋綴じ印刷は両面印刷を行うものではないので、以下ではチェックボックス12f4で背表紙モードを指定している場合について説明する。   Next, a case where bag binding printing is performed will be described. If the user wishes to perform bag binding printing, the printing interface 12h is displayed by clicking the bag binding printing instruction area 12f3 of the detail printing interface 12f shown in FIG. 4 and clicking the option instruction button 12f5. However, since normal bag binding printing does not perform double-sided printing, a case where the back cover mode is designated by the check box 12f4 will be described below.

この表示画面では、綴じ方向と各余白を設定する。余白を含めて望むとおりの設定を行えたらOKボタン12j7をクリックし、設定をキャンセルしたいのであればキャンセルボタン12j8をクリックする。いずれの場合でもステップS116の袋綴じパラメータ入力処理が終了し、再度、ステップS100に戻って印刷インターフェイス12eが表示される。   On this display screen, the binding direction and each margin are set. Click OK button 12j7 when desired settings including margins are made, or click Cancel button 12j8 to cancel the settings. In any case, the bag binding parameter input process in step S116 ends, and the process returns to step S100 again to display the print interface 12e.

印刷前に確認したければプレビュー指示ボタン12e8をクリックする。すると、ステップS118の印刷ページ振り分け処理を実行する。この印刷ページ振り分け処理のうち、袋綴じ印刷については図34に示している。   If you want to check before printing, click the preview instruction button 12e8. Then, the print page distribution process of step S118 is executed. Of the print page distribution processing, bag binding printing is shown in FIG.

まず、ステップS402では二面用印刷振り分けテーブルを作成し、ステップS404では背表紙モードか判断し、背表紙モードであればステップS406にて背表紙印刷ページの振り分けを行う。背表紙モードでの振り分けはこれまでの振り分けに比べて極めてシンプルである。
手順1:袋綴じとする場合に最初の用紙と最後の用紙に印刷される印刷ページ番号を取得する。最初の用紙には「1」ページと「2」ページとが印刷されるはずであり、最後の用紙には「L0」ページと「L1」ページとが印刷されるはずである。
手順2:二面用印刷振り分けテーブルにおける先頭行の一面目領域には「L1」を記入し、二面目領域には「1」を記入する。
手順3:二面用印刷振り分けテーブルにおける二行目からは一面目領域に奇数ページを記入し、二面目領域には偶数ページを記入していく。
手順4:最後の行では一面目領域には「L0」を記入し、二面目領域には「2」を記入する。
First, in step S402, a two-sided print distribution table is created. In step S404, it is determined whether the back cover mode is selected. If the back cover mode is selected, the back cover print page is distributed in step S406. Sorting in the back cover mode is extremely simple compared to the past sorting.
Procedure 1: Acquire print page numbers to be printed on the first sheet and the last sheet in the case of bag binding. The “1” and “2” pages should be printed on the first sheet, and the “L0” and “L1” pages should be printed on the last sheet.
Procedure 2: “L1” is entered in the first area of the first row in the print distribution table for two sides, and “1” is entered in the second area.
Procedure 3: From the second line in the two-sided printing distribution table, odd pages are entered in the first side area, and even pages are entered in the second side area.
Procedure 4: In the last line, “L0” is entered in the first area and “2” is entered in the second area.

以上で完了するため、ステップS406で背表紙印刷ページを振り分けるために手順1と手順2と手順4を実行し、ステップS408にて残余のページを振り分けるため手順3を実行する。なお、背表紙モードでなければステップS410にて手順3のように先頭行から一面目領域に奇数ページを記入し、二面目領域には偶数ページを記入していく。   In order to complete the above, Step 1, Step 2 and Step 4 are executed to distribute the back cover print page in Step S406, and Step 3 is executed to distribute the remaining pages in Step S408. If the back cover mode is not selected, an odd page is entered in the first area from the first line and an even page is entered in the second area in step S410 as in step 3.

ステップS412では綴じ方向と印刷イメージ方向に合わせて方向パラメータを記入する。背表紙においては両面印刷を行うため、印刷イメージの左右方向が給紙方向と一致する場合、左綴じと右綴じでは表面と裏面で天地が逆転する。また、印刷イメージの上下方向が給紙方向と一致する場合、上綴じと下綴じでは表面と裏面で天地が逆転する。   In step S412, direction parameters are entered in accordance with the binding direction and the print image direction. Since double-sided printing is performed on the back cover, when the left and right direction of the print image coincides with the paper feeding direction, the top and bottom are reversed on the front and back surfaces for left and right binding. In addition, when the vertical direction of the print image matches the paper feeding direction, the top and bottom of the print image are reversed on the front surface and the back surface.

ステップS414ではこの方向パラメータに基づいて用紙の大きさから余白を決定する。用紙は半分に折り曲げられて綴じ合わされるが、背表紙のみ綴じ代の余白は用紙中央に2ページ分が確保され、他のページでは綴じ代の余白は用紙の先端と後端に配置される。そして、残りの領域内で指示された通りの余白を確保すると、残りの領域が印刷サイズとなり、パラメータx,yが求められる。ステップS414を終了すれば印刷ページの振り分け処理は終了する。   In step S414, the margin is determined from the size of the paper based on this direction parameter. The sheets are folded in half and bound, but only the back cover has two margins for the binding margin at the center of the sheet, and the margins for the binding margin are arranged at the leading and trailing edges of the other pages. Then, when a margin as specified in the remaining area is secured, the remaining area becomes the print size, and the parameters x and y are obtained. When step S414 ends, the print page distribution process ends.

印刷ページ振り分け処理を終了すると、続いてステップS122の印刷イメージ生成表示処理を実行するが、この点では両面折り畳み製本印刷の場合と全く同様であり、ステップS504〜S508にて印刷ページのアイコン表示領域24a7を両面用に設定して単純両面印刷の場合と同様のアイコン表示を実現するし、ステップS512〜S542にてイメージ表示領域24a8の表示も行なう。ただし、背表紙以外は片面しかイメージが存在しないので、裏面は図27のように斜線で示される。印刷ページの振り分けは全て二面用印刷振り分けテーブルに記入されているから、表示すべき印刷ページ番号の組み合わせは異なっても同じ仕組みで全て処理される。   When the print page distribution process is completed, the print image generation / display process in step S122 is subsequently executed. This is exactly the same as in the case of double-sided folding bookbinding printing, and in steps S504 to S508, the icon display area of the print page is displayed. The icon display 24a7 is set for double-sided printing to realize the same icon display as in the case of simple double-sided printing, and the image display area 24a8 is also displayed in steps S512 to S542. However, since there is an image on only one side except for the back cover, the back side is indicated by diagonal lines as shown in FIG. Since all the print page distributions are entered in the two-sided print distribution table, even if the combinations of print page numbers to be displayed are different, all are processed by the same mechanism.

袋綴じ印刷のプレビューで正しいと確認できればOKボタン24a4をクリックする。すると、印刷ページ生成表示処理を終了し、ステップS130にて印刷データを生成して出力する。   If it can be confirmed that it is correct in the bag binding print preview, the OK button 24a4 is clicked. Then, the print page generation display process is terminated, and print data is generated and output in step S130.

図37の印刷データ生成出力処理も両面折り畳み製本印刷の場合と変わるところは殆どない。ただし、表面を終了したか否かの判断が全印刷用紙の半分を終了した時点ではなく、残りの一枚となった時点となる点である。   The print data generation / output process of FIG. 37 is almost the same as the case of double-side folding bookbinding printing. However, the point of whether or not the front side is finished is not the time when half of all the printing paper is finished, but the point when the remaining one is reached.

残りの一枚となった時点で手動用紙交換を指示すると、一枚目にセットした用紙が給紙スタッカの最上段にセットされ、裏面を印刷する。そして、これが最終ページであるので、ステップS626にて処理を終了する。給紙スタッカには残余のページが残ることになるが、これは別途取り出して袋綴じとなるように折り、背表紙の用紙で全体を反対方向から包み込むように折り曲げて綴じ合わせる。   When manual sheet replacement is instructed when the remaining sheet is reached, the first sheet is set at the top of the sheet feed stacker and the back side is printed. Since this is the last page, the process ends in step S626. The remaining pages will remain in the paper feed stacker, which is taken out separately and folded so as to be bound into a bag, and is folded and bound so as to be wrapped in the opposite direction with the back cover paper.

なお、通常の片面印刷だけを実行する場合、図30に示す印刷ページ振り分け処理のステップS202で片面印刷と判断し、ステップS218にて一面用印刷振り分けテーブルを作成し、ステップS220にて先頭行から印刷ページ番号を順次記入していく。これが完了したら、ステップS222にて用紙方向に合わせて方向パラメータを記入し、最後にステップS224にてサイズ欄と余白を記入する。   If only normal single-sided printing is to be performed, it is determined that single-sided printing is performed in step S202 of the print page distribution process shown in FIG. 30, a single-sided printing distribution table is created in step S218, and from the first line in step S220. Enter the print page number sequentially. When this is completed, the direction parameter is entered in accordance with the paper direction in step S222, and finally the size column and margin are entered in step S224.

むろん、片面印刷でも片面に二面を割り当てることも可能であり、その場合には対応する印刷モードを増やしておき、二面用印刷振り分けテーブルを作成すればよい。   Of course, it is also possible to assign two sides to one side even in single-sided printing. In that case, the corresponding print mode is increased and a two-sided printing distribution table may be created.

この他、プレビューをすることなく印刷指示ボタン12e5をクリックすると、ステップS128にて印刷イメージを生成し、ステップS132の判断を経てステップS130にて印刷データを出力する。ステップS128にて実行する印刷イメージを生成する処理は図35及び図36に示す印刷ページ生成表示処理から表示処理だけを除いたものとほぼ同等であるのでここでは省略する。   In addition, when the print instruction button 12e5 is clicked without previewing, a print image is generated in step S128, and the print data is output in step S130 after the determination in step S132. The process for generating the print image executed in step S128 is substantially the same as the print page generation and display process shown in FIGS. 35 and 36 except for the display process, and is omitted here.

最後に、通信モジュール43についての他の処理例について説明する。図39は、レンダリング処理の実行中に生成するページを変更し、印刷を実行させ、印刷を中止させるなどの処理を希望する場合の実現例を示している。   Finally, another processing example for the communication module 43 will be described. FIG. 39 shows an implementation example in a case where processing such as changing a page generated during execution of rendering processing, executing printing, and canceling printing is desired.

まず、ステップS700では特定ページの画像を構成するための印刷コマンド数を取得する。上述したように、対象となる印刷コマンドをスプールファイルから抽出して必要最小限の情報だけに編集し、別領域へ保存しつつ同印刷コマンドの総数を取得する。   First, in step S700, the number of print commands for configuring an image of a specific page is acquired. As described above, the target print command is extracted from the spool file, edited to the minimum necessary information, and stored in another area to acquire the total number of the print commands.

ステップS702〜S712は一つづつこの印刷コマンドを実行するループ処理であり、ステップS702にて印刷コマンドを読み込み、画像に展開し、展開した画像はステップS704にて画像用のワークファイルに追加書き込みする。   Steps S702 to S712 are a loop process for executing this print command one by one. In step S702, the print command is read and developed into an image, and the developed image is additionally written in an image work file in step S704. .

次のステップS705では上述した共有メモリ領域のデータ内容を読み込み、このデータ内容がレンダリングを中止すべき指示を表しているか判断する。すなわち、ステップS706では同データ内容がレンダリング途中であってもページを切り替える指示するものであるか否かを判断し、ステップS708では印刷実行を指示するものであるか否かを判断し、ステップS710では印刷中止を指示するものであるか否かを判断する。このような指示はレンダリングの処理プログラム以外がグラフィックユーザーインターフェイスを介して取得して逐次書き込むものであり、印刷インターフェイスを介してかかる操作を取得したら上述した共有メモリ領域に対応するデータ内容を書き込むことにしている。   In the next step S705, the data content of the shared memory area described above is read, and it is determined whether this data content represents an instruction to stop rendering. That is, in step S706, it is determined whether or not it is an instruction to switch pages even when the data content is in the middle of rendering. In step S708, it is determined whether or not it is an instruction to execute printing, and step S710. Then, it is determined whether or not it is an instruction to cancel printing. Such an instruction is acquired by a non-rendering processing program via a graphic user interface and sequentially written, and when such an operation is acquired via a print interface, the data content corresponding to the shared memory area described above is written. ing.

ステップS706〜S710のいずれかで一つでも該当するものがあるときは当該レンダリング処理を中止し、上記操作を行った印刷インターフェイスから必要な処理へジャンプさせる。また、いずれも該当するものがないときはステップS712にて全ての印刷コマンドを処理したか判断し、全ての印刷コマンドを展開していなければステップS702に戻って上述した処理を繰り返す。   If any one of Steps S706 to S710 is applicable, the rendering process is stopped and a jump is made from the print interface where the above operation is performed to the necessary process. If none of them are applicable, it is determined in step S712 whether all print commands have been processed. If all print commands have not been developed, the process returns to step S702 and the above-described processing is repeated.

そして、全ての印刷コマンドを展開していれば、ステップS714にて画像を展開してあるワークファイル所定のウィンドウに表示してレンダリング処理を終了する。   If all print commands have been developed, the image is displayed in a predetermined work file window in step S714, and the rendering process is terminated.

むろん、レンダリング処理の実行中でも、これを終了させる要望は他の場合もあるし、共有メモリ領域のデータ内容を読み込むタイミングはこれ以外でも可能である。例えば、頻繁に読み込むことによって処理時間を要するようであれば、10個の印刷コマンドを展開する毎に共有メモリ領域のデータ内容を読み込むようにすることも可能である。   Of course, there may be other requests to end the rendering process even during the execution of the rendering process, and the timing of reading the data contents of the shared memory area may be other than this. For example, if processing time is required due to frequent reading, it is possible to read the data contents of the shared memory area every time ten print commands are expanded.

また、レンダリングを終了させるときには、共有メモリ領域に対して中途終了したことを表すデータ内容を書き込んでおくとともに、次に実行すべき処理を表すデータ内容を書き込んでおくようにしてもよい。このようにすれば、レンダリング終了後に実施するプログラムでは最初に共有メモリ領域を読み込み、レンダリングが通常終了したのでないことを判断したら、書き込んである実行すべき処理へ分岐させるようにしておけばよい。   In addition, when rendering is ended, the data content indicating that the processing has been terminated may be written to the shared memory area, and the data content indicating the process to be executed next may be written. In this way, in the program executed after the rendering is completed, the shared memory area is first read, and if it is determined that the rendering is not normally terminated, the process may be branched to the process to be executed.

このように、印刷を指定する時点で両面印刷モードを指定できるようにしてある場合に、プレビュー実行時、印刷ページ番号をアイコン表示するアイコン表示領域24a7では両面印刷に即して表面と裏面とに分けてアイコンを表示するようにし、印刷モードに応じた印刷ページの振り分けを行っておくとともに、アイコン表示領域24a7における印刷ページ番号の指定に適宜連動してイメージ表示領域24a8の表示を更新するようにしたため、表面と裏面との混乱を回避し、プレビュー機能を利用した確認作業を行いやすくすることができる。   As described above, when the double-sided printing mode can be designated at the time of designation of printing, the icon display area 24a7 that displays the print page number as an icon at the time of the preview is displayed on the front and back sides in accordance with the double-sided printing. The icons are displayed separately, the print pages are sorted according to the print mode, and the display of the image display area 24a8 is updated appropriately in conjunction with the designation of the print page number in the icon display area 24a7. Therefore, the confusion between the front and back surfaces can be avoided, and the confirmation work using the preview function can be facilitated.

本発明の一実施形態にかかる印刷プレビュープログラムが含まれるプリンタドライバの実行環境を示すソフトウェアダイアグラムである。3 is a software diagram showing an execution environment of a printer driver including a print preview program according to an embodiment of the present invention. アプリケーションで印刷機能を選択する操作画面を示す図である。It is a figure which shows the operation screen which selects a printing function with an application. 印刷インターフェイスの表示画面を示す図である。It is a figure which shows the display screen of a printing interface. 詳細用印刷インターフェイスの表示画面を示す図である。It is a figure which shows the display screen of the printing interface for details. 単純両面印刷モードでの印刷インターフェイスの表示画面を示す図である。It is a figure which shows the display screen of the printing interface in simple duplex printing mode. 両面折り畳み製本印刷モードでの印刷インターフェイスの表示画面を示す図である。It is a figure which shows the display screen of the printing interface in double-sided folding bookbinding printing mode. 袋綴じ印刷モードでの印刷インターフェイスの表示画面を示す図である。It is a figure which shows the display screen of the printing interface in bag binding printing mode. 両面折り畳み製本印刷で折り畳み枚数の指定無しで左綴じとする場合の印刷ページの振り分け状況を示す図である。FIG. 10 is a diagram illustrating a print page distribution state in a case where left-side binding is performed without specifying the number of folded sheets in double-sided folding bookbinding printing. 両面折り畳み製本印刷で折り畳み枚数の指定無しで右綴じとする場合の印刷ページの振り分け状況を示す図である。FIG. 10 is a diagram illustrating a print page distribution state in the case of right-side binding without specifying the number of folded sheets in double-sided folding bookbinding printing. 両面折り畳み製本印刷で折り畳み枚数を4枚として左綴じとする場合の印刷ページの振り分け状況を示す図である。It is a figure which shows the distribution condition of the printing page in the case of carrying out double-side folding bookbinding printing and making the number of folding into 4 sheets, and performing left binding. 両面折り畳み製本印刷で折り畳み枚数を4枚として右綴じとする場合の印刷ページの振り分け状況を示す図である。It is a figure which shows the distribution condition of the printing page in the case of carrying out double-side folding bookbinding printing, and making the number of folding into 4 sheets and carrying out a right binding. 袋綴じ印刷背表紙モードでの印刷ページの振り分け状況を示す図である。It is a figure which shows the distribution condition of the printing page in a bag binding printing back cover mode. 袋綴じ印刷モードでの印刷ページの振り分け状況を示す図である。It is a figure which shows the distribution condition of the printing page in a bag binding printing mode. 単純両面印刷における片面表示モードで「1」ページを表示させたプレビュー画面を示す図である。It is a figure which shows the preview screen which displayed "1" page in the single-sided display mode in simple double-sided printing. 単純両面印刷における片面表示モードで「2」ページを表示させたプレビュー画面を示す図である。It is a figure which shows the preview screen which displayed "2" page in the single-sided display mode in simple double-sided printing. 単純両面印刷における両面表示モードで「1」ページを選択して「1」ページと「2」ページを同時に表示させたプレビュー画面を示す図である。It is a figure which shows the preview screen which selected the "1" page in the duplex display mode in simple duplex printing, and displayed the "1" page and the "2" page simultaneously. 単純両面印刷における両面表示モードで「2」ページを選択して「1」ページと「2」ページを同時に表示させたプレビュー画面を示す図である。It is a figure which shows the preview screen which selected the "2" page in the double-sided display mode in simple duplex printing, and displayed the "1" page and the "2" page simultaneously. 一枚の紙面に1ページだけを振り分ける場合に利用するパラメータを示す図である。It is a figure which shows the parameter utilized when distributing only 1 page to the paper of 1 sheet. 方向パラメータの値と天方向を表す図である。It is a figure showing the value of a direction parameter, and a celestial direction. 一面用印刷振り分けテーブルの構造を示す図である。It is a figure which shows the structure of the printing distribution table for one side. 両面折り畳み製本印刷モードで折り畳み枚数を指定せずに右綴じとした場合に「1」ページを選択したときのプレビュー画面を示す図である。FIG. 10 is a diagram illustrating a preview screen when a “1” page is selected when the right-side binding is performed without specifying the number of folded sheets in the double-sided folding bookbinding printing mode. 両面折り畳み製本印刷モードで折り畳み枚数を4枚として右綴じとした場合に「1」ページを選択したときのプレビュー画面を示す図である。FIG. 10 is a diagram illustrating a preview screen when a “1” page is selected when the number of folded sheets is set to 4 sheets and right binding is performed in the double-sided folding bookbinding printing mode. 両面折り畳み製本印刷モードで折り畳み枚数を4枚として右綴じとした場合に「4」ページを選択したときのプレビュー画面を示す図である。FIG. 10 is a diagram illustrating a preview screen when a “4” page is selected when the number of folded sheets is set to 4 sheets and right binding is performed in the double-sided folding bookbinding printing mode. 一枚の紙面に2ページを振り分ける場合に利用するパラメータを示す図である。It is a figure which shows the parameter used when allocating 2 pages to the sheet of paper. 二面用印刷振り分けテーブルの構造を示す図である。It is a figure which shows the structure of the printing distribution table for two sides. 両面折り畳み製本印刷で折り畳み枚数を2枚として右綴じとする場合の印刷ページの振り分け状況を示す図である。It is a figure which shows the distribution condition of the print page in the case of carrying out double-side folding bookbinding printing and making the number of folding into 2 sheets, and setting it as a right binding. 袋綴じ印刷背表紙モードで左綴じとした場合に「1」ページを選択したときのプレビュー画面を示す図である。FIG. 10 is a diagram showing a preview screen when a “1” page is selected when the left side binding is performed in the bag binding printing spine cover mode. ドライバの機能ブロック図である。It is a functional block diagram of a driver. ドライバのメインフローチャートである。It is a main flowchart of a driver. 印刷ページ振り分け処理のフローチャートの一部である。It is a part of flowchart of a print page distribution process. 一面用の方向パラメータを示す図である。It is a figure which shows the direction parameter for one side. 印刷ページ振り分け処理のフローチャートの一部である。It is a part of flowchart of a print page distribution process. 二面用の方向パラメータを示す図である。It is a figure which shows the direction parameter for two surfaces. 印刷ページ振り分け処理のフローチャートの一部である。It is a part of flowchart of a print page distribution process. 印刷ページ生成表示処理のフローチャートの一部である。It is a part of flowchart of a print page production | generation display process. 印刷ページ生成表示処理のフローチャートの一部である。It is a part of flowchart of a print page production | generation display process. 印刷データ生成出力処理フローチャートである。6 is a flowchart of print data generation output processing. 2ページ目と3ページ目を印刷しないように設定したときのプレビュー画面を示す図である。It is a figure which shows the preview screen when it sets so that the 2nd page and the 3rd page may not be printed. レンダリング処理のフローチャートである。It is a flowchart of a rendering process.

符号の説明Explanation of symbols

11…OS
11a…GDI関数
11b…スプーラ
12…アプリケーション
12a…印刷モジュール
12b…ウィンドウ枠
12c…上方枠部
12d…プルダウンメニュー
12d1…メニュー
12e〜12j…印刷インターフェイス
20(21〜24)…ドライバ
24a…ウィンドウ枠
24a6…プログレスバー
24a7…アイコン表示領域
24a8…イメージ表示領域
41…GUIモジュール
42…スプーラI/Oモジュール
43…通信モジュール
44…印刷ページ振り分けモジュール
45…印刷イメージ生成モジュール
46…プログレスバー生成表示モジュール
47…印刷イメージ表示モジュール
48…印刷データ生成モジュール
49…機能制御モジュール
51…片面用印刷ページアイコン領域表示モジュール
52…両面用印刷ページアイコン領域表示モジュール
11 ... OS
11a ... GDI function 11b ... spooler 12 ... application 12a ... print module 12b ... window frame 12c ... upper frame 12d ... pull down menu 12d1 ... menu 12e-12j ... print interface 20 (21-24) ... driver 24a ... window frame 24a6 ... Progress bar 24a7 ... Icon display area 24a8 ... Image display area 41 ... GUI module 42 ... Spooler I / O module 43 ... Communication module 44 ... Print page distribution module 45 ... Print image generation module 46 ... Progress bar generation display module 47 ... Print image Display module 48 ... Print data generation module 49 ... Function control module 51 ... Single-sided print page icon area display module 52 ... Double-sided print page Icon area display module

Claims (10)

印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とをコンピュータに表示させる印刷プレビュープログラムを記録した媒体において、
両面印刷か否かの指定を受け付ける両面印刷指定受付機能と、
両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け機能と、
両面印刷時における印刷ページの振り分けを管理する振り分け管理機能と、
上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成機能とを具備することを特徴とする印刷プレビュープログラムを記録した媒体。
In a medium recording a print preview program for displaying on a computer an icon display area for displaying a print page number as an icon and an image display area at the time of printing linked to the print page number selected in the area.
A double-sided printing designation acceptance function that accepts designation of whether or not double-sided printing;
According to the designation of double-sided printing, in the above icon display area, the front and back corresponding icon classification function for displaying the front side print page number and the back side print page number separately,
A distribution management function for managing the distribution of printed pages during duplex printing;
A medium on which a print preview program is recorded, comprising: an image display generation function for generating an image display at the time of printing in the image display area in conjunction with the selection of the divided print page numbers.
上記請求項1に記載の印刷プレビュープログラムを記録した媒体において、上記表裏面対応アイコン区分け機能では、表面側の印刷ページ番号と裏面側の印刷ページ番号とをそれぞれ一列ずつ隣接させて表示させることを特徴とする印刷プレビュープログラムを記録した媒体。   In the medium on which the print preview program according to claim 1 is recorded, the front and back side icon classification function displays the front side print page number and the back side print page number adjacent to each other in a row. A medium on which a print preview program is recorded. 上記請求項1または請求項2のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記両面印刷指定受付機能は両面折り畳み製本印刷の指定を受け付け可能であり、上記振り分け管理機能では両面折り畳み製本印刷の指定に応じて印刷ページの振り分けを管理するとともに、上記イメージ表示生成機能では上記区分けされた印刷ページ番号における選択に連動しつつ上記振り分けられた同一紙面上の複数の印刷ページのイメージ表示を生成することを特徴とする印刷プレビュープログラムを記録した媒体。   The medium on which the print preview program according to claim 1 or 2 is recorded, wherein the double-sided printing designation receiving function can accept double-sided folding bookbinding printing, and the distribution management function has a double-sided folding bookbinding. In addition to managing the distribution of print pages according to the print designation, the image display generation function displays images of a plurality of print pages on the same sheet that have been distributed in conjunction with the selection of the divided print page numbers. A medium having a print preview program recorded thereon. 上記請求項3に記載の印刷プレビュープログラムを記録した媒体において、上記両面印刷指定受付機能は両面折り畳み製本印刷の指定を受け付けるに際して折り畳み枚数を特定可能であり、上記振り分け管理機能では折り畳み枚数を特定した場合の両面折り畳み製本印刷の指定に応じて印刷ページの振り分けを管理することを特徴とする印刷プレビュープログラムを記録した媒体。   In the medium recorded with the print preview program according to claim 3, the double-sided printing designation receiving function can specify the number of folded sheets when receiving the designation of double-sided folding bookbinding printing, and the distribution management function specifies the number of folded sheets. A medium on which a print preview program is recorded, which manages distribution of print pages in accordance with designation of double-side folding bookbinding printing. 上記請求項1〜請求項4のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記両面印刷指定受付機能は袋綴じ製本印刷の指定時に背表紙の両面印刷を受け付け可能であり、上記振り分け管理機能では袋綴じ製本印刷の指定に応じて背表紙への両面印刷の振り分けを加えて印刷ページの振り分けを管理するとともに、上記イメージ表示生成機能では上記区分けされた印刷ページ番号における選択に連動しつつ上記振り分けられた同一紙面上の複数の印刷ページのイメージ表示を生成することを特徴とする印刷プレビュープログラムを記録した媒体。   5. The medium on which the print preview program according to claim 1 is recorded, wherein the double-sided printing designation receiving function is capable of receiving double-sided printing of a back cover when designating bookbinding printing. The management function manages the distribution of printed pages by assigning double-sided printing to the back cover according to the specification of bag binding bookbinding printing, and the image display generation function works in conjunction with the selection of the divided print page numbers. A medium having a print preview program recorded thereon, which generates an image display of a plurality of print pages on the same distributed paper. 上記請求項1〜請求項5のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記表裏面対応アイコン区分け機能では、個別の印刷ページの実行停止の選択操作を受け付け可能であり、実行停止の選択操作を受け付けた印刷ページのアイコンには印刷を行わない表示を行わせることを特徴とする印刷プレビュープログラムを記録した媒体。   In the medium on which the print preview program according to any one of claims 1 to 5 is recorded, the front-and-back icon classification function can accept a selection operation for stopping execution of an individual print page, and the execution is stopped. A medium on which a print preview program is recorded, wherein the icon of the print page that has received the selection operation is displayed without printing. 上記請求項1〜請求項6のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記イメージ表示生成機能は、他の機能からも参照可能な共有メモリ領域を逐次参照可能であり、上記イメージ表示生成機能の実行中に他の機能から同共有メモリ領域に対するデータの書き込みの有無を参照を参照し、書き込みに対応する指示を取得することを特徴とする印刷プレビュープログラムを記録した媒体。   In the medium on which the print preview program according to any one of claims 1 to 6 is recorded, the image display generation function can sequentially refer to a shared memory area that can be referred to by other functions, and the image A medium on which a print preview program is recorded, wherein during execution of a display generation function, reference is made to whether or not data is written to the shared memory area from another function, and an instruction corresponding to the writing is acquired. 上記請求項1〜請求項7のいずれかに記載の印刷プレビュープログラムを記録した媒体において、上記イメージ表示生成機能は、イメージ表示に必要な個別コマンドの処理割合をビジュアル表示することを特徴とする印刷プレビュープログラムを記録した媒体。   8. A printing medium in which the print preview program according to claim 1 is recorded, wherein the image display generation function visually displays a processing ratio of individual commands necessary for image display. A medium that records the preview program. 印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とを有して印刷プレビューを表示する印刷プレビュー装置において、
両面印刷か否かの指定を受け付ける両面印刷指定受付手段と、
両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け手段と、
両面印刷時における印刷ページの振り分けを管理する振り分け管理手段と、
上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成手段とを具備することを特徴とする印刷プレビュー装置。
In a print preview apparatus for displaying a print preview having an icon display area for displaying a print page number and an image display area for printing linked to the print page number selected in the area,
A double-sided printing designation accepting means for accepting designation of whether or not double-sided printing;
According to the designation of double-sided printing, in the icon display area, the front and back corresponding icon classification means for displaying the printed page number on the front side and the printed page number on the back side separately,
A distribution management means for managing the distribution of printed pages during duplex printing;
An image display generating means for generating an image display at the time of printing in the image display area in conjunction with the selection of the divided print page numbers.
印刷ページ番号をアイコン表示するアイコン表示領域と、同領域にて選択される印刷ページ番号に連動した印刷時のイメージ表示領域とを表示させる印刷プレビュー方法において、
両面印刷か否かの指定を受け付ける両面印刷指定受付工程と、
両面印刷の指定に応じて上記アイコン表示領域では表面側の印刷ページ番号と裏面側の印刷ページ番号とを区分けして表示させる表裏面対応アイコン区分け工程と、
両面印刷時における印刷ページの振り分けを管理する振り分け管理工程と、
上記区分けされた印刷ページ番号における選択に連動して上記イメージ表示領域における印刷時のイメージ表示を生成するイメージ表示生成工程とを具備することを特徴とする印刷プレビュー方法。
In a print preview method for displaying an icon display area for displaying a print page number as an icon and an image display area for printing linked to the print page number selected in the area,
A double-sided printing designation acceptance process for accepting designation of whether or not double-sided printing;
According to the designation of double-sided printing, in the above icon display area, the front side and back side corresponding icon classification step for displaying the front side printed page number and the back side printed page number separately,
A distribution management process for managing the distribution of printed pages during duplex printing;
An image display generation step of generating an image display at the time of printing in the image display area in conjunction with selection in the divided print page numbers.
JP2004298526A 2004-10-13 2004-10-13 Medium recording print preview program, print preview apparatus, and print preview method Expired - Fee Related JP3944747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004298526A JP3944747B2 (en) 2004-10-13 2004-10-13 Medium recording print preview program, print preview apparatus, and print preview method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004298526A JP3944747B2 (en) 2004-10-13 2004-10-13 Medium recording print preview program, print preview apparatus, and print preview method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000244654A Division JP4014790B2 (en) 2000-08-11 2000-08-11 Medium recording print preview program, print preview apparatus, and print preview method

Publications (2)

Publication Number Publication Date
JP2005115958A true JP2005115958A (en) 2005-04-28
JP3944747B2 JP3944747B2 (en) 2007-07-18

Family

ID=34545228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004298526A Expired - Fee Related JP3944747B2 (en) 2004-10-13 2004-10-13 Medium recording print preview program, print preview apparatus, and print preview method

Country Status (1)

Country Link
JP (1) JP3944747B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008197796A (en) * 2007-02-09 2008-08-28 Kyocera Mita Corp Image forming apparatus and print previewing program
JP2008207527A (en) * 2007-02-28 2008-09-11 Kyocera Mita Corp Image forming apparatus and program for print preview
JP2012061806A (en) * 2010-09-17 2012-03-29 Fuji Xerox Co Ltd Image forming device and control program of the image forming device
US8189230B2 (en) 2006-01-27 2012-05-29 Konica Minolta Business Technologies, Inc. Shifting print areas for cover and body in book binding
JP2016040663A (en) * 2014-08-12 2016-03-24 村田機械株式会社 Information processing device, information processing method, and program
JP2020004271A (en) * 2018-06-29 2020-01-09 キヤノン株式会社 Information processing device, program, and method of controlling information processing device
JP2020004272A (en) * 2018-06-29 2020-01-09 キヤノン株式会社 Information processing device, program, and method of controlling information processing device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8189230B2 (en) 2006-01-27 2012-05-29 Konica Minolta Business Technologies, Inc. Shifting print areas for cover and body in book binding
JP2008197796A (en) * 2007-02-09 2008-08-28 Kyocera Mita Corp Image forming apparatus and print previewing program
JP2008207527A (en) * 2007-02-28 2008-09-11 Kyocera Mita Corp Image forming apparatus and program for print preview
JP2012061806A (en) * 2010-09-17 2012-03-29 Fuji Xerox Co Ltd Image forming device and control program of the image forming device
JP2016040663A (en) * 2014-08-12 2016-03-24 村田機械株式会社 Information processing device, information processing method, and program
JP2020004271A (en) * 2018-06-29 2020-01-09 キヤノン株式会社 Information processing device, program, and method of controlling information processing device
JP2020004272A (en) * 2018-06-29 2020-01-09 キヤノン株式会社 Information processing device, program, and method of controlling information processing device
JP6991108B2 (en) 2018-06-29 2022-01-12 キヤノン株式会社 Information processing equipment, programs, and control methods for information processing equipment
JP7121564B2 (en) 2018-06-29 2022-08-18 キヤノン株式会社 Information processing device, program, and control method for information processing device
JP7450675B2 (en) 2018-06-29 2024-03-15 キヤノン株式会社 Information processing device, program, and control method for information processing device

Also Published As

Publication number Publication date
JP3944747B2 (en) 2007-07-18

Similar Documents

Publication Publication Date Title
US8009300B2 (en) Information processing apparatus, print data generating method, print control program, and computer-readable recording medium
JP4014790B2 (en) Medium recording print preview program, print preview apparatus, and print preview method
JP4315487B2 (en) Printing system for printing an image on a sheet in response to an electrical image and a control signal, and control means suitable for use in this printing system
JP3929584B2 (en) Apparatus for copying, scanning and printing images with improved user interface
CN103152504B (en) Image processing system and the method for displaying image of full-size(d) preview function be equipped with
CN102756573B (en) Information processing apparatus and print setting method
JP4636098B2 (en) Display control apparatus and display control program
US20070013931A1 (en) Source document management method, print control apparatus, and print control program
US20110261378A1 (en) Printing processing system, printing processing method, and image forming apparatus
JP4869379B2 (en) Print control program, print control method, and print system
EP1076311B1 (en) Printer with bookbinding function for binding printed matter
EP2112590A2 (en) Image processing system, printer driver, scanner driver, printing device, and reading device
US20080278758A1 (en) Image processing system, computer program product, and image processing method
JP3944747B2 (en) Medium recording print preview program, print preview apparatus, and print preview method
JP2004295237A (en) System and method for print preview
KR101550094B1 (en) Printing apparatus, method of changing layout, and storage medium
EP1403081A2 (en) Printing system, controller and display method
US8215851B2 (en) Print control apparatus that controls printing device performing printing on print sheet having tab
JP2006270714A (en) Image processor
JP4712561B2 (en) Image forming apparatus and image forming method
JP2005250606A (en) Printer driver
JP2010258632A (en) Image forming apparatus and image formation system, and printer driver
EP2797303A1 (en) Apparatus having a number of options for operating and/or configuring the apparatus and method and computer program product therefor
JP2008268750A (en) Image forming apparatus
JPH11232001A (en) Printer controller

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070209

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: 20070314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070327

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110420

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110420

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120420

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130420

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130420

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140420

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees