[go: up one dir, main page]

JP2016081320A - Print setting method, program and printing system for printing system - Google Patents

Print setting method, program and printing system for printing system Download PDF

Info

Publication number
JP2016081320A
JP2016081320A JP2014212385A JP2014212385A JP2016081320A JP 2016081320 A JP2016081320 A JP 2016081320A JP 2014212385 A JP2014212385 A JP 2014212385A JP 2014212385 A JP2014212385 A JP 2014212385A JP 2016081320 A JP2016081320 A JP 2016081320A
Authority
JP
Japan
Prior art keywords
paper
print
print setting
determined
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014212385A
Other languages
Japanese (ja)
Inventor
祐樹 鷲頭
Yuki Washizu
祐樹 鷲頭
一章 吉田
Kazuaki Yoshida
一章 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014212385A priority Critical patent/JP2016081320A/en
Publication of JP2016081320A publication Critical patent/JP2016081320A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

【課題】 簡単な構成で且つ簡単な操作で、用紙に適した印刷処理を行うことができる。【解決手段】 複数種のロール紙Rから1のロール紙Rを選択する用紙選択ステップと、選択されたロール紙Rの用紙タイプを判定する用紙タイプ判定ステップと、選択されたロール紙Rの用紙サイズを判定する用紙サイズ判定ステップと、判定した用紙タイプに基づいて、紙送りモードの設定を行う第1印刷設定ステップと、判定した用紙サイズに基づいて、印刷幅および余白幅の設定を行う第2印刷設定ステップと、を実行する。【選択図】 図4PROBLEM TO BE SOLVED: To perform a printing process suitable for paper with a simple configuration and simple operation. A paper selection step for selecting one roll paper R from a plurality of types of roll paper R, a paper type determination step for determining a paper type of the selected roll paper R, and a paper for the selected roll paper R A paper size determination step for determining the size, a first print setting step for setting the paper feed mode based on the determined paper type, and a first setting for setting the print width and margin width based on the determined paper size. 2 print setting steps. [Selection] Figure 4

Description

本発明は、用紙に対する印刷の印刷設定を行う印刷システムの印刷設定方法、プログラムおよび印刷システムに関するものである。   The present invention relates to a print setting method, a program, and a print system for a print system that performs print settings for printing on paper.

従来、印刷装置として、普通紙、ラベル紙、マーク付き用紙等の各種ロール紙(連続紙)がセット可能であると共に、セットした各種ロール紙に対し印刷処理を行うものが知られている(特許文献1参照)。この印刷装置では、ロール紙を搬送する搬送路上に、印字ヘッド、プラテンローラーおよびカッター機構が配設されている。そして、ホストコンピューターからの印字指令を受信した場合、搬送ローラーを兼ねるプラテンローラーが適宜駆動され、ロール紙が搬送路に沿って搬送されると共に、印字ヘッドが印字駆動され、所望の文字や記号がロール紙上に印字される。また、ロール紙の印字された領域は、カッター機構により切断分離され、単票シートとして利用者に提供される。この種の印刷装置は、レシート発行装置やラベル発行装置として適宜利用されている。   Conventionally, as a printing apparatus, various types of roll paper (continuous paper) such as plain paper, label paper, marked paper and the like can be set and a printing process is performed on the various types of roll paper set (patent) Reference 1). In this printing apparatus, a print head, a platen roller, and a cutter mechanism are disposed on a conveyance path for conveying roll paper. When a print command is received from the host computer, the platen roller that also serves as the transport roller is appropriately driven, the roll paper is transported along the transport path, the print head is printed, and a desired character or symbol is displayed. Printed on roll paper. The printed area of the roll paper is cut and separated by a cutter mechanism and provided to the user as a cut sheet. This type of printing apparatus is appropriately used as a receipt issuing apparatus or a label issuing apparatus.

特許第4604352号公報Japanese Patent No. 4604352

ところで、この種の印刷装置では、ホストコンピューター上で、ユーザーが、用紙(上記各種ロール紙)を選択し、更に、ユーザーが、ラベル紙に対応した印刷処理を行う否か、マーク付き用紙に対応した印刷処理を行うか否かといった印刷設定を行うことが一般的である。印刷装置は、この印刷設定に受けて印刷処理を行うことで、用紙に適した印刷処理を行うことができるようになっている。
しかしながら、このような構成では、ユーザーが、用紙の選択と、上記印刷設定との両方を行わなければならないため、ユーザー操作が著しく煩雑であるという問題があった。
この点、上記従来の印刷装置では、透光・反射兼用型光学センサーを搭載して印刷装置側で用紙タイプを判別し、判別した用紙タイプに合わせた印刷処理(マーク付き用紙に対応した印刷処理や、ラベル紙に対応した印刷処理)を行うようにしている。しかしながら、このような構成では、印刷装置が複雑化してしまうという問題が生じていた。
By the way, in this type of printing apparatus, on the host computer, the user selects the paper (the above-mentioned various types of roll paper), and the user corresponds to the marked paper whether or not to perform the printing process corresponding to the label paper It is common to perform print settings such as whether or not to perform the print processing. The printing apparatus can perform a printing process suitable for the sheet by performing the printing process in response to the print setting.
However, in such a configuration, there is a problem that the user operation is extremely complicated because the user has to perform both the selection of the paper and the print setting.
In this regard, the above-described conventional printing apparatus is equipped with a translucent / reflective optical sensor to determine the paper type on the printing apparatus side, and print processing according to the determined paper type (print processing corresponding to marked paper) Or print processing corresponding to label paper). However, such a configuration has a problem that the printing apparatus becomes complicated.

