JP7768579B2 - Printing device and program - Google Patents
Printing device and programInfo
- Publication number
- JP7768579B2 JP7768579B2 JP2023099725A JP2023099725A JP7768579B2 JP 7768579 B2 JP7768579 B2 JP 7768579B2 JP 2023099725 A JP2023099725 A JP 2023099725A JP 2023099725 A JP2023099725 A JP 2023099725A JP 7768579 B2 JP7768579 B2 JP 7768579B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- unit
- display data
- state
- processing unit
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Digital Computer Display Output (AREA)
- Facsimiles In General (AREA)
- Controls And Circuits For Display Device (AREA)
Description
本発明は、印刷装置及びプログラムに関する。 The present invention relates to a printing device and a program.
従来、表示部に対して表示処理を行う印刷装置が知られている(例えば、特許文献1参照)。 Printing devices that perform display processing on a display unit are known (see, for example, Patent Document 1).
プロセッサが印刷処理と表示処理の両方を実行する場合、表示データの生成に時間がかかり表示処理が間に合わなくなり、表示部に表示させる画面が乱れてしまう場合がある。 When a processor performs both printing and display processing, it can take a long time to generate the display data, which can cause the display processing to be delayed, resulting in a distorted screen image on the display unit.
そこで、本発明はこれらの点に鑑みてなされたものであり、表示部に対して表示処理を行う印刷装置において、印刷中に画面が乱れることを抑制することを目的とする。 The present invention was developed in consideration of these issues, and aims to prevent screen distortion during printing in a printing device that performs display processing on a display unit.
本発明の第1の態様に係る印刷装置は、表示部に表示画像を表示させる表示処理部と、印刷部とを有する印刷装置であって、前記印刷部に印刷させる印刷処理を実行する印刷処理部と、前記印刷処理部の状態が、前記印刷処理部が前記印刷処理を実行している印刷状態か、前記印刷処理部が前記印刷処理を実行していないスタンバイ状態であるかを特定する特定部と、前記特定部が特定した前記印刷処理部の状態が前記印刷状態であるか、前記スタンバイ状態であるかに基づいて決定した色深度の表示データを生成する表示データ生成部と、を有し、前記表示処理部は、前記表示データ生成部が生成した前記表示データに基づく前記表示画像を前記表示部に表示させる。 A printing device according to a first aspect of the present invention has a display processing unit that displays a display image on a display unit, and a printing unit, and includes: a print processing unit that executes a print process that causes the print unit to print; an identification unit that identifies whether the state of the print processing unit is a printing state in which the print processing unit is executing the print process, or a standby state in which the print processing unit is not executing the print process; and a display data generation unit that generates display data with a color depth determined based on whether the state of the print processing unit identified by the identification unit is the printing state or the standby state, and the display processing unit displays the display image based on the display data generated by the display data generation unit on the display unit.
前記表示データ生成部は、前記特定部が特定した前記印刷処理部の状態が前記スタンバイ状態である場合に、第1の色深度の表示データを生成し、前記特定部が特定した状態が前記印刷状態である場合に、前記第1の色深度よりも低い第2の色深度の表示データを生成してもよい。 The display data generation unit may generate display data with a first color depth when the state of the print processing unit identified by the identification unit is the standby state, and may generate display data with a second color depth lower than the first color depth when the state identified by the identification unit is the printing state.
前記表示データ生成部は、前記表示部の画素数を特定し、記憶部に記憶されている、表示部の画素数と、前記印刷状態及び前記スタンバイ状態それぞれにおける色深度とを関連付けた色深度情報を参照し、前記特定部が特定した前記印刷処理部の状態と、特定した前記表示部の画素数とに関連付けられている色深度の前記表示データを生成してもよい。 The display data generation unit may identify the number of pixels of the display unit, refer to color depth information stored in a memory unit that associates the number of pixels of the display unit with the color depth in the printing state and the standby state, and generate the display data with the color depth associated with the state of the print processing unit identified by the identification unit and the identified number of pixels of the display unit.
前記表示データ生成部は、前記表示部から、前記表示部の画素数を示す情報を含むEDID(Extended Display Identification Data)を取得し、取得した前記EDIDに基づいて前記表示部の画素数を特定してもよい。
前記表示データ生成部は、決定した色深度を、表示データを前記表示部に表示させるディスプレイコントローラに設定してもよい。
The display data generation unit may acquire, from the display unit, Extended Display Identification Data (EDID) including information indicating the number of pixels of the display unit, and identify the number of pixels of the display unit based on the acquired EDID.
The display data generation unit may set the determined color depth in a display controller that displays the display data on the display unit.
前記表示処理部は、前記表示データ生成部が生成した前記表示データに補完データを付加して所定のビット幅の表示用データを生成し、生成した前記所定のビット幅の表示用データに基づく前記表示画像を表示部に表示させてもよい。 The display processing unit may add complementary data to the display data generated by the display data generation unit to generate display data of a predetermined bit width, and cause the display unit to display the display image based on the generated display data of the predetermined bit width.
前記印刷装置は、前記印刷処理部、表示データ生成部及び前記表示処理部として機能するマイクロコントローラを有し、前記表示データ生成部は、前記特定部が特定した前記印刷処理部の状態が前記スタンバイ状態である場合において前記マイクロコントローラが表示データの生成に割り当て可能な処理量である第1処理量と、前記表示部の画素数と、前記表示部のリフレッシュレートとを特定し、特定した第1処理量、前記画素数、及び前記リフレッシュレートに基づいて、前記スタンバイ状態において表示データに適用する色深度を決定してもよい。 The printing device has the print processing unit, the display data generation unit, and a microcontroller that functions as the display processing unit, and the display data generation unit may identify a first processing amount, which is the processing amount that the microcontroller can allocate to generating display data when the state of the print processing unit identified by the identification unit is the standby state, as well as the number of pixels of the display unit and the refresh rate of the display unit, and determine the color depth to be applied to the display data in the standby state based on the identified first processing amount, the number of pixels, and the refresh rate.
前記印刷装置は、前記印刷処理部、表示データ生成部及び前記表示処理部として機能するマイクロコントローラを有し、前記表示データ生成部は、前記特定部が特定した前記印刷処理部の状態が前記印刷状態である場合において前記マイクロコントローラが表示データの生成に割り当て可能な処理量である第2処理量と、前記表示部の画素数と、前記表示部のリフレッシュレートとを特定し、特定した第2処理量、前記画素数、及び前記リフレッシュレートに基づいて、前記印刷状態において表示データに適用する色深度を決定してもよい。 The printing device has the print processing unit, the display data generation unit, and a microcontroller that functions as the display processing unit, and the display data generation unit may identify a second processing amount, which is the processing amount that the microcontroller can allocate to generating display data when the state of the print processing unit identified by the identification unit is the printing state, as well as the number of pixels of the display unit and the refresh rate of the display unit, and determine the color depth to be applied to the display data in the printing state based on the identified second processing amount, the number of pixels, and the refresh rate.
本発明の第2の態様に係るプログラムは、表示部に表示画像を表示させる表示処理部と、印刷部とを有する印刷装置を、前記印刷部に印刷させる印刷処理を実行する印刷処理部、前記印刷処理部の状態が、前記印刷処理部が前記印刷処理を実行している印刷状態か、前記印刷処理部が前記印刷処理を実行していないスタンバイ状態であるかを特定する特定部、前記印刷処理部の状態が前記印刷状態であるか、前記スタンバイ状態であるかに基づいて決定した色深度の表示データを生成する表示データ生成部、及び、前記表示データ生成部が生成した前記表示データに基づく表示画像を前記表示部に表示させる前記表示処理部、として機能させる。 A program according to a second aspect of the present invention causes a printing device having a display processing unit that displays a display image on a display unit and a printing unit to function as a printing processing unit that executes a print process that causes the printing unit to print, a determination unit that determines whether the state of the print processing unit is in a printing state in which the print processing unit is executing the print process or a standby state in which the print processing unit is not executing the print process, a display data generation unit that generates display data with a color depth determined based on whether the state of the print processing unit is in the printing state or the standby state, and the display processing unit that displays a display image based on the display data generated by the display data generation unit on the display unit.
本発明によれば、表示部に対して表示処理を行う印刷装置において、印刷中に画面が乱れることを抑制することができるという効果を奏する。 This invention has the advantage that, in a printing device that performs display processing on a display unit, it is possible to prevent the screen from becoming distorted during printing.
[印刷装置1の概要]
図1は、印刷装置1の概要を示す図である。図1に示すように、印刷装置1は、例えば感熱紙に印刷を行うサーマルプリンタ又はバーコードプリンタであり、自身の印刷を制御するホストPC2と、表示部としての表示装置3とに接続されている。印刷装置1は、ホストPC2の制御に応じて商品のラベル及びレシート等の印刷を行う印刷処理部を有する。また、印刷装置1は、ユーザから操作入力を受け付けたことに応じて、表示装置3に表示画像を表示させるために表示データを生成するデータ生成部を有している。
[Outline of Printing Device 1]
Fig. 1 is a diagram showing an overview of a printing device 1. As shown in Fig. 1, the printing device 1 is, for example, a thermal printer or barcode printer that prints on thermal paper, and is connected to a host PC 2 that controls its own printing and a display device 3 that serves as a display unit. The printing device 1 has a print processing unit that prints product labels, receipts, etc. in accordance with the control of the host PC 2. The printing device 1 also has a data generation unit that generates display data to display a display image on the display device 3 in response to receiving operation input from a user.
印刷装置1は、印刷処理部の状態が、印刷処理を実行している印刷状態か、印刷処理を実行していないスタンバイ状態であるかを特定する。印刷装置1は、データ生成部が表示データを生成する場合において、印刷処理部の状態が印刷状態であるかスタンバイ状態であるかに基づいて決定した色深度の表示データを生成する。 The printing device 1 determines whether the state of the print processing unit is a printing state in which printing processing is being performed, or a standby state in which printing processing is not being performed. When the data generation unit generates display data, the printing device 1 generates display data with a color depth determined based on whether the state of the print processing unit is a printing state or a standby state.
従来、印刷装置の処理能力が低い場合において、印刷処理と表示データの生成処理との両方を同時に実行すると、表示データの生成に時間がかかることにより表示処理が間に合わなくなり、表示装置に表示させる画面が乱れてしまう場合がある。これに対し、印刷装置1は、印刷処理部の状態が印刷状態であるかスタンバイ状態であるかに基づいて決定した色深度の表示データを生成することにより、印刷状態である場合における表示データの色深度を、スタンバイ状態である場合における表示データの色深度よりも少なくすることができる。これにより、印刷装置1は、印刷処理部の状態が印刷状態であっても表示データを速やかに生成し、印刷中に画面が乱れることを抑制することができる。 Conventionally, when a printing device has low processing power, if both the printing process and the display data generation process are performed simultaneously, the display process may not be able to keep up due to the time it takes to generate the display data, resulting in a distorted screen image on the display device. In response to this, the printing device 1 generates display data with a color depth determined based on whether the print processing unit is in a printing state or a standby state, allowing the color depth of the display data in the printing state to be lower than the color depth of the display data in the standby state. This allows the printing device 1 to quickly generate display data even when the print processing unit is in a printing state, preventing the screen from becoming distorted during printing.
[印刷装置1の構成]
図2は、印刷装置1の構成の模式図である。図2に示すように、印刷装置1は、バスライン10と、デバイスI/F(インタフェース)11と、ホストI/F12と、ディスプレイI/F13と、ブリッジIC14と、ネットワークI/F15と、印刷部16と、記憶部17と、制御部18とを有する。
[Configuration of Printing Device 1]
Fig. 2 is a schematic diagram of the configuration of the printing device 1. As shown in Fig. 2, the printing device 1 has a bus line 10, a device I/F (interface) 11, a host I/F 12, a display I/F 13, a bridge IC 14, a network I/F 15, a printing unit 16, a storage unit 17, and a control unit 18.
デバイスI/F11と、ホストI/F12と、ディスプレイI/F13と、ネットワークI/F15と、印刷部16と、記憶部17と、制御部18とは、バスライン10を介して接続されている。バスライン10には、データバス、コントロールバス及びアドレスバスが含まれる。 The device I/F 11, host I/F 12, display I/F 13, network I/F 15, printing unit 16, memory unit 17, and control unit 18 are connected via bus line 10. Bus line 10 includes a data bus, a control bus, and an address bus.
デバイスI/F11は、例えば、USB(Universal Serial Bus)デバイスインタフェースであり、印刷装置1の印刷制御が可能な機器であるホストPC2を印刷装置1に接続するためのインタフェースである。 The device I/F 11 is, for example, a USB (Universal Serial Bus) device interface, and is an interface for connecting the printing device 1 to a host PC 2, which is a device capable of controlling printing by the printing device 1.
ホストI/F12は、例えば、USBホストインタフェースであり、印刷装置1が制御可能な機器を印刷装置1に接続するためのインタフェースである。本実施の形態では、表示装置3に、入力操作を受け付けるタッチパネルが設けられており、ホストI/F12には、表示装置3が接続されている。また、ホストI/F12には、表示装置3の他に、印刷装置1が制御可能な機器として、キーボード等の入力装置4、バーコードリーダ5、及び表示データを生成するための表示画面用データ(例えばテンプレート)を格納するUSBメモリ等の記憶装置6が接続されている。ここで、表示画面用データは、第1の色深度に対応するデータであるものとする。 The host I/F 12 is, for example, a USB host interface, and is an interface for connecting devices controllable by the printing device 1 to the printing device 1. In this embodiment, the display device 3 is provided with a touch panel that accepts input operations, and the display device 3 is connected to the host I/F 12. In addition to the display device 3, the host I/F 12 is also connected to devices controllable by the printing device 1, including an input device 4 such as a keyboard, a barcode reader 5, and a storage device 6 such as a USB memory that stores display screen data (e.g., templates) for generating display data. Here, the display screen data is assumed to be data corresponding to the first color depth.
ディスプレイI/F13は、例えば、表示データを表示装置3に表示させるためのインタフェースである。ディスプレイI/F13には、ブリッジIC14が接続されている。ブリッジIC14は、ディスプレイコントローラとして機能し、制御部18から受信するDSI(Display Serial Interface)信号を、ディスプレイポート・インタフェース又はHDMI(High-Definition Multimedia Interface)(登録商標)等のデジタル表示規格に対応する差動シリアル信号に変換して、表示装置3に出力する。 The display I/F 13 is, for example, an interface for displaying display data on the display device 3. A bridge IC 14 is connected to the display I/F 13. The bridge IC 14 functions as a display controller, converting DSI (Display Serial Interface) signals received from the control unit 18 into differential serial signals compatible with digital display standards such as the DisplayPort interface or HDMI (High-Definition Multimedia Interface) (registered trademark), and outputting the signals to the display device 3.
ネットワークI/F15は、例えば有線LANインタフェースである。ネットワークI/F15は、外部のサーバ7との間で通信を行い、例えば表示装置3に表示するための表示画面用データであるテンプレートをサーバから入手したり、サーバ7側においてPOS(Point of Sale)に係る機能を実現するために必要となる情報を転送したりする。POS機能を実現するために必要な情報は、例えば、商品情報管理、売上情報管理、及び在庫情報管理の少なくともいずれかを行うために必要となる情報である。 The network I/F 15 is, for example, a wired LAN interface. The network I/F 15 communicates with the external server 7, obtaining, for example, templates, which are display screen data to be displayed on the display device 3, from the server, and transferring information required to realize POS (Point of Sale) functions on the server 7 side. Information required to realize POS functions is, for example, information required to perform at least one of product information management, sales information management, and inventory information management.
別の例では、サーバ7は、物流管理を担うサーバであったり、医療機関などにおいて、患者の窓口受付を受けて患者の電子カルテなどを管理するサーバであったりしてもよい。 In another example, server 7 may be a server responsible for logistics management, or a server at a medical institution that accepts patient inquiries and manages their electronic medical records, etc.
印刷部16は、例えば、感熱紙に印刷を行うサーマルヘッド、感熱紙を搬送するためのモータ、感熱紙を切断するためのカッターの動力源であるカッターモータ、感熱紙の有無を検知するセンサ等を有しており、ホストPC2の制御又は制御部18の制御により感熱紙に印刷を行う。 The printing unit 16 includes, for example, a thermal head that prints on thermal paper, a motor for transporting the thermal paper, a cutter motor that powers a cutter that cuts the thermal paper, and a sensor that detects the presence or absence of thermal paper, and prints on the thermal paper under the control of the host PC 2 or the control unit 18.
記憶部17は、ROM(Read Only Memory)、RAM(Random Access Memory)及びハードディスク等を含む記憶媒体である。記憶部17は、制御部18が実行するプログラムを記憶する。記憶部17には、制御部18により生成された表示データを一時的に記憶する記憶領域であるフレームバッファが設けられている。 The storage unit 17 is a storage medium including a ROM (Read Only Memory), a RAM (Random Access Memory), a hard disk, etc. The storage unit 17 stores programs executed by the control unit 18. The storage unit 17 is provided with a frame buffer, which is a storage area that temporarily stores display data generated by the control unit 18.
制御部18は、例えばCPU(Central Processing Unit)等のプロセッサを含むマイクロコントローラである。図3は、制御部18が有する機能を説明する図である。制御部18は、記憶部17に記憶されたプログラムを実行することにより、図3に示すように、印刷処理部181、特定部182、表示データ生成部183、及び表示処理部184として機能する。 The control unit 18 is a microcontroller including a processor such as a CPU (Central Processing Unit). Figure 3 is a diagram explaining the functions of the control unit 18. By executing the programs stored in the storage unit 17, the control unit 18 functions as a print processing unit 181, an identification unit 182, a display data generation unit 183, and a display processing unit 184, as shown in Figure 3.
印刷処理部181は、印刷部16に印刷させる印刷処理を実行する。例えば、印刷処理部181は、デバイスI/F11を介してホストPC2から印刷データを受信すると、印刷データに基づいて印刷部16に印刷させる。 The print processing unit 181 executes print processing that causes the printing unit 16 to print. For example, when the print processing unit 181 receives print data from the host PC 2 via the device I/F 11, it causes the printing unit 16 to print based on the print data.
特定部182は、印刷処理部181の状態が、印刷処理部181が印刷処理を実行している印刷状態か、印刷処理部181が印刷処理を実行していないスタンバイ状態であるかを特定する。例えば、特定部182は、印刷処理部181の処理状態を監視することにより、印刷処理部181の状態が印刷状態であるか、スタンバイ状態であるかを特定する。 The identification unit 182 identifies whether the state of the print processing unit 181 is a printing state in which the print processing unit 181 is executing a print process, or a standby state in which the print processing unit 181 is not executing a print process. For example, the identification unit 182 monitors the processing state of the print processing unit 181 to identify whether the state of the print processing unit 181 is a printing state or a standby state.
表示データ生成部183は、ホストI/F12を介して、表示装置3又は入力装置4から操作を受け付けたことに応じて、当該操作に対応する表示データを生成する。また、表示データ生成部183は、ホストI/F12を介して、バーコードリーダ5がバーコードから読み取った情報を取得したことに応じて、当該情報に対応する表示データを生成する。表示データ生成部183は、例えば、ホストI/F12を介して、記憶装置6に格納されている表示画面用データを取得し、取得した表示画面用データとしてのテンプレート等に基づいて表示データを生成する。 In response to receiving an operation from the display device 3 or input device 4 via the host I/F 12, the display data generation unit 183 generates display data corresponding to the operation. In addition, in response to acquiring information read from a barcode by the barcode reader 5 via the host I/F 12, the display data generation unit 183 generates display data corresponding to the information. For example, the display data generation unit 183 acquires display screen data stored in the storage device 6 via the host I/F 12, and generates display data based on a template or the like as the acquired display screen data.
表示データ生成部183は、特定部182が特定した印刷処理部181の状態が印刷状態であるか、スタンバイ状態であるかに基づいて決定した色深度の表示データを生成する。具体的には、表示データ生成部183は、特定部182が特定した印刷処理部181の状態がスタンバイ状態である場合に、記憶装置6に格納されている第1の色深度に対応する表示画面用データに基づいて、第1の色深度の表示データを生成する。また、表示データ生成部183は、特定部182が特定した印刷処理部181の状態が印刷状態である場合に、記憶装置6に格納されている第1の色深度に対応する表示画面用データの色深度を減色することにより、第1の色深度よりも低い第2の色深度の表示データを生成する。 The display data generation unit 183 generates display data with a color depth determined based on whether the state of the print processing unit 181 identified by the identification unit 182 is a printing state or a standby state. Specifically, when the state of the print processing unit 181 identified by the identification unit 182 is a standby state, the display data generation unit 183 generates display data with a first color depth based on display screen data corresponding to the first color depth stored in the storage device 6. Furthermore, when the state of the print processing unit 181 identified by the identification unit 182 is a printing state, the display data generation unit 183 generates display data with a second color depth lower than the first color depth by reducing the color depth of the display screen data corresponding to the first color depth stored in the storage device 6.
第1の色深度の表示データは、例えば、RGB888形式の表示データ、すなわち、色深度が24ビットの表示データである。第2の色深度の表示データは、例えば、RGB565形式の表示データ、すなわち、色深度が16ビットの表示データである。 Display data with a first color depth is, for example, display data in RGB888 format, i.e., display data with a color depth of 24 bits. Display data with a second color depth is, for example, display data in RGB565 format, i.e., display data with a color depth of 16 bits.
図4は、RGB888形式の表示データをRGB565形式の表示データに変換する方法を説明する図である。図4に示すように、RGB888形式の表示データのうち、「R」が付されたデータは赤色要素に対応するデータであり、「G」が付されたデータは緑色要素に対応するデータであり、「B」が付されたデータは青色要素に対応するデータである。図4に示すように、表示データ生成部183は、RGB888形式の表示データの赤色要素に対応する8ビットのデータ(R0~R7)のうち、最上位ビット(MSB)から5ビットのデータ(R7~R3)、緑色要素に対応する8ビットのデータ(G0~G7)のうち、最上位ビットから6ビットのデータ(G7~G2)、青色要素に対応する8ビットのデータ(B0~B7)のうち、最上位ビットから5ビット(B7~B3)のデータを抽出することにより、RGB888形式の24ビットの表示データをRGB565形式の16ビットの表示データに変換する。 Figure 4 illustrates a method for converting RGB888 format display data into RGB565 format display data. As shown in Figure 4, in the RGB888 format display data, data marked with "R" corresponds to the red component, data marked with "G" corresponds to the green component, and data marked with "B" corresponds to the blue component. As shown in Figure 4, the display data generation unit 183 converts 24-bit RGB888 format display data into 16-bit RGB565 format display data by extracting the five most significant bits (R7 to R3) of the 8-bit data (R0 to R7) corresponding to the red component of the RGB888 format display data, the six most significant bits (G7 to G2) of the 8-bit data (G0 to G7) corresponding to the green component, and the five most significant bits (B7 to B3) of the 8-bit data (B0 to B7) corresponding to the blue component.
表示データ生成部183は、生成した表示データを、記憶部17に設けられているフレームバッファに記憶させる。通常、フレームバッファは2つ(例えば、フレームバッファA及びB)用意される。例えば、表示装置3のリフレッシュレートが60Hzの場合、表示データ生成部183は、60Hzの周期で表示データを生成し、2つのフレームバッファに交互に記憶させる。本発明によれば、表示データ生成部183は、上述したように印刷処理部181の動作状態に応じて、記憶部17に格納する表示データの色深度を変更することで、表示データのデータ量を調節することを可能にする。 The display data generation unit 183 stores the generated display data in a frame buffer provided in the storage unit 17. Typically, two frame buffers (e.g., frame buffers A and B) are provided. For example, if the refresh rate of the display device 3 is 60 Hz, the display data generation unit 183 generates display data at a cycle of 60 Hz and stores it alternately in the two frame buffers. According to the present invention, the display data generation unit 183 changes the color depth of the display data stored in the storage unit 17 depending on the operating state of the print processing unit 181, as described above, thereby making it possible to adjust the amount of display data.
表示処理部184は、表示データ生成部183が生成した表示データに基づく表示画像を表示装置3に表示させる。表示処理部184は、フレームバッファに記憶された1フレーム分のデータを、後段のブリッジIC14に転送する。例えば、表示装置3のリフレッシュレートが60Hzの場合、表示処理部184は、60Hzの周期でフレームバッファAとフレームバッファBとをフリップしながら、フレームバッファAとフレームバッファBとに記憶された表示データをブリッジIC14に転送する。表示処理部184とブリッジIC14との間は、MIPI(Mobile Industry Processor Interface) DSIと呼ばれる高速シリアル転送で接続される。 The display processing unit 184 causes the display device 3 to display an image based on the display data generated by the display data generation unit 183. The display processing unit 184 transfers one frame's worth of data stored in the frame buffer to the downstream bridge IC 14. For example, if the refresh rate of the display device 3 is 60 Hz, the display processing unit 184 transfers the display data stored in frame buffer A and frame buffer B to the bridge IC 14 while flipping between frame buffer A and frame buffer B at a cycle of 60 Hz. The display processing unit 184 and bridge IC 14 are connected via a high-speed serial transfer interface known as MIPI (Mobile Industry Processor Interface) DSI.
ブリッジIC14は上述のように、DSIインタフェースを介し、上流のDSIホストである表示処理部184から転送されたデータを、ディスプレイポート・インタフェース又はHDMIを介して表示装置3に転送するためのブリッジ機能を有する。ブリッジIC14は、DSIインタフェースを介して転送された色データ形式のデータをそのままの形式で表示装置3に転送(すなわち、RGB565形式又はRGB888形式をそのままの形式で表示装置3に転送)するか、RGB565形式に減色されたデータをRGB888形式の24ビットデータに補完して、表示装置3に転送することができる。 As described above, the bridge IC 14 has a bridge function for transferring data transferred from the display processing unit 184, which is the upstream DSI host, via the DSI interface to the display device 3 via the DisplayPort interface or HDMI. The bridge IC 14 can either transfer color data transferred via the DSI interface to the display device 3 in its original format (i.e., transfer RGB565 format or RGB888 format data to the display device 3 in its original format), or it can complement data that has been color-reduced to RGB565 format with 24-bit data in RGB888 format and transfer it to the display device 3.
図5は、RGB565形式の表示データをRGB888形式の表示データに変換する方法を説明する図である。例えば、ブリッジIC14は、図5に示すように、RGB565形式の表示データの各色の要素に対応するデータの後ろに、各色の先頭の所定ビットのデータを付加することにより、RGB565形式の表示データをRGB888形式の表示データに変換する。例えば、ブリッジIC14は、RGB565形式の表示データの赤色要素に対応するデータの最下位ビット(LSB)の後に、補完データとして赤色要素の先頭から3ビットのデータ(R4~R2)を付加する。また、表示処理部184は、緑色要素に対応するデータの最下位ビットの後に、補完データとして緑色要素の先頭から2ビットのデータ(G5、G4)を付加する。また、表示処理部184は、青色要素に対応するデータの最下位ビットの後に、補完データとして青色要素の先頭から3ビットのデータ(B4~B2)を付加する。なお、ブリッジIC14における補完処理は専用のハードウェアにより実行されるので、表示装置3へ転送すべきデータの遅延などの問題は生じない。 Figure 5 illustrates a method for converting RGB565 format display data into RGB888 format display data. For example, as shown in Figure 5, the bridge IC 14 converts RGB565 format display data into RGB888 format display data by appending a predetermined number of bits of data at the beginning of each color to the end of the data corresponding to each color element of the RGB565 format display data. For example, the bridge IC 14 appends the first three bits of data (R4 to R2) of the red element as complementary data to the least significant bit (LSB) of the data corresponding to the red element of the RGB565 format display data. The display processing unit 184 also appends the first two bits of data (G5, G4) of the green element as complementary data to the least significant bit of the data corresponding to the green element. The display processing unit 184 also appends the first three bits of data (B4 to B2) of the blue element as complementary data to the least significant bit of the data corresponding to the blue element. Furthermore, since the interpolation process in the bridge IC 14 is performed by dedicated hardware, there are no problems such as delays in the data to be transferred to the display device 3.
なお、上述したように、表示データ生成部183がフレームバッファに記憶させる表示データを生成する場合に、表示データの色深度を調節することにより、1フレーム分のデータ量を調節することとしたが、これに限らない。表示データ生成部183が表示データを生成する場合に、表示データの色深度を変更せずにフレームバッファに記憶させ、表示処理部184が、フレームバッファに記憶されている表示データの色深度を調節することにより、その1フレーム分のデータ量を調節するようにしてもよい。 As described above, when the display data generation unit 183 generates display data to be stored in the frame buffer, the amount of data for one frame is adjusted by adjusting the color depth of the display data, but this is not limited to this. When the display data generation unit 183 generates display data, it may store the display data in the frame buffer without changing the color depth, and the display processing unit 184 may adjust the amount of data for one frame by adjusting the color depth of the display data stored in the frame buffer.
ここで、表示装置3が、RGB888形式の24ビットの表示データの表示に対応しており、RGB565形式の16ビットの表示データの表示に対応していない場合に、フレームバッファにRGB565形式の16ビットの表示データが記憶されていると、表示処理部184がフレームバッファに記憶されている表示データをブリッジIC14に出力しても、表示装置3に表示画像を表示させることができないという問題が発生する。 If the display device 3 is capable of displaying 24-bit display data in RGB888 format, but not 16-bit display data in RGB565 format, and 16-bit display data in RGB565 format is stored in the frame buffer, a problem occurs in which the display image cannot be displayed on the display device 3, even if the display processing unit 184 outputs the display data stored in the frame buffer to the bridge IC 14.
これに対応して、表示処理部184は、表示データ生成部183が生成した表示データの色深度が第2の色深度である場合、すなわち、表示装置3がRGB565形式の16ビットの表示データの表示に対応していない場合に、当該表示データに補完データを付加して第1の色深度に対応する所定のビット幅の表示用データを生成してもよい。 In response to this, when the color depth of the display data generated by the display data generation unit 183 is the second color depth, i.e., when the display device 3 is not capable of displaying 16-bit display data in RGB565 format, the display processing unit 184 may add complementary data to the display data to generate display data of a predetermined bit width corresponding to the first color depth.
例えば、表示処理部184は、表示装置3が対応している色データ形式を示す情報を含むEDID(Extended Display Identification Data)を取得し、EDIDに含まれている情報に基づいて、表示装置3がRGB565形式の表示データの表示に対応しているか否かを判定する。そして、表示処理部184は、表示装置3がRGB565形式の16ビットの表示データの表示に対応していないと判定すると、図5に示す処理と同様の処理により、フレームバッファに記憶されているRGB565形式の16ビットの表示データをRGB888形式の24ビット(所定のビット幅)の表示データに変換する。 For example, the display processing unit 184 acquires EDID (Extended Display Identification Data) containing information indicating the color data format supported by the display device 3, and determines whether the display device 3 is capable of displaying display data in RGB565 format based on the information contained in the EDID. If the display processing unit 184 determines that the display device 3 is not capable of displaying 16-bit display data in RGB565 format, it converts the 16-bit display data in RGB565 format stored in the frame buffer into 24-bit (predetermined bit width) display data in RGB888 format using a process similar to that shown in FIG. 5.
そして、表示処理部184は、生成したRGB888形式の表示データをブリッジIC14に出力することにより、当該所定のビット幅の表示用データに基づく表示画像を表示装置3に表示させる。このようにすることで、印刷装置1は、表示装置3がRGB565形式の16ビットの表示データの表示に対応していない場合であっても、当該表示データに対応する表示画像を表示装置3に表示させることができる。 The display processing unit 184 then outputs the generated display data in RGB888 format to the bridge IC 14, causing the display device 3 to display an image based on the display data of the specified bit width. In this way, the printing device 1 can cause the display device 3 to display an image corresponding to the display data, even if the display device 3 does not support displaying 16-bit display data in RGB565 format.
なお、表示データ生成部183は、決定した色深度を、表示データを表示装置3に表示させるディスプレイコントローラとして機能するブリッジIC14に設定してもよい。これにより、ブリッジIC14は、DSIインタフェースを介して、上流のDSIホストから転送された、表示データ生成部183が決定した色深度に対応した色形式のデータに基づく表示画像を表示装置3に表示させることができる。 The display data generation unit 183 may set the determined color depth in the bridge IC 14, which functions as a display controller that displays the display data on the display device 3. This allows the bridge IC 14 to display on the display device 3 a display image based on data in a color format that corresponds to the color depth determined by the display data generation unit 183, transferred from an upstream DSI host via the DSI interface.
[動作フロー]
続いて、印刷装置1が表示データに基づく表示画像を表示装置3に表示させる処理の流れについて説明する。図6は、印刷装置1が表示データに基づく表示画像を表示装置3に表示させる処理の流れを示すフローチャートである。なお、本フローチャートは、表示データ生成部183がホストI/F12を介して表示装置3又は入力装置4から操作を受け付けるか、バーコードリーダ5がバーコードを読み取り、バーコードが示す情報を表示データ生成部183が取得したことに応じて開始するものとする。
[Operation flow]
Next, a description will be given of the flow of processing in which the printing device 1 causes the display device 3 to display a display image based on display data. Fig. 6 is a flowchart showing the flow of processing in which the printing device 1 causes the display device 3 to display a display image based on display data. Note that this flowchart starts when the display data generation unit 183 receives an operation from the display device 3 or the input device 4 via the host I/F 12, or when the barcode reader 5 reads a barcode and the display data generation unit 183 acquires information indicated by the barcode.
まず、特定部182は、印刷処理部181の状態が、印刷処理部181が印刷処理を実行している印刷状態か、印刷処理部181が印刷処理を実行していないスタンバイ状態であるかを特定する(S1)。 First, the identification unit 182 identifies whether the state of the print processing unit 181 is a printing state in which the print processing unit 181 is executing a print process, or a standby state in which the print processing unit 181 is not executing a print process (S1).
続いて、表示データ生成部183は、特定部182が特定した印刷処理部181の状態がスタンバイ状態であるか否かを判定する(S2)。表示データ生成部183は、印刷処理部181の状態がスタンバイ状態であると判定すると(S2のYES)、S3に処理を移す。また、表示データ生成部183は、印刷処理部181の状態がスタンバイ状態ではなく、印刷状態であると判定すると(S2のNO)、S6に処理を移す。 Next, the display data generation unit 183 determines whether the state of the print processing unit 181 identified by the identification unit 182 is a standby state (S2). If the display data generation unit 183 determines that the print processing unit 181 is in a standby state (YES in S2), the process proceeds to S3. If the display data generation unit 183 determines that the print processing unit 181 is in a printing state rather than a standby state (NO in S2), the process proceeds to S6.
S3において、表示データ生成部183は、表示データの色深度を第1の色深度に決定し、第1の色深度で表示データを生成する。そして、表示データ生成部183は、生成した表示データをフレームバッファに記憶させる(S4)。続いて、表示処理部184は、フレームバッファに記憶されている表示データを前述のようにDSI転送を用いて、ブリッジIC14に出力する(S5)。これにより、ブリッジIC14は、DSIホストから転送された表示データに基づく表示画像を、ディスプレイポート・インタフェース又はHDMIを介して表示装置3に表示させる。 In S3, the display data generation unit 183 determines the color depth of the display data to be the first color depth and generates display data at the first color depth. The display data generation unit 183 then stores the generated display data in the frame buffer (S4). Next, the display processing unit 184 outputs the display data stored in the frame buffer to the bridge IC 14 using DSI transfer as described above (S5). As a result, the bridge IC 14 displays a display image based on the display data transferred from the DSI host on the display device 3 via the DisplayPort interface or HDMI.
S6において、表示データ生成部183は、表示データの色深度を第2の色深度に決定し、第2の色深度で表示データを生成する。そして、表示データ生成部183は、生成した表示データをフレームバッファに記憶させる(S7)。続いて、表示処理部184は、表示装置3から取得するEDIDに基づいて、表示装置3が第2の色深度の表示データに基づいて表示画像を表示可能か否かを判定する(S8)。表示処理部184は、表示装置3が第2の色深度の表示データに基づいて表示画像を表示可能と判定すると(S8のYES)、S10に処理を移す。また、表示処理部184は、表示装置3が第2の色深度の表示データに基づいて表示画像を表示できないと判定すると(S8のNO)、S9に処理を移し、フレームバッファに記憶されている第2の色深度の表示データに補完データを付加して、第1の色深度に対応する所定のビット幅の表示データを生成する。 In S6, the display data generation unit 183 determines the color depth of the display data to be the second color depth and generates display data at the second color depth. The display data generation unit 183 then stores the generated display data in the frame buffer (S7). Next, the display processing unit 184 determines, based on the EDID acquired from the display device 3, whether the display device 3 can display a display image based on display data at the second color depth (S8). If the display processing unit 184 determines that the display device 3 can display a display image based on display data at the second color depth (YES in S8), it proceeds to S10. On the other hand, if the display processing unit 184 determines that the display device 3 cannot display a display image based on display data at the second color depth (NO in S8), it proceeds to S9, where it adds complementary data to the display data at the second color depth stored in the frame buffer to generate display data of a predetermined bit width corresponding to the first color depth.
S10において、表示処理部184は、フレームバッファに記憶されている第2の色深度の表示データ、又は当該表示データから変換した第1の色深度の表示データを、ブリッジIC14に出力する。これにより、ブリッジIC14は、表示データに基づく表示画像を表示装置3に表示させる。 At S10, the display processing unit 184 outputs the display data of the second color depth stored in the frame buffer, or the display data of the first color depth converted from the display data, to the bridge IC 14. As a result, the bridge IC 14 displays an image based on the display data on the display device 3.
[変形例1]
上述の実施の形態において、表示データ生成部183は、印刷処理部181の状態がスタンバイ状態である場合に第1の色深度の表示データを生成し、印刷処理部181の状態が印刷状態である場合に、第2の色深度の表示データを生成したが、これに限らない。
[Modification 1]
In the above-described embodiment, the display data generation unit 183 generates display data of a first color depth when the print processing unit 181 is in a standby state, and generates display data of a second color depth when the print processing unit 181 is in a printing state, but this is not limited to this.
例えば、表示データ生成部183は、表示装置3の画素数と、特定部182が特定した印刷処理部181の状態とに基づいて色深度を決定し、決定した色深度の表示データを生成してもよい。この場合、記憶部17に、印刷装置1への接続が想定される表示装置の画素数と、印刷状態及びスタンバイ状態それぞれにおける色深度とを関連付けた色深度情報を記憶させておく。 For example, the display data generation unit 183 may determine the color depth based on the number of pixels of the display device 3 and the state of the print processing unit 181 identified by the identification unit 182, and generate display data with the determined color depth. In this case, the storage unit 17 stores color depth information that associates the number of pixels of the display device expected to be connected to the printing device 1 with the color depth in both the printing state and the standby state.
表示データ生成部183は、表示装置3の画素数を特定する。例えば、表示データ生成部183は、表示装置3から、表示装置3の画素数を示す情報を含むEDIDを取得し、EDIDに含まれている画素数を示す情報に基づいて、表示装置3の画素数を特定する。 The display data generation unit 183 determines the number of pixels of the display device 3. For example, the display data generation unit 183 acquires, from the display device 3, EDID including information indicating the number of pixels of the display device 3, and determines the number of pixels of the display device 3 based on the information indicating the number of pixels included in the EDID.
表示データ生成部183は、表示装置3の画素数を特定すると、記憶部17に記憶されている色深度情報を参照し、特定部182が特定した印刷処理部181の状態と、特定した表示装置3の画素数とに関連付けられている色深度を、生成する表示データの色深度に決定する。そして、表示データ生成部183は、決定した色深度の表示データを生成する。 Once the display data generation unit 183 has identified the number of pixels of the display device 3, it references the color depth information stored in the memory unit 17 and determines the color depth associated with the state of the print processing unit 181 identified by the identification unit 182 and the identified number of pixels of the display device 3 as the color depth of the display data to be generated. The display data generation unit 183 then generates display data with the determined color depth.
このようにすることで、印刷装置1は、表示装置3として採用された表示装置が有する画素数に適した色深度であって、表示データの生成に遅延が生じない色深度で表示データを生成することができる。 By doing this, the printing device 1 can generate display data at a color depth that is appropriate for the number of pixels of the display device adopted as the display device 3 and that does not cause delays in the generation of the display data.
[変形例2]
また、表示データ生成部183は、特定部182が特定した印刷処理部の状態がスタンバイ状態である場合においてマイクロコントローラとしての制御部18が表示データの生成に割り当て可能な処理量である第1処理量と、表示装置3の画素数と、表示装置3のリフレッシュレートとを特定してもよい。例えば、表示データ生成部183は、表示装置3からEDIDを取得し、EDIDに基づいて、表示装置3の水平方向の画素数及び垂直方向の画素数、リフレッシュレートを特定する。また、表示データ生成部183は、制御部18の最大データ処理量を、第1処理量として特定する。
[Modification 2]
Furthermore, when the state of the print processing unit identified by the identification unit 182 is the standby state, the display data generation unit 183 may identify a first processing amount, which is the processing amount that the control unit 18 as a microcontroller can allocate to generating display data, the number of pixels of the display device 3, and the refresh rate of the display device 3. For example, the display data generation unit 183 acquires EDID from the display device 3, and identifies the number of horizontal and vertical pixels and the refresh rate of the display device 3 based on the EDID. Furthermore, the display data generation unit 183 identifies the maximum data processing amount of the control unit 18 as the first processing amount.
そして、表示データ生成部183は、特定した第1処理量、表示装置3の画素数、及びリフレッシュレートに基づいて、スタンバイ状態において表示データに適用する色深度を決定してもよい。例えば、第1処理量をQ1、表示装置3の水平方向の画素数をH、垂直方向の画素数をV、リフレッシュレートをRf、画素クロック周波数の最大値をfpmax、色深度をCdpとしたときに、以下の式(1)が成り立つようにする必要がある。
Q1>fpmax×Cdp>H×V×Rf×Cdp・・・式(1)
Then, the display data generation unit 183 may determine the color depth to be applied to the display data in the standby state based on the specified first processing amount, the number of pixels of the display device 3, and the refresh rate. For example, when the first processing amount is Q1 , the number of horizontal pixels of the display device 3 is H, the number of vertical pixels is V, the refresh rate is Rf, the maximum value of the pixel clock frequency is fpmax, and the color depth is Cdp, it is necessary to ensure that the following formula (1) holds.
Q 1 >fpmax×Cdp>H×V×Rf×Cdp...Formula (1)
式(1)のQ1と、H×V×Rf×Cdpとの大小関係に基づいて、以下の式(2)が成り立つ。
Cdp<Q1/(H×V×Rf)・・・式(2)
Based on the magnitude relationship between Q1 in formula (1) and H×V×Rf×Cdp, the following formula (2) is established.
Cdp<Q 1 /(H×V×Rf) Formula (2)
したがって、表示データ生成部183は、特定した第1処理量と、表示装置3の画素数と、リフレッシュレートと、表示装置3の色深度とが式(2)を満たすように、表示装置3が取り得る色深度の中から色深度を決定する。 Therefore, the display data generation unit 183 determines the color depth from among the color depths that the display device 3 can have, so that the identified first processing amount, the number of pixels of the display device 3, the refresh rate, and the color depth of the display device 3 satisfy equation (2).
また、表示データ生成部183は、特定部182が特定した印刷処理部181の状態が印刷状態である場合においてマイクロコントローラとしての制御部18が表示データの生成に割り当て可能な処理量である第2処理量と、表示装置3の画素数と、表示装置のリフレッシュレートとを特定してもよい。 In addition, when the state of the print processing unit 181 identified by the identification unit 182 is the printing state, the display data generation unit 183 may identify a second processing amount, which is the processing amount that the control unit 18 as a microcontroller can allocate to generating display data, the number of pixels of the display device 3, and the refresh rate of the display device.
例えば、表示データ生成部183は、上述したように、EDIDに基づいて、表示装置3の水平方向の画素数及び垂直方向の画素数、リフレッシュレートを特定する。また、表示データ生成部183は、制御部18の最大データ処理量と、印刷処理部181の状態が印刷状態である場合に制御部18が使用するデータ処理量とに基づいて、第2処理量を特定する。ここで、表示データ生成部183は、印刷処理部181の状態が印刷状態である場合における印刷処理部181に対応するスレッドの記憶部17のRAMの占有率と、制御部18の最大データ処理量とに基づいて、第2処理量を特定してもよい。 For example, as described above, the display data generation unit 183 determines the number of horizontal and vertical pixels and the refresh rate of the display device 3 based on the EDID. Furthermore, the display data generation unit 183 determines the second processing volume based on the maximum data processing volume of the control unit 18 and the data processing volume used by the control unit 18 when the print processing unit 181 is in the printing state. Here, the display data generation unit 183 may determine the second processing volume based on the RAM occupancy rate of the memory unit 17 of the thread corresponding to the print processing unit 181 when the print processing unit 181 is in the printing state and the maximum data processing volume of the control unit 18.
そして、表示データ生成部183は、特定した第2処理量、画素クロック周波数、表示装置3の画素数、及びリフレッシュレートに基づいて、印刷状態において表示データに適用する色深度を決定してもよい。例えば、第2処理量をQ2、表示装置3の水平方向の画素数をH、垂直方向の画素数をV、リフレッシュレートをRf、画素クロック周波数の最大値をfpmax、色深度をCdpとしたときに、以下の式(3)が成り立つようにする必要がある。
Q2>fpmax×Cdp>H×V×Rf×Cdp・・・式(3)
The display data generation unit 183 may then determine the color depth to be applied to the display data in the print state based on the specified second processing amount, pixel clock frequency, number of pixels of the display device 3, and refresh rate. For example, when the second processing amount is Q2 , the number of horizontal pixels of the display device 3 is H, the number of vertical pixels is V, the refresh rate is Rf, the maximum value of the pixel clock frequency is fpmax, and the color depth is Cdp, it is necessary to ensure that the following equation (3) holds.
Q 2 >fpmax×Cdp>H×V×Rf×Cdp...Formula (3)
式(3)のQ2と、H×V×Rf×Cdpとの大小関係に基づいて、以下の式(4)が成り立つ。
Cdp<Q2/(H×V×Rf)・・・式(4)
Based on the magnitude relationship between Q2 in formula (3) and H×V×Rf×Cdp, the following formula (4) is established.
Cdp<Q 2 /(H×V×Rf) Formula (4)
したがって、表示データ生成部183は、特定した第2処理量と、表示装置3の画素数と、リフレッシュレートと、表示装置3の色深度とが式(4)を満たすように、表示装置3が取り得る色深度の中から色深度を決定する。 Therefore, the display data generation unit 183 determines the color depth from among the color depths that the display device 3 can take so that the identified second processing amount, the number of pixels of the display device 3, the refresh rate, and the color depth of the display device 3 satisfy equation (4).
このようにすることで、印刷装置1は、自身が有するマイクロコントローラのスペック及び表示装置3のスペックに適した色深度であって、表示データの生成に遅延が生じない色深度で表示データを生成することができる。 By doing this, the printing device 1 can generate display data at a color depth that is appropriate for the specifications of its own microcontroller and the specifications of the display device 3, and that does not cause delays in the generation of the display data.
[変形例3]
また、上述の実施形態では、印刷装置1に対して外付けで表示装置3が接続されることとしたが、これに限らない。印刷装置1が、表示装置3としての表示部を有しており、表示処理部184が、表示データ生成部183が生成した表示データに基づく表示画像を、印刷装置1が有する表示部に表示させてもよい。
[Modification 3]
In the above embodiment, the display device 3 is connected externally to the printing device 1, but this is not limiting. The printing device 1 may have a display unit as the display device 3, and the display processing unit 184 may display a display image based on the display data generated by the display data generation unit 183 on the display unit of the printing device 1.
[印刷装置1による効果]
以上説明したように、本実施の形態に係る印刷装置1は、印刷処理部の状態が、印刷処理を実行している印刷状態か、印刷処理を実行していないスタンバイ状態であるかを特定し、特定した印刷処理部の状態が印刷状態であるか、スタンバイ状態であるかに基づいて決定した色深度の表示データを生成し、生成した表示データに基づく表示画像を表示装置3に表示させる。このようにすることで、印刷装置1は、表示部に対して表示処理を行う印刷装置において、印刷中に画面が乱れることを抑制することができる。
[Effects of the printing device 1]
As described above, the printing device 1 according to this embodiment identifies whether the state of the print processing unit is a printing state in which print processing is being performed or a standby state in which print processing is not being performed, generates display data with a color depth determined based on whether the identified state of the print processing unit is a printing state or a standby state, and displays a display image based on the generated display data on the display device 3. In this way, the printing device 1 can prevent the screen from becoming distorted during printing in a printing device that performs display processing on the display unit.
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の全部又は一部は、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を併せ持つ。 The present invention has been described above using embodiments, but the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and alterations are possible within the spirit of the invention. For example, all or part of the device can be configured by functionally or physically distributing or integrating any unit. Furthermore, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effects of new embodiments resulting from the combination will also have the effects of the original embodiments.
1 印刷装置
2 ホストPC
3 表示装置
4 入力装置
5 バーコードリーダ
6 記憶装置
7 サーバ
10 バスライン
11 デバイスI/F
12 ホストI/F
13 ディスプレイI/F
14 ブリッジIC
15 ネットワークI/F
16 印刷部
17 記憶部
18 制御部
181 印刷処理部
182 特定部
183 表示データ生成部
184 表示処理部
1 Printing device 2 Host PC
3 Display device 4 Input device 5 Barcode reader 6 Storage device 7 Server 10 Bus line 11 Device I/F
12 Host I/F
13 Display I/F
14 Bridge IC
15 Network I/F
16 Printing unit 17 Storage unit 18 Control unit 181 Print processing unit 182 Identification unit 183 Display data generation unit 184 Display processing unit
Claims (9)
前記印刷部に印刷させる印刷処理を実行する印刷処理部と、
前記印刷処理部の状態が、前記印刷処理部が前記印刷処理を実行している印刷状態か、前記印刷処理部が前記印刷処理を実行していないスタンバイ状態であるかを特定する特定部と、
前記特定部が特定した前記印刷処理部の状態が前記印刷状態であるか、前記スタンバイ状態であるかに基づいて決定した色深度の表示データを生成する表示データ生成部と、
を有し、
前記表示処理部は、前記表示データ生成部が生成した前記表示データに基づく前記表示画像を前記表示部に表示させる、
印刷装置。 A printing device having a display processing unit that displays a display image on a display unit and a printing unit,
a print processing unit that executes a print process to cause the printing unit to print;
a determination unit that determines whether the state of the print processing unit is a printing state in which the print processing unit is executing the print processing or a standby state in which the print processing unit is not executing the print processing;
a display data generating unit that generates display data of a color depth determined based on whether the state of the print processing unit identified by the identifying unit is the printing state or the standby state;
and
the display processing unit causes the display unit to display the display image based on the display data generated by the display data generation unit.
Printing device.
請求項1に記載の印刷装置。 the display data generation unit generates display data of a first color depth when the state of the print processing unit identified by the identification unit is the standby state, and generates display data of a second color depth lower than the first color depth when the state identified by the identification unit is the printing state.
The printing device of claim 1 .
請求項1に記載の印刷装置。 the display data generation unit specifies the number of pixels of the display unit, and refers to color depth information stored in a storage unit that associates the number of pixels of the display unit with color depths in the printing state and the standby state, and generates the display data of the color depth associated with the state of the print processing unit specified by the specification unit and the specified number of pixels of the display unit.
The printing device of claim 1 .
請求項3に記載の印刷装置。 the display data generation unit acquires, from the display unit, Extended Display Identification Data (EDID) including information indicating the number of pixels of the display unit, and identifies the number of pixels of the display unit based on the acquired EDID.
The printing device according to claim 3 .
請求項1に記載の印刷装置。 the display data generation unit sets the determined color depth in a display controller that displays the display data on the display unit.
The printing device of claim 1 .
請求項1に記載の印刷装置。 the display processing unit generates display data of a predetermined bit width by adding complementary data to the display data generated by the display data generation unit, and causes a display unit to display the display image based on the generated display data of the predetermined bit width.
The printing device of claim 1 .
前記表示データ生成部は、前記特定部が特定した前記印刷処理部の状態が前記スタンバイ状態である場合において前記マイクロコントローラが表示データの生成に割り当て可能な処理量である第1処理量と、前記表示部の画素数と、前記表示部のリフレッシュレートとを特定し、特定した第1処理量、前記画素数、及び前記リフレッシュレートに基づいて、前記スタンバイ状態において表示データに適用する色深度を決定する、
請求項1に記載の印刷装置。 the printing device has a microcontroller that functions as the print processing unit, the display data generating unit, and the display processing unit;
the display data generation unit identifies a first processing amount, which is a processing amount that the microcontroller can allocate to generating display data when the state of the print processing unit identified by the identification unit is the standby state, the number of pixels of the display unit, and a refresh rate of the display unit, and determines a color depth to be applied to the display data in the standby state based on the identified first processing amount, the number of pixels, and the refresh rate.
The printing device of claim 1 .
前記表示データ生成部は、前記特定部が特定した前記印刷処理部の状態が前記印刷状態である場合において前記マイクロコントローラが表示データの生成に割り当て可能な処理量である第2処理量と、前記表示部の画素数と、前記表示部のリフレッシュレートとを特定し、特定した第2処理量、前記画素数、及び前記リフレッシュレートに基づいて、前記印刷状態において表示データに適用する色深度を決定する、
請求項1に記載の印刷装置。 the printing device has a microcontroller that functions as the print processing unit, the display data generating unit, and the display processing unit;
the display data generation unit identifies a second processing amount, which is a processing amount that the microcontroller can allocate to generating display data when the state of the print processing unit identified by the identification unit is the printing state, the number of pixels of the display unit, and a refresh rate of the display unit, and determines a color depth to be applied to the display data in the printing state based on the identified second processing amount, the number of pixels, and the refresh rate.
The printing device of claim 1 .
前記印刷部に印刷させる印刷処理を実行する印刷処理部、
前記印刷処理部の状態が、前記印刷処理部が前記印刷処理を実行している印刷状態か、前記印刷処理部が前記印刷処理を実行していないスタンバイ状態であるかを特定する特定部、
前記印刷処理部の状態が前記印刷状態であるか、前記スタンバイ状態であるかに基づいて決定した色深度の表示データを生成する表示データ生成部、及び、
前記表示データ生成部が生成した前記表示データに基づく表示画像を前記表示部に表示させる前記表示処理部、
として機能させるプログラム。
a printing device having a display processing unit that displays a display image on a display unit and a printing unit;
a print processing unit that executes a print process to cause the printing unit to print;
a determination unit that determines whether the state of the print processing unit is a printing state in which the print processing unit is executing the print processing or a standby state in which the print processing unit is not executing the print processing;
a display data generating unit that generates display data having a color depth determined based on whether the state of the print processing unit is the printing state or the standby state; and
the display processing unit causing the display unit to display a display image based on the display data generated by the display data generation unit;
A program that functions as a
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023099725A JP7768579B2 (en) | 2023-06-19 | 2023-06-19 | Printing device and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023099725A JP7768579B2 (en) | 2023-06-19 | 2023-06-19 | Printing device and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2025000080A JP2025000080A (en) | 2025-01-07 |
| JP7768579B2 true JP7768579B2 (en) | 2025-11-12 |
Family
ID=94129056
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023099725A Active JP7768579B2 (en) | 2023-06-19 | 2023-06-19 | Printing device and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7768579B2 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011082784A (en) | 2009-10-07 | 2011-04-21 | Seiko Epson Corp | Image processing apparatus, image processing method, and image processing program |
| JP2013077293A (en) | 2011-09-14 | 2013-04-25 | Ricoh Co Ltd | Display processing device, image forming system, and display processing program |
| JP2018081366A (en) | 2016-11-14 | 2018-05-24 | 株式会社リコー | Printing system, control device and program |
| JP2019009707A (en) | 2017-06-28 | 2019-01-17 | コニカミノルタ株式会社 | Color adjustment control device, color adjustment control program and color adjustment control method |
| JP2019120960A (en) | 2017-12-28 | 2019-07-22 | 富士ゼロックス株式会社 | Image processing apparatus and image processing program |
| JP2020177473A (en) | 2019-04-18 | 2020-10-29 | 株式会社リコー | Program, image forming device, information processing device, printing system, printing method |
| JP2023048823A (en) | 2021-09-28 | 2023-04-07 | 武藤工業株式会社 | Image processing device, image processing method and image processing program |
-
2023
- 2023-06-19 JP JP2023099725A patent/JP7768579B2/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011082784A (en) | 2009-10-07 | 2011-04-21 | Seiko Epson Corp | Image processing apparatus, image processing method, and image processing program |
| JP2013077293A (en) | 2011-09-14 | 2013-04-25 | Ricoh Co Ltd | Display processing device, image forming system, and display processing program |
| JP2018081366A (en) | 2016-11-14 | 2018-05-24 | 株式会社リコー | Printing system, control device and program |
| JP2019009707A (en) | 2017-06-28 | 2019-01-17 | コニカミノルタ株式会社 | Color adjustment control device, color adjustment control program and color adjustment control method |
| JP2019120960A (en) | 2017-12-28 | 2019-07-22 | 富士ゼロックス株式会社 | Image processing apparatus and image processing program |
| JP2020177473A (en) | 2019-04-18 | 2020-10-29 | 株式会社リコー | Program, image forming device, information processing device, printing system, printing method |
| JP2023048823A (en) | 2021-09-28 | 2023-04-07 | 武藤工業株式会社 | Image processing device, image processing method and image processing program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2025000080A (en) | 2025-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW487900B (en) | Image display system, host device, image display device and image display method | |
| US8629884B2 (en) | Wide color gamut display system | |
| US12277915B2 (en) | Video timing for display systems with variable refresh rates | |
| JPH11119722A (en) | Display system | |
| US6042278A (en) | Computer printer demonstration apparatus | |
| JP4112187B2 (en) | Image processing method, apparatus, and program | |
| US9280727B2 (en) | Information processing unit, printing control method for printer driver, and computer program product | |
| JP7768579B2 (en) | Printing device and program | |
| JP4978628B2 (en) | Video signal distribution system and video signal transmission system | |
| TW200414754A (en) | System and method for processing memory with YCbCr 4:2:0 planar video data format | |
| JP4641077B2 (en) | Image processing device | |
| JP4899412B2 (en) | Image display system and method | |
| JP3877943B2 (en) | Liquid crystal display device and window display enlargement control method | |
| TW315458B (en) | ||
| JP2009071634A (en) | History image generating device, and program | |
| KASAI et al. | Digital Packet Video Link for super high resolution display | |
| US6556216B1 (en) | Fiscal printer video with application program | |
| US20130016373A1 (en) | Information processing apparatus, information processing method, and computer readable recording medium for print control | |
| JPH06197213A (en) | Colour copying machine | |
| TW444183B (en) | Device and method for image rotation | |
| JPH11167096A (en) | Display control apparatus and method | |
| TW530499B (en) | Video pre-amplifier and method for increasing number of colors of on-screen display signal | |
| JP4490327B2 (en) | Output device, color conversion method, and program | |
| JP2005091509A (en) | Image display device and image display system | |
| US10424271B2 (en) | Display control device for left-to-right written language and right-to-left written language |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250718 |
|
| A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20250718 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20250718 |
|
| 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: 20250930 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251023 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7768579 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |