Upload
ferdinand-freeman
View
214
Download
0
Embed Size (px)
Citation preview
1
Introduction of Layout UtilitiesIntroduction of Layout UtilitiesLayout Utilities is software development tool which makes so easy to
print rich content receipt with imported data by your program.
Free
Example of an inserted printing.
2
The Layout Utilities consists of 3 tools around which the layout file is positioned on the center.
Structure of Layout UtilitiesStructure of Layout Utilities
『 Layout Editor 』
Editting tool
『 Layout File Manager 』Management tool
『 Layout Print Engine 』Printing tool
POSapplication
Layout fileThe file defines a location and style of inserted Texts, images and barcode data.
Create and edit printing layout. Manage completed layout files.
Display file list and thumbnail.
It imports data into completed layout.You can implement it to your program. Only external application interface, no GUI.
3
Satisfying your customer’s request more easily.
Advantage of Layout UtilitiesAdvantage of Layout Utilities (( 1/31/3 ))
・ Conventional case
A Corp
B Corp
C Corp
Printer / OPOS command or others
・ Layout Utilities’s case
POS Application
A receipt or others
Layout files
Essential to cording for each customer.
A Corp
POS Application
Layout Editor
Layout Print EngineNo need to
change. Only prepare for
importing data.
Different layout requests
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.
4
Easier to create printing programs.
Advantage of Layout Utilities Advantage of Layout Utilities (( 2/32/3 ))
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.
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).
For your reference CT-S310II has more than 100
commands
Eliminate your coding job
dramatically.
5
Advantage of Layout UtilitiesAdvantage of Layout Utilities (( 3/33/3 ))
Layout Editor’s screen
Easy to print diversely
You can use the various fonts available on your Windows PC.
You can put diagrams, some barcodes and images on the screen. The data on
the screen is printed as it is shown.
Vertical layout and horizontal layout can be mixed on one
receipt..
Use it like MS-Office software. No need of engineering support.
6
Development with Layout UtilitiesDevelopment with Layout Utilities
1. Divide the printed data structure.
Expected Receipt image
Logo
Statement
Repeated statement
Total
2. Create layout file.
3. Use it form a program
7
Layout Utilities Programing SampleLayout Utilities Programing Sample(details)(details)
Print from a program ex) From VB6 code, revise one point and print.-
' -------------------------------------------------------------------------------------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 frame in 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..
DoPreview for the preview display
10 methods (commandes)
8
Layout UtilitiesLayout Utilities Operation Environment Operation Environment
■ OS
Windows XP
Windows Vista
Windows 7
Windows 8
Windows 8.1
■�PC CPU : Pentium 1.0 GHz or 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 )
9
Introduction of Layout UtilitiesIntroduction of Layout Utilities
Xin cảm ơn!