本発明は、簡単な構成で且つ簡単な操作で、用紙に適した印刷処理を行うことができる印刷システムの印刷設定方法、プログラムおよび印刷システムを提供することを課題としている。   It is an object of the present invention to provide a print setting method, a program, and a print system for a print system that can perform print processing suitable for paper with a simple configuration and simple operation.

本発明の印刷システムの印刷設定方法は、用紙を選択する用紙選択ステップと、選択された用紙の用紙タイプを判定する用紙タイプ判定ステップと、選択された用紙の用紙サイズを判定する用紙サイズ判定ステップと、判定した用紙タイプに基づく印刷設定を行う第1印刷設定ステップと、判定した用紙サイズに基づく印刷設定を行う第2印刷設定ステップと、を実行することを特徴とする。   The print setting method of the printing system of the present invention includes a paper selection step for selecting a paper, a paper type determination step for determining the paper type of the selected paper, and a paper size determination step for determining the paper size of the selected paper. And a first print setting step for performing print setting based on the determined paper type and a second print setting step for performing print setting based on the determined paper size.

この場合、第1印刷設定ステップでは、用紙タイプ判定ステップにより判定した用紙タイプに基づいて、印刷処理時の紙送りにおける紙送り位置の検出方式を示す紙送りモードを設定することが好ましい。   In this case, in the first print setting step, it is preferable to set a paper feed mode indicating a detection method of the paper feed position in the paper feed at the time of print processing based on the paper type determined in the paper type determination step.

また、第2印刷設定ステップでは、用紙サイズ判定ステップにより判定した用紙サイズに応じて、用紙の紙幅方向における印刷領域の幅と、印刷領域の紙幅方向両側に位置する余白の幅と、を設定することが好ましい。   In the second print setting step, the width of the print area in the paper width direction of the paper and the width of the margin located on both sides of the print area in the paper width direction are set according to the paper size determined in the paper size determination step. It is preferable.

本発明のプログラムは、コンピューターに、上記の印刷設定方法における各ステップを実行させることを特徴とする。   A program according to the present invention causes a computer to execute each step in the print setting method.

本発明の印刷システムは、用紙を選択するための用紙選択部と、選択された用紙の用紙タイプを判定する用紙タイプ判定部と、選択された用紙の用紙サイズを判定する用紙サイズ判定部と、判定した用紙タイプに基づく印刷設定を行う第1印刷設定部と、判定した用紙サイズに基づく印刷設定を行う第2印刷設定部と、を備えたことを特徴とする。   The printing system of the present invention includes a paper selection unit for selecting a paper, a paper type determination unit for determining the paper type of the selected paper, a paper size determination unit for determining the paper size of the selected paper, A first print setting unit that performs print settings based on the determined paper type and a second print setting unit that performs print settings based on the determined paper size are provided.

この場合、第1印刷設定部は、用紙タイプ判定部により判定した用紙タイプに基づいて、印刷処理時の紙送りにおける紙送り位置の検出方式を示す紙送りモードを設定することが好ましい。   In this case, it is preferable that the first print setting unit sets a paper feed mode indicating a detection method of the paper feed position in the paper feed during the printing process based on the paper type determined by the paper type determination unit.

また、第2印刷設定部は、用紙サイズ判定部により判定した用紙サイズに応じて、用紙の紙幅方向における印刷領域の幅と、印刷領域の紙幅方向両側に位置する余白の幅と、を設定することが好ましい。   The second print setting unit sets the width of the print area in the paper width direction of the paper and the width of the margins positioned on both sides of the print area in the paper width direction according to the paper size determined by the paper size determination unit. It is preferable.

これらの構成によれば、選択された用紙の用紙タイプおよび用紙サイズを判定し、これに基づいて自動的に印刷設定を行う構成であるため、ユーザーが、用紙の選択に加えて、印刷設定を行う必要がない。よって、簡単な操作で、用紙に適した印刷処理を行うことができる。また、用紙の選択結果に基づいて、用紙タイプや用紙サイズを判定する構成であるため、印刷装置に、用紙タイプや用紙サイズを検出するための特段の検出機構を搭載する必要がなく、簡単な構成で、用紙に適した印刷処理を行うことができる。   According to these configurations, the paper type and the paper size of the selected paper are determined, and the print setting is automatically performed based on the determination. Therefore, in addition to the paper selection, the user sets the print setting. There is no need to do it. Therefore, it is possible to perform a printing process suitable for the paper with a simple operation. In addition, since the paper type and the paper size are determined based on the paper selection result, it is not necessary to install a special detection mechanism for detecting the paper type and the paper size in the printing apparatus. With the configuration, it is possible to perform a printing process suitable for paper.

本発明の一実施形態に係る印刷システムのシステム構成図である。1 is a system configuration diagram of a printing system according to an embodiment of the present invention. ホストコンピューターの制御構成を示した制御ブロック図である。It is the control block diagram which showed the control structure of the host computer. 用紙選択画面を示した図である。It is a figure showing a paper selection screen. プリンタードライバーによる印刷設定動作を示したフローチャートである。5 is a flowchart illustrating a print setting operation by a printer driver. 印刷システムによる印刷動作を示したフローチャートである。5 is a flowchart illustrating a printing operation by the printing system.

