90 likes | 283 Views
Free. Introduction of Layout Utilities. Example of an inserted printing. Layout Utilities is software development tool which makes so easy to print rich content receipt with imported data by your program. 『Layout Editor 』 Editting tool. 『Layout File Manager 』 Management tool.
E N D
Free Introduction of Layout Utilities Example of an inserted printing. Layout Utilities is software development tool which makes so easy to print rich content receipt with imported data by your program.
『Layout Editor 』 Editting tool 『Layout File Manager 』 Management tool Structure of Layout Utilities 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 The Layout Utilities consists of 3 tools around which the layout file is positioned on the center. 『Layout Print Engine 』 Printing tool It imports data into completed layout. You can implement it to your program. Only external application interface, no GUI.
Printer/ OPOS command or others POS Application ACorp Layout Editor Advantage of Layout Utilities(1/3) A receipt or others ・Conventional case POS Application Essential to cording for each customer. ACorp Different layout requests Satisfying your customer’s request more easily. B Corp C Corp ・Layout Utilities’s case No need to change. Only prepare for importing data. Layout Print Engine 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. Layout files Only by replacing layout files, it is possible to meet your customer’s request.
Advantage of Layout Utilities (2/3) Eliminate your coding job dramatically. Easier to create printing programs. 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-S310II 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).
Advantage of Layout Utilities(3/3) Use it like MS-Office software. No need of engineering support. You can use the various fonts available on your Windows PC. Easy to print diversely 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
Logo Statement Repeated statement Total Development with Layout Utilities 2. Create layout file. 1. Divide the printed data structure. Expected Receipt image 3. Use it form a program
Layout Utilities Programing Sample(details) ' ------------------------------------------------------------------------------------- Set comObj = CreateObject("Citizen.LayoutUtilities.Printing.Controller") result = comObj.Open(“Layout file’s name”) Call comObj.BeginPrint ' ------------------------------------------------------------------------------------- frameIndex = comObj.InitFrame("Frame2") partsIndex = comObj.GetParts(frameIndex, "Text1") result = comObj.SetPartsData(frameIndex, partsIndex, “Changed character’s line) result = comObj.AddFrame(frameIndex) ' ------------------------------------------------------------------------------------- result = comObj.DoPrint(“printer’s name”) ' ------------------------------------------------------------------------------------- Call comObj.EndPrint Call comObj.Close --- Preparation--- [01] Create an object. [02] Open a designated layout file. [03] Initialize an object. --- Amend Text 1 of Frame2, add it to a printing area.--- [04] Copy an designated framein the work area in the object. Get index. [05] Get an index of a an designated part in the designated frame. [06] Change the work area in the object. [07] Copy the work area in the object to the printing area. --- 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. --- completed--- [09] Discard the work area in the object. [10] Clear all the area in the object.. Print from a program ex) From VB6 code, revise one point and print.- 10 methods (commandes) DoPreview for the preview display
Layout Utilities Operation Environment ■ OS Windows XP Windows Vista Windows 7 Windows 8 Windows 8.1 ■PC CPU : Pentium 1.0 GHzor faster, higher than the spec required by your OS. Memory : More than 1GB, more than the spec required by your OS. HDD : Installed HDD, more than 10MB of free disk space. Monitor : Resolution more than 1024x768e, High Color more than (16bit) Software : .NET Framework 2.0(SP1/SP2)、3.0(SP1/SP2)、3.5(No SP /SP1)
Introduction of Layout Utilities Xin cảm ơn!