JP2024033394A - editing program - Google Patents
editing program Download PDFInfo
- Publication number
- JP2024033394A JP2024033394A JP2022136940A JP2022136940A JP2024033394A JP 2024033394 A JP2024033394 A JP 2024033394A JP 2022136940 A JP2022136940 A JP 2022136940A JP 2022136940 A JP2022136940 A JP 2022136940A JP 2024033394 A JP2024033394 A JP 2024033394A
- Authority
- JP
- Japan
- Prior art keywords
- image
- frame
- printing
- print 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.)
- Pending
Links
- 238000000034 method Methods 0.000 claims abstract description 57
- 238000004891 communication Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 239000000853 adhesive Substances 0.000 description 1
- 230000001070 adhesive effect Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000001962 electrophoresis Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Printers Characterized By Their Purpose (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
【課題】編集済みのデータの印刷枠と、プリンタに装着された媒体の印刷枠とが異なる場合に、データの再編集の手間を従来よりも低減した編集プログラムを提供すること。【解決手段】編集装置の制御部は、第一印刷枠内に配置されたオブジェクトを表す基準画像を印刷するためのデータを取得する(S12)。制御部は、プリンタに装着した媒体に関する媒体情報をプリンタから取得する(S13)。制御部は、媒体情報の第二印刷枠が第一印刷枠と異なる場合に(S15:NO)、第二印刷枠に対してオブジェクトを第一方法で編集した第一印刷イメージと、第二方法でオブジェクトを編集した第二印刷イメージとを生成して表示部に表示させる(S21からS29)。制御部は、第一印刷イメージ及び第二印刷イメージのうち入力部を介して選択された印刷イメージの選択印刷データをプリンタに送信する(S32)。【選択図】図2[Problem] To provide an editing program that reduces the effort required to re-edit data when the print frame of edited data differs from the print frame of a medium loaded in a printer. [Solution] A control unit of an editing device acquires data for printing a reference image representing an object arranged in a first print frame (S12). The control unit acquires medium information about the medium loaded in the printer from the printer (S13). When a second print frame of the medium information differs from the first print frame (S15: NO), the control unit generates a first print image in which an object is edited in a first method for the second print frame, and a second print image in which an object is edited in a second method, and displays them on a display unit (S21 to S29). The control unit transmits selected print data of a print image selected from the first print image and the second print image via an input unit to the printer (S32). [Selected Figure] FIG. 2
Description
本発明は、編集プログラムに関する。 The present invention relates to an editing program.
従来の印刷データ編集装置のコンピュータ装置は、表示部と、制御部とを備える。制御部は、表示部に表示されるエディタ表示画面に複数の印刷枠を設定し、設定された複数の印刷枠の各々の印刷データを、同一の編集画面で編集できる。 A computer device of a conventional print data editing device includes a display section and a control section. The control section can set a plurality of print frames on an editor display screen displayed on the display section, and edit print data for each of the plurality of set print frames on the same editing screen.
従来のコンピュータ装置は、印刷枠の範囲をテーププリンタに装着されている媒体に印刷できるか否かを判断し、印刷できないと判断された場合には、印刷を実行しない。このため、印刷データ編集装置のユーザは、例えば、印刷データ編集装置のテーププリンタに装着された媒体に適した印刷枠を用いずに印刷データを編集した場合に、テーププリンタに装着されている媒体に対応する印刷枠を設定し直して、印刷データの編集をやり直す必要がある。 Conventional computer devices determine whether or not the range of the print frame can be printed on a medium attached to a tape printer, and if it is determined that the range cannot be printed, printing is not performed. Therefore, for example, when a user of a print data editing device edits print data without using a print frame suitable for the medium installed in the tape printer of the print data editing device, It is necessary to reset the print frame corresponding to the print frame and edit the print data again.
本発明の目的は、編集済みのデータの印刷枠と、プリンタに装着された媒体の印刷枠とが異なる場合に、データの再編集の手間を従来よりも低減した編集プログラムを提供することである。 An object of the present invention is to provide an editing program that reduces the effort required to re-edit data when the print frame of edited data differs from the print frame of a medium loaded in a printer. .
本発明の一態様に係る編集プログラムは、表示部と、入力部と、通信部と、制御部とを有する編集装置の前記制御部に、第一印刷枠内に配置されたオブジェクトを表す基準画像を印刷するためのデータを取得する第一取得ステップと、プリンタに装着されている媒体に関する媒体情報を、前記通信部を介して前記プリンタから取得する第二取得ステップと、前記媒体情報に対応する第二印刷枠が前記第一印刷枠と異なる場合に、前記第二印刷枠に対して前記オブジェクトを第一方法で編集して配置した第一印刷イメージと、前記第一方法とは互いに異なる第二方法で前記オブジェクトを編集して配置した第二印刷イメージとを生成して前記表示部に表示させる表示制御ステップと、前記表示部に表示された前記第一印刷イメージ及び前記第二印刷イメージのうち、前記入力部を介して選択された印刷イメージを印刷するための選択印刷データを取得し、前記通信部を介して前記選択印刷データを前記プリンタに送信する送信制御ステップとを実行させる。編集プログラムが編集装置の制御部によって実行された場合、編集装置は、第二印刷枠が第一印刷枠と異なる場合に、第一印刷イメージ及び第二印刷イメージを自動的に生成して表示部に表示する。編集装置は、ユーザにより選択された印刷イメージを印刷するための選択印刷データを取得し、プリンタに送信する。第一印刷イメージ及び第二印刷イメージの中に、所望の印刷イメージがあれば、ユーザは、データを再編集する必要が無い。故に、編集プログラムは、第一印刷イメージ及び第二印刷イメージの中から一つの印刷イメージが選択不能な場合に比べ、データの再編集の手間を省くことに貢献する。 An editing program according to one aspect of the present invention provides a reference image representing an object arranged within a first print frame in the control section of an editing device having a display section, an input section, a communication section, and a control section. a first acquisition step of acquiring data for printing, a second acquisition step of acquiring medium information regarding a medium installed in the printer from the printer via the communication unit, and a second acquisition step corresponding to the medium information. When the second print frame is different from the first print frame, a first print image in which the object is edited and arranged in the first method with respect to the second print frame, and a second print image that is different from the first method. a display control step of generating and displaying a second print image in which the object is edited and arranged using two methods, and displaying the generated second print image on the display section; Among them, a transmission control step of acquiring selected print data for printing the selected print image via the input unit and transmitting the selected print data to the printer via the communication unit. When the editing program is executed by the control unit of the editing device, the editing device automatically generates the first print image and the second print image and displays them on the display unit when the second print frame is different from the first print frame. to be displayed. The editing device acquires selected print data for printing the print image selected by the user and sends it to the printer. If the desired print image is included in the first print image and the second print image, the user does not need to edit the data again. Therefore, the editing program contributes to saving the effort of re-editing the data compared to the case where one print image cannot be selected from the first print image and the second print image.
本発明の実施形態について、図面を参照して説明する。図1を参照し、印刷システム1の概要について説明する。印刷システム1は、プリンタ4及び編集装置2を備える。プリンタ4は、印刷媒体であるテープに対して印刷を行うテーププリンタである。テープは長尺状であり、粘着剤によって感熱紙が剥離紙に貼付されている。プリンタ4には、テープが巻回されたロールが装着される。本実施形態のプリンタ4は、感熱紙の搬送方向E1の長さと感熱紙の幅方向E2の長さとの組み合わせが互いに異なる複数種類のロールから選択された1つのロールを装着できる。プリンタ4は、装着されたロールの種類をセンサ51により機械的に検出できる。プリンタ4は、装着されたロールからテープを繰り出し、印刷ヘッド48により複数のドットをテープに形成させて印刷を実行する。プリンタ4は、印刷されたテープを切断部50のカッタを駆動して切断する。これによって、プリンタ4は、1又は複数の文字、数字、符号、記号、及び図形等のキャラクタ、並びに識別コード等(以下、「オブジェクト」という。)が印刷されたラベルを作成できる。識別コードは、例えば、一次元コード及び二次元コード等でもよい。一次元コードは、例えば、バーコードであってよい。二次元コードは、QRコード(登録商標)、VeriCode(ベリコード)、CPコード、AztecCode(アズテックコード)、及びPDF417等でもよい。
Embodiments of the present invention will be described with reference to the drawings. An overview of the
編集装置2は、汎用のパーソナルコンピュータである。プリンタ4及び編集装置2は、ネットワーク5を介して接続され、互いに通信を行うことができる。編集装置2は、テープに印刷するオブジェクトのレイアウトを編集する。編集装置2は、プリンタ4に印刷を実行させるための印刷データを生成し、ネットワーク5を介してプリンタ4に送信する。プリンタ4は、編集装置2から送信される印刷データに基づいて印刷を実行することによって、ラベルを作成する。
プリンタ4の電気的構成について説明する。プリンタ4は、CPU6、RAM42、ROM43、記憶部44、通信部45、入力部46、表示部47、印刷ヘッド48、搬送部49、切断部50、及びセンサ51を備える。CPU6は、プリンタ4の制御を行う。CPU6は、RAM42、ROM43、記憶部44、通信部45、入力部46、表示部47、印刷ヘッド48、搬送部49、切断部50、及びセンサ51と電気的に接続する。RAM42は、種々の一時データを記憶する。ROM43には、CPU6がプリンタ4を制御するために実行するプログラム、及び、編集装置2から受信した印刷データが記憶される。記憶部44には、オブジェクトを印刷するための印刷用ドットパターンデータが、書体やサイズ毎に分類されて記憶される。通信部45は、編集装置2と通信を実行するためのコントローラである。入力部46は、複数のボタンを含む。表示部47は、液晶ディスプレイ(LCD)である。印刷ヘッド48は、CPU6からの信号に応じて発熱し、テープに印刷を行うサーマルヘッドである。搬送部49は、テープを送るテープ送りローラである。切断部50は、移動可能なカッタホルダに設けられたカッタを備え、オブジェクトが印刷されたテープをカッタによって切断する。
The electrical configuration of the
編集装置2の電気的構成について説明する。編集装置2は、CPU3、RAM22、ROM23、記憶部24、入力部25、表示部26、ドライブ装置27、及び通信部28を備える。CPU3は、編集装置2の制御を行う。CPU3は、RAM22、ROM23、記憶部24、入力部25、表示部26、ドライブ装置27、及び通信部28と電気的に接続する。RAM22は、種々の一時データを記憶する。ROM23は、BIOS等を記憶する。記憶部24には、CPU3が編集装置2を制御するために実行するプログラム、初期設定値、各種閾値、及びOSが記憶される。入力部25は、キーボード、及びマウスやタッチパッドなどのポインティングデバイスを含む。表示部26は、LCDである。ドライブ装置27は、半導体メモリや光ディスク等のコンピュータが読み取り可能な記憶媒体に記憶された情報を読み出すことができる。CPU3は、記憶媒体に記憶されたプログラムをドライブ装置27によって読み出し、記憶部24に記憶できる。通信部28は、プリンタ4と通信を実行するためのコントローラである。
The electrical configuration of the
図2から図7を参照して、印刷システム1のCPU3が実行するメイン処理を説明する。以下、ステップをSと略記する。本実施形態では、一例として、図3に示すような搬送方向E1の長さが85mmで幅方向E2の長さが50mmの第一印刷枠R1が設定され、その第一印刷枠R1内にオブジェクトB1、C1、D1が配置された基準画像F1を、大きさが互いに異なる感熱紙に印刷する具体例1から4を用いる。具体例1から4の感熱紙及び感熱紙の内側に設定される印刷枠は各々、搬送方向E1に延びる二辺と、幅方向E2に延びる二辺とを有する矩形状である。具体例1は、感熱紙の内側に設定される印刷枠の搬送方向E1の長さが85mmの場合であり、印刷枠の幅方向E2が50mmの場合である。具体例2は、印刷枠の搬送方向E1の長さが60mmの場合であり、印刷枠の幅方向E2が40mmの場合である。具体例3は、印刷枠の搬送方向E1の長さが152mmの場合であり、印刷枠の幅方向E2が102mmの場合である。具体例4は、印刷枠の搬送方向E1の長さが80mmの場合であり、印刷枠の幅方向E2が115mmの場合である。編集装置2のCPU3は、電源がONにされた後、ユーザから編集を開始する開始指示を取得した場合に、記憶部24に記憶されたプログラムをRAM22に読み出す。CPU3は、RAM22に読み出されたプログラムに含まれる指示に従って、以下のステップを有するメイン処理を実行する。メイン処理の過程で得られた各種データは、適宜RAM22に記憶される。具体例1から4のメイン処理は各々互いに異なるタイミングで実行されるが、説明を簡単にするため、両者を並列に説明する。図3から図7において、図の上下方向及び左右方向は各々、搬送方向E1及び幅方向E2に対応する。図3から図7では、一次元バーコードを含むオブジェクトD1からD4の左下に表示される数字を網掛けの矩形で示す。
The main processing executed by the
図2に示すように、メイン処理でCPU3は、レイアウトの編集を新規に行うかを判断する(S1)。ユーザは、入力部25を介して、レイアウトの編集を新規に行うか、又は既存のデータを再編集するかを選択する指示を入力する。既存のデータは、編集可能なデータであり、印刷枠に対するオブジェクトの配置位置及びサイズなどの情報をもとに生成されたデータである。既存のデータは、例えば、プリンタ4の印刷ヘッド48の各座標のドットオンオフを指示する印刷データであってもよいし、印刷データに変換される前のデータであってもよい。レイアウトの編集を新規に行う指示が検出された場合(S1:YES)、CPU3は、ユーザによって指定された第一印刷枠を設定し、設定された第一印刷枠を含む編集画面を表示部26に表示する(S2)。第一印刷枠はユーザの指示に従って設定されてもよいし、前回の値が読み込まれてもよいし、規定値が設定されてもよい。
As shown in FIG. 2, in the main process, the
既存のデータを再編集する指示が検出された場合(S1:NO)、CPU3は、指定されたデータを読み込んで(S3)、データによって指定された第一印刷枠R1を設定し、設定された第一印刷枠R1を含む編集画面G1を表示部26に表示する(S4)。図3に示すように編集画面G1は、基準画像F1、キーK1からK4を含む。基準画像F1は、第一印刷枠R1の形状に対応した矩形状である。基準画像F1は、第一印刷枠R1内に配置されたオブジェクトB1、C1、D1を含む。オブジェクトB1は、アルファベット文字「ABCDEFG」を表す。オブジェクトC1は、二次元コードの一種であるQRコード(登録商標)である。オブジェクトD1は、一次元バーコードである。オブジェクトD1はバーコードシンボルの左右に設定された余白部分(クワイエットゾーン)を含む。キーK1は、オブジェクトの追加を指示する。キーK2は、オブジェクトの編集を指示する。キーK3は、基準画像F1を印刷するための印刷データを生成し、プリンタ4に転送することを指示する。キーK4は、基準画像F1を表すデータを保存することを指示する。
If an instruction to re-edit existing data is detected (S1: NO), the
CPU3は、オブジェクトの追加を指示されたかを判断する(S5)。キーK1の選択が検出された場合(S5:YES)、CPU3は、指定されたオブジェクトを指定された位置に追加し、編集画面G1を更新する(S6)。キーK1の選択が検出されない場合(S5:NO)、CPU3は、オブジェクトの編集を指示されたかを判断する(S7)。オブジェクトの編集は、オブジェクトの移動、拡大、縮小、回転、変形、及び削除等から選択できる。オブジェクトが、文字及び数字等のキャラクタである場合、オブジェクトの編集として、フォント、太文字、斜体、下線、及び網掛け等の変更を選択できる。キーK2の選択が検出された場合(S7:YES)、CPU3は、ユーザの指示に従って、オブジェクトを編集し、編集結果に基づき編集画面G1を更新する(S8)。S1で新規作成が選択された場合には、ユーザはS5でオブジェクトB1、C1、D1を順次追加し(S5:YES、S6)、適宜配置を調整する(S7:YES、S8)ことで、編集画面G1に示す基準画像F1を得る。
The
キーK2の選択が検出されない場合(S7:NO)、CPU3は、データの保存を指示されたかを判断する(S9)。キーK4の選択が検出された場合(S9:YES)、編集中の基準画像F1を表すデータを記憶部24に記憶する(S10)。S10の処理で記憶されたデータは、S1で選択された場合に、読み込み可能である。S6、S8、又はS10の処理の次に、CPU3は、S11の処理を行う。キーK4の選択が検出されていない場合(S9:NO)、CPU3は、データの転送を指示されたかを判断する(S11)。キーK3の選択が検出されていない場合(S11:NO)、CPU3は処理をS5に戻す。
If selection of the key K2 is not detected (S7: NO), the
キーK3の選択が検出された場合(S11:YES)、CPU3は、第一印刷枠R1内に配置されたオブジェクトを表す基準画像F1を印刷するためのデータを取得する。CPU3は、印刷データを転送するプリンタ4に、プリンタ4に装着されている媒体に関する媒体情報を通知することを求める通知指示をネットワーク5を介して送信する(S12)。プリンタ4は、通知指示を受信した場合、センサ51の出力に基づき特定されたテープの種類を表す媒体情報、編集装置2に送信する。CPU3は、通知指示に応じて、プリンタ4が送信した媒体情報を取得するまで待機する(S13:NO)。CPU3は、プリンタ4に装着されている媒体に関する媒体情報を、通信部28を介してプリンタ4から取得した場合、S13で取得された媒体情報に応じた感熱紙の印刷枠である第二印刷枠と、S2、S4、又は後述のS35で設定された第一印刷枠R1とを比較する(S14)。
If selection of the key K3 is detected (S11: YES), the
具体例1では、第二印刷枠と、第一印刷枠R1とが一致すると判断され(S15:YES)、CPU3は、第一印刷枠R1内にオブジェクトB1、C1、D1が配置された、基準画像F1の基準印刷イメージF2を生成し(S16)、基準印刷イメージF2を含むプレビュー画面G2を表示部26に表示する(S17)。図3に示すように、プレビュー画面G2は、基準印刷イメージF2と、キーK5とを含む。基準印刷イメージF2は、第一印刷枠R1の内側に配置されたオブジェクトB1、C1、D1の印刷イメージを表す。キーK5は、印刷データの転送を実行する場合に選択される。ユーザは、プレビュー画面G2を確認した後、キーK5を選択する。CPU3は、キーK5の選択が検出されるまで待機する(S18:NO)。キーK5の選択が検出された場合(S18:YES)、CPU3は、基準画像F1を印刷するための印刷データを生成し、生成された印刷データをプリンタ4に転送し(S19)、以上でメイン処理を終了する。CPU3は、印刷データを記憶部24に記憶した後、メイン処理を終了してもよい。編集装置2から送信されたプリンタ4は、印刷データを受信し、印刷データに従って、印刷を行う。
In specific example 1, it is determined that the second printing frame and the first printing frame R1 match (S15: YES), and the
具体例2から4では、第二印刷枠と、第一印刷枠R1とが一致しないと判断され(S15:NO)、CPU3は、第二印刷枠に対してオブジェクトを第一方法で編集して配置した第一印刷イメージと、第一方法とは互いに異なる第二方法でオブジェクトを編集して配置した第二印刷イメージとを生成して表示部26に表示させる処理を行う(S21からS29)。具体的にはCPU3は、第二印刷枠の長手方向と、第一印刷枠R1の長手方向とが一致するかを判断する(S21)。具体例2、3では、第二印刷枠の長手方向は搬送方向E1であり、第一印刷枠R1の長手方向と一致すると判断され(S21:YES)、CPU3は、第二印刷枠に対してオブジェクトを第一方法で編集して配置した第一印刷イメージとして、オブジェクトB1、C1、D1の大きさを変更せずに、第二印刷枠に対して基準画像F1を配置したサイズ同一画像の第一印刷イメージを生成する(S22)。
In specific examples 2 to 4, it is determined that the second printing frame and the first printing frame R1 do not match (S15: NO), and the
具体例2の第二印刷枠R2は、第一印刷枠R1よりも小さい。故に、基準画像F1は、第二印刷枠R2に収まらない。CPU3は、第二印刷枠R2に対し、基準画像F1を第一所定位置に配置して、図5の第一印刷イメージF6を生成する。第一所定位置は、適宜設定されればよく、本実施形態では、基準画像F1の第一印刷枠R1の第一基準V1が、第二印刷枠R2の第二基準V2と一致する位置である。第一基準V1と第二基準V2とはユーザが設定可能であってもよいし、予め設定されたものでもよい。図5において、第一基準V1は、第一印刷枠R1の左下角部に設定され、第二基準V2は、第二印刷枠R2の左下角部に設定される。具体例3の第二印刷枠R3は、第一印刷枠R1よりも大きい。故に、基準画像F1は、第二印刷枠R3に収まる。CPU3は、第二印刷枠R3に対し、基準画像F1を第二所定位置に配置して、図6の第一印刷イメージF7を生成する。第二所定位置は、適宜設定されればよく、本実施形態では、基準画像F1の第一印刷枠R1の第一基準V1が、第二印刷枠R3の第二基準V3と一致する位置である。図6において、第二基準V3は、第二印刷枠R3の左下角部に設定される。
The second printing frame R2 of specific example 2 is smaller than the first printing frame R1. Therefore, the reference image F1 does not fit within the second printing frame R2. The
CPU3は、S22で生成された第一方法とは互いに異なる第二方法で第二印刷枠に対し、基準画像F1に含まれるオブジェクトB1、C1、D1を編集して配置する(S23)。本実施形態のCPU3は、第二方法として、第一印刷枠R1を第二印刷枠に合わせて拡大又は縮小する場合の第一印刷枠R1の倍率に応じて拡大又は縮小されたオブジェクトを第二印刷枠内に配置する方法を用いる。より具体的には、CPU3は、基準画像F1のうちの第一基準V1からのオブジェクトまでの変更前距離に倍率を乗じた変更後距離だけ、第一基準V1に対応する第二基準から離れた変更後位置に、倍率に応じた大きさのオブジェクトを配置する。CPU3は、更に、オブジェクトが識別コードを含む場合に、倍率内で最大サイズになるように生成された識別コードを変更後位置に配置する。
The
第一方法と同様に、本実施形態の第一基準V1は第一印刷枠R1の左下の角部に設定される。搬送方向E1の倍率は、式(1)に従って算出され、幅方向E2の倍率は、式(2)に従って算出される。搬送方向E1の変更後距離は、式(3)に従って算出され、幅方向E2の変更後距離は、式(4)に従って算出される。
搬送方向E1の倍率=(第二印刷枠の幅方向E2の長さ)/(第一印刷枠R1の幅方向E2の長さ)
・・・式(1)
幅方向E2の倍率=(第二印刷枠の搬送方向E1の長さ)/(第一印刷枠R1の搬送方向E1の長さ) ・・・式(2)
搬送方向E1の変更後距離=(搬送方向E1の変更前距離)×(搬送方向E1の倍率) ・・・式(3)
幅方向E2の変更後距離=(搬送方向E1の変更前距離)×(搬送方向E1の倍率) ・・・式(4)
Similar to the first method, the first reference V1 of this embodiment is set at the lower left corner of the first printing frame R1. The magnification in the transport direction E1 is calculated according to formula (1), and the magnification in the width direction E2 is calculated according to formula (2). The distance after change in the transport direction E1 is calculated according to equation (3), and the distance after change in the width direction E2 is calculated according to equation (4).
Magnification in the transport direction E1 = (length of the second printing frame in the width direction E2) / (length of the first printing frame R1 in the width direction E2)
...Formula (1)
Magnification in the width direction E2 = (length of the second printing frame in the conveying direction E1) / (length of the first printing frame R1 in the conveying direction E1) ...Formula (2)
Distance after change in conveyance direction E1 = (distance before change in conveyance direction E1) x (magnification of conveyance direction E1) ...Formula (3)
Distance after change in width direction E2 = (distance before change in conveyance direction E1) x (magnification in conveyance direction E1) ...Formula (4)
図4に示すように、具体例2の第二印刷枠R2の第二基準V2は、第一方法と共通であり、第二印刷枠R2の左下角部に設定される。具体例2の搬送方向E1の倍率は、0.71であり、幅方向E2の倍率は、0.80である。オブジェクトB1について、搬送方向E1の変更後距離LB3は、搬送方向E1の変更前距離LB1に倍率0.71を乗じた値であり、幅方向E2の変更後距離LB4は、幅方向E2の変更前距離LB2に倍率0.80を乗じた値とし、オブジェクトB1に対応するオブジェクトB2の大きさはオブジェクトB1を幅方向E2の倍率0.80倍した大きさとする。オブジェクトC1について、搬送方向E1の変更後距離LC3は、搬送方向E1の変更前距離LC1に倍率0.71を乗じた値であり、幅方向E2の変更後距離LC4は、幅方向E2の変更前距離LC2に倍率0.80を乗じた値であり、オブジェクトC1に対応するオブジェクトC2を幅方向E2の倍率内で最大サイズになるように生成された識別コードとする。オブジェクトD1について、搬送方向E1の変更後距離LD3は、搬送方向E1の変更前距離LD1に倍率0.71を乗じた値であり、幅方向E2の変更後距離LD4は、幅方向E2の変更前距離LD2に倍率0.80を乗じた値であり、オブジェクトD1に対応するオブジェクトD2を幅方向E2の倍率内で最大サイズになるように生成された識別コードとする。 As shown in FIG. 4, the second reference V2 of the second printing frame R2 of the second specific example is the same as the first method, and is set at the lower left corner of the second printing frame R2. In specific example 2, the magnification in the transport direction E1 is 0.71, and the magnification in the width direction E2 is 0.80. Regarding object B1, the distance LB3 after change in the transport direction E1 is the value obtained by multiplying the distance LB1 before change in the transport direction E1 by a magnification of 0.71, and the distance LB4 after change in the width direction E2 is the distance LB4 before change in the width direction E2. The distance LB2 is multiplied by a magnification of 0.80, and the size of the object B2 corresponding to the object B1 is the size of the object B1 multiplied by a magnification of 0.80 in the width direction E2. Regarding the object C1, the distance LC3 after change in the conveyance direction E1 is the value obtained by multiplying the distance LC1 before change in the conveyance direction E1 by a magnification of 0.71, and the distance LC4 after change in the width direction E2 is the distance before change in the width direction E2. It is the value obtained by multiplying the distance LC2 by a magnification of 0.80, and is an identification code generated so that the object C2 corresponding to the object C1 has the maximum size within the magnification in the width direction E2. Regarding the object D1, the distance LD3 after change in the transport direction E1 is the value obtained by multiplying the distance LD1 before change in the transport direction E1 by a magnification of 0.71, and the distance LD4 after change in the width direction E2 is the distance before change in the width direction E2. It is a value obtained by multiplying the distance LD2 by a magnification of 0.80, and is an identification code generated so that the object D2 corresponding to the object D1 has the maximum size within the magnification in the width direction E2.
同様に、具体例3の第二印刷枠R3の第二基準V3は、第一方法と共通であり、第二印刷枠R3の左下角部に設定される。具体例2の搬送方向E1の倍率は、1.79であり、幅方向E2の倍率は、2.04である。オブジェクトB1について、搬送方向E1の変更後距離LB5は、搬送方向E1の変更前距離LB1に倍率1.79を乗じた値であり、幅方向E2の変更後距離LB6は、幅方向E2の変更前距離LB2に倍率2.04を乗じた値とし、オブジェクトB1に対応するオブジェクトB3の大きさはオブジェクトB1を幅方向E2の倍率2.04倍した大きさとする。オブジェクトC1について、搬送方向E1の変更後距離LC5は、搬送方向E1の変更前距離LC1に倍率1.79を乗じた値であり、幅方向E2の変更後距離LC6は、幅方向E2の変更前距離LC2に倍率2.04を乗じた値であり、オブジェクトC1に対応するオブジェクトC3を幅方向E2の倍率内で最大サイズになるように生成された識別コードとする。オブジェクトD1について、搬送方向E1の変更後距離LD5は、搬送方向E1の変更前距離LD1に倍率1.79を乗じた値であり、幅方向E2の変更後距離LD6は、幅方向E2の変更前距離LD2に倍率2.04を乗じた値であり、オブジェクトD1に対応するオブジェクトD3を幅方向E2の倍率内で最大サイズになるように生成された識別コードとする。 Similarly, the second reference V3 of the second printing frame R3 of the third specific example is the same as the first method, and is set at the lower left corner of the second printing frame R3. In specific example 2, the magnification in the transport direction E1 is 1.79, and the magnification in the width direction E2 is 2.04. Regarding object B1, the distance LB5 after change in the transport direction E1 is the value obtained by multiplying the distance LB1 before change in the transport direction E1 by a magnification of 1.79, and the distance LB6 after change in the width direction E2 is the distance LB5 before change in the width direction E2. The distance LB2 is multiplied by a magnification of 2.04, and the size of the object B3 corresponding to the object B1 is the size of the object B1 multiplied by the magnification of 2.04 in the width direction E2. Regarding the object C1, the distance LC5 after change in the conveyance direction E1 is the value obtained by multiplying the distance LC1 before change in the conveyance direction E1 by a magnification of 1.79, and the distance LC6 after change in the width direction E2 is the value before change in the width direction E2. It is a value obtained by multiplying the distance LC2 by a magnification of 2.04, and is an identification code generated so that the object C3 corresponding to the object C1 has the maximum size within the magnification in the width direction E2. Regarding the object D1, the distance LD5 after change in the transport direction E1 is the value obtained by multiplying the distance LD1 before change in the transport direction E1 by a magnification of 1.79, and the distance LD6 after change in the width direction E2 is the distance before change in the width direction E2. It is a value obtained by multiplying the distance LD2 by a magnification of 2.04, and is an identification code generated so that the object D3 corresponding to the object D1 has the maximum size within the magnification in the width direction E2.
CPU3は、S23で第二印刷枠内に配置されたオブジェクトを印刷するための第二印刷イメージを生成する(S24)。具体例2では、CPU3は、第二印刷イメージF3が生成され、具体例3では、CPU3は、第二印刷イメージF4が生成される。第二印刷イメージF3、F4は、式(3)、式(4)で算出された倍率に応じて拡大又は縮小されたオブジェクトが第二印刷枠内に配置された倍率変更画像である。
The
CPU3は、S22で生成された第一印刷イメージと、S24で生成された第二印刷イメージとを含むプレビュー画面を表示部26に表示する(S25)。具体例2のプレビュー画面G3は、第一印刷イメージF6、第二印刷イメージF3、ラジオボタンJ1、J2、及びキーK6、K7を含む。ラジオボタンJ1、J2は、印刷イメージを選択するのに使用される。ラジオボタンJ1は、第一印刷イメージF6が選択される場合に、選択される。ラジオボタンJ2は、第二印刷イメージF3が選択される場合に、選択される。キーK6は、ラジオボタンJ1又はラジオボタンJ2で選択された印刷イメージを印刷するための印刷データをプリンタ4に転送することを指示する場合に選択される。キーK7は、ラジオボタンJ1又はラジオボタンJ2で選択された印刷イメージを再編集することを指示する場合に選択される。同様に具体例3のプレビュー画面G4は、第一印刷イメージF7、第二印刷イメージF4、ラジオボタンJ1、J2、及びキーK6、K7を含む。ラジオボタンJ1は、第一印刷イメージF7が選択される場合に、選択される。ラジオボタンJ2は、第二印刷イメージF4が選択される場合に、選択される。
The
CPU3は、印刷データを転送する指示が検出されたかを判断する(S31)。キーK6の選択が検出された場合(S31:YES)、CPU3は、ラジオボタンJ1又はラジオボタンJ2で選択された印刷イメージを印刷するための選択印刷データを生成して取得し、ネットワーク5を介して、取得された選択印刷データをプリンタ4に転送する(S32)。CPU3は以上でメイン処理を終了する。キーK6の選択が検出されない場合(S31:NO)、CPU3は、選択中の印刷イメージを再編集する指示が検出されたかを判断する(S33)。キーK7の選択が検出された場合(S33:YES)、CPU3は、ラジオボタンJ1又はラジオボタンJ2で選択された印刷イメージを読み込み(S34)、読み込まれた印刷イメージの印刷枠を第一印刷枠として設定する(S35)。CPU3は、処理をS5に戻す。キーK7の選択が検出されない場合(S33:NO)、CPU3は、処理をS31に戻す。
The
具体例4では、第二印刷枠R4の長手方向は幅方向E2であり、第一印刷枠R1の長手方向と一致しないと判断され(S21:NO)、CPU3は、S22と同様に第一方法で、オブジェクトB1、C1、D1の大きさを変更せずに、第二印刷枠内に基準画像F1を配置したサイズ同一画像を印刷するための第一印刷イメージF8を生成する(S26)。CPU3は、第二印刷枠R4に対し、基準画像F1を第一所定位置に配置して、図7の第一印刷イメージF8を生成する。具体例4の第二基準V4は、第二印刷枠R4の左下角部である。CPU3は、S26で生成された第一方法とは互いに異なる第二方法で第二印刷枠R4内に、基準画像F1に対応する基準画像F12を、第二印刷枠R4の長手方向及び短手方向のうちの一方の、一端側、他端側、及び中央の順に複数配置する(S27)。具体例4では、CPU3は、二個の基準画像F12を、幅方向E2の一端側と、他端側との各々に第二印刷枠R4内に配置する。基準画像F12は、基準画像F1と同一の画像であってもよいし、式(1)に従って算出された搬送方向E1の倍率に応じて、基準画像F1を拡大又は縮小した画像でもよい。各基準画像F12は、オブジェクトB1に対応するオブジェクトB4、オブジェクトC1に対応するオブジェクトC4、及びオブジェクトD1に対応するオブジェクトD4を含む。CPU3は、S27で配置結果を表す第二印刷イメージF5を生成する(S28)。
In specific example 4, it is determined that the longitudinal direction of the second printing frame R4 is the width direction E2, which does not match the longitudinal direction of the first printing frame R1 (S21: NO), and the
CPU3は、S26で生成された第一印刷イメージF8と、S28で生成された第二印刷イメージF5とを含むプレビュー画面G5を表示部26に表示する(S29)。具体例2のプレビュー画面G5は、第一印刷イメージF8、第二印刷イメージF5、ラジオボタンJ1、J2、及びキーK6、K7を含む。ラジオボタンJ1は、第一印刷イメージF8が選択される場合に、選択される。ラジオボタンJ2は、第二印刷イメージF5が選択される場合に、選択される。以降の処理は、具体例2、3の場合と同じである。
The
上記実施形態において、S26からS29の処理は、適宜変更されてよい。具体例5として、図8に示す感熱紙の印刷枠R5の搬送方向E1の長さが102mmの場合であり、印刷枠R5の幅方向E2が152mmの場合について説明する。具体例5の感熱紙の印刷枠R5は、具体例3の印刷枠R3の搬送方向E1の長さと幅方向E2の長さとが入れ替えられた長さを有する。CPU3は、S26で、基準画像F1を時計回りに90度回転して、具体例5の第二印刷枠R5内に基準画像F1を配置して、第一印刷イメージF9を生成する(S26)。CPU3は、第二印刷枠R5に対し、時計回りに90度回転された基準画像F1を第三所定位置に配置して、図8の第一印刷イメージF9を生成する。本実施形態の第三所定位置は一例として、時計回りに90度回転された基準画像F1の第一印刷枠R1の第一基準V1が、第二印刷枠R4の第二基準V5と一致する位置である。第二基準V5は、第二印刷枠R5の左上角部である。
In the above embodiment, the processes from S26 to S29 may be changed as appropriate. As a specific example 5, a case will be described in which the length of the print frame R5 of thermal paper shown in FIG. 8 in the conveyance direction E1 is 102 mm, and the width direction E2 of the print frame R5 is 152 mm. The thermal paper printing frame R5 of the fifth specific example has a length in which the length of the printing frame R3 of the third specific example in the transport direction E1 and the length in the width direction E2 are swapped. In S26, the
具体例5の感熱紙の印刷枠R5は、具体例3の感熱紙の印刷枠R3の搬送方向E1の長さと幅方向E2の長さとが入れ替えられた長さを有するので、CPU3は、第二方法として、具体例3と同様に第二印刷イメージF4を生成後、90度回転した画像を設定する(S27)。CPU3は、S27で配置が設定された第二印刷イメージF10を生成する(S28)。CPU3は、S26で生成された第一印刷イメージF9と、S28で生成された第二印刷イメージF10とを含むプレビュー画面G6を表示部26に表示する(S25)。具体例2のプレビュー画面G6は、第一印刷イメージF9、第二印刷イメージF10、ラジオボタンJ3、J4、及びキーK6、K7を含む。ラジオボタンJ3は、第一印刷イメージF9が選択される場合に、選択される。ラジオボタンJ4は、第二印刷イメージF10が選択される場合に、選択される。変形例において、第一印刷イメージF9及び第二印刷イメージF10は何れも、第一印刷枠R1を第二印刷枠R5に合わせて回転する場合の第一印刷枠R1の回転角度に応じて回転されたオブジェクトが第二印刷枠R5に対して配置された回転画像である。
The thermal paper printing frame R5 of specific example 5 has a length in which the length in the transport direction E1 and the length in the width direction E2 of the thermal paper printing frame R3 in specific example 3 are swapped. As a method, after generating the second print image F4 as in Example 3, an image rotated by 90 degrees is set (S27). The
上記実施形態において、S26からS29の処理は、図9に示すように第二印刷枠R6内に、基準画像F1に対応する画像13が三つ含まれてもよい。具体例6として、感熱紙の印刷枠の搬送方向E1の長さが60mmの場合であり、印刷枠の幅方向E2が130mmの場合について説明する。この場合、CPU3は、基準画像F1に対応する基準画像F13を具体例6の第二印刷枠R6の長手方向及び短手方向のうちの一方の、一端側、他端側、及び中央の順に複数配置すればいい。図9の例では、CPU3は、第二印刷枠R6の長手方向である幅方向E2の、一端側、他端側、及び中央の順に三つ画像13を配置し、第二印刷イメージF11を生成する(S28)。基準画像F13は、オブジェクトB1に対応するオブジェクトB5、オブジェクトC5に対応するC5、オブジェクトD1に対応するオブジェクトD5を含む。基準画像F13は、第一印刷枠R1に対応する第一印刷枠R7の少なくとも一部を示す図形Z1からZ4を含む。図形Z1からZ4は各々第一印刷枠R7の左上角部、右上角部、右下角部、及び左下角部を表す図形である。
In the above embodiment, in the processing from S26 to S29, three images 13 corresponding to the reference image F1 may be included in the second print frame R6, as shown in FIG. As a specific example 6, a case will be described in which the length of the printing frame of thermal paper in the conveying direction E1 is 60 mm, and the width direction E2 of the printing frame is 130 mm. In this case, the
上記実施形態において、編集装置2、CPU3、プリンタ4、入力部25、表示部26、及び通信部28は各々、本発明の編集装置、制御部、プリンタ、入力部、表示部、及び通信部の一例である。S12の処理は、本発明の第一取得ステップの一例である。S13の処理は、本発明の第二取得ステップの一例である。S16、S17、S21からS29の処理は、本発明の表示制御ステップの一例である。S19、S32の処理は、本発明の送信制御ステップの一例である。
In the above embodiment, the
上記実施形態の編集装置2は、表示部26と、入力部25と、通信部28と、CPU3とを有する。CPU3は、第一印刷枠R1内に配置されたオブジェクトを表す基準画像F1を印刷するためのデータを取得する(S12)。CPU3は、プリンタ4に装着されている媒体に関する媒体情報を、通信部28を介してプリンタ4から取得する(S13)。CPU3は、媒体情報に対応する第二印刷枠が第一印刷枠R1と異なる場合に(S15:NO)、第二印刷枠に対してオブジェクトを第一方法で編集して配置した第一印刷イメージと、第一方法とは互いに異なる第二方法でオブジェクトを編集して配置した第二印刷イメージとを生成して表示部26に表示させる(S21からS29)。CPU3は、表示部26に表示された第一印刷イメージ及び第二印刷イメージのうち、入力部25を介して選択された印刷イメージを印刷するための選択印刷データを取得し、通信部28を介して選択印刷データをプリンタ4に送信する(S32)。このように、編集装置2は、第二印刷枠が第一印刷枠R1と異なる場合に(S15:NO)、第一印刷イメージと、第二印刷イメージとを自動的に生成して表示部26に表示する。編集装置2は、ユーザにより選択された印刷イメージを印刷するための選択印刷データを取得し、プリンタ4に送信する(S32)。第一印刷イメージ、第二印刷イメージの中に、所望の印刷イメージがあれば、ユーザは、データを再編集する必要が無い。故に、編集装置2は、第一印刷イメージと、第二印刷イメージとの中から一つの印刷イメージが選択不能な場合に比べ、データの再編集の手間を省くことに貢献する。
The
図8の変形例において、第一印刷イメージF9及び第二印刷イメージF10は、第一印刷枠R1の長手方向と、第二印刷枠の長手方向とが互いに異なる場合に、第一印刷枠R1を第二印刷枠R5に合わせて回転する場合の第一印刷枠R1の回転角度に応じて回転されたオブジェクトが第二印刷枠に対して配置された回転画像の印刷イメージである。編集装置2は、第一印刷枠R1の長手方向と、第二印刷枠の長手方向とが互いに異なる場合に(S21:NO)、第一印刷イメージF9及び第二印刷イメージF10を自動で生成できる。編集装置2は、第一印刷イメージF9及び第二印刷イメージF10を生成不能な場合に比べ、基準画像F1に近い印刷イメージを生成する可能性を高めることに貢献する。
In the modification of FIG. 8, the first printing image F9 and the second printing image F10 are different from each other when the longitudinal direction of the first printing frame R1 and the longitudinal direction of the second printing frame are different from each other. This is a print image of a rotated image in which an object rotated according to the rotation angle of the first printing frame R1 when rotated in accordance with the second printing frame R5 is arranged with respect to the second printing frame. The
図3に示す上記実施形態の具体例1において、CPU3は、第二印刷枠が第一印刷枠R1と同じである場合に(S15:YES)、基準画像F1の基準印刷イメージF2を含むプレビュー画面G2を表示部26に表示させる(S17)。編集装置2のユーザは、表示部26に表示された印刷イメージに基づき、事前に印刷結果を把握できる。
In specific example 1 of the embodiment shown in FIG. 3, when the second print frame is the same as the first print frame R1 (S15: YES), the
CPU3は、S11で入力部25を介して指示が検出されたことに応じて(S11:YES)、S21からS29の処理を実行する。編集装置2は、指示が検出されたことに応じて、ユーザが指定するタイミングで、第一印刷イメージと、第二印刷イメージとを表示部26に表示させる処理を実行させることができる。
In response to the instruction being detected via the
上記実施形態の具体例2において、図5の第二印刷イメージF3は、第一印刷枠R1を第二印刷枠R2に合わせて縮小する場合の第一印刷枠R1の倍率に応じて縮小されたオブジェクトが第二印刷枠R2内に配置された倍率変更画像の印刷イメージである(S23、S24)。同様に具体例3において、図6の第二印刷イメージF4は、第一印刷枠R1を第二印刷枠R3に合わせて拡大する場合の第一印刷枠R1の倍率に応じて拡大されたオブジェクトが第二印刷枠R3内に配置された倍率変更画像の印刷イメージである(S23、S24)。このように編集装置2は、倍率変更画像の印刷イメージを表示部26に表示する。編集装置2は、ユーザが第二印刷枠に合わせてオブジェクトを拡大又は縮小して、データを編集し直す手間を省くことに貢献する。
In the second specific example of the above embodiment, the second print image F3 in FIG. 5 is reduced according to the magnification of the first print frame R1 when the first print frame R1 is reduced to match the second print frame R2. This is a print image of a magnification change image in which the object is placed within the second print frame R2 (S23, S24). Similarly, in specific example 3, the second print image F4 in FIG. This is a print image of a magnification change image placed within the second print frame R3 (S23, S24). In this way, the
上記実施形態の具体例2、3において、倍率変更画像は、基準画像F1のうちの第一基準V1からのオブジェクトB1、C1、D1までの変更前距離に倍率を乗じた変更後距離だけ、倍率変更画像のうちの、第一基準V1に対応する第二基準V2から離れた変更後位置に、倍率に応じた大きさのオブジェクトが配置された画像である。編集装置2は、第一印刷枠R1に対する第二印刷枠の大きさに応じて、基準画像F1を一律に拡大又は縮小して倍率変更画像を生成する場合に比べ、オブジェクトB1、C1、D1の情報を保持した倍率変更画像を生成しやすい。
In specific examples 2 and 3 of the above-described embodiment, the magnification-changed image has a magnification of only the post-change distance obtained by multiplying the pre-change distance from the first reference V1 of the reference image F1 to the objects B1, C1, and D1 by the magnification. This is an image in which an object having a size according to the magnification is placed at a changed position away from the second reference V2 corresponding to the first reference V1 in the changed image. Compared to the case where the reference image F1 is uniformly enlarged or reduced according to the size of the second printing frame relative to the first printing frame R1 to generate a magnification-changed image, the
上記実施形態の具体例2、3において、倍率変更画像は、オブジェクトが識別コードを含む場合に、倍率内で最大サイズになるように生成された識別コードを変更後位置に配置した画像である。識別コードの大きさは、バーコードリーダー等の読取装置で読取性を考慮して設定される必要がある。これに対し、編集装置2で実行された場合、編集装置2は、読取装置での読み取り可能な識別コードを含む倍率変更画像を生成することに貢献する。
In specific examples 2 and 3 of the above-described embodiments, when the object includes an identification code, the magnification-changed image is an image in which the identification code generated to have the maximum size within the magnification is placed at the changed position. The size of the identification code needs to be set in consideration of readability with a reading device such as a barcode reader. On the other hand, when executed by the
上記実施形態の具体例2において、図5の第一印刷イメージF6は、オブジェクトB1、C1、D1の大きさを変更せずに、第二印刷枠R2に対して基準画像F1を配置したサイズ同一画像の印刷イメージである。具体例3において、図6の第一印刷イメージF7は、オブジェクトB1、C1、D1の大きさを変更せずに、第二印刷枠R3に対して基準画像F1を配置したサイズ同一画像の印刷イメージである。編集装置2は、第一印刷イメージとして、サイズ同一画像を自動で生成できる。編集装置2は、サイズ同一画像を生成不能な場合に比べ、ユーザが意図する印刷イメージを生成する可能性を高めることに貢献する。
In the second specific example of the above embodiment, the first print image F6 in FIG. 5 has the same size as the reference image F1 arranged in the second print frame R2 without changing the sizes of the objects B1, C1, and D1. This is a printed image of the image. In specific example 3, the first print image F7 in FIG. 6 is a print image of the same size image in which the reference image F1 is placed in the second print frame R3 without changing the sizes of the objects B1, C1, and D1. It is. The
図9の変形例の第二印刷イメージF11は、オブジェクトB5、C5、D5に対する第一印刷枠R7の少なくとも一部を示す図形Z1からZ4を含む。編集装置2は、ユーザが図形Z1からZ4を目印として、印刷後の感熱紙を切断することで、第一印刷枠R7内に基準画像F13を印刷した場合と同様な印刷結果を得ることに貢献する。
The second print image F11 in the modified example of FIG. 9 includes graphics Z1 to Z4 that represent at least a portion of the first print frame R7 for objects B5, C5, and D5. The
図9の変形例の第二印刷イメージF11は、第二印刷枠R6内に、拡大又は縮小された基準画像F1及び基準画像F1の何れかが、第二印刷枠の長手方向及び短手方向のうちの一方の、一端側、他端側、及び中央の順に複数配置された複数画像の印刷イメージである。編集装置2は、所定の規則に従って、複数の画像13を自動で第二印刷枠R6内に配置できる。編集装置2は、ユーザが、複数の基準画像F13を第二印刷枠R6内に配置する手間を省くことができる。CPU3は、同一の画像を複数印刷する場合、又は同じレイアウトで連番の数字を印刷する場合等に、印刷媒体の内の印刷されない部分を有効活用できる。
In the second printing image F11 of the modified example of FIG. 9, either the enlarged or reduced reference image F1 or the reference image F1 is placed within the second printing frame R6 in the longitudinal direction and the lateral direction of the second printing frame. This is a print image of a plurality of images arranged in the order of one end, the other end, and the center. The
本発明の編集プログラムは、上記した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更が加えられてもよい。例えば、以下の変形が適宜加えられてもよい。 The editing program of the present invention is not limited to the embodiments described above, and various changes may be made without departing from the gist of the present invention. For example, the following modifications may be added as appropriate.
本発明は種々の態様で実行可能であり、例えば、編集プログラムを記憶した非一時的コンピュータ可読媒体、編集装置、編集方法、並びに、編集装置及びプリンタを備える印刷システム等の形態で実現されてもよい。 The present invention can be implemented in various ways, such as a non-transitory computer readable medium storing an editing program, an editing device, an editing method, and a printing system including an editing device and a printer. good.
(A)編集装置2及び編集装置2が通信可能なプリンタ4の構成は適宜変更されてよい。編集装置2は、スマートフォン、携帯端末等であってもよい。編集装置2の表示部26は、画像を表示可能であればよく、例えば、有機ELディスプレイ、プラズマディスプレイ、プラズマチューブアレイディスプレイ、電気泳動等を利用した電子ペーパーディスプレイ等でもよい。編集装置2の入力部25は、キーボード、マウスの他、タッチスクリーン及びジョイスティック等でもよい。通信部28は、プリンタ4と有線で接続してもよいし、無線で接続してもよい。プリンタ4は、切断部50を備えなくてもよい。印刷ヘッド48は、インクジェットヘッド等のサーマルヘッド以外の構成でもよい。
(A) The configuration of the
(B)図2のメイン処理を実行させるための指令を含むプログラムは、編集装置2が有するCPU3が、プログラムを実行するまでに、記憶部24に記憶されればよい。したがって、プログラムの取得方法、取得経路及びプログラムを記憶する機器の各々は、適宜変更してもよい。各装置が実行するプログラムは、ケーブル又は無線通信を介して、他の装置から受信し、記憶部等の記憶装置に記憶されてもよい。他の装置は、例えば、PC、及びネットワーク網を介して接続されるサーバを含む。
(B) The program including the instructions for executing the main process shown in FIG. 2 may be stored in the
(C)メイン処理の各ステップは、CPU3によって実行される例に限定されず、一部又は全部が他の電子機器(例えば、ASIC)によって実行されてもよい。メイン処理の各ステップは、複数の電子機器(例えば、複数のCPU)によって分散処理されてもよい。メイン処理の各ステップは、必要に応じて順序の変更、ステップの省略、及び追加が可能である。メイン処理に、以下の変更が適宜加えられてもよい。
(C) Each step of the main process is not limited to the example executed by the
媒体はプリンタ4の構成に応じて適宜変更されてよく、ファンフォール紙等であってもよい。印刷枠の形状は、矩形に限定されず、媒体に応じて適宜変更されてよい。編集画面の構成は適宜変更されてよい。編集画面はプレビュー画像を表示部26に表示させるためのキーを備え、CPU3は当該キーの選択が検出されたことに応じて、S21からS29のプレビュー画像を表示部26に表示させてもよい。第一印刷枠R1と、第二印刷枠とが一致しない場合に表示されるプレビュー画面には、第一印刷イメージと、第二印刷イメージに加え、第一方法及び第二方法とは互いに異なる第三方法でオブジェクトを編集して配置した第三印刷イメージを含んでいてもよい。プレビュー画面内の第一印刷イメージと第二印刷イメージとのレイアウトは適宜変更されてもよい。
The medium may be changed as appropriate depending on the configuration of the
第一方法及び第二方法は各々、上記実施形態及び変形例で説明した方法に限定されず、適宜変更されてよい。第一基準及び第二基準は、第一方法と、第二方法とで互いに異なってもよい。CPU3は、第一基準及び第二基準のみが異なる方法を第一方法及び第二方法として採用してもよい。第二方法において、回転画像の第一印刷イメージを生成する場合、回転方向は、時計回りに90度であってもよいし、反時計回りに90度であってもよい。第一方法及び第二方法の少なくとも何れかは、ユーザが指定した方法であってもよい。倍率変更画像の第二印刷イメージを生成する場合、CPU3は、式(1)で算出された搬送方向E1の倍率と、式(2)で算出された幅方向E2の倍率の何れかを用いて、基準画像F1を搬送方向E1及び幅方向E2に拡大又縮小してもよい。CPU3は、識別コード等のオブジェクトの種類に依らず、すべてのオブジェクトを同一の編集方法を適用してもよい。図9の変形例において、図形Z1からZ4の少なくとも何れかは省略されてもよいし、第一印刷枠R7の一部であれば他の形状の図形でもよい。また、CPU3は、他の具体例(例えば、具体例4における図7の第一印刷イメージF8や第二印刷イメージF5)において、第一印刷枠に対応する位置に図形Z1からZ4を含ませてもよい。基準画像に含まれるオブジェクトの種類及び数は適宜変更されてよい。上記変形例は矛盾の内範囲で適宜組み合わされてもよい。
The first method and the second method are not limited to the methods described in the above embodiments and modified examples, and may be modified as appropriate. The first criterion and the second criterion may be different between the first method and the second method. The
2:編集装置、3:CPU、4:プリンタ、25:入力部、26:表示部、28:通信部 2: Editing device, 3: CPU, 4: Printer, 25: Input section, 26: Display section, 28: Communication section
Claims (10)
第一印刷枠内に配置されたオブジェクトを表す基準画像を印刷するためのデータを取得する第一取得ステップと
プリンタに装着されている媒体に関する媒体情報を、前記通信部を介して前記プリンタから取得する第二取得ステップと、
前記媒体情報に対応する第二印刷枠が前記第一印刷枠と異なる場合に、前記第二印刷枠に対して前記オブジェクトを第一方法で編集して配置した第一印刷イメージと、前記第一方法とは互いに異なる第二方法で前記オブジェクトを編集して配置した第二印刷イメージとを生成して前記表示部に表示させる表示制御ステップと、
前記表示部に表示された前記第一印刷イメージ及び前記第二印刷イメージのうち、前記入力部を介して選択された印刷イメージを印刷するための選択印刷データを取得し、前記通信部を介して前記選択印刷データを前記プリンタに送信する送信制御ステップと
を実行させるための編集プログラム。 The control section of the editing device includes a display section, an input section, a communication section, and a control section,
a first acquisition step of acquiring data for printing a reference image representing an object placed within a first print frame; and acquiring medium information regarding a medium installed in the printer from the printer via the communication unit. a second acquisition step to
If the second print frame corresponding to the medium information is different from the first print frame, a first print image in which the object is edited and arranged in the first method with respect to the second print frame; a display control step of generating a second print image in which the object is edited and arranged using a second method different from the first method, and displaying the second print image on the display unit;
Obtaining selected print data for printing a print image selected through the input unit among the first print image and the second print image displayed on the display unit, and transmitting the selected print data through the communication unit. an editing program for causing execution of a transmission control step of transmitting the selected print data to the printer;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022136940A JP2024033394A (en) | 2022-08-30 | 2022-08-30 | editing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022136940A JP2024033394A (en) | 2022-08-30 | 2022-08-30 | editing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024033394A true JP2024033394A (en) | 2024-03-13 |
Family
ID=90193362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022136940A Pending JP2024033394A (en) | 2022-08-30 | 2022-08-30 | editing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2024033394A (en) |
-
2022
- 2022-08-30 JP JP2022136940A patent/JP2024033394A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2013015949A (en) | Display device, portable terminal, control method of display device and program | |
US20120206736A1 (en) | Printer that prints with increased visibility, printing method and storage medium | |
JP2024033394A (en) | editing program | |
JPH05305748A (en) | Printer | |
JP2019016015A (en) | Display controller, printer, control method of display controller and program thereof | |
CN101544133B (en) | Print data generation apparatus and method for generating print data | |
JP2009298036A (en) | Thermal printer, method for determining printing speed and program for determining printing speed | |
JP2016119015A (en) | Print data creation program and print data creation device | |
US11144264B2 (en) | Non-transitory computer-readable recording medium storing instructions for receiving an edit instruction and a print instruction for a template image | |
JP4407340B2 (en) | Tape printer | |
JP2005103929A (en) | Apparatus for forming small printed matter, method for forming small printed matter and program for forming small printed matter | |
US9740969B2 (en) | Printer device | |
JP6682865B2 (en) | Printing apparatus and printing apparatus control method | |
JPH05334296A (en) | Document processor | |
JP2005138556A (en) | Printing apparatus and printing method | |
JP3095046B2 (en) | Dot pattern data creation device for registration of tape printer | |
JPH05185654A (en) | Tape printing apparatus | |
JPH06198962A (en) | Preparing device for registration dot pattern data of tape printer | |
US10708453B2 (en) | Display apparatus, non-transitory storage medium storing instructions readable by the display apparatus, method of displaying print image on display of the display apparatus | |
JP3632214B2 (en) | Bar code input device and bar code input method | |
JP2002254715A (en) | Printer for tape-like printing medium | |
JP4661660B2 (en) | Printing apparatus and printing method | |
JPH07285244A (en) | Printing device | |
JP2021163075A (en) | Editing device, printing system, and editing method | |
JPH0752496A (en) | Printer |