以下、添付の図面を参照し、本発明の一実施形態に係る印刷システムの印刷設定方法、プログラムおよび印刷システムについて説明する。実施形態では、本発明の印刷設定方法を適用した印刷システムを例示する。この印刷システムは、プリンターに、レシート紙やラベル紙等の用紙をセットし、当該用紙上に印刷画像を印刷することで、レシートやラベルを作成するものである。特に、本印刷システムは、ホストコンピューター上で、用紙を選択するだけで、用紙に適した印刷設定を自動的に行うことができる機能を有したものである。   Hereinafter, a print setting method, a program, and a print system of a printing system according to an embodiment of the present invention will be described with reference to the accompanying drawings. In the embodiment, a printing system to which the print setting method of the present invention is applied is exemplified. This printing system creates receipts and labels by setting paper such as receipt paper and label paper in a printer and printing a print image on the paper. In particular, the present printing system has a function capable of automatically performing print settings suitable for paper by simply selecting the paper on the host computer.

図1に示すように、印刷システムSYは、印刷指示を行うホストコンピューター1(印刷制御装置)と、ホストコンピューター1に接続されると共に、ホストコンピューター1からの印刷データを受けて、印刷処理を行うプリンター2(印刷装置)と、により構成されている。ホストコンピューター1とプリンター2とは、ケーブル3を介して接続されており、有線通信によって、各種データを相互に送受信可能に構成されている。なお、本実施形態では、ホストコンピューター1とプリンター2とを有線通信により接続する構成としたが、ホストコンピューター1とプリンター2とを無線通信により接続する構成であっても良い。また、ホストコンピューター1とプリンター2とを直接接続する構成であっても良いし、ホストコンピューター1とプリンター2とを、ネットワーク(インターネットやローカルエリアネットワーク)を介して接続する構成であっても良い。   As shown in FIG. 1, the printing system SY is connected to a host computer 1 (printing control apparatus) that issues a printing instruction and the host computer 1 and receives print data from the host computer 1 to perform printing processing. And a printer 2 (printing apparatus). The host computer 1 and the printer 2 are connected via a cable 3 and configured to be able to transmit and receive various data to each other by wired communication. In the present embodiment, the host computer 1 and the printer 2 are connected by wired communication. However, the host computer 1 and the printer 2 may be connected by wireless communication. The host computer 1 and the printer 2 may be directly connected, or the host computer 1 and the printer 2 may be connected via a network (Internet or local area network).

ホストコンピューター1は、一般的なパーソナルコンピューター等を利用可能であり、キーボードやマウス等を有する操作部11と、ディスプレイ等を有する表示部12と、プリンター2との通信を行う通信部13と、各部を制御する制御部14と、を備えている。   The host computer 1 can use a general personal computer or the like, and includes an operation unit 11 having a keyboard and a mouse, a display unit 12 having a display, a communication unit 13 for communicating with the printer 2, and each unit. And a control unit 14 for controlling.

制御部14は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等により構成される。そして、制御部14には、プリンタードライバー21がインストールされている。このように、ホストコンピューター1は、制御部14に、プリンタードライバー21がインストールされていることで、「印刷制御装置」として機能する。   The control unit 14 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. A printer driver 21 is installed in the control unit 14. As described above, the host computer 1 functions as a “printing control device” by installing the printer driver 21 in the control unit 14.

一方、プリンター2は、用紙としてロール紙Rをセットし、ホストコンピューター1からの印刷データに基づいて、当該ロール紙Rに対し印刷処理を行うロール紙プリンターである。当該ロール紙Rには、用紙タイプや用紙サイズが異なる複数種のものが用意されている。プリンター2は、これら各種ロール紙Rを選択的にセット可能とし、当該各種ロール紙Rに対し印刷処理を行うことが可能な構成となっている。
ロール紙Rの用紙タイプとしては、レシート紙、ラベル紙、ブラックマーク付きレシート紙、およびブラックマーク付きラベル紙の4種類がある。一方、ロール紙Rの用紙サイズとしては、例えば、紙幅80mm、紙幅60mm、幅54mmおよび紙幅38mm等がある。本プリンター2は、レシート紙やブラックマーク付きレシート紙をセットしてレシートを発行するレシート発行装置として機能すると共に、ラベル紙やブラックマーク付きラベル紙をセットしてラベルを発行するラベル発行装置としても機能する。なお、ここにいうラベル紙とは、基材上に、略矩形にカットされた複数のラベル材を等間隔で貼り付けた、いわゆるダイカット紙である。
On the other hand, the printer 2 is a roll paper printer that sets roll paper R as paper and performs printing processing on the roll paper R based on print data from the host computer 1. A plurality of types of roll paper R having different paper types and paper sizes are prepared. The printer 2 is configured to be able to selectively set these various roll papers R and to perform printing processing on the various roll papers R.
There are four types of roll paper R: receipt paper, label paper, receipt paper with black marks, and label paper with black marks. On the other hand, the paper size of the roll paper R includes, for example, a paper width of 80 mm, a paper width of 60 mm, a width of 54 mm, and a paper width of 38 mm. The printer 2 functions as a receipt issuing device that issues receipts by setting receipt paper or receipt paper with black marks, and also serves as a label issuing device that sets labels and issues black label paper. Function. The label paper referred to here is so-called die-cut paper in which a plurality of label materials cut into a substantially rectangular shape are attached to a base material at equal intervals.

ここで図2を参照して、ホストコンピューター1の制御構成について説明する。図2に示すように、ホストコンピューター1は、プリンタードライバー21を有している。   Here, the control configuration of the host computer 1 will be described with reference to FIG. As shown in FIG. 2, the host computer 1 has a printer driver 21.

プリンタードライバー21は、用紙選択部31と、用紙タイプ判定部32と、用紙サイズ判定部33と、印刷設定部34と、設定情報記憶部35と、印刷データ生成部36と、印刷データ送信部37と、を有している。厳密には、プリンタードライバー21は、ホストコンピューター1を、これら各部として機能させている。   The printer driver 21 includes a paper selection unit 31, a paper type determination unit 32, a paper size determination unit 33, a print setting unit 34, a setting information storage unit 35, a print data generation unit 36, and a print data transmission unit 37. And have. Strictly speaking, the printer driver 21 causes the host computer 1 to function as these units.

用紙選択部31は、ユーザーが、プリンター2にセットしたロール紙R(用紙)や、これから使用する(セットする)ロール紙Rを選択するためのものである。用紙選択部31は、複数種のロール紙Rから1のロール紙Rを選択するための用紙選択画面G(図3参照)を表示部12に表示し、ユーザーによるロール紙Rの選択を受け付ける。   The paper selection unit 31 is used by the user to select a roll paper R (paper) set in the printer 2 and a roll paper R to be used (set). The paper selection unit 31 displays a paper selection screen G (see FIG. 3) for selecting one roll paper R from a plurality of types of roll paper R on the display unit 12, and accepts selection of the roll paper R by the user.

用紙タイプ判定部32は、選択されたロール紙Rの用紙タイプ(レシート紙、ラベル紙、ブラックマーク付きレシート紙、およびブラックマーク付きラベル紙)を判定する。例えば、各ロール紙Rの識別情報と用紙タイプとを関連付けた用紙タイプテーブルを、予め記憶しておき、用紙タイプ判定部32は、この用紙タイプテーブルを参照して、選択したロール紙Rに対する用紙タイプを判定する。   The paper type determination unit 32 determines the paper type (receipt paper, label paper, receipt paper with black mark, and label paper with black mark) of the selected roll paper R. For example, a paper type table in which the identification information of each roll paper R is associated with the paper type is stored in advance, and the paper type determination unit 32 refers to this paper type table and specifies the paper for the selected roll paper R. Determine the type.

用紙サイズ判定部33は、選択されたロール紙Rの用紙サイズ(紙幅80mm、紙幅60mm、幅54mmおよび紙幅38mm等)を判定する。例えば、ロール紙Rの識別情報と用紙サイズとを関連付けた用紙サイズテーブルを、予め記憶しておき、用紙サイズ判定部33は、この用紙サイズテーブルを参照して、選択したロール紙Rに対する用紙サイズを判定する。   The paper size determination unit 33 determines the paper size of the selected roll paper R (paper width 80 mm, paper width 60 mm, width 54 mm, paper width 38 mm, etc.). For example, a paper size table that associates the identification information of the roll paper R and the paper size is stored in advance, and the paper size determination unit 33 refers to the paper size table and determines the paper size for the selected roll paper R. Determine.

印刷設定部34は、用紙タイプ判定部32および用紙サイズ判定部33の判定結果に基づいて、印刷設定を行うものであり、紙送りモード設定部41(第1印刷設定部)と、印刷範囲設定部42(第2印刷設定部)と、を有している。一方、設定情報記憶部35は、印刷設定部34(紙送りモード設定部41および印刷範囲設定部42)により設定した設定情報を記憶するものである。   The print setting unit 34 performs print settings based on the determination results of the paper type determination unit 32 and the paper size determination unit 33, and includes a paper feed mode setting unit 41 (first print setting unit) and a print range setting. Part 42 (second print setting part). On the other hand, the setting information storage unit 35 stores the setting information set by the print setting unit 34 (paper feed mode setting unit 41 and print range setting unit 42).

