Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7052484B2 - Control program and program group - Google Patents
[go: Go Back, main page]

JP7052484B2 - Control program and program group - Google Patents

Control program and program group Download PDF

Info

Publication number
JP7052484B2
JP7052484B2 JP2018064088A JP2018064088A JP7052484B2 JP 7052484 B2 JP7052484 B2 JP 7052484B2 JP 2018064088 A JP2018064088 A JP 2018064088A JP 2018064088 A JP2018064088 A JP 2018064088A JP 7052484 B2 JP7052484 B2 JP 7052484B2
Authority
JP
Japan
Prior art keywords
information
parameter information
size
image data
image
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.)
Active
Application number
JP2018064088A
Other languages
Japanese (ja)
Other versions
JP2019175235A (en
Inventor
憲一 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018064088A priority Critical patent/JP7052484B2/en
Publication of JP2019175235A publication Critical patent/JP2019175235A/en
Application granted granted Critical
Publication of JP7052484B2 publication Critical patent/JP7052484B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Description

本発明は、画像形成プログラムがインストールされた情報処理装置のコンピュータが読み取り可能な制御プログラム等に関する。 The present invention relates to a control program and the like that can be read by a computer of an information processing apparatus in which an image forming program is installed.

下記特許文献には、印刷処理の設定パラメータの入力を受け付け、その設定パラメータをプリンタに送信する制御プログラムが記載されている。 The following patent document describes a control program that accepts input of setting parameters of printing processing and transmits the setting parameters to a printer.

特開2011-159095号公報Japanese Unexamined Patent Publication No. 2011-159095

近年、種々のプリンタが開発されており、プリンタの機能が多様化していき、多様化したプリンタに制御プログラムが対応することが困難になってくることが想定される。そこで、上記想定に好適に対処可能な制御プログラム等の提供を課題とする。 In recent years, various printers have been developed, and it is expected that the functions of the printers will be diversified and it will be difficult for the control program to correspond to the diversified printers. Therefore, it is an issue to provide a control program or the like that can cope with the above assumptions.

上記課題を解決するために、実施例に開示する制御プログラムは、情報処理装置のコンピュータが読み取り可能な制御プログラムであって、前記制御プログラムは、プリンタドライバに対応付けて前記情報処理装置にインストールされたプログラムであり、前記プリンタドライバは、印刷処理の設定パラメータの範囲を示すパラメータ情報を、前記情報処理装置にインストールされたオペレーティングシステムに出力し、当該パラメータ情報の出力の後に、当該パラメータ情報に対応する画像データを前記オペレーティングシステムから受け付け、当該画像データに基づいて印刷用画像データを作成した後に、当該印刷用画像データをプリンタに送信するように構成されており、前記コンピュータを、前記プリンタに印刷させるための印刷用画像データを、前記パラメータ情報に対応して作成し、当該印刷用画像データを出力するように構成されている画像形成プログラムから、前記パラメータ情報の要求を受け付ける受付手段と、前記受付手段による要求を受け付けたことに応じて、前記パラメータ情報を前記画像形成プログラムに出力する出力手段と、前記プリンタドライバが前記オペレーティングシステムに出力する前記パラメータ情報から、対応不能パラメータ情報を除いたパラメータ情報である、除去済パラメータ情報を、生成する生成手段と、して機能させ、前記対応不能パラメータ情報は、前記プリンタによる、前記プリンタドライバを介さない印刷処理では対応不能なパラメータの範囲を示す情報であり、前記出力手段は、前記生成手段が生成した除去済パラメータ情報を前記画像形成プログラムに出力することを特徴とする。 In order to solve the above problems, the control program disclosed in the embodiment is a control program that can be read by a computer of the information processing apparatus, and the control program is installed in the information processing apparatus in association with a printer driver. The printer driver outputs parameter information indicating the range of setting parameters of the print process to the operating system installed in the information processing apparatus, and after outputting the parameter information, corresponds to the parameter information. The image data to be printed is received from the operating system, the image data for printing is created based on the image data, and then the image data for printing is transmitted to the printer, and the computer is printed on the printer. The reception means for receiving the request for the parameter information from the image forming program configured to create the image data for printing to be generated corresponding to the parameter information and output the image data for printing, and the above. A parameter that excludes unsupportable parameter information from the output means that outputs the parameter information to the image forming program and the parameter information that the printer driver outputs to the operating system in response to the reception of the request by the receiving means. The removed parameter information, which is information, is made to function as a generation means for generating, and the incompatible parameter information indicates a range of parameters that cannot be handled by the printing process by the printer without going through the printer driver. The output means is characterized in that the removed parameter information generated by the generation means is output to the image forming program.

実施例に開示する制御プログラムにより、プリンタドライバに適用可能なパラメータのうち、プリンタで対応可能なパラメータを画像形成プログラムへ出力する。これにより、画像形成プログラムは、プリンタで対応可能な印刷用画像データを作成することが可能となる。 By the control program disclosed in the embodiment, among the parameters applicable to the printer driver, the parameters applicable to the printer are output to the image forming program. This makes it possible for the image forming program to create print image data compatible with the printer.

プリンタシステム1のブロック図である。It is a block diagram of a printer system 1. アプリケーション30と画像形成プログラム32とプリンタドライバ34とプリンタ特性提供モジュール36とドライバ専用ファイル40との関係を概念的に示すブロック図である。It is a block diagram which conceptually shows the relationship between an application 30, an image formation program 32, a printer driver 34, a printer characteristic providing module 36, and a driver-dedicated file 40. プリンタシステム1の作動シーケンスを示す図である。It is a figure which shows the operation sequence of the printer system 1. 用紙サイズ情報Zと印刷領域サイズ情報X1と余白サイズ情報Yとを概念的に示す図である。It is a figure which conceptually shows the paper size information Z, the print area size information X1, and the margin size information Y. 用紙サイズ情報Zと拡大印刷領域サイズ情報X2と余白サイズ情報Yとを概念的に示す図である。It is a figure which conceptually shows the paper size information Z, the enlarged print area size information X2, and the margin size information Y. 印刷領域サイズ情報X1により示される領域を示す図である。It is a figure which shows the area indicated by the print area size information X1. 画像形成画面100を示す図である。It is a figure which shows the image formation screen 100. プリンタシステム1の作動シーケンスを示す図である。It is a figure which shows the operation sequence of the printer system 1.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明する実施形態は、本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更できる。 Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It goes without saying that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention. For example, the execution order of each process described later can be appropriately changed without changing the gist of the present invention.

図1は、本実施形態に係るプリンタシステム1のブロック図である。図1に示すプリンタシステム1は、PC(情報処理装置の一例)10、プリンタ50を備える。PC10は、CPU(コンピュータの一例)12、メモリ14、LCD16、入力I/F18、ネットワークI/F20を主に備えている。これらの構成要素は、バス22を介して互いに通信可能とされている。 FIG. 1 is a block diagram of the printer system 1 according to the present embodiment. The printer system 1 shown in FIG. 1 includes a PC (an example of an information processing device) 10 and a printer 50. The PC 10 mainly includes a CPU (an example of a computer) 12, a memory 14, an LCD 16, an input I / F18, and a network I / F20. These components are made communicable with each other via the bus 22.

PC10及びプリンタ50は、ネットワークI/F20及びネットワーク52を通じて通信可能となっている。通信の方式としては、例えば、有線LAN、USB、Wi-Fi(登録商標)やBluetooth(登録商標)を採用できる。また、プリンタ50は、例えば、ラベルプリンタであり、PC10との間で各種の情報や指示信号を送受信し、PC10による制御に基づいて、所望のテキストや画像等を印字したラベルを作成する。 The PC 10 and the printer 50 can communicate with each other through the network I / F 20 and the network 52. As a communication method, for example, a wired LAN, USB, Wi-Fi (registered trademark) or Bluetooth (registered trademark) can be adopted. Further, the printer 50 is, for example, a label printer, which transmits and receives various information and instruction signals to and from the PC 10, and creates a label on which a desired text, an image, or the like is printed based on the control by the PC 10.

CPU12は、メモリ14内のアプリケーション30,画像形成プログラム32,プリンタドライバ34,プリンタ特性提供モジュール(制御プログラム)36,OS37に従って処理を実行する。アプリケーション30は、所定の形式の画像データ、具体的には、PDFファイル(PDF形式の画像データの一例)に基づく画像の表示,印刷などを行うためのプログラムである。アプリケーション30は、例えば、Acrobat Reader(登録商標)、Chrome(登録商標)などである。画像形成プログラム32は、ラベルプリンタに印刷させるためのラベル画像を示す画像データを作成するプログラムである。文書作成アプリケーション、表計算アプリケーション、画像編集アプリケーションなどが画像形成プログラム32の一例であってもよい。各アプリケーションが作成する文書データ、表計算データなどが、画像データの一例であってもよい。プリンタドライバ34は、プリンタ50のデバイスドライバであり、例えば、画像形成プログラム32により形成された画像データを、プリンタ50に対応する形式の印刷用画像データに変換するプログラムである。 The CPU 12 executes processing according to the application 30, the image forming program 32, the printer driver 34, the printer characteristic providing module (control program) 36, and the OS 37 in the memory 14. The application 30 is a program for displaying and printing an image based on image data in a predetermined format, specifically, a PDF file (an example of image data in PDF format). Application 30 is, for example, Acrobat Reader®, Chrome®, and the like. The image forming program 32 is a program for creating image data indicating a label image to be printed by a label printer. A document creation application, a spreadsheet application, an image editing application, or the like may be an example of the image forming program 32. Document data, spreadsheet data, etc. created by each application may be an example of image data. The printer driver 34 is a device driver of the printer 50, and is, for example, a program that converts the image data formed by the image forming program 32 into print image data in a format corresponding to the printer 50.

プリンタ特性提供モジュール36は、プリンタドライバ34に対応しており、プリンタドライバ34がPC10にインストールされる際に、そのプリンタドライバ34とともにPC10にインストールされる。なお、プリンタ特性提供モジュール36は、プリンタドライバ34に応じたプリンタ50のモデル特有の情報を提供するためのプログラムである。 The printer characteristic providing module 36 corresponds to the printer driver 34, and when the printer driver 34 is installed on the PC 10, it is installed on the PC 10 together with the printer driver 34. The printer characteristic providing module 36 is a program for providing information specific to the model of the printer 50 according to the printer driver 34.

OS37は、アプリケーション30,画像形成プログラム32等に利用される基本的な機能を提供するプログラムである。OS37は、例えば、Windows(登録商標)、MacOS(登録商標)、Linux(登録商標)、Android(登録商標)、iOS(登録商標)等のオペレーティングシステムである。なお、以下の説明では、アプリケーション30等を実行するCPU12のことを、単にプログラム名でも記載する場合がある。例えば、「アプリケーション30が」という記載は、「アプリケーション30を実行するCPU12が」ということを意味する場合がある。 The OS 37 is a program that provides basic functions used in the application 30, the image forming program 32, and the like. OS37 is an operating system such as Windows (registered trademark), MacOS (registered trademark), Linux (registered trademark), Android (registered trademark), iOS (registered trademark) and the like. In the following description, the CPU 12 that executes the application 30 or the like may be simply described by the program name. For example, the description "application 30" may mean "the CPU 12 that executes the application 30".

また、メモリ14は、データ記憶領域38を備える。データ記憶領域38は、アプリケーション30等の実行に必要なデータなどを記憶する領域である。なお、メモリ14は、RAM、ROM、フラッシュメモリ、HDD、PC10に着脱されるUSBメモリ等の可搬記憶媒体、CPU12が備えるバッファなどが組み合わされて構成されている。また、メモリ14は、プリンタドライバ34の専用のドライバ専用ファイル(記憶領域の一例)40を記憶している。ドライバ専用ファイル40は、プリンタドライバ34がPC10にインストールされる際に、そのプリンタドライバ34とともにPC10にインストールされる。つまり、ドライバ専用ファイル40とプリンタ特性提供モジュール36とは、プリンタドライバ34がPC10にインストールされる際に、プリンタドライバ34とともにPC10にインストールされており、プリンタドライバ34とプリンタ特性提供モジュール36とドライバ専用ファイル40とが対応付けられている。 Further, the memory 14 includes a data storage area 38. The data storage area 38 is an area for storing data and the like necessary for executing the application 30 and the like. The memory 14 is configured by combining a RAM, a ROM, a flash memory, an HDD, a portable storage medium such as a USB memory attached to and detached from the PC 10, a buffer included in the CPU 12, and the like. Further, the memory 14 stores a driver-dedicated file (an example of a storage area) 40 dedicated to the printer driver 34. When the printer driver 34 is installed on the PC 10, the driver-dedicated file 40 is installed on the PC 10 together with the printer driver 34. That is, the driver-dedicated file 40 and the printer characteristic providing module 36 are installed in the PC 10 together with the printer driver 34 when the printer driver 34 is installed in the PC 10, and the printer driver 34, the printer characteristic providing module 36, and the driver only are installed. It is associated with the file 40.

プリンタドライバ34は、OS37が定義するレジストリにプリンタドライバを示す情報が記憶されることで、OS37に登録されるようになっている。また、OS37に登録されたプリンタドライバ34は、プリンタ50を識別するプリンタ識別情報と対応付けられる。アプリケーション30及び画像形成プログラム32は、プリンタ識別情報を選択して、画像データの印刷を指示することができるように構成されている。そして、アプリケーション30若しくは、画像形成プログラム32が印刷を指示すると、OS37はプリンタ識別情報に対応するプリンタドライバ34に、アプリケーション30若しくは、画像形成プログラム32が出力した画像データに基づいて印刷データを作成するよう指示し、プリンタドライバ34が作成した印刷データをプリンタ50に送信することで、プリンタ50に印刷させる。プリンタドライバ34が、作成した印刷データをOS37に渡すことを、「プリンタドライバ34がプリンタ50に印刷を指示する」と記載してもよい。 The printer driver 34 is registered in the OS 37 by storing information indicating the printer driver in the registry defined by the OS 37. Further, the printer driver 34 registered in the OS 37 is associated with the printer identification information that identifies the printer 50. The application 30 and the image forming program 32 are configured so that the printer identification information can be selected and the printing of the image data can be instructed. Then, when the application 30 or the image forming program 32 instructs printing, the OS 37 creates print data in the printer driver 34 corresponding to the printer identification information based on the image data output by the application 30 or the image forming program 32. By instructing the printer to send the print data created by the printer driver 34 to the printer 50, the printer 50 is made to print. Passing the created print data to the OS 37 by the printer driver 34 may be described as "the printer driver 34 instructs the printer 50 to print".

プリンタドライバ34のインストーラは、プリンタドライバ34をOS37に登録し、プリンタドライバ34とプリンタ識別情報とを対応付けるときに、プリンタドライバ34を示す情報と、プリンタ特性提供モジュール36のファイル名とを対応付けてレジストリに記憶する。これにより、プリンタドライバ34とプリンタ特性提供モジュール36とは対応付けられる。プリンタ特性提供モジュール36はドライバ専用ファイル40のファイル名をモジュール内に記憶しているため、プリンタ特性提供モジュール36とドライバ専用ファイル40とは、インストールされた時点で対応付けられることになる。 When the installer of the printer driver 34 registers the printer driver 34 in the OS 37 and associates the printer driver 34 with the printer identification information, the information indicating the printer driver 34 is associated with the file name of the printer characteristic providing module 36. Store in the registry. As a result, the printer driver 34 and the printer characteristic providing module 36 are associated with each other. Since the printer characteristic providing module 36 stores the file name of the driver-dedicated file 40 in the module, the printer characteristic providing module 36 and the driver-dedicated file 40 are associated with each other at the time of installation.

また、プリンタドライバ34のインストール時において、ドライバ専用ファイル40及びプリンタ特性提供モジュール36だけでなく、プリンタドライバ34に対応するドライバ専用のドライバインタフェースもインストールされるが、ドライバインタフェースの図示は省略する。 Further, when the printer driver 34 is installed, not only the driver-dedicated file 40 and the printer characteristic providing module 36 but also the driver-dedicated driver interface corresponding to the printer driver 34 is installed, but the illustration of the driver interface is omitted.

なお、メモリ14は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 The memory 14 may be a storage medium that can be read by a computer. A computer-readable storage medium is a non-transitional medium. In addition to the above examples, the non-transitory medium also includes recording media such as a CD-ROM and a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electric signal that carries a program downloaded from a server on the Internet is a signal medium that can be read by a computer, which is a kind of medium that can be read by a computer, but is a storage that can be read by a non-transitory computer. Not included in the medium.

また、図2に、アプリケーション30,画像形成プログラム32等の各プログラムとドライバ専用ファイル40との関係を概念的に示す。具体的には、アプリケーション30及び画像形成プログラム32は、画像データを、OS37を介してプリンタドライバ34に出力する。そして、プリンタドライバ34は、ネットワークI/F20を介して、受け付けた画像データ及び印刷指示を、プリンタ50に送信する。これにより、プリンタ50による印刷処理が実行される。 Further, FIG. 2 conceptually shows the relationship between each program such as the application 30 and the image forming program 32 and the driver-dedicated file 40. Specifically, the application 30 and the image forming program 32 output the image data to the printer driver 34 via the OS 37. Then, the printer driver 34 transmits the received image data and the print instruction to the printer 50 via the network I / F 20. As a result, the printing process by the printer 50 is executed.

また、ドライバ専用ファイル40には、プリンタ50のモデル特有のモデル情報,プリンタ50で印刷可能な印刷用紙に関する情報等が記憶されており、プリンタドライバ34及びプリンタ特性提供モジュール36は、ドライバ専用ファイル40から各種情報を取得することができる。そして、プリンタ特性提供モジュール36は、取得した情報を画像形成プログラム32に提供することができ、プリンタドライバ34は、取得した情報を、OS37を介してアプリケーション30に提供することができる。 Further, the driver-dedicated file 40 stores model information specific to the model of the printer 50, information on the printing paper that can be printed by the printer 50, and the like, and the printer driver 34 and the printer characteristic providing module 36 are the driver-dedicated file 40. Various information can be obtained from. Then, the printer characteristic providing module 36 can provide the acquired information to the image forming program 32, and the printer driver 34 can provide the acquired information to the application 30 via the OS 37.

また、LCD16は、PC10の各種情報を表示する。なお、本願のディスプレイは、液晶ディスプレイに限らず、有機ELディスプレイ等の他の表示方式のディスプレイでも良い。入力I/F18は、キーボード、マウス等を含み、ユーザ操作を入力するためのインタフェースである。なお、入力I/F18は、キーボード等に限らず、LCD16の表示画面に重畳された膜状のタッチセンサでも良い。 Further, the LCD 16 displays various information of the PC 10. The display of the present application is not limited to a liquid crystal display, and may be a display of another display method such as an organic EL display. The input I / F18 includes a keyboard, a mouse, and the like, and is an interface for inputting user operations. The input I / F 18 is not limited to a keyboard or the like, and may be a film-shaped touch sensor superimposed on the display screen of the LCD 16.

プリンタシステム1では、アプリケーション30により読み込まれたPDF形式の画像データに基づく画像の印刷処理が、OS37及びプリンタドライバ34を介して実行される。ただし、通常の印刷処理では、PDF形式の画像データに基づく画像が印刷された場合に、当該画像の上端部分が印刷用紙に印刷されず、画像の上端部分の印字切れが生じる虞がある。以下に、通常の印刷時において印字切れが生じる理由について説明する。 In the printer system 1, the image printing process based on the image data in the PDF format read by the application 30 is executed via the OS 37 and the printer driver 34. However, in normal printing processing, when an image based on image data in PDF format is printed, the upper end portion of the image may not be printed on the printing paper, and the upper end portion of the image may be cut off. The reason why the print is cut off during normal printing will be described below.

なお、本明細書では、基本的に、プログラムに記述された命令に従ったCPU12の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」「設定」等の処理は、CPU12の処理を表している。CPU12による処理は、OS37を介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU12が要求することなくデータを受信するという処理も、「CPU12がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。また、「命令」「応答」「要求」等の処理は、「命令」「応答」「要求」等を示す情報を通信することにより行われる。また、「命令」「応答」「要求」等の文言を、「命令」「応答」「要求」等を示す情報そのものという意味で記載してもよい。また、CPUによる、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPUによる、情報Aが事柄Bであることを示しているか、事柄Cであるかを示しているかを判断する処理を、「情報Aから、事柄Bであるか事柄Cであるかを判断する」のように概念的に記載することがある。 In this specification, basically, the processing of the CPU 12 according to the instruction described in the program is shown. That is, the processes such as "judgment", "extraction", "selection", "calculation", "decision", "specification", "acquisition", "acceptance", "control", and "setting" in the following description are performed by the CPU12. Represents the processing of. The processing by the CPU 12 also includes hardware control via the OS 37. Note that "acquisition" is used as a concept that does not require a request. That is, the process of receiving data without being requested by the CPU 12 is also included in the concept of "the CPU 12 acquires the data". Further, the "data" in the present specification is represented by a computer-readable bit string. Data having the same substantial meaning and different formats are treated as the same data. The same applies to "information" in the present specification. Further, processing such as "command", "response", and "request" is performed by communicating information indicating "command", "response", "request", and the like. In addition, words such as "command", "response", and "request" may be described in the sense of information itself indicating "command", "response", "request", and the like. Further, the process of determining whether or not the information A indicates that the information A is the matter B by the CPU is conceptually described as "determining whether or not the information A is the matter B from the information A". There is. The process of determining whether the information A indicates that the information A is the matter B or the matter C by the CPU is "determining from the information A whether the information A is the matter B or the matter C". It may be described conceptually as.

以下に、アプリケーション30が、図4に示すような、「ABC」~「JKL」の文字が配置された文書を示すPDFファイルを読み込んだ場合を例に説明する。PDFファイルを読み込んだアプリケーション30は、「ABC」~「JKL」の文字が配置された文書を含むアプリケーション画面をLCD16に表示する。ユーザがアプリケーション30に、入力I/F18を介して印刷指示操作をすると、アプリケーション30は、印刷用紙のうちの余白及び印刷可能な領域のサイズに関する情報(以下、「余白・印刷領域情報」と記載する)を、OS37を介してプリンタドライバ34に要求する。 Hereinafter, a case where the application 30 reads a PDF file indicating a document in which the characters “ABC” to “JKL” are arranged as shown in FIG. 4 will be described as an example. The application 30 that has read the PDF file displays an application screen including a document in which the characters "ABC" to "JKL" are arranged on the LCD 16. When the user performs a print instruction operation on the application 30 via the input I / F 18, the application 30 describes information regarding the size of the margin and the printable area of the printing paper (hereinafter, "margin / print area information"). ) Is requested to the printer driver 34 via the OS 37.

