This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:v3:creating_printer_templates [2012/09/07 06:30] 127.0.0.1 external edit |
en:v3:creating_printer_templates [2012/10/15 00:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Creating Printer Templates ====== | ====== Creating Printer Templates ====== | ||
+ | {{tag>v3blog}} | ||
Hello. I'm glad to create the first tutorial of SambaPOS V3 release. Our topic is creating printer templates. In this tutorial we'll create a general ticket template and give some examples of new features. | Hello. I'm glad to create the first tutorial of SambaPOS V3 release. Our topic is creating printer templates. In this tutorial we'll create a general ticket template and give some examples of new features. | ||
When we create a new ticket template a blank screen with some descriptions of usable tags welcomes us. | When we create a new ticket template a blank screen with some descriptions of usable tags welcomes us. | ||
- | {{:en:v3:printer_template:1.jpg?650|}} | + | {{:en:v3:printer_template:1.jpg?700|}} |
V2 users will remember the sections available for different types of Ticket Lines (Orders). For example we used Gift Line section for defining printing template for gifted items. On V2 order states such as Gift, Void was hard coded. With V3 we can create new Order States for different uses such as returned or wasted items. So how we'll create templates for new types of Order States? To be able to solve this problem we introduced a new feature called "Dynamic Sections". We'll type the section name in square brackets like [Orders:Gift] so SambaPOS can understand the lines under this section name relates with orders that have "Gift" state. | V2 users will remember the sections available for different types of Ticket Lines (Orders). For example we used Gift Line section for defining printing template for gifted items. On V2 order states such as Gift, Void was hard coded. With V3 we can create new Order States for different uses such as returned or wasted items. So how we'll create templates for new types of Order States? To be able to solve this problem we introduced a new feature called "Dynamic Sections". We'll type the section name in square brackets like [Orders:Gift] so SambaPOS can understand the lines under this section name relates with orders that have "Gift" state. |