紙送りモード設定部41は、用紙タイプ判定部32により判定した用紙タイプに基づいて、紙送りモードを、「ノーマルモード」、「ラベルモード」および「ブラックマークモード」の間で設定する。紙送りモードは、印刷処理時の紙送りにおいて、紙送り位置を、どのような方式で検出して紙送りを行うか、すなわち、印刷処理時の紙送りにおける紙送り位置の検出方式(給紙方法)を示すものである。「ノーマルモード」は、ロール紙Rを紙送りする紙送り機構の駆動量(エンコーダー値)に基づいて紙送り位置を検出して、紙送りを行うモードである。「ラベルモード」は、図外の光学センサーによって上記各ラベル材の位置を検出し、これに基づいて紙送り位置を検出して、紙送りを行うモードである。「ブラックマークモード」は、図外の光学センサーによってブラックマークを検出し、これに基づいて紙送り位置を検出して、紙送りを行うモードである。
紙送りモード設定部41は、ロール紙Rの用紙タイプがレシート紙である場合には、紙送りモードを「ノーマルモード」に設定し、ロール紙Rの用紙タイプがラベル紙である場合には、紙送りモードを「ラベルモード」に設定する。また、ロール紙Rの用紙タイプがブラックマーク付きレシート紙もしくはブラックマーク付きラベル紙である場合には、紙送りモードを「ブラックマークモード」に設定する。また、紙送りモード設定部41は、その設定結果(紙送りモード)を、設定情報記憶部35に記憶させる。
The paper feed mode setting unit 41 sets the paper feed mode among “normal mode”, “label mode”, and “black mark mode” based on the paper type determined by the paper type determination unit 32. In the paper feed mode, the paper feed position in the paper feed during the printing process is detected and the paper feed position is detected, that is, the paper feed position detection method (paper feed in the paper feed during the print processing). Method). The “normal mode” is a mode in which the paper feed position is detected based on the drive amount (encoder value) of the paper feed mechanism that feeds the roll paper R and the paper is fed. The “label mode” is a mode in which the position of each label material is detected by an optical sensor (not shown), and the paper feed position is detected based on the detected position to feed the paper. The “black mark mode” is a mode in which a black mark is detected by an optical sensor (not shown), a paper feed position is detected based on the black mark, and paper is fed.
The paper feed mode setting unit 41 sets the paper feed mode to “normal mode” when the paper type of the roll paper R is receipt paper, and when the paper type of the roll paper R is label paper, Set the paper feed mode to “label mode”. Further, when the paper type of the roll paper R is a receipt paper with a black mark or a label paper with a black mark, the paper feed mode is set to “black mark mode”. Further, the paper feed mode setting unit 41 stores the setting result (paper feed mode) in the setting information storage unit 35.

印刷範囲設定部42は、用紙サイズ判定部33により判定した用紙サイズに基づいて、印刷処理時の印刷範囲を設定する。具体的には、印刷範囲設定部42は、判定した用紙サイズに応じて、用紙の紙幅方向における印刷領域の幅(以下、印刷幅)と、印刷領域の左右(紙幅方向両側)に位置する余白の幅(以下、余白幅)と、を設定する。また、印刷範囲設定部42は、その設定結果(印刷幅および余白幅)を、設定情報記憶部35に記憶させる。   The print range setting unit 42 sets a print range at the time of print processing based on the paper size determined by the paper size determination unit 33. Specifically, the print range setting unit 42 determines the width of the print area in the paper width direction (hereinafter referred to as print width) and the margins located on the left and right of the print area (both sides in the paper width direction) according to the determined paper size. Width (hereinafter, margin width). The print range setting unit 42 stores the setting results (print width and margin width) in the setting information storage unit 35.

印刷データ生成部36は、図外のアプリケーションから入力された入力データ(会計処理データや画像データ等)を変換して、プリンター2によって印刷可能な印刷データを生成する。また、印刷データ生成部36は、印刷データの生成に際し、上記変換処理に加え、設定情報記憶部35に記憶された設定情報を付加して、印刷データを生成する。   The print data generation unit 36 converts input data (accounting data, image data, etc.) input from an application (not shown), and generates print data that can be printed by the printer 2. Further, when generating the print data, the print data generation unit 36 adds the setting information stored in the setting information storage unit 35 in addition to the conversion process, and generates the print data.

印刷データ送信部37は、印刷データ生成部36により生成された印刷データを、通信部13によりプリンター2に送信する。すなわち、印刷データ送信部37は、設定情報が付加された印刷データをプリンター2に送信する。この印刷データを受信したプリンター2は、当該印刷データに基づき、また当該印刷データに付加された設定情報に基づく印刷設定で、印刷処理を行う構成になっている。   The print data transmission unit 37 transmits the print data generated by the print data generation unit 36 to the printer 2 through the communication unit 13. That is, the print data transmission unit 37 transmits the print data to which the setting information is added to the printer 2. The printer 2 that has received the print data is configured to perform print processing based on the print data and print settings based on setting information added to the print data.

ここで図4を参照して、プリンタードライバー21による印刷設定動作について説明する。本印刷設定動作は、予め表示した用紙選択画面Gにおいてユーザーがロール紙Rを選択し、用紙選択部31が、これを受け付けることに起因して実行されるものである。   Here, the print setting operation by the printer driver 21 will be described with reference to FIG. This print setting operation is executed when the user selects the roll paper R on the paper selection screen G displayed in advance, and the paper selection unit 31 accepts the roll paper R.

図4に示すように、プリンタードライバー21は、用紙選択部31により、ユーザーによるロール紙Rの選択を受け付けると(S1:Yes)(用紙選択ステップ)、まず、用紙タイプ判定部32により、選択されたロール紙Rの用紙タイプを判定する(S2)(用紙タイプ判定ステップ)。   As shown in FIG. 4, when the printer driver 21 receives selection of the roll paper R by the user by the paper selection unit 31 (S1: Yes) (paper selection step), first, the printer driver 21 is selected by the paper type determination unit 32. The paper type of the rolled paper R is determined (S2) (paper type determination step).

