Kitchen/Bar Display using Task Printer - separate displays for Food and Drink

This is a Rule/Action issue causing this, and/or if the problem is only on remote Terminal(s), then it is a communication issue via Message Server, which can be caused by all sorts of things, including firewall, ports, LAN/WiFi Network issues, etc.

Screenshots of your Task Screen,Ticket Screen and Printer Template are of no help to identify the cause.

In fact screenshot helps. One order have “New” and the other one have “Submitted” state. First order didn’t submitted. @gsreddy does it relates with ticket closing <> selected orders issue?

I need to try select the order and close may this cause but not sure I will try today, but how to avoid this as not effect the settings but print all orders? thanks alot

We’ll automatically unselect orders on ticket close.

1 Like

@emre Thanks for that looking forward for that as I just tried I can confirm that selected order printing in task printer, rest not and . Kitchen physical printer all orders printed after that when open the ticket and close rest of the items printing in task printer Also another Kitchen ticket generating , as this is not good kitchen staff may confuse and cook again thanks for the quick response.

1 Like

Helo for all, i have some problems with the kitchen display. Its showing a little bit wrong,

  1. it shows the products to partially twice, even if it was only once selected.
  2. Its showing every time a new ticket if y open an order and close it with order or without an order.

can you help me with that?

Sorry for my english :smiley:

Something is configured incorrectly. Go over the entire setup again and check everything closely.

It is impossible to tell what is wrong without seeing screenshots of your entire setup.

Emre hocam merhaba, Eğer Sql 2012 için db var ise daha da faydalı olacak. v5 için. Birde Türkçe döküman ihtiyacımız var.

1 Like

OK i looked for errors and its working better thx,
but i have still the problem that if i open a ticket to make a new order, the kitchen display looks right, if i reopen the ticket too put another product in the kitchen display its showing twice.
Some screens…



Show your Printer Templates and Print Jobs.

Printer Template Food

[LAYOUT]

{ORDERS}



[ORDERS]

++{ORDER TIME} {ENTITY NAME:Table} {ENTITY NAME:Customer}

(Id={ORDER ID}-{NAME}-{TICKET ID})

(Color=#FF333333)

<bold>[=('{QUANTITY}'>1 ? ('{QUANTITY}'+'  ').substr(0,2) : '  ')] {PRODUCT NAME}</bold>

[='{PORTION}'=='' ? '' : '<font Consolas>  <color #FF55FF33><size 17><bold>{PORTION}</bold></size></color></font>']

{SORTED ORDER TAGS}



[ORDERS:Gift]

<color White><bold><size 16><font Consolas>[=('{QUANTITY}'+'  ').substr(0,2)] {PRODUCT NAME}</font></size></bold></color>[='{PORTION}'=='' ? '' : '<font Consolas> <color #FF55FF33><size 14><italic>{PORTION}</italic></size></color></font>'] <bold> FREE</bold>

{SORTED ORDER TAGS}



[ORDERS:Void]

++{ORDER TIME} {ENTITY NAME:Table} {ENTITY NAME:Customer}

(Id={ORDER ID}-{NAME}-{TICKET ID})

(Color=Red)

<bold>[=('{QUANTITY}'>1 ? ('{QUANTITY}'+'  ').substr(0,2) : '  ')] {PRODUCT NAME}</bold>

[='{PORTION}'=='' ? '' : '<font Consolas>  <color #FF55FF33><size 17><bold>{PORTION}</bold></size></color></font>']

{SORTED ORDER TAGS}



[SORTED ORDER TAGS:VIP Discount]

-- do not print



[SORTED ORDER TAGS:Sides]

<size 14><color #FFFFAA55><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS:Ingredientes Pizza Júnior - Carnes]

<size 14><color #FFCCCCFF><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS:Descuentos]

<size 14><color Yellow><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS:EXTRA Addons]

<size 14><color #FF55FF55><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS:Veggies]

<size 14><color #FFCCFFCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS:Condiments]

<size 14><color #FFFFCCCC><font Consolas>   [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS GROUP|EXTRA Addons,Sauteed,OTS,Sides]



[SORTED ORDER TAGS GROUP:EXTRA Addons]

<size 14><color LightSalmon>     ~~~ ADDONS ~~~</color></size>



[SORTED ORDER TAGS GROUP:Sauteed]

<size 14><color LightSalmon>     ~~~ SAUTEED ~~~</color></size>



[SORTED ORDER TAGS GROUP:OTS]

<size 14><color LightSalmon>     ~~~ ON THE SIDE ~~~</color></size>



[SORTED ORDER TAGS GROUP:Sides]

<size 14><color LightSalmon>     ~~~ SIDES ~~~</color></size>

Printer Template Beverages

[LAYOUT]

++{TIME} {ENTITY NAME:Table} {ENTITY NAME:Customer}

{ORDERS}



[ORDERS GROUP|PRODUCT GROUP]

<color Orange><size 12><font Consolas>[='~~~ {GROUP KEY} ~~~~~~~~~~~~~~~~~~~~~~~~~'.substr(0,40)]</font></size></color>



[ORDERS]

<color White><bold><size 16><font Consolas>[=('{QUANTITY}'+'  ').substr(0,2)] {PRODUCT NAME}</font></size></bold></color>[='{PORTION}'=='' ? '' : '<font Consolas> <color #FF55FF33><size 14><italic>{PORTION}</italic></size></color></font>']