なお、アプリケーション30は、任意のタイミングで、余白・印刷領域情報を要求してもよい。例えば、アプリケーション30の起動時でもよい。アプリケーション30がプリンタドライバ34を選択したときでもよい。アプリケーション30からの要求を受けると、プリンタドライバ34は、図3に示すように、余白・印刷領域情報を、OS37を介して、アプリケーション30に出力する(S100)。余白・印刷領域情報は、印刷用紙のサイズを示す用紙サイズ情報と、印刷用紙の印刷可能な領域のサイズを示す印刷領域サイズ情報と、印刷用紙の余白のサイズを示す余白サイズ情報とを含む。例えば、印刷用紙のサイズが、103mm×164mmのラベルサイズである場合に、通常の印刷時の用紙サイズ情報は1941であり、通常の印刷時の印刷領域サイズ情報は1822であり、通常の印刷時の余白サイズ情報は59である。詳しくは後述するが、アプリケーション30が通常印刷用の余白・印刷領域情報を出力する場合と、余白なし印刷用の余白・印刷領域情報を出力する場合とがある。 The application 30 may request margin / print area information at any time. For example, it may be at the time of starting the application 30. It may be when the application 30 selects the printer driver 34. Upon receiving the request from the application 30, the printer driver 34 outputs the margin / print area information to the application 30 via the OS 37 (S100), as shown in FIG. The margin / print area information includes paper size information indicating the size of the printing paper, print area size information indicating the size of the printable area of the printing paper, and margin size information indicating the size of the margin of the printing paper. For example, when the size of the printing paper is a label size of 103 mm × 164 mm, the paper size information at the time of normal printing is 1941, and the print area size information at the time of normal printing is 1822, and at the time of normal printing. The margin size information of is 59. As will be described in detail later, there are cases where the application 30 outputs margin / print area information for normal printing and cases where the margin / print area information for printing without margins is output.