その後、紙送りモード設定部41により、判定した用紙タイプに基づいて、紙送りモードの設定を行う(S3〜S6)(第1印刷設定ステップ)。すなわち、判定した用紙タイプがレシート紙である場合(S3:A)には、紙送りモードを「ノーマルモード」に設定し(S4)、判定した用紙タイプがラベル紙である場合(S3:B)には、紙送りモードを「ラベルモード」に設定する(S5)。また、判定した用紙タイプがブラックマーク付きレシート紙、またはブラックマーク付きラベル紙である場合(S3:C)には、紙送りモードを「ブラックマークモード」に設定する(S6)。そして、設定した紙送りモードを、設定情報記憶部35に記憶させる(S7)。   Thereafter, the paper feed mode setting unit 41 sets the paper feed mode based on the determined paper type (S3 to S6) (first print setting step). That is, when the determined paper type is receipt paper (S3: A), the paper feed mode is set to “normal mode” (S4), and when the determined paper type is label paper (S3: B). In this case, the paper feed mode is set to “label mode” (S5). If the determined paper type is receipt paper with black mark or label paper with black mark (S3: C), the paper feed mode is set to “black mark mode” (S6). Then, the set paper feeding mode is stored in the setting information storage unit 35 (S7).

紙送りモードの設定および記憶が終了したら、用紙サイズ判定部33により、選択されたロール紙Rの用紙サイズを判定する(S8)(用紙サイズ判定ステップ)。その後、印刷範囲設定部42により、判定した用紙サイズに基づいて、印刷幅および余白幅を設定する(S9)(第2印刷設定ステップ)。そして、設定した印刷幅および余白幅を、設定情報記憶部35に記憶させる(S10)。これにより、本印刷設定動作を終了する。   When the paper feed mode is set and stored, the paper size determination unit 33 determines the paper size of the selected roll paper R (S8) (paper size determination step). After that, the print range setting unit 42 sets the print width and margin width based on the determined paper size (S9) (second print setting step). Then, the set print width and margin width are stored in the setting information storage unit 35 (S10). This completes the print setting operation.

次に図5を参照して、印刷システムSYによる印刷動作について説明する。本印刷動作は、上記印刷設定動作が予め行われた状態で実行されるものである。また、本印刷動作は、ホストコンピューター1において、上記図外のアプリケーションからプリンタードライバー21に対し入力データが入力され、且つプリンタードライバー21が、当該アプリケーションから印刷指示を受けることに起因して実行されるものである。   Next, a printing operation by the printing system SY will be described with reference to FIG. This print operation is executed in a state where the print setting operation is performed in advance. In addition, this printing operation is executed in the host computer 1 when input data is input to the printer driver 21 from the above-described application and the printer driver 21 receives a print instruction from the application. Is.

図5に示すように、ホストコンピューター1のプリンタードライバー21は、上記アプリケーションから入力データが入力され、上記アプリケーションからの印刷指示を受けると(S21:Yes)、印刷データ生成部36により、入力された入力データと、設定情報記憶部35に記憶された設定情報とに基づいて、印刷データを生成する(S22)。すなわち、入力データを、プリンター2で印刷可能な印刷データに変換しつつ、変換して得られた印刷データに、設定情報記憶部35に記憶された設定情報(紙送りモードの設定情報並びに、印刷幅および余白幅の設定情報)を付加して、印刷データを生成する。印刷データを生成したら、印刷データ送信部37により、生成した印刷データをプリンター2に送信する(S23)。   As shown in FIG. 5, when the printer driver 21 of the host computer 1 receives input data from the application and receives a print instruction from the application (S21: Yes), it is input by the print data generation unit 36. Print data is generated based on the input data and the setting information stored in the setting information storage unit 35 (S22). That is, the input data is converted into print data that can be printed by the printer 2, and the print data obtained by the conversion is converted to the setting information stored in the setting information storage unit 35 (paper feed mode setting information and print data). Print data is generated by adding width and margin width setting information). When the print data is generated, the print data transmission unit 37 transmits the generated print data to the printer 2 (S23).

これに対し、プリンター2は、ホストコンピューター1からの印刷データを受信し(S24)、受信した印刷データに基づいて、印刷処理を行う(S25)。プリンター2は、印刷データに付加された設定情報に基づく印刷設定(紙送りモード、印刷幅および余白幅)で印刷処理を行う。例えば、紙送りモードを「ノーマルモード」とする設定情報が付加されている場合には、「ノーマルモード」で紙送りを行って印刷処理を行う。すなわち、プリンター2は、紙送り機構の駆動量に基づいて、紙送り・印刷処理を行う。また、紙送りモードを「ラベルモード」とする設定情報が付加されている場合には、「ラベルモード」で紙送りを行って印刷処理を行う。すなわち、プリンター2は、ラベル材の位置を検出しこれに基づいて紙送り・印刷処理を行う。さらに、紙送りモードを「ブラックマークモード」とする設定情報が付加されている場合には、「ブラックマークモード」で紙送りを行って印刷処理を行う。すなわち、プリンター2は、ブラックマークを検出しこれに基づいて紙送り・印刷処理を行う。また、プリンター2は、当該設定情報の印刷幅および余白幅で、印刷処理を行う。これにより、本印刷動作を終了する。   On the other hand, the printer 2 receives print data from the host computer 1 (S24), and performs print processing based on the received print data (S25). The printer 2 performs print processing with print settings (paper feed mode, print width, and margin width) based on the setting information added to the print data. For example, when setting information for setting the paper feeding mode to “normal mode” is added, the paper is fed in “normal mode” to perform printing processing. That is, the printer 2 performs paper feeding / printing processing based on the driving amount of the paper feeding mechanism. When setting information for setting the paper feeding mode to “label mode” is added, paper feeding is performed in “label mode” to perform printing processing. That is, the printer 2 detects the position of the label material and performs paper feeding / printing processing based on the detected position. Further, when setting information for setting the paper feed mode to “black mark mode” is added, paper feed is performed in “black mark mode” to perform printing processing. That is, the printer 2 detects a black mark and performs paper feeding / printing processing based on the detected black mark. Further, the printer 2 performs a printing process with the print width and margin width of the setting information. Thereby, the printing operation is finished.

