# Custom Report Layout

**URL:** <https://forum.sambapos.com/t/custom-report-layout/4334>\
**Category:** V4 Issue\
**Created:** [February 24, 2015, 11:15pm UTC](https://forum.sambapos.com/t/custom-report-layout/4334 "2015-02-24T23:15:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [February 24, 2015, 11:15pm UTC](https://forum.sambapos.com/t/custom-report-layout/4334/1 "2015-02-24T23:15:08Z")

</div>

i have face another type of custom report layout issue so wanted to highlight

this time i am using sam4s ellix 20II thermal printer  
if this got to do with the printer setting please help me out otherwise may i know how many days left for the new version?

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/3/e32637ca9a0816be2d2867e29028d93c2d671757.jpeg) 

1: Work Period Report: everything printing ok except item sales. item sale table all jummbled up. very dull printing and heading in grid not visible.  
2:Cutom Report -\> Print Preview -\> quick print. printing as expected  
3:Custom Report -\> Table (using !) Qty (numeric) column empty…text printing, total column not showing.clear and readable  
4:Custom Report -\> Pivot table (using #) printing but all upside down.the text data is very dull and numeric data bold

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [February 24, 2015, 11:34pm UTC](https://forum.sambapos.com/t/custom-report-layout/4334/2 "2015-02-24T23:34:27Z")

</div>

I can somewhat see what your talking about but those scans are very poor and its hard to see any detail. Can you explain it a little more or give us some more readable scans? Where are you printing the reports from? The Reports Screen and Print button or an action and template?

PS: there is not a date set for V5 yet I know we keep saying it but all we can say is soon. I think @emre will be inviting a few more into the private beta test and then it should be shortly after that we will see a release announcement. But we have no real time frame sorry.

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [February 25, 2015, 12:21am UTC](https://forum.sambapos.com/t/custom-report-layout/4334/3 "2015-02-25T00:21:43Z")

</div>

ok @kendash i have edited the text above with little description

so it seems it can atleast take 1 month

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [February 26, 2015, 2:46pm UTC](https://forum.sambapos.com/t/custom-report-layout/4334/4 "2015-02-26T14:46:21Z")

</div>

i also face this issue  
whenever i am going through the report settings i often get this exception

> * * *

[General Info]  
Application: SambaPOS  
Version: 4.1.82  
Top-level Exception  
Type: System.NullReferenceException  
Message: Object reference not set to an instance of an object.  
Source: DevExpress.Xpf.PropertyGrid.v14.1  
Stack Trace: at DevExpress.Xpf.PropertyGrid.NavigationManager.\<\>c\_\_DisplayClass14.b\_\_d(FrameworkElement x)  
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Collections.Generic.List`1…ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)  
at DevExpress.Xpf.PropertyGrid.NavigationManager.GetElementToSelect(FrameworkElement parent, FrameworkElement selectedObject, NavigationDirection direction)  
at DevExpress.Xpf.PropertyGrid.NavigationManager.NavigateBidirectional(FrameworkElement selectedObject, NavigationDirection direction, Boolean useChildren)  
at DevExpress.Xpf.PropertyGrid.NavigationManager.NavigateDown(FrameworkElement selectedObject)  
at DevExpress.Xpf.PropertyGrid.NavigationManager.Navigate(NavigationDirection direction, FrameworkElement element)  
at DevExpress.Xpf.PropertyGrid.NavigationManager.ProcessNavigation(KeyEventArgs e)  
at DevExpress.Xpf.PropertyGrid.PropertyGridView.ProcessKeyDown(KeyEventArgs e)  
at DevExpress.Xpf.PropertyGrid.CellEditorOwner.ProcessKeyDown(KeyEventArgs e)  
at DevExpress.Xpf.Editors.InplaceEditorBase.RaiseKeyDownEvent(KeyEventArgs e)  
at DevExpress.Xpf.Editors.InplaceEditorBase.OnPreviewKeyDown(KeyEventArgs e)  
at System.Windows.UIElement.OnPreviewKeyDownThunk(Object sender, KeyEventArgs e)  
at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)  
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)  
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)  
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)  
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)  
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)  
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)  
at System.Windows.Input.InputManager.ProcessStagingArea()  
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)  
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)  
at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)  
at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)  
at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)  
at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)  
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 System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)  
at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)  
at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)  
at System.Windows.Interop.ThreadMessageEventHandler.Invoke(MSG& msg, Boolean& handled)  
at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)  
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)  
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)  
at System.Windows.Window.ShowHelper(Object booleanBox)  
at System.Windows.Window.Show()  
at System.Windows.Window.ShowDialog()  
at Samba.Addon.CustomReports.CustomReportBuilder.EditObjectProperties(Object pg)  
at Samba.Addon.CustomReports.CustomReportBuilder.pivotGridEditClick(Object sender, RoutedEventArgs e)  
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)  
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)  
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)  
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)  
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)  
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()

> * * *

[Assembly Info]  
Samba.Services, Version=1.0.0.0  
mscorlib, Version=4.0.0.0  
System, Version=4.0.0.0  
Microsoft.Practices.Prism, Version=4.0.0.0  
WindowsBase, Version=4.0.0.0  
Samba.Infrastructure, Version=1.0.0.0  
Samba.Infrastructure.Data, Version=1.0.0.0  
PresentationFramework, Version=4.0.0.0  
System.Xaml, Version=4.0.0.0  
Samba.Presentation.Services, Version=1.0.0.0  
FluentValidation, Version=3.4.0.0  
Samba.Domain, Version=1.0.0.0  
DevExpress.Xpf.Grid.v14.1, Version=14.1.6.0  
DevExpress.Xpf.Grid.v14.1.Core, Version=14.1.6.0  
PresentationCore, Version=4.0.0.0  
Stateless, Version=1.0.0.0  
System.Core, Version=4.0.0.0  
System.Drawing, Version=4.0.0.0  
DevExpress.Xpf.Core.v14.1, Version=14.1.6.0  
EntityFramework, Version=4.4.0.0  
System.Windows.Forms, Version=4.0.0.0  
System.ComponentModel.Composition, Version=4.0.0.0  
Samba.Localization, Version=1.0.0.0  
Microsoft.CSharp, Version=4.0.0.0  
Microsoft.Practices.ServiceLocation, Version=1.0.0.0  
Samba.Persistance, Version=1.0.0.0  
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0  
PropertyTools, Version=2012.4.14.1

---

<div class="post-metadata">

**Author:** ![madiha](https://forum.sambapos.com/user_avatar/forum.sambapos.com/madiha/32/13950_2.png) [@madiha](https://forum.sambapos.com/u/madiha)\
**Post date:** [February 26, 2015, 2:51pm UTC](https://forum.sambapos.com/t/custom-report-layout/4334/5 "2015-02-26T14:51:48Z")

</div>

> [@madiha](#):
>
> Work Period Report: everything printing ok except item sales. item sale table all jummbled up. very dull printing and heading in grid not visible.2:Cutom Report -\> Print Preview -\> quick print. printing as expected3:Custom Report -\> Table (using !) Qty (numeric) column empty…text printing, total column not showing.clear and readable 4:Custom Report -\> Pivot table (using #) printing but all upside down.the text data is very dull and numeric data bold

one more thing these reports format is printing ok on another database