なお、各種サイズ情報は、ピクセル単位であり、印刷用紙の縦方向のサイズを示している。本来は、当然、各種サイズ情報は、印刷用紙の縦方向のサイズだけでなく、横方向のサイズも含んでいるが、ここでは、画像印刷時の画像の上端部、つまり、縦方向において印字切れが生じる要因に特化して説明するべく、各種サイズ情報として、印刷用紙の縦方向における各種サイズのみについて説明する。 The various size information is in pixel units and indicates the vertical size of the printing paper. Originally, of course, various size information includes not only the vertical size of the printing paper but also the horizontal size, but here, the upper end of the image at the time of printing the image, that is, the printing is cut off in the vertical direction. As various size information, only various sizes in the vertical direction of the printing paper will be described in order to explain specifically the factors that cause the above.

これら各種のサイズ情報を図式化すると、図4に示すように、用紙サイズ情報Z(=1941)は、印刷用紙の縦方向における全体のサイズを示しており、余白サイズ情報Y(=59)は、印刷用紙の上端部における縦方向の余白のサイズを示しており、印刷領域サイズ情報X1(=1822)は、印刷用紙の縦方向における余白を除いた領域、つまり、印刷可能な領域のサイズを示している。このため、印刷領域サイズ情報X1により示される領域の下方、つまり、印刷用紙の下端部に、縦方向におけるピクセル単位の60(=1941-59-1822)に相当する余白が存在する。 When these various size information are schematized, as shown in FIG. 4, the paper size information Z (= 1941) indicates the overall size of the printing paper in the vertical direction, and the margin size information Y (= 59) is , The size of the vertical margin at the upper end of the printing paper is shown, and the print area size information X1 (= 1822) indicates the size of the area excluding the vertical margin of the printing paper, that is, the printable area. Shows. Therefore, there is a margin corresponding to 60 (= 1941-59-1822) in pixel units in the vertical direction below the area indicated by the print area size information X1, that is, at the lower end of the printing paper.

そして、アプリケーション30は、余白・印刷領域情報をプリンタドライバ34から受け付けると、その余白・印刷領域情報に含まれる用紙サイズ情報Zに応じたサイズの画像の画像データを、OS37に出力する(S102)。この際、アプリケーション30が、余白・印刷領域情報に含まれる余白サイズ情報Y及び、印刷領域サイズ情報X1を考慮して画像データを出力すれば、図6にグレースケールで示した画像を示す画像データが、OS37からプリンタドライバ34に入力される。そして、プリンタドライバ34は、受け付けた画像データに基づいて、図6のグレースケール部分の画像と余白とを示す印刷用画像データを作成し、プリンタ50に送信する。プリンタ50は、印刷用画像データに基づく画像の印刷処理を実行することで、図6に示す画像を印刷用紙に印刷することになる。 Then, when the application 30 receives the margin / print area information from the printer driver 34, the application 30 outputs the image data of the image of the size corresponding to the paper size information Z included in the margin / print area information to the OS 37 (S102). .. At this time, if the application 30 outputs the image data in consideration of the margin size information Y included in the margin / print area information and the print area size information X1, the image data showing the image shown in gray scale in FIG. 6 is shown. Is input to the printer driver 34 from the OS 37. Then, the printer driver 34 creates print image data showing the image and the margin of the grayscale portion of FIG. 6 based on the received image data, and transmits the print image data to the printer 50. The printer 50 prints the image shown in FIG. 6 on the printing paper by executing the printing process of the image based on the image data for printing.

ところが、アプリケーション30によっては、余白・印刷領域情報に含まれる余白サイズ情報Yを考慮しない場合がある。この場合、アプリケーション30は、アプリケーション画面に文書全体を示す図6のような表示をしているにも係らず、画像データをOS37出力する処理において、図4のような描画をしてしまうことになる。なお、ここでの「描画」は、アプリケーション30からOS37へ画像データを出力する処理の一部である。そのため、図4に示すように、画像の一部(ここでは、「ABC」の文字)が、印刷領域サイズ情報X1により示される領域に描画されず、余白サイズ情報Yにより示される領域に描画された画像を示す画像データが、アプリケーション30から、OS37を介してプリンタドライバ34に出力されることになる(S106)。そして、プリンタドライバ34は、受け付けた画像データに基づいて、印刷用画像データを作成し(S112)、プリンタ50に送信する(S114)。これにより、図4のグレースケールの画像が印刷用紙に印刷されることになる。つまり、「ABC」の文字が切れた状態の画像が印刷用紙に印刷されることになる。 However, depending on the application 30, the margin size information Y included in the margin / print area information may not be taken into consideration. In this case, although the application 30 displays the entire document as shown in FIG. 6 on the application screen, the application 30 draws as shown in FIG. 4 in the process of outputting the image data to the OS 37. Become. The "drawing" here is a part of the process of outputting image data from the application 30 to the OS 37. Therefore, as shown in FIG. 4, a part of the image (here, the character "ABC") is not drawn in the area indicated by the print area size information X1, but is drawn in the area indicated by the margin size information Y. The image data indicating the image is output from the application 30 to the printer driver 34 via the OS 37 (S106). Then, the printer driver 34 creates print image data based on the received image data (S112) and transmits the print image data to the printer 50 (S114). As a result, the grayscale image of FIG. 4 is printed on the printing paper. That is, the image in the state where the characters of "ABC" are cut off is printed on the printing paper.