以上のような構成によれば、選択された用紙(ロール紙R)の用紙タイプおよび用紙サイズを判定し、これに基づいて自動的に印刷設定(紙送りモードの設定並びに、印刷幅および余白幅の設定)を行う構成であるため、ユーザーが、用紙の選択に加えて、印刷設定を行う必要がない。よって、簡単な操作で、用紙に適した印刷処理(用紙タイプおよび用紙サイズを加味した印刷処理)を行うことができる。また、ロール紙Rの選択結果に基づいて、用紙タイプや用紙サイズを判定する構成であるため、プリンター2に、用紙タイプや用紙サイズを検出するための特段の検出機構を搭載する必要がなく、簡単な構成で、用紙に適した印刷処理を行うことができる。   According to the configuration described above, the paper type and paper size of the selected paper (roll paper R) are determined, and based on this, the print settings (paper feed mode settings, print width and margin width) are automatically set. The user does not need to make print settings in addition to paper selection. Therefore, it is possible to perform a printing process suitable for a sheet (a printing process taking a sheet type and a sheet size into consideration) with a simple operation. Further, since the paper type and the paper size are determined based on the selection result of the roll paper R, the printer 2 does not need to be equipped with a special detection mechanism for detecting the paper type and the paper size. With a simple configuration, it is possible to perform a printing process suitable for paper.

なお、上記実施形態においては、用紙の選択時に印刷設定を行う(印刷設定動作)構成であったが、印刷動作時に印刷設定を行う構成であっても良い。すなわち、用紙の選択時は、当該選択結果を記憶させるのみとし、印刷動作時において、印刷データの生成処理(S22)に先駆け、当該選択結果を読み出して、印刷設定を行う構成であっても良い。かかる場合、印刷指示を受けた後(S21:Yes)で、印刷データの生成処理(S22)の前に、記憶された用紙の選択結果を読み出し、各判定処理(S2およびS8)および各設定処理(S3〜S6およびS9)を行うものとする。   In the above-described embodiment, the print setting is performed when the paper is selected (print setting operation). However, the print setting may be performed when the print operation is performed. That is, when selecting a sheet, only the selection result is stored, and at the time of the printing operation, prior to the print data generation process (S22), the selection result is read and the print setting is performed. . In such a case, after receiving the print instruction (S21: Yes), before the print data generation process (S22), the stored paper selection result is read, and each determination process (S2 and S8) and each setting process are performed. (S3 to S6 and S9) shall be performed.

また、上記実施形態においては、ホストコンピューター1が、印刷設定部34を有し、ホストコンピューター1側で、印刷設定を行う構成であったが、プリンター2が、印刷設定部34を有し、プリンター2側で、印刷設定を行う構成であっても良い。かかる場合、印刷データ生成部36が、印刷設定の設定情報に代え、用紙タイプおよび用紙サイズの判定結果を付加して印刷データを生成し、印刷データ送信部37が、当該判定結果が付加された印刷データをプリンター2に送信する。そして、プリンター2の印刷設定部34により、当該判定結果に基づいて印刷設定を行うものとする。   In the above embodiment, the host computer 1 has the print setting unit 34 and the host computer 1 performs print settings. However, the printer 2 has the print setting unit 34 and the printer. A configuration in which print settings are performed on the second side may be employed. In this case, the print data generation unit 36 generates print data by adding the paper type and paper size determination results instead of the print setting setting information, and the print data transmission unit 37 adds the determination results. The print data is transmitted to the printer 2. The print setting unit 34 of the printer 2 performs print settings based on the determination result.

1:ホストコンピューター、 2:プリンター、 31:用紙選択部、 32:用紙タイプ判定部、 33:用紙サイズ判定部、 41:紙送りモード設定部、 42:印刷範囲設定部、 R:ロール紙、 SY:印刷システム   1: host computer, 2: printer, 31: paper selection unit, 32: paper type determination unit, 33: paper size determination unit, 41: paper feed mode setting unit, 42: print range setting unit, R: roll paper, SY : Printing system

Claims (7)

