ed54a83ff211de993b3ddf9d60edd537.ppt
- Количество слайдов: 9
Introduction of Layout Utilities e Fre Layout Utilities is software development tool which makes so easy to print rich content receipt with imported data by your program. Example of an inserted printing. 1
Structure of Layout Utilities The Layout Utilities consists of 3 tools around which the layout file is positioned on the center. 『Layout Editor 』 Editting tool 『Layout File Manager 』 Management tool Create and edit printing layout. Manage completed layout files. Display file list and thumbnail. Layout file The file defines a location and style of inserted Texts, images and barcode data. POS application 『Layout Print Engine 』 Printing tool It imports data into completed layout. You can implement it to your program. Only external application interface, no GUI. 2
Advantage of Layout Utilities(1/3) Satisfying your customer’s request more easily. ・Conventional case A receipt or others POS Application Printer / OPOS command or others A Corp Different layout requests Essential to cording for each customer. B Corp C Corp ・Layout Utilities’s case POS Application No need to change. Only prepare for importing data. A Corp Layout Print Engine Layout Editor Layout files Only by replacing layout files, it is possible to meet your customer’s request. As image data like logo is included in the layout file, there is no need to copy image data files to POS terminals. Data source file management is much easier. 3
Advantage of Layout Utilities (2/3) Easier to create printing programs. Eliminate your coding job dramatically. You can print nice layout receipt from your program by leaning/implementing ONLY 10 methods (commands) of Layout Utilities. No need of learning huge number of printer commands or high level knowledge about complicated printing on Windows. For your reference CT-S 310 II has more than 100 commands Note : unique functions of each printer cannot be utilized by the Layout Utilities. Refer to your user's guide for the detail of commands(methods). 4
Advantage of Layout Utilities(3/3) Easy to print diversely You can use the various fonts available on your Windows PC. Use it like MS-Office software. No need of engineering support. Vertical layout and horizontal layout can be mixed on one receipt. . You can put diagrams, some barcodes and images on the screen. The data on the screen is printed as it is shown. Layout Editor’s screen 5
Development with Layout Utilities 1. Divide the printed data structure. 2. Create layout file. Expected Receipt image Logo Statement Repeated statement Total 3. Use it form a program 6
Layout Utilities Programing Sample (details) Print from a program ex) From VB 6 code, revise one point and print. - ' ------------------------------------------- --- Preparation --Set com. Obj = Create. Object("Citizen. Layout. Utilities. Printing. Controller") [01] Create an object. result = com. Obj. Open(“Layout file’s name”) [02] Open a designated layout file. Call com. Obj. Begin. Print [03] Initialize an object. ' ------------------------------------------frame. Index = com. Obj. Init. Frame("Frame 2") --- Amend Text 1 of Frame 2, add it to a printing area. --[04] Copy an designated frame in the work area in the object. Get index. parts. Index = com. Obj. Get. Parts(frame. Index, "Text 1") [05] Get an index of a an designated part in the designated frame. result = com. Obj. Set. Parts. Data(frame. Index, parts. Index, “Changed character’s line) [06] Change the work area in the object. [07] Copy the work area in the object to the printing area. result = com. Obj. Add. Frame(frame. Index) 10 methods (commandes) ' ------------------------------------------result = com. Obj. Do. Print(“printer’s name”) --- Print data in the printing area --[08] Start printing with the designated printer. In case a printer’s name is blank, “OS default printer” is displayed. ' ------------------------------------------Call com. Obj. End. Print Do. Preview for the preview display --- completed --[09] Discard the work area in the object. Call com. Obj. Close [10] Clear all the area in the object. . 7
Layout Utilities Operation Environment ■ OS Windows XP Windows Vista Windows 7 Windows 8. 1 ■� PC CPU : Pentium 1. 0 GHz or faster, higher than the spec required by your OS. Memory : More than 1 GB, more than the spec required by your OS. HDD : Installed HDD, more than 10 MB of free disk space. Monitor : Resolution more than 1024 x 768 e, High Color more than (16 bit) Software :. NET Framework 2. 0(SP 1/SP 2)、3. 5(No SP /SP 1) 8
Introduction of Layout Utilities Xin cảm ơn! 9