PDFファイルは、印刷された文書全体を余白部分も含めて示すよう、余白部分の白画像を示す画像データを含んでいる場合がある。そのため、余白サイズ情報Yを考慮しないようにアプリケーション30を設定ができる場合がある。余白サイズ情報Yを考慮しないようにアプリケーション30が設定され、余白部分の白画像データをほとんど含まない画像データ(例えば、図6のグレースケール部分のみを示す画像データ)をアプリケーション30が読み込んだ場合には、余白ではない画像の一部が、余白サイズ情報Yにより示される余白領域に描画されてしまうことになる。 The PDF file may include image data indicating a white image in the margin portion so as to indicate the entire printed document including the margin portion. Therefore, the application 30 may be set so as not to consider the margin size information Y. When the application 30 is set so as not to consider the margin size information Y, and the application 30 reads the image data (for example, the image data showing only the grayscale portion of FIG. 6) containing almost no white image data in the margin portion. Will draw a part of the image that is not the margin in the margin area indicated by the margin size information Y.

このようなことに鑑みて、プリンタドライバ34は、上述した通常印刷用の余白・印刷領域情報の代わりに、印刷用紙の全体を印刷可能な領域とし、余白の無い状態での印刷(以下、「余白なし印刷」と記載する)を行うための余白・印刷領域情報を、アプリケーション30に出力することも可能になっている(S100)。詳しくは、プリンタドライバ34は、印刷設定時において、設定画面(図示省略)をLCD16に表示する。設定画面には、通常の印刷処理と余白なし印刷処理との何れかを選択するための選択ボタンが表示されている。ユーザが、入力I/F18を介して選択ボタンへの操作により余白なし印刷処理を選択すると、プリンタドライバ34は、データ記憶領域38に、余白なし印刷の設定フラグを記憶させる。設定フラグがデータ記憶領域38に記憶されている場合、プリンタドライバ34は、通常印刷用の余白・印刷領域情報の代わりに、余白なし印刷用の余白・印刷領域情報をアプリケーション30に出力する(S100)。 In view of this, the printer driver 34 uses the entire printing paper as a printable area instead of the above-mentioned margin / print area information for normal printing, and prints without a margin (hereinafter, "" It is also possible to output the margin / print area information for performing (described as "printing without margins") to the application 30 (S100). Specifically, the printer driver 34 displays a setting screen (not shown) on the LCD 16 at the time of printing setting. On the setting screen, a selection button for selecting either normal printing processing or printing processing without margins is displayed. When the user selects the printing process without margins by operating the selection button via the input I / F 18, the printer driver 34 stores the setting flag for printing without margins in the data storage area 38. When the setting flag is stored in the data storage area 38, the printer driver 34 outputs the margin / print area information for printing without margins to the application 30 instead of the margin / print area information for normal printing (S100). ).

余白なし印刷用の余白・印刷領域情報は、通常印刷用の余白・印刷領域情報と同様に、印刷用紙のサイズを示す用紙サイズ情報Zを含むが、印刷領域情報X1の代わりに、通常印刷時より印刷可能な領域を拡大させたサイズを示す拡大印刷領域サイズ情報X2を含む。また、余白なし印刷用の余白・印刷領域情報は、印刷可能な領域の拡大に伴って、通常印刷時より縮小させた余白のサイズを示す余白サイズ情報Yも含む。 The margin / print area information for printing without margins includes the paper size information Z indicating the size of the printing paper, like the margin / print area information for normal printing, but instead of the print area information X1, during normal printing. Includes enlarged print area size information X2 indicating an enlarged size of a more printable area. Further, the margin / print area information for printing without margins includes the margin size information Y indicating the size of the margins reduced from the time of normal printing as the printable area is expanded.

例えば、印刷用紙のサイズが、103mm×164mmのラベルサイズである場合に、余白なし印刷用の用紙サイズ情報Zは1941であり、余白なし印刷用の拡大印刷領域サイズ情報X2も1941であり、余白なし印刷用の余白サイズ情報Yは0である。 For example, when the size of the printing paper is a label size of 103 mm × 164 mm, the paper size information Z for printing without margins is 1941, and the enlarged print area size information X2 for printing without margins is also 1941, with margins. The margin size information Y for none printing is 0.

これら各種のサイズ情報を図式化すると、図5に示すように、用紙サイズ情報Z(=1941)は、印刷用紙の縦方向における全体のサイズを示しており、余白サイズ情報Y(=0)は、印刷用紙の上端部における縦方向の余白が無いことを示している。そして、拡大印刷領域サイズ情報X2は、印刷用紙の縦方向における余白が無く、印刷可能領域が印刷用紙の縦方向に最大限に拡大されることで、印刷用紙の縦方向における全体のサイズを示している。つまり、余白なし印刷用の余白・印刷領域情報では、印刷用紙の縦方向における余白が無いため、用紙サイズ情報Zと拡大印刷領域サイズ情報X2とが同じとされている。なお、プリンタドライバ34は、任意のタイミングで設定画面を表示してよい。例えば、OS37から指示されたときでもよい。アプリケーション30から指示されたときでもよい。 When these various size information are schematized, as shown in FIG. 5, the paper size information Z (= 1941) indicates the overall size of the printing paper in the vertical direction, and the margin size information Y (= 0) is , Indicates that there is no vertical margin at the upper end of the printing paper. The enlarged print area size information X2 indicates the entire size of the printing paper in the vertical direction by maximizing the printable area in the vertical direction of the printing paper without any margin in the vertical direction of the printing paper. ing. That is, in the margin / print area information for printing without margins, the paper size information Z and the enlarged print area size information X2 are the same because there is no margin in the vertical direction of the printing paper. The printer driver 34 may display the setting screen at any timing. For example, it may be when instructed by OS37. It may be when instructed by the application 30.

そして、アプリケーション30は、余白なし印刷用の余白・印刷領域情報をプリンタドライバ34から受け付けると、その余白・印刷領域情報に含まれる用紙サイズ情報Z(=1941)に応じたサイズの画像の画像データを、OS34に出力する(S102)。この際、アプリケーション30が出力する画像データに基づく画像では、図5に示すように、拡大印刷領域サイズ情報X2が用紙サイズ情報Zと同じとされているため、画像の全域が、拡大印刷領域サイズ情報X2により示される領域に描画される。 Then, when the application 30 receives the margin / print area information for printing without margins from the printer driver 34, the application 30 receives the image data of the image of the size corresponding to the paper size information Z (= 1941) included in the margin / print area information. Is output to the OS 34 (S102). At this time, in the image based on the image data output by the application 30, as shown in FIG. 5, the enlarged print area size information X2 is the same as the paper size information Z, so that the entire area of the image is the enlarged print area size. It is drawn in the area indicated by the information X2.

そして、OS37は、アプリケーション30から画像データを受け付けると、その画像データに基づく画像から、拡大印刷領域サイズ情報X2に応じたサイズの画像を取得し、取得した画像データを、プリンタドライバ34に出力する(S106)。なお、OS34は、拡大印刷領域サイズ情報X2に応じたサイズの画像を抽出し、ラスター形式の画像データに変換することで、画像データを取得してもよい。そして、プリンタドライバ32は、余白なし印刷用の画像データ、つまり、拡大印刷領域サイズ情報X2に応じたサイズの画像のラスター形式の画像データを、OS34から取得してもよい。 Then, when the OS 37 receives the image data from the application 30, the OS 37 acquires an image of a size corresponding to the enlarged print area size information X2 from the image based on the image data, and outputs the acquired image data to the printer driver 34. (S106). The OS 34 may acquire image data by extracting an image having a size corresponding to the enlarged print area size information X2 and converting it into image data in raster format. Then, the printer driver 32 may acquire image data for printing without margins, that is, raster format image data of an image having a size corresponding to the enlarged print area size information X2 from the OS 34.

そして、プリンタドライバ34は、受け付けた画像データ、つまり、図5のグレースケールの画像のラスター形式の画像データに基づいて、印刷用画像データを作成するが、図5のグレースケールの画像、つまり、拡大印刷領域サイズ情報X2に応じたサイズの画像は、103mm×164mmのラベルサイズにおける印刷可能な領域より大きいため、103mm×164mmのラベルに適切に画像を印刷することができない。つまり、103mm×164mmのラベルにおいて、ラベル全体の縦方向の長さは、ピクセル単位で1941であるが(用紙サイズ情報Z))、ラベルへの印刷可能な領域の縦方向の長さは、ピクセル単位で1822であるため(印刷領域サイズ情報X1)、拡大印刷領域サイズ情報X2に応じたサイズの画像は、103mm×164mmのラベルの印刷可能な領域からはみ出てしまう。 Then, the printer driver 34 creates the image data for printing based on the received image data, that is, the image data in the raster format of the gray scale image of FIG. 5, but the gray scale image of FIG. 5, that is, Since the image of the size corresponding to the enlarged print area size information X2 is larger than the printable area in the label size of 103 mm × 164 mm, the image cannot be appropriately printed on the label of 103 mm × 164 mm. That is, in a label of 103 mm × 164 mm, the vertical length of the entire label is 1941 in pixel units (paper size information Z), but the vertical length of the printable area on the label is pixel. Since the unit is 1822 (print area size information X1), the image of the size corresponding to the enlarged print area size information X2 extends beyond the printable area of the 103 mm × 164 mm label.