用紙を選択する用紙選択ステップと、
選択された前記用紙の用紙タイプを判定する用紙タイプ判定ステップと、
選択された前記用紙の用紙サイズを判定する用紙サイズ判定ステップと、
判定した前記用紙タイプに基づく印刷設定を行う第1印刷設定ステップと、
判定した前記用紙サイズに基づく印刷設定を行う第2印刷設定ステップと、を実行することを特徴とする印刷システムの印刷設定方法。
A paper selection step for selecting the paper;
A paper type determination step for determining a paper type of the selected paper;
A paper size determination step for determining the paper size of the selected paper;
A first print setting step for performing print settings based on the determined paper type;
And a second print setting step for performing a print setting based on the determined paper size.
前記第1印刷設定ステップでは、前記用紙タイプ判定ステップにより判定した前記用紙タイプに基づいて、印刷処理時の紙送りにおける紙送り位置の検出方式を示す紙送りモードを設定することを特徴とする請求項1に記載の印刷システムの印刷設定方法。   In the first print setting step, a paper feed mode indicating a detection method of a paper feed position in paper feed at the time of print processing is set based on the paper type determined in the paper type determination step. Item 8. A print setting method for a printing system according to Item 1. 前記第2印刷設定ステップでは、前記用紙サイズ判定ステップにより判定した前記用紙サイズに応じて、前記用紙の紙幅方向における印刷領域の幅と、前記印刷領域の前記紙幅方向両側に位置する余白の幅と、を設定することを特徴とする請求項1または2に記載の印刷システムの印刷設定方法。   In the second print setting step, according to the paper size determined in the paper size determination step, the width of the print area in the paper width direction of the paper, and the width of the margins positioned on both sides of the print area in the paper width direction The print setting method of the printing system according to claim 1, wherein the print setting method is set. コンピューターに、請求項1ないし3のいずれか一項に記載の印刷設定方法における各ステップを実行させるためのプログラム。   The program for making a computer perform each step in the print setting method as described in any one of Claims 1 thru | or 3. 用紙を選択するための用紙選択部と、
選択された前記用紙の用紙タイプを判定する用紙タイプ判定部と、
選択された前記用紙の用紙サイズを判定する用紙サイズ判定部と、
判定した前記用紙タイプに基づく印刷設定を行う第1印刷設定部と、
判定した前記用紙サイズに基づく印刷設定を行う第2印刷設定部と、を備えたことを特徴とする印刷システム。
A paper selection section for selecting paper,
A paper type determination unit for determining the paper type of the selected paper;
A paper size determination unit for determining the paper size of the selected paper;
A first print setting unit for performing print settings based on the determined paper type;
A printing system comprising: a second print setting unit configured to perform print settings based on the determined paper size.
前記第1印刷設定部は、前記用紙タイプ判定部により判定した前記用紙タイプに基づいて、印刷処理時の紙送りにおける紙送り位置の検出方式を示す紙送りモードを設定することを特徴とする請求項5に記載の印刷システム。   The first print setting unit sets a paper feed mode indicating a detection method of a paper feed position in a paper feed during a printing process based on the paper type determined by the paper type determination unit. Item 6. The printing system according to Item 5. 前記第2印刷設定部は、前記用紙サイズ判定部により判定した前記用紙サイズに応じて、前記用紙の紙幅方向における印刷領域の幅と、前記印刷領域の前記紙幅方向両側に位置する余白の幅と、を設定することを特徴とする請求項5または6に記載の印刷システム。   The second print setting unit, according to the paper size determined by the paper size determination unit, the width of the print area in the paper width direction of the paper, and the width of the margins positioned on both sides of the print area in the paper width direction The printing system according to claim 5, wherein the printing system is set.
JP2014212385A 2014-10-17 2014-10-17 Print setting method, program and printing system for printing system Pending JP2016081320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014212385A JP2016081320A (en) 2014-10-17 2014-10-17 Print setting method, program and printing system for printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014212385A JP2016081320A (en) 2014-10-17 2014-10-17 Print setting method, program and printing system for printing system

Publications (1)

Publication Number Publication Date
JP2016081320A true JP2016081320A (en) 2016-05-16

Family

ID=55958789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014212385A Pending JP2016081320A (en) 2014-10-17 2014-10-17 Print setting method, program and printing system for printing system

Country Status (1)

Country Link
JP (1) JP2016081320A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116198242A (en) * 2021-12-01 2023-06-02 珠海趣印科技有限公司 Method for printing label based on ESC/POS instruction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116198242A (en) * 2021-12-01 2023-06-02 珠海趣印科技有限公司 Method for printing label based on ESC/POS instruction

Similar Documents

Publication Publication Date Title
JP6761675B2 (en) Printing device and printing control device
US10911616B2 (en) Information processing apparatus configured to create print data based on different sheet sizes
US9662917B2 (en) Printing control apparatus, printing management method, and printing system
US20180367684A1 (en) Information processing device, program, cut setting method using information processing device, and printing system
CN105398237B (en) Label processing device and its processing method
JP5774533B2 (en) Label printer
US10055676B2 (en) Image forming apparatus with print modes, the print modes comprising printing based on detection of a location on a print medium and printing not based on detection of a location on a print medium
US10459673B2 (en) Print control device, print system, and print control method
JP5193692B2 (en) Printing apparatus and printing apparatus control method
CN107443921B (en) Printing device, printing system, and control method of printing device
JP2016081320A (en) Print setting method, program and printing system for printing system
JP5624962B2 (en) Printer and printing method
JP2017134238A (en) Image forming apparatus
US10423370B2 (en) Print data generating device, print data generating system, print data generating method, and program for identifying errors in generating print data
JP2016146604A (en) Image controller, printer and program
JP6659108B2 (en) Image forming apparatus, image forming method, and program
US10510059B2 (en) Printer device
US11904616B2 (en) Information processing apparatus, tape printing apparatus, and method and program for controlling information processing apparatus
US11301179B2 (en) Image forming apparatus and control program of image forming apparatus
JP2017120483A (en) Printer, printing system, and printer setting method
JP6544470B2 (en) Label issuing device and label printing method
JP5481449B2 (en) Printing apparatus and control program therefor
JP2018101947A (en) Program, label image creation method, and label image creation apparatus
JP2018088036A5 (en)
JP2024016506A (en) program

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160623