{SORTED ORDER TAGS}



[ORDERS:Gift]

<color White><bold><size 16><font Consolas>[=('{QUANTITY}'+'  ').substr(0,2)] {PRODUCT NAME}</font></size></bold></color>[='{PORTION}'=='' ? '' : '<font Consolas> <color #FF55FF33><size 14><italic>{PORTION}</italic></size></color></font>'] <bold> FREE</bold>

{SORTED ORDER TAGS}



[ORDERS:Void]

<color White><bold><size 16><font Consolas>[=('{QUANTITY}'+'  ').substr(0,2)] {PRODUCT NAME}</font></size></bold></color>[='{PORTION}'=='' ? '' : '<font Consolas> <color #FF55FF33><size 14><italic>{PORTION}</italic></size></color></font>'] <bold> VOID</bold>

{SORTED ORDER TAGS}



[SORTED ORDER TAGS]

<size 14><color Yellow><font Consolas>    [=('{ORDER TAG QUANTITY}'>1 ? {ORDER TAG QUANTITY} : ' ')] {ORDER TAG NAME}</font></color></size>



[SORTED ORDER TAGS:VIP Discount]

-- do not print

And the print Jobs


Try this. In your Template for Food, you have this line:

(Id={ORDER ID}-{NAME}-{TICKET ID})

Replace it with this:

(Id={ORDER NO}-{NAME}-{TICKET ID}-{ORDER KEY}-{ORDER UID})


EDIT: That won’t fix your issue, but you can still make that change for better supports of Voids.

The problem is that the first order was stuck in State FPrinting. It should not be. It should have updated to FPrinted. Not sure why it was not.

Are you still experiencing this issue, or did you resolve it? If it has not been resolved, post a screenshot of the Action named KD Update Order KDStatus.

when i Entity Screen Design
when click add widget>Task Editor Program gives error and closing
İ use Localdb2012
Can you create a backup zip and PM that zip file to me?

Because not working on my samba

What is the error? What version of SambaPOS are you using?

No. You need to set this up yourself manually.

im using samba 5.1.5.8

Detailed Report
-----------------------------
[General Info]

Application: SambaPOS
Version:     5.1.58
Region:      en
DB:          CE
Machine:     VMWARE
User:        u_gul
Date:        10.3.2016
Time:        14:27

User Explanation:

u_gul said ""
-----------------------------

[Exception Info 1]

Top-level Exception
Type:        System.Data.Entity.Core.EntityCommandExecutionException
Message:     An error occurred while executing the command definition. See the inner exception for details.
Source:      EntityFramework
Stack Trace: at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
   at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__6()
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at Samba.Persistance.Data.Dao.Exists[T](Expression`1 predictate)
   at Samba.Presentation.Services.Implementations.TaskModule.TaskService.GetTasks(Int32 taskTypeId, DateTime lastReadTime, DateTime completedTaskTimeFrame)
   at Samba.Presentation.Services.Implementations.TaskModule.TaskService.SaveTasks(Int32 taskTypeId, IEnumerable`1 tasks, DateTime lastReadTime, DateTime completedTaskTimeFrame)
   at Samba.Modules.TaskModule.Widgets.TaskEditor.TaskEditorViewModel.<InternalRefresh>b__70_0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Samba.Presentation.App.Main()

Inner Exception 1
Type:        System.Data.SqlServerCe.SqlCeException
Message:     An overflow occurred while converting to datetime.
Source:      SQL Server Compact ADO.NET Data Provider
Stack Trace: at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& pCursor, Boolean& isBaseTableCursor)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Entity.SqlServerCompact.SqlCeMultiCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Entity.SqlServerCompact.SqlCeMultiCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<Reader>b__c(DbCommand t, DbCommandInterceptionContext`1 c)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
   at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)

-----------------------------

[Assembly Info]

mscorlib, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v14.1, Version=14.1.11.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v14.1, Version=14.1.11.0
System, Version=4.0.0.0
DevExpress.Xpf.Grid.v14.1.Core, Version=14.1.11.0
WindowsBase, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Samba.Domain, Version=1.0.0.0
System.Core, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Runtime.Serialization, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.11.0
Samba.Services, Version=1.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
System.Windows.Forms, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
Stateless, Version=1.0.0.0
Samba.Persistance, Version=1.0.0.0
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=1.0.0.0
ReachFramework, Version=4.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
EntityFramework, Version=6.0.0.0
FluentValidation, Version=3.4.0.0
Omu.ValueInjecter, Version=2.3.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Microsoft.CSharp, Version=4.0.0.0

-----------------------------

[System Info]

Operating System
-Microsoft Windows 8 Pro
--CodeSet = 1254
--CSDVersion = 
--CurrentTimeZone = 120
--FreePhysicalMemory = 2601532
--OSArchitecture = 64 bit
--OSLanguage = 1055
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 6.2.9200

Machine
-VMWARE
--Manufacturer = VMware, Inc.
--Model = VMware Virtual Platform
--TotalPhysicalMemory = 3489124352
--UserName = vmware\u_gul

-----------------------------

Upgrade your Database from SQL CE to SQL Express 2014…

i need help
i want only bold words and
if we select same food , we want only total words.
2 Serpme Kahvaltı and Serpme Kahvaltı words 2 times. i dont want this


In your Food Printer Template, set it to Merge Lines …

1 Like