そこで、プリンタドライバ34は、拡大印刷領域サイズ情報X2に応じたサイズの画像(以下、「全体画像」と記載する)から、印刷領域サイズ情報X1に応じたサイズの画像(以下、「部分画像」と記載する)を抽出し、その部分画像の印刷用画像データを作成する。詳しくは、プリンタドライバ34は、OS37から受け付けた画像データ、つまり、図5のグレースケールの画像の画像データに基づいて、その画像の上端に位置する空白でない画像、つまり、画像の上端に位置する文字を検出する。なお、文字検出は、一般的な手法であるため、説明を省略する。 Therefore, the printer driver 34 has changed from an image having a size corresponding to the enlarged print area size information X2 (hereinafter referred to as "whole image") to an image having a size corresponding to the print area size information X1 (hereinafter referred to as "partial image"). ) Is extracted, and image data for printing the partial image is created. Specifically, the printer driver 34 is located at the upper end of a non-blank image located at the upper end of the image, that is, at the upper end of the image, based on the image data received from the OS 37, that is, the image data of the grayscale image of FIG. Detect characters. Since character detection is a general method, the description thereof will be omitted.

そして、プリンタドライバ34は、検出された文字が部分画像の上端部に含まれるように、部分画像の上端(以下、「画像基端」と記載する)を決定する(S108)。なお、画像基端は、例えば、検出された文字の上端から設定距離、上方に位置するように決定される。次に、プリンタドライバ34は、画像基端を起点として、全体画像から部分画像を抽出する。つまり、例えば、図6に示す画像では、全体画像の上端の近い位置に、文字が位置しており、全体画像の上端が、画像基端として決定される。そして、プリンタドライバ34は、画像基端を上端とする、印刷領域サイズ情報X1に応じたサイズの画像、つまり、図6のグレースケールの画像を、部分画像として抽出する(S110)。 Then, the printer driver 34 determines the upper end of the partial image (hereinafter, referred to as "image base end") so that the detected character is included in the upper end portion of the partial image (S108). The image base edge is determined to be located above the upper end of the detected character by a set distance, for example. Next, the printer driver 34 extracts a partial image from the entire image starting from the image base end. That is, for example, in the image shown in FIG. 6, characters are located near the upper end of the entire image, and the upper end of the entire image is determined as the image base end. Then, the printer driver 34 extracts an image having a size corresponding to the print area size information X1 having the image base end as the upper end, that is, a gray scale image of FIG. 6 as a partial image (S110).

そして、プリンタドライバ34は、抽出した部分画像の印刷用画像データを作成し(S112)、プリンタ50に送信する(S114)。これにより、プリンタ50は、印刷用画像データに基づく画像の印刷処理を実行し、図6のグレースケールの画像が印刷用紙に印刷される。このように、プリンタドライバ34が、通常印刷用の余白・印刷領域情報の代わりに、余白なし印刷用の余白・印刷領域情報をアプリケーション30に出力することで、文字切れの無い適切な画像を印刷用紙に印刷することが可能となる。 Then, the printer driver 34 creates image data for printing of the extracted partial image (S112) and transmits it to the printer 50 (S114). As a result, the printer 50 executes an image printing process based on the image data for printing, and the grayscale image of FIG. 6 is printed on the printing paper. In this way, the printer driver 34 outputs the margin / print area information for printing without margins to the application 30 instead of the margin / print area information for normal printing, so that an appropriate image without character breaks can be printed. It becomes possible to print on paper.

なお、プリンタドライバ34からアプリケーション30に出力される通常印刷用の余白・印刷領域情報および、余白なし印刷用の余白・印刷領域情報は、プリンタドライバ34に記憶されておらず、ドライバ専用ファイル40に記憶されている。このため、プリンタドライバ34は、S100において、ドライバ専用ファイル40から余白・印刷領域情報を取得し、アプリケーション30に出力する。 The margin / print area information for normal printing and the margin / print area information for printing without margins output from the printer driver 34 to the application 30 are not stored in the printer driver 34, but are stored in the driver-dedicated file 40. It is remembered. Therefore, in S100, the printer driver 34 acquires the margin / print area information from the driver-dedicated file 40 and outputs it to the application 30.

詳しくは、まず、アプリケーション30が、余白・印刷領域情報の要求をプリンタドライバ34に出力する。次に、プリンタドライバ34が、余白・印刷領域情報の要求をドライバ専用ファイル40に出力する。続いて、ドライバ専用ファイル40が、通常印刷用の余白・印刷領域情報及び、余白なし印刷用の余白・印刷領域情報を、プリンタドライバ34に出力する。そして、プリンタドライバ34は、通常印刷用の余白・印刷領域情報または、余白なし印刷用の余白・印刷領域情報を、アプリケーション30に出力する(S100)。 Specifically, first, the application 30 outputs a request for margin / print area information to the printer driver 34. Next, the printer driver 34 outputs a request for margin / print area information to the driver-dedicated file 40. Subsequently, the driver-dedicated file 40 outputs the margin / print area information for normal printing and the margin / print area information for printing without margins to the printer driver 34. Then, the printer driver 34 outputs the margin / print area information for normal printing or the margin / print area information for printing without margins to the application 30 (S100).

一方で、画像形成プログラム32は、印刷用紙の余白を考慮して画像データを作成するため、印字切れは生じず、余白なし印刷処理を実行する必要が無い。詳しくは、画像形成プログラム32は、後述するS220~S230の処理によって通常印刷用の余白・印刷領域情報を取得し、通常印刷用の余白・印刷領域情報に基づいて、図7に示す画像形成画面100をLCD16に表示する。この際、画像形成プログラム32は、画像形成画面100に、用紙サイズ情報Zにより示される印刷用紙のサイズに相当する印刷用紙枠102を表示する。また、画像形成プログラム32は、印刷用紙枠102の上端から、余白サイズ情報Yにより示される余白のサイズ分、離間させた状態で、印刷領域サイズ情報X1により示される印刷可能領域のサイズに相当する印刷可能領域枠104を、印刷用紙枠102の内部に表示する。そして、画像形成プログラム32では、印刷可能領域枠104の内部にのみ、テキスト等の画像を入力することが可能とされている。便宜上、「ABC」~「JKL」のテキストが画像形成プログラム32に入力されたものとして説明すると、画像形成プログラム32は、余白サイズ情報を考慮して、図6と同様の、余白サイズ情報Yにより示される領域には文字等の画像が含まれず、印刷領域サイズ情報X1により示される領域にのみ文字等の画像が含まれた画像を、画像形成画面100に表示する。すなわち、画像形成プログラム32は、印刷可能領域枠104の内側の領域には文字等の画像が含まれるものの、印刷用紙枠102と印刷可能領域枠104との間の領域には、文字等の画像が含まれない画像形成画面100を表示する。 On the other hand, since the image forming program 32 creates image data in consideration of the margins of the printing paper, printing breaks do not occur and it is not necessary to execute the printing process without margins. Specifically, the image forming program 32 acquires the margin / print area information for normal printing by the processes of S220 to S230 described later, and based on the margin / print area information for normal printing, the image forming screen shown in FIG. 100 is displayed on the LCD 16. At this time, the image forming program 32 displays the printing paper frame 102 corresponding to the size of the printing paper indicated by the paper size information Z on the image forming screen 100. Further, the image forming program 32 corresponds to the size of the printable area indicated by the print area size information X1 in a state of being separated from the upper end of the print paper frame 102 by the size of the margin indicated by the margin size information Y. The printable area frame 104 is displayed inside the print paper frame 102. Then, in the image forming program 32, it is possible to input an image such as text only inside the printable area frame 104. For convenience, if the texts "ABC" to "JKL" are described as being input to the image forming program 32, the image forming program 32 considers the margin size information and uses the same margin size information Y as in FIG. An image such as characters is not included in the indicated area, and an image including an image such as characters is included only in the area indicated by the print area size information X1 is displayed on the image formation screen 100. That is, in the image forming program 32, although the area inside the printable area frame 104 contains images such as characters, the area between the print paper frame 102 and the printable area frame 104 includes images such as characters. The image formation screen 100 that does not include the above is displayed.

このように、画像形成プログラム32は、余白サイズ情報Yにより示される領域、つまり、余白を考慮し、印刷可能領域枠104の内部のみへの画像の入力を許容し、印刷可能領域枠104の内部のみに描画された画像の画像データを作成する。画像形成プログラム32が作成した画像データをOS37に出力すると、S102~S110と同様の処理によって、画像の印刷が行われる。すなわち、画像形成画面100に表示した画像に相当する、図6のグレースケールの画像が印刷用紙に印刷される。説明を省略しているが、「ABC」~「JKL」のテキスト以外の画像が画像形成プログラム32に入力された場合も、画像形成プログラム32は、入力された画像を含む画像形成画面100を表示し、入力された画像を含む画像データをOS37に出力する。 As described above, the image forming program 32 allows the input of the image only to the inside of the printable area frame 104 in consideration of the area indicated by the margin size information Y, that is, the margin, and the inside of the printable area frame 104. Create image data for images drawn only. When the image data created by the image forming program 32 is output to the OS 37, the image is printed by the same processing as in S102 to S110. That is, the grayscale image of FIG. 6, which corresponds to the image displayed on the image forming screen 100, is printed on the printing paper. Although the description is omitted, even when an image other than the texts of "ABC" to "JKL" is input to the image forming program 32, the image forming program 32 displays the image forming screen 100 including the input image. Then, the image data including the input image is output to the OS 37.

