JP2013058065A5 - Control device control method - Google Patents

Control device control method Download PDF

Info

Publication number
JP2013058065A5
JP2013058065A5 JP2011195746A JP2011195746A JP2013058065A5 JP 2013058065 A5 JP2013058065 A5 JP 2013058065A5 JP 2011195746 A JP2011195746 A JP 2011195746A JP 2011195746 A JP2011195746 A JP 2011195746A JP 2013058065 A5 JP2013058065 A5 JP 2013058065A5
Authority
JP
Japan
Prior art keywords
control
character code
code set
calls
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011195746A
Other languages
Japanese (ja)
Other versions
JP2013058065A (en
JP5906620B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2011195746A priority Critical patent/JP5906620B2/en
Priority claimed from JP2011195746A external-priority patent/JP5906620B2/en
Priority to CN201210250667.8A priority patent/CN102915215B/en
Priority to US13/561,605 priority patent/US9110615B2/en
Publication of JP2013058065A publication Critical patent/JP2013058065A/en
Publication of JP2013058065A5 publication Critical patent/JP2013058065A5/en
Application granted granted Critical
Publication of JP5906620B2 publication Critical patent/JP5906620B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

上記目的を達成するために、本発明は、バイスの機能に対応するメソッドを呼び出す第1のオブジェクト前記メソッドを起動して処理を実行する第2のオブジェクト、及び前記第1のオブジェクトと前記第2のオブジェクトとの間に介在する第3のオブジェクトを有し、前記第1のオブジェクトが前記メソッドを呼び出したときに前記メソッドに対して前記第2のオブジェクトが対応していない場合、前記第3のオブジェクトが前記メソッドを起動して処理を実行し、前記第1のオブジェクトが前記メソッドを呼び出したときに前記メソッドに対して前記第2のオブジェクトが対応する場合、前記第3のオブジェクトが前記第2のオブジェクトに対して前記メソッドを呼び出し、前記第2のオブジェクトが前記メソッドを起動して処理を実行することを特徴とする。
本発明によれば、アプリケーションプログラムが出力するデータに基づいてデバイスを制御する制御装置が、第2のオブジェクトが対応していない一部のメソッドが呼び出された場合に第3のオブジェクトにより処理を実行できる。これにより、第2のオブジェクトが有する全てのメソッドがデバイスに適合していない場合であっても、この第2のオブジェクトを利用してデバイスを制御できる。従って、第2のオブジェクトの機能の一部について変更や拡張が容易になるため、例えばデバイスの仕様変更や新機種開発等にあたって第2のオブジェクトの全体を新規に作成しなくても、旧来の第2のオブジェクトの資産を利用して必要なシステムを構築できる。
To achieve the above object, the present invention, the first object to invoke the method corresponding to the function of the device, the second object to perform the process by starting the method, and the first object A third object interposed between the second object and the second object does not correspond to the method when the first object calls the method; If the third object invokes the method to execute the process, and the second object corresponds to the method when the first object calls the method, the third object The method is called on the second object, and the second object invokes the method to perform processing. Characterized in that row.
According to the present invention, the control device that controls the device based on the data output from the application program executes processing by the third object when a part of the method that is not supported by the second object is called. it can. As a result, even if all methods of the second object are not compatible with the device, the device can be controlled using the second object. Accordingly, it is easy to change or extend a part of the function of the second object. For example, when the entire second object is not newly created for changing the device specifications or developing a new model, for example, A necessary system can be constructed using the assets of the two objects.

また、本発明は、上記制御装置の制御方法において、前記第3のオブジェクトは、前記第2のオブジェクトが前記第1のオブジェクトに対し提供するンターフェースに介在る。
本発明によれば、第2のオブジェクト及び第1のオブジェクトの構成に影響を与えないように、第2のオブジェクトを補完できる。
Further, the present invention is a control method of the control device, the third object, interposed interface that the second object provides to said first object.
According to the present invention, the second object can be complemented so as not to affect the configuration of the second object and the first object.

また、本発明は、上記制御装置の制御方法において、前記第1のオブジェクトは前記デバイスに対して提供されるコントロールオブジェクトであり、前記第2のオブジェクトは前記デバイスの機種対して提供されるサービスオブジェクトである
本発明によれば、例えばデバイスの仕様変更や新機種のデバイスの開発にあたって、当該デバイスの種類に対応するコントロールオブジェクトに対する互換性を確保した上で、デバイス毎に用意されるサービスオブジェクトの機能を補完することで、旧来のサービスオブジェクトの資産を利用できる。
Further, the present invention is a control method of the control device, the first object is a control object provided to said device, said second object is provided for the model of the device service It is an object .
According to the present invention, for example, when changing the specifications of a device or developing a new model device, the compatibility of the control object corresponding to the type of the device is ensured, and the function of the service object prepared for each device is complemented. By doing so, the assets of the old service object can be used.

また、本発明は、上記制御装置の制御方法において、前記制御装置は、前記第1のオブジェクトに前記メソッドを呼び出すPOSアプリケーションプログラムを有し、前記第1のオブジェクトは、前記POSアプリケーションプログラムの要求に応じてプリンターを制御するコントロールオブジェクトであり、前記第2のオブジェクトは、前記POSアプリケーションプログラムの要求に応じてプリンターを制御するサービスオブジェクトであり前記メソッドは、所定の文字コードセットのプリントメソッドであり、前記第3のオブジェクトは、前記第1のオブジェクトが前記所定の文字コードセットのプリントメソッドを呼び出した場合に、前記所定の文字コードセットから他の文字コードセットへの変換を行
本発明によれば、第2のオブジェクトが文字コードの変換機能を持たない場合であっても、この変換機能を第3のオブジェクトが補完することで、第2のオブジェクトが対応していない文字コードセットのデータを処理できる。
また、本発明は、上記制御装置の制御方法において、前記所定の文字コードセットはunicodeあり、前記他の文字コードセットはバイトコードある
アプリケーションからUnicodeで指定された文字が送られて来たとき、デバイスであるプリンターがUnicodeに対応していない場合、第3のオブジェクトがバイトコードに変換して印刷することができる。
In the control method of the control device according to the present invention, the control device has a POS application program that calls the method on the first object , and the first object responds to a request from the POS application program. a control object for controlling the printer in response, said second object, said a service object that controls the printer in response to the request of the POS application program, the method is an printing method of a predetermined character code set the third object, when the first object calls the print method of the predetermined character code set, intends line conversion from the predetermined character code set to another character set.
According to the present invention, even if the second object does not have a character code conversion function, the third object complements this conversion function, so that the character code that the second object does not support. Can process set data.
Further, the present invention is a control method of the control apparatus, the predetermined character code set is unicode, the other character code set is a byte code.
When a character designated by Unicode is sent from an application, if the printer as a device does not support Unicode, the third object can be converted into byte code and printed.

また、本発明は、上記制御装置の制御方法において、前記第1のオブジェクトはOPOS準拠のコントロールオブジェクトである
本発明によれば、OPOSに準拠したサービスオブジェクトの機能を、OPOS準拠のコントロールオブジェクトに影響を与えることなく補完できる。
Further, the present invention is a control method of the control device, the first object is a control object of the OPOS-compliant.
According to the present invention, the function of a service object compliant with OPOS can be complemented without affecting the control object compliant with OPOS.

Claims (6)

バイスの機能に対応するメソッドを呼び出す第1のオブジェクト前記メソッドを起動して処理を実行する第2のオブジェクト、及び前記第1のオブジェクトと前記第2のオブジェクトとの間に介在する第3のオブジェクトを有し、
前記第1のオブジェクトが前記メソッドを呼び出したときに前記メソッドに対して前記第2のオブジェクトが対応していない場合、前記第3のオブジェクトが前記メソッドを起動して処理を実行し、
前記第1のオブジェクトが前記メソッドを呼び出したときに前記メソッドに対して前記第2のオブジェクトが対応する場合、前記第3のオブジェクトが前記第2のオブジェクトに対して前記メソッドを呼び出し、前記第2のオブジェクトが前記メソッドを起動して処理を実行することを特徴とする制御装置の制御方法。
First object to invoke the method corresponding to the device's functionality, the third intervening second object for executing processing to start the method, and between the second object and the first object Have objects
If the second object does not correspond to the method when the first object calls the method, the third object invokes the method to execute the process,
If the second object corresponds to the method when the first object calls the method, the third object calls the method on the second object, and the second object The control method of the control device, wherein the object starts the method and executes the process.
前記第3のオブジェクトは、前記第2のオブジェクトが前記第1のオブジェクトに対し提供するンターフェースに介在る請求項1記載の制御装置の制御方法。 Said third object, the control method of the control apparatus according to claim 1 wherein you interposed interface that the second object provides to said first object. 前記第1のオブジェクトは前記デバイスに対して提供されるコントロールオブジェクトであり、前記第2のオブジェクトは前記デバイスの機種対して提供されるサービスオブジェクトである求項1または2記載の制御装置の制御方法。 The first object is a control object provided to said device, said second object is a control device for Motomeko 1 or 2, wherein the service object is provided for the model of the device Control method. 前記制御装置は、前記第1のオブジェクトに前記メソッドを呼び出すPOSアプリケーションプログラムを有し
前記第1のオブジェクトは、前記POSアプリケーションプログラムの要求に応じてプリンターを制御するコントロールオブジェクトであり、
前記第2のオブジェクトは、前記POSアプリケーションプログラムの要求に応じてプリンターを制御するサービスオブジェクトであり
前記メソッドは、所定の文字コードセットのプリントメソッドであり、
前記第3のオブジェクトは、前記第1のオブジェクトが前記所定の文字コードセットのプリントメソッドを呼び出した場合に、前記所定の文字コードセットから他の文字コードセットへの変換を行請求項3記載の制御装置の制御方法。
The control device has a POS application program that calls the method on the first object ;
The first object is a control object that controls a printer in response to a request from the POS application program,
The second object is a service object that controls the printer in response to the request of the POS application program,
The method is a print method of a predetermined character code set,
Said third object, when the first object calls the print method of the predetermined character code set, the conversion from the predetermined character code set to another character code set in the row intends claim 3 The control method of the control apparatus as described.
前記所定の文字コードセットはUnicodeあり、前記他の文字コードセットはバイトコードある求項4に記載の制御装置の制御方法。 The predetermined character code set is Unicode, control method of a control apparatus according to Motomeko 4 the other character code set is a byte code. 前記第1のオブジェクトはOPOS準拠のコントロールオブジェクトである請求項4または5に記載の制御装置の制御方法。 The control method of the control device according to claim 4 , wherein the first object is an OPOS-compliant control object.
JP2011195746A 2011-08-03 2011-09-08 Control device control method Active JP5906620B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011195746A JP5906620B2 (en) 2011-09-08 2011-09-08 Control device control method
CN201210250667.8A CN102915215B (en) 2011-08-03 2012-07-19 Control device and control method
US13/561,605 US9110615B2 (en) 2011-08-03 2012-07-30 Point of sale control device, control method, and storage medium storing a program for a point of sale device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011195746A JP5906620B2 (en) 2011-09-08 2011-09-08 Control device control method

Publications (3)

Publication Number Publication Date
JP2013058065A JP2013058065A (en) 2013-03-28
JP2013058065A5 true JP2013058065A5 (en) 2014-09-11
JP5906620B2 JP5906620B2 (en) 2016-04-20

Family

ID=48133911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011195746A Active JP5906620B2 (en) 2011-08-03 2011-09-08 Control device control method

Country Status (1)

Country Link
JP (1) JP5906620B2 (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07325808A (en) * 1994-05-31 1995-12-12 Canon Inc Document processor and processing method therefor
GB2293470A (en) * 1994-09-22 1996-03-27 Ibm Message encapsulation in Object Oriented Programming.
US5940845A (en) * 1997-12-05 1999-08-17 International Business Machines Corporation System for accessing databases with different character sets
JP2001067325A (en) * 1998-09-30 2001-03-16 Hitachi Software Eng Co Ltd Method and system for managing distributed object
JP2000293375A (en) * 1999-04-05 2000-10-20 Toshiba Information Systems (Japan) Corp Object oriented computer system and computer readable storage medium with program stored therein
JP4792646B2 (en) * 2001-03-12 2011-10-12 セイコーエプソン株式会社 Symbol printer driver and information recording medium
JP3915876B2 (en) * 2000-12-28 2007-05-16 セイコーエプソン株式会社 Method and apparatus for processing character string data
JP4635341B2 (en) * 2001-01-05 2011-02-23 セイコーエプソン株式会社 Control system
JP4362977B2 (en) * 2001-01-16 2009-11-11 セイコーエプソン株式会社 Device status monitoring device
JP4491989B2 (en) * 2001-04-17 2010-06-30 セイコーエプソン株式会社 Control system
JP2002318703A (en) * 2001-04-20 2002-10-31 Seiko Epson Corp Control system
EP1977341A2 (en) * 2006-01-24 2008-10-08 ZIH Corporation Global printing system and method of using same
US8225333B2 (en) * 2007-07-31 2012-07-17 Microsoft Corporation POS hardware abstraction
JP2009140063A (en) * 2007-12-04 2009-06-25 Seiko Epson Corp File management module, printing device, file management method, file management program

Similar Documents

Publication Publication Date Title
JP2012234399A5 (en)
WO2010048492A3 (en) Methods and systems for providing a modifiable machine base image with a personalized desktop environment in a combined computing environment
EP2339450A3 (en) Information processing apparatus, control method, program, and computer-readable medium
JP2016533567A5 (en)
JP2007062105A5 (en)
JP2011054044A5 (en)
JP2013186835A5 (en)
JP2011041016A5 (en)
JP2010250369A5 (en) Information processing apparatus, management server, information processing method, and program
JP2014164420A5 (en)
JP2016530609A5 (en)
JP2015172929A5 (en)
JP2016025647A5 (en)
JP2016018330A5 (en) Printing system, image processing apparatus, information processing method, and program
JP2014113752A5 (en)
JP2011011428A5 (en)
JP2015153027A5 (en)
JP2015230711A5 (en)
JP2008191711A5 (en)
JP2013046396A5 (en)
JP2012061752A5 (en)
JP2016004318A5 (en)
JP2014115425A5 (en) Printing apparatus, control method thereof, and program
JP2014116801A5 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD AND PROGRAM
JP2013020391A5 (en)