SambaPOS Forum

English Boards => V3 Development => Topic started by: harrr0 on July 29, 2013, 07:45:47 am

Title: Using Different Printer Templates for Different Departments
Post by: harrr0 on July 29, 2013, 07:45:47 am
I have a Dine-in and take out at my restaurant. In V2, I was able to create a different kitchen print job for my take out using Department and mapping the print job to that department. I know that the function has been moved in V3 to Rules. But I cannot seem to get that to work. I end up breaking the printing overall, or it still prints out using the Dine-in template. Any help would be much appreciated. Thanks!
Title: Re: Using Different Printer Templates for Different Departments
Post by: JohnS on July 29, 2013, 05:30:59 pm
Post a picture of your Rule & Mappings
Title: Re: Using Different Printer Templates for Different Departments
Post by: Cazaus on August 06, 2013, 06:47:26 pm
Hello, jonh, I have exactly the same problem, please have no idea what rule or action I create. just to remember: I have two different departments, and I would have two different print templates for each department. I am using version SAMBAPOS V3: 19. Please any help and necessary to me and welcome.
Title: Re: Using Different Printer Templates for Different Departments
Post by: JohnS on August 06, 2013, 07:44:23 pm
The following is based on Department not Ticket Type. Since you have not explained your setup, I can only assume your setup is similar to mine.
I assume you only have one terminal and one receipt printer called 'Ticket Printer'.

You need 2 Printer Templates
1. Restaurant Receipt Template
2. Take Away Receipt Template

You need 2 Print Jobs
1. Restaurant Receipt
- Print Mapping - *,*,Ticket Printer,Restaurant Receipt Template
2. Take Away Receipt
- Print Mapping - *,*,Ticket Printer,Take Away Receipt Template

You Need 2 Actions
1. Print Restaurant Receipt
Action Type : Execute Print Job
PrintJobName : Restaurant Receipt

2. Print Take Away Receipt
Action Type : Execute Print Job
PrintJobName : Take Away Receipt

You need 2 Rules
Rule 1
Name : Print Restaurant Receipt After Sale
Event : Ticket Closing
RemainingAmount = 0
Actions - Print Restaurant Receipt
Mappings : *,*,Restaurant,*

Rule 2
Name : Print Takeaway Receipt After Sale
Event : Ticket Closing
RemainingAmount = 0
Actions - Print Takeaway Receipt
Mappings : *,*,Take Away,*