このように、画像形成プログラム32は、通常印刷用の余白・印刷領域情報を必要とし、余白なし印刷用の余白・印刷領域情報を必要としない。しかしながら、上述したように、プリンタドライバ34は、通常印刷用の余白・印刷領域情報を出力する場合と、余白なし印刷用の余白・印刷領域情報を出力する場合とがある(図3:S100参照)。余白なし印刷用の余白・印刷領域情報を取得した場合、画像形成プログラム32は、図5と同様の画像を含む画像形成画面100を表示する。しかしながら、画像形成プログラム32が作成した画像データをOS37へ出力しても、余白なし印刷をするようプリンタドライバ34に設定されているため、図6と同様の画像が印刷されることになる。画像形成画面100に表示される画像と印刷される画像とが異なるため、画像形成プログラム32のユーザに違和感を与えることになってしまう。このようなことに鑑みて、画像形成プログラム32は、余白・印刷領域情報の要求をリンタ特性提供モジュール36に出力し、プリンタ特性提供モジュール36から、通常印刷用の余白・印刷領域情報のみを取得する。 As described above, the image forming program 32 normally requires margin / print area information for printing, and does not require margin / print area information for printing without margins. However, as described above, the printer driver 34 may output margin / print area information for normal printing and may output margin / print area information for printing without margin (see FIG. 3: S100). ). When the margin / print area information for printing without margins is acquired, the image forming program 32 displays the image forming screen 100 including the same image as in FIG. However, even if the image data created by the image forming program 32 is output to the OS 37, the same image as in FIG. 6 is printed because the printer driver 34 is set to print without margins. Since the image displayed on the image forming screen 100 and the printed image are different, the user of the image forming program 32 feels uncomfortable. In view of this, the image forming program 32 outputs the request for margin / print area information to the linter characteristic providing module 36, and acquires only the margin / print area information for normal printing from the printer characteristic providing module 36. do.

詳しくは、画像形成プログラム32は、図8に示すように、余白・印刷領域情報の要求をプリンタ特性提供モジュール36に出力する(S220)。次に、プリンタ特性提供モジュール36が、余白・印刷領域情報の要求をドライバ専用ファイル40に出力する(S222)。続いて、ドライバ専用ファイル40が、通常印刷用の余白・印刷領域情報及び、余白なし印刷用の余白・印刷領域情報を、プリンタ特性提供モジュール36に出力する(S224)。 Specifically, as shown in FIG. 8, the image forming program 32 outputs a request for margin / print area information to the printer characteristic providing module 36 (S220). Next, the printer characteristic providing module 36 outputs a request for margin / print area information to the driver-dedicated file 40 (S222). Subsequently, the driver-dedicated file 40 outputs the margin / print area information for normal printing and the margin / print area information for printing without margins to the printer characteristic providing module 36 (S224).

そして、プリンタ特性提供モジュール36は、取得した余白・印刷領域情報から、プリンタ50で対応不能な情報、つまり、余白なし印刷用の余白・印刷領域情報を除去する(S226)。つまり、プリンタ特性提供モジュール36は、取得した余白・印刷領域情報から、プリンタ50で対応可能な情報、つまり、通常印刷用の余白・印刷領域情報をピックアップする。続いて、プリンタ特性提供モジュール36は、プリンタ50で対応可能な情報、つまり、通常印刷用の余白・印刷領域情報のみを画像形成プログラム32に出力する(S228)。そして、画像形成プログラム32は、取得した通常印刷用の余白・印刷領域情報に基づいて、画像形成画面100をLCD16に表示する(S230)。 Then, the printer characteristic providing module 36 removes information that cannot be handled by the printer 50, that is, margin / print area information for printing without margins, from the acquired margin / print area information (S226). That is, the printer characteristic providing module 36 picks up the information that can be handled by the printer 50, that is, the margin / print area information for normal printing from the acquired margin / print area information. Subsequently, the printer characteristic providing module 36 outputs only the information that can be handled by the printer 50, that is, the margin / print area information for normal printing, to the image forming program 32 (S228). Then, the image forming program 32 displays the image forming screen 100 on the LCD 16 based on the acquired margin / print area information for normal printing (S230).

このように、プリンタ特性提供モジュール36が、ドライバ専用ファイル40から、通常印刷用の余白・印刷領域情報及び、余白なし印刷用の余白・印刷領域情報を取得し、取得した余白・印刷領域情報のうちのプリンタ50で対応可能な情報、つまり、通常印刷用の余白・印刷領域情報のみを、画像形成プログラム32に出力することで、画像形成プログラム32は、プリンタ50で対応可能な余白・印刷領域情報に応じた画像の画像データを作成することが可能となる。 In this way, the printer characteristic providing module 36 acquires the margin / print area information for normal printing and the margin / print area information for printing without margin from the driver-dedicated file 40, and obtains the acquired margin / print area information. By outputting only the information that can be handled by our printer 50, that is, the margin / print area information for normal printing to the image formation program 32, the image formation program 32 can handle the margin / print area that can be handled by the printer 50. It is possible to create image data of an image according to the information.

なお、S100を実行するCPU12は、第1出力手段の一例である。S106を実行するCPU12は、第1受付手段の一例である。S112を実行するCPU12は、第1作成手段の一例である。S114を実行するCPU12は、送信手段の一例である。S220を実行するCPU12は、受付手段の一例である。S224を実行するCPU12は、取得手段の一例である。S228を実行するCPU12は、生成手段の一例である。S228を実行するCPU12は、出力手段及び第2出力手段の一例である。 The CPU 12 that executes S100 is an example of the first output means. The CPU 12 that executes S106 is an example of the first receiving means. The CPU 12 that executes S112 is an example of the first creation means. The CPU 12 that executes S114 is an example of transmission means. The CPU 12 that executes S220 is an example of the receiving means. The CPU 12 that executes S224 is an example of acquisition means. The CPU 12 that executes S228 is an example of the generation means. The CPU 12 that executes S228 is an example of an output means and a second output means.

<実施例の効果>
上記した実施形態によれば、以下の効果を奏する。
<Effect of Examples>
According to the above-described embodiment, the following effects are obtained.

プリンタ特性提供モジュール36は、画像形成プログラム32から余白・印刷領域情報の要求を受け付けると、ドライバ専用ファイル40から、通常印刷用の余白・印刷領域情報および、余白なし印刷用の余白・印刷領域情報を取得する。そして、プリンタ特性提供モジュール36は、取得した余白・印刷領域情報のうちのプリンタ50で対応不能な情報、つまり、余白なし印刷用の余白・印刷領域情報を除去し、通常印刷用の余白・印刷領域情報のみを、画像形成プログラム32に出力する。これにより、画像形成プログラム32は、プリンタ50で対応可能な余白・印刷領域情報に応じた画像の画像データを作成することが可能となる。 When the printer characteristic providing module 36 receives a request for margin / print area information from the image forming program 32, the driver-dedicated file 40 provides the margin / print area information for normal printing and the margin / print area information for printing without margin. To get. Then, the printer characteristic providing module 36 removes the information that cannot be handled by the printer 50 among the acquired margin / print area information, that is, the margin / print area information for printing without margin, and the margin / print for normal printing. Only the area information is output to the image forming program 32. As a result, the image forming program 32 can create image data of an image corresponding to the margin / print area information that can be handled by the printer 50.

プリンタ特性提供モジュール36は、余白・印刷領域情報をドライバ専用ファイル40から取得し、プリンタドライバ34も余白・印刷領域情報をドライバ専用ファイル40から取得する。これにより、余白・印刷領域情報の記憶先をドライバ専用ファイル40のみにすることができる。 The printer characteristic providing module 36 acquires the margin / print area information from the driver-dedicated file 40, and the printer driver 34 also acquires the margin / print area information from the driver-dedicated file 40. As a result, the storage destination of the margin / print area information can be limited to the driver-dedicated file 40.

余白・印刷領域情報が、用紙サイズ情報Zを含むことで、画像形成プログラム32は、用紙サイズに応じた画像データを作成することができる。また、余白・印刷領域情報が、印刷領域サイズ情報X1及び余白サイズ情報Yを含むことで、画像形成プログラム32は、印刷可能領域に画像が描画される画像データを作成することができ、余白・印刷領域情報が、拡大印刷領域サイズ情報X2及び余白サイズ情報Yを含むことで、アプリケーション30は、余白なし印刷処理により印字切れの発生を防止することができる。 Since the margin / print area information includes the paper size information Z, the image forming program 32 can create image data according to the paper size. Further, since the margin / print area information includes the print area size information X1 and the margin size information Y, the image forming program 32 can create image data in which the image is drawn in the printable area, and the margin / print area information can be created. Since the print area information includes the enlarged print area size information X2 and the margin size information Y, the application 30 can prevent the occurrence of print breakage by the print process without margins.

プリンタドライバ34は、余白なし印刷処理が設定されている場合に、余白なし印刷用の余白・印刷領域情報をアプリケーション30に出力する。余白なし印刷用の余白・印刷領域情報には、余白が無いことを示す余白サイズ情報Yと、拡大印刷領域サイズ情報X2とが含まれている。なお、拡大印刷領域サイズ情報X2により示される領域は、印刷用紙の縦方向の全体の領域と同じである。このように、余白なし印刷用の余白・印刷領域情報がアプリケーション30に出力されると、プリンタドライバ34は、拡大印刷領域サイズ情報X2に応じたサイズの画像の画像データを、OS34から取得する。続いて、プリンタドライバ34は、拡大印刷領域サイズ情報X2に応じたサイズの画像から、印刷領域サイズ情報X1に応じたサイズの画像を抽出し、抽出した画像の印刷用画像データを作成する。そして、プリンタドライバ34は、作成した印刷用画像データをプリンタ50に送信する。これにより、文字切れの無い適切な画像を印刷用紙に印刷することが可能となる。 The printer driver 34 outputs the margin / print area information for printing without margins to the application 30 when the print processing without margins is set. The margin / print area information for printing without margins includes margin size information Y indicating that there is no margin and enlarged print area size information X2. The area indicated by the enlarged print area size information X2 is the same as the entire area in the vertical direction of the printing paper. As described above, when the margin / print area information for printing without margins is output to the application 30, the printer driver 34 acquires the image data of the image of the size corresponding to the enlarged print area size information X2 from the OS 34. Subsequently, the printer driver 34 extracts an image having a size corresponding to the print area size information X1 from an image having a size corresponding to the enlarged print area size information X2, and creates print image data of the extracted image. Then, the printer driver 34 transmits the created image data for printing to the printer 50. This makes it possible to print an appropriate image without character breaks on printing paper.

なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、例えば、上記実施形態では、用紙サイズ,余白,印刷可能領域などを示す余白・印刷領域情報が、パラメータ情報として採用されているが、印刷処理の設定に関する情報であれば、種々の情報、例えば、印刷色に関する情報などをパラメータ情報として採用することが可能である。 The present invention is not limited to the above embodiment, and can be carried out in various embodiments with various modifications and improvements based on the knowledge of those skilled in the art. Specifically, for example, in the above embodiment, the margin / print area information indicating the paper size, the margin, the printable area, etc. is adopted as the parameter information, but if it is the information related to the setting of the print process, it is various. Information, for example, information on print color, etc. can be adopted as parameter information.

余白なし印刷用の余白・印刷領域情報に含まれる拡大印刷領域サイズ情報X2が、用紙サイズ情報Zと同じとされているが、拡大印刷領域サイズ情報X2を1941より大きな値とされてもよい。つまり、プリンタドライバ34は、余白なし印刷用の余白・印刷領域情報に含まれる拡大印刷領域サイズ情報X2として、実際の用紙サイズより大きな領域を示す情報をアプリケーション30に出力してもよい。これにより、プリンタドライバ34が、更に大きな領域の画像データを取得することが可能となり、好適に文字切れ印刷を防止することが可能となる。 The enlarged print area size information X2 included in the margin / print area information for printing without margins is the same as the paper size information Z, but the enlarged print area size information X2 may be a value larger than 1941. That is, the printer driver 34 may output to the application 30 information indicating an area larger than the actual paper size as the enlarged print area size information X2 included in the margin / print area information for printing without margins. As a result, the printer driver 34 can acquire image data in a larger area, and can suitably prevent character cutoff printing.

また、上記実施形態では、余白なし印刷処理において、余白がなく、拡大印刷領域サイズ情報X2により示される領域は、印刷用紙の縦方向の全体の領域と同じとされているが、余白なし印刷処理において、通常印刷処理時の余白より小さくされ、通常印刷処理時の印刷可能領域より大きくされれば、文字切れ印刷を防止することができる。このため、余白・印刷領域情報の余白サイズ情報Yを59より小さくし、拡大印刷領域サイズ情報X2を1822より大きくすることで、文字切れ印刷を防止することができる。 Further, in the above embodiment, in the printing process without margins, there is no margin, and the area indicated by the enlarged print area size information X2 is the same as the entire area in the vertical direction of the printing paper, but the printing process without margins. In the above, if the margin is made smaller than the margin at the time of the normal printing process and larger than the printable area at the time of the normal printing process, it is possible to prevent the character break printing. Therefore, by making the margin size information Y of the margin / print area information smaller than 59 and the enlarged print area size information X2 larger than 1822, character break printing can be prevented.

また、プリンタドライバ34が、S100で、通常印刷用の余白・印刷領域情報及び、余白なし印刷用の余白・印刷領域情報を、アプリケーション30に出力してもよい。この場合、S100で出力された情報を取得されたアプリケーション30が、通常印刷処理と余白なし印刷処理との何れかを選択するための選択画面を、LCD16に表示し、入力I/Fを介した操作によって選択された印刷処理に対応する画像データを作成してもよい。そして、どちらの印刷処理が選択されたかを示す情報も、アプリケーション30からプリンタドライバ34へ出力してもよい。プリンタドライバ34は、どちらの印刷処理が選択されたかを示す情報が示す印刷処理を実行してもよい。 Further, the printer driver 34 may output the margin / print area information for normal printing and the margin / print area information for printing without margins to the application 30 in S100. In this case, the application 30 from which the information output in S100 has been acquired displays a selection screen on the LCD 16 for selecting either the normal print process or the blankless print process, via the input I / F. Image data corresponding to the print process selected by the operation may be created. Then, the information indicating which print process is selected may be output from the application 30 to the printer driver 34. The printer driver 34 may execute the printing process indicated by the information indicating which printing process is selected.

また、上記実施形態では、CPU12によって図3,8に示す処理が実行される例を説明したが、これら処理は、CPU12に限らず、ASICや他の論理集積回路により実行されてもよいし、これら処理が、CPU等やASIC、他の論理集積回路が協働することにより実行されてもよい。 Further, in the above embodiment, an example in which the processes shown in FIGS. 3 and 8 are executed by the CPU 12 has been described, but these processes are not limited to the CPU 12, and may be executed by an ASIC or another logic integrated circuit. These processes may be executed by the cooperation of a CPU or the like, an ASIC, or another logic integrated circuit.

10:PC、12:CPU、30:アプリケーション、32:画像形成プログラム、34:プリンタドライバ、36:プリンタ特性提供モジュール、37:OS、40:ドライバ専用ファイル、50:プリンタ 10: PC, 12: CPU, 30: Application, 32: Image formation program, 34: Printer driver, 36: Printer characteristic providing module, 37: OS, 40: Driver dedicated file, 50: Printer

Claims (6)

情報処理装置のコンピュータが読み取り可能な制御プログラムであって、
前記制御プログラムは、プリンタドライバに対応付けて前記情報処理装置にインストールされたプログラムであり、
前記プリンタドライバは、印刷処理の設定パラメータの範囲を示すパラメータ情報を、前記情報処理装置にインストールされたオペレーティングシステムに出力し、当該パラメータ情報の出力の後に、当該パラメータ情報に対応する画像データを前記オペレーティングシステムから受け付け、当該画像データに基づいて印刷用画像データを作成した後に、当該印刷用画像データをプリンタに送信するように構成されており、
前記コンピュータを、
前記プリンタに印刷させるための印刷用画像データを、前記パラメータ情報に対応して作成し、当該印刷用画像データを出力するように構成されている画像形成プログラムから、前記パラメータ情報の要求を受け付ける受付手段と、
前記受付手段による要求を受け付けたことに応じて、前記パラメータ情報を前記画像形成プログラムに出力する出力手段と、
前記プリンタドライバが前記オペレーティングシステムに出力する前記パラメータ情報から、対応不能パラメータ情報を除いたパラメータ情報である、除去済パラメータ情報を、生成する生成手段と、
して機能させ、
前記対応不能パラメータ情報は、前記プリンタによる、前記プリンタドライバを介さない印刷処理では対応不能なパラメータの範囲を示す情報であり、
前記出力手段は、
前記生成手段が生成した除去済パラメータ情報を前記画像形成プログラムに出力し、
前記コンピュータを、
記憶領域から前記パラメータ情報を取得する取得手段として機能させ、
前記記憶領域は、前記プリンタドライバ専用の記憶領域であり、
前記プリンタドライバは、前記記憶領域から前記パラメータ情報を取得し、取得したパラメータ情報を前記オペレーティングシステムに出力するように構成され、
前記生成手段は、
前記取得手段により取得されたパラメータ情報から対応不能パラメータ情報を除いた除去済パラメータ情報を生成することを特徴とする制御プログラム。
A control program that can be read by the computer of the information processing device.
The control program is a program installed in the information processing apparatus in association with the printer driver.
The printer driver outputs parameter information indicating a range of setting parameters for printing processing to an operating system installed in the information processing apparatus, and after outputting the parameter information, outputs image data corresponding to the parameter information. It is configured to receive from the operating system, create print image data based on the image data, and then send the print image data to the printer.
The computer
A receptionist that accepts a request for the parameter information from an image forming program configured to create print image data to be printed by the printer corresponding to the parameter information and output the print image data. Means and
An output means for outputting the parameter information to the image forming program in response to the reception of the request by the reception means, and an output means.
A generation means for generating removed parameter information, which is parameter information obtained by excluding incompatible parameter information from the parameter information output by the printer driver to the operating system.
To make it work
The unsupportable parameter information is information indicating a range of parameters that cannot be handled by the printing process by the printer without going through the printer driver.
The output means is
The removed parameter information generated by the generation means is output to the image forming program, and the removed parameter information is output to the image forming program.
The computer
It functions as an acquisition means for acquiring the parameter information from the storage area.
The storage area is a storage area dedicated to the printer driver, and is a storage area dedicated to the printer driver.
The printer driver is configured to acquire the parameter information from the storage area and output the acquired parameter information to the operating system.
The generation means is
A control program characterized by generating removed parameter information excluding incompatible parameter information from the parameter information acquired by the acquisition means .
前記生成手段は、
前記受付手段による要求を受け付けたことに応じて、前記除去済パラメータ情報を生成することを特徴とする請求項1に記載の制御プログラム。
The generation means is
The control program according to claim 1 , wherein the removed parameter information is generated in response to receiving a request by the receiving means.
前記パラメータ情報は、印刷処理の設定パラメータとして、印刷用紙の用紙サイズを示す情報であることを特徴とする請求項1又は2に記載の制御プログラム。 The control program according to claim 1 or 2, wherein the parameter information is information indicating a paper size of printing paper as a setting parameter of a printing process. 前記パラメータ情報は、印刷処理の設定パラメータとして、印刷用紙の余白のサイズを示す情報と、用紙サイズから余白を除いた印刷可能領域のサイズを示す情報との少なくとも一方であることを特徴とする請求項1乃至の何れか1項に記載の制御プログラム。 The claim is characterized in that the parameter information is at least one of information indicating the size of the margin of the printing paper and information indicating the size of the printable area excluding the margin from the paper size as a setting parameter of the printing process. Item 6. The control program according to any one of Items 1 to 3 . 情報処理装置のコンピュータが読み取り可能なプリンタドライバと、制御プログラムと、画像形成プログラムとにより構成されるプログラム群であって、
前記プリンタドライバは、前記コンピュータを、
印刷処理の設定パラメータの範囲を示すパラメータ情報を、前記情報処理装置にインストールされているオペレーティングシステムに出力する第1出力手段と、
前記第1出力手段によるパラメータ情報の出力に応じて、当該パラメータ情報に対応する画像データを前記オペレーティングシステムから受け付ける第1受付手段と、
前記第1受付手段により受け付けられた画像データに基づいて印刷用画像データを作成する第1作成手段と、
前記第1作成手段により作成された印刷用画像データをプリンタに送信する送信手段と、
して機能させ、
前記制御プログラムは、前記コンピュータを、
前記画像形成プログラムから前記パラメータ情報の要求を受け付ける受付手段と、
前記受付手段による要求を受け付けたことに応じて、前記パラメータ情報を、前記画像形成プログラムに出力する第2出力手段と、
前記プリンタドライバが前記オペレーティングシステムに出力する前記パラメータ情報から、対応不能パラメータ情報を除いたパラメータ情報である、除去済パラメータ情報を、生成する生成手段と、
して機能させ、
前記対応不能パラメータ情報は、前記プリンタによる、前記プリンタドライバを介さない印刷処理では対応不能なパラメータの範囲を示す情報であり、
前記第2出力手段は、
前記生成手段が生成した除去済パラメータ情報を前記画像形成プログラムに出力し、
前記画像形成プログラムは、前記コンピュータを、
前記第2出力手段による除去済パラメータ情報の出力に応じて、前記プリンタに印刷させるための印刷用画像データを、当該除去済パラメータ情報に対応して作成する第2作成手段と、
前記第2作成手段により作成された印刷用画像データを出力する第3出力手段と、
して機能させることを特徴とするプログラム群。
It is a group of programs composed of a printer driver that can be read by a computer of an information processing apparatus, a control program, and an image forming program.
The printer driver uses the computer.
A first output means for outputting parameter information indicating a range of setting parameters for printing processing to an operating system installed in the information processing apparatus, and
A first receiving means that receives image data corresponding to the parameter information from the operating system in response to the output of the parameter information by the first output means.
The first creating means for creating image data for printing based on the image data received by the first receiving means, and
A transmission means for transmitting print image data created by the first creation means to a printer, and a transmission means.
To make it work
The control program controls the computer.
A receiving means for receiving a request for the parameter information from the image forming program, and
A second output means that outputs the parameter information to the image forming program in response to the reception of the request by the reception means.
A generation means for generating removed parameter information, which is parameter information obtained by excluding incompatible parameter information from the parameter information output by the printer driver to the operating system.
To make it work
The unsupportable parameter information is information indicating a range of parameters that cannot be handled by the printing process by the printer without going through the printer driver.
The second output means is
The removed parameter information generated by the generation means is output to the image forming program, and the removed parameter information is output to the image forming program.
The image forming program uses the computer.
A second creating means for creating print image data to be printed by the printer in response to the output of the removed parameter information by the second output means, corresponding to the removed parameter information.
A third output means for outputting print image data created by the second creation means, and a third output means.
A group of programs characterized by functioning.
前記パラメータ情報は、用紙サイズから余白を除いた印刷可能領域のサイズを示す印刷用サイズ情報と、前記印刷用サイズ情報により示される印刷可能領域のサイズより大きな拡大印刷可能領域のサイズを示す拡大サイズ情報とを含み、
前記第1受付手段は、
前記第1出力手段が前記拡大サイズ情報を前記オペレーティングシステムに出力した場合に、当該拡大サイズ情報により示される拡大印刷可能領域のサイズの画像の画像データを、前記オペレーティングシステムから受け付け、
前記第1作成手段は、
部分画像を示す印刷用画像データを作成し、
前記部分画像は、前記第1受付手段により受け付けられた画像データに基づく全体画像に含まれる部分画像であって、前記印刷用サイズ情報により示される印刷可能領域のサイズの部分画像であり、
前記生成手段は、
前記パラメータ情報から、前記拡大サイズ情報を前記対応不能パラメータ情報として除いた前記印刷用サイズ情報を、前記除去済パラメータ情報として作成し、
前記第2出力手段は、
前記生成手段が生成した印刷用サイズ情報を、前記除去済パラメータ情報として、前記画像形成プログラムに出力し、
前記第2作成手段は、
前記第2出力手段による印刷用サイズ情報の出力の後に、当該印刷用サイズ情報により示される印刷可能領域のサイズの画像の印刷用画像データを作成することを特徴とする請求項に記載のプログラム群。
The parameter information includes print size information indicating the size of the printable area excluding margins from the paper size, and enlarged size indicating the size of the enlarged printable area larger than the size of the printable area indicated by the print size information. Including information
The first reception means is
When the first output means outputs the enlarged size information to the operating system, the image data of the image of the size of the enlarged printable area indicated by the enlarged size information is received from the operating system.
The first preparation means is
Create image data for printing showing a partial image,
The partial image is a partial image included in the whole image based on the image data received by the first reception means, and is a partial image of the size of the printable area indicated by the print size information.
The generation means is
The print size information obtained by removing the enlarged size information as the incompatible parameter information from the parameter information is created as the removed parameter information.
The second output means is
The print size information generated by the generation means is output to the image forming program as the removed parameter information.
The second creation means is
The program according to claim 5 , wherein after the output of the print size information by the second output means, the print image data of the image of the size of the printable area indicated by the print size information is created. group.
JP2018064088A 2018-03-29 2018-03-29 Control program and program group Active JP7052484B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018064088A JP7052484B2 (en) 2018-03-29 2018-03-29 Control program and program group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018064088A JP7052484B2 (en) 2018-03-29 2018-03-29 Control program and program group

Publications (2)

Publication Number Publication Date
JP2019175235A JP2019175235A (en) 2019-10-10
JP7052484B2 true JP7052484B2 (en) 2022-04-12

Family

ID=68168946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018064088A Active JP7052484B2 (en) 2018-03-29 2018-03-29 Control program and program group

Country Status (1)

Country Link
JP (1) JP7052484B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7467217B2 (en) * 2020-04-27 2024-04-15 キヤノン株式会社 PROGRAM AND METHOD FOR CONTROLLING INFORMATION PROCESSING APPARATUS

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269324A (en) 2007-04-20 2008-11-06 Canon Inc Printer driver
JP2010165261A (en) 2009-01-16 2010-07-29 Canon Inc Printing control device and control method thereof
JP2010214668A (en) 2009-03-13 2010-09-30 Ricoh Co Ltd Image forming apparatus, image forming method, image forming program, and recording medium recording the program
JP2012181823A (en) 2011-02-09 2012-09-20 Ricoh Co Ltd Information processor and program
JP2014203391A (en) 2013-04-09 2014-10-27 キヤノン株式会社 Information processor, information processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269324A (en) 2007-04-20 2008-11-06 Canon Inc Printer driver
JP2010165261A (en) 2009-01-16 2010-07-29 Canon Inc Printing control device and control method thereof
JP2010214668A (en) 2009-03-13 2010-09-30 Ricoh Co Ltd Image forming apparatus, image forming method, image forming program, and recording medium recording the program
JP2012181823A (en) 2011-02-09 2012-09-20 Ricoh Co Ltd Information processor and program
JP2014203391A (en) 2013-04-09 2014-10-27 キヤノン株式会社 Information processor, information processing method, and program

Also Published As

Publication number Publication date
JP2019175235A (en) 2019-10-10

Similar Documents

Publication Publication Date Title
EP2306301A2 (en) Image processing system, image processing method and image processing program
US11418658B2 (en) Image processing apparatus, image processing system, image processing method, and storage medium
JP2008171268A (en) Image document creation apparatus, image document printing method, image document printing program, and recording medium
JP6066108B2 (en) Electronic document generation system and program
US9641705B2 (en) Image forming apparatus for reading indicia on a sheet and inserting images on a subsequent printed sheet at a location corresponding to the location of the read indicia
US8947695B2 (en) Information processing device, information processing method and computer-readable record medium
CN110096240A (en) Print control unit, printing equipment, data processing method and print control unit setting method
US8854674B2 (en) Image forming apparatus equipped with real size preview function, method of displaying image, and storage medium
JP2009147656A5 (en)
JP7052484B2 (en) Control program and program group
JP7196494B2 (en) programs and communication systems
US8315458B2 (en) Image-processing device, image-forming device, image-processing method, and computer readable medium
JP7397400B2 (en) Programs and information processing equipment
JP7067176B2 (en) Printer driver
US8213043B2 (en) Printing apparatus, printing apparatus control method, printing apparatus control program, and printing system
US8908227B2 (en) Image forming apparatus, image forming system, image data processing method, program, and storage medium
JP6848410B2 (en) Driver program
JP6950372B2 (en) Print data generator and print data generator
US9444968B2 (en) Image forming apparatus that continues without halt to perform print job including sign where glyph is invalid data, and recording medium
JP2004192394A (en) Information processing equipment
US8913294B2 (en) Image processing apparatus and image processing system
JP2013083862A (en) Image processing device and image processing system
JP2020099031A (en) Information processing apparatus and information processing method
US10642552B2 (en) Information processing apparatus, and non-transitory computer-readable medium storing instruction therefor
US10445030B2 (en) Information processing apparatus configured to execute drawing process, and non-transitory computer-readable medium storing instruction therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220314

R150 Certificate of patent or registration of utility model

Ref document number: 7052484

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150