uniCenta Tutorial Split bills

You can split up a sale such that some of the line items on a sale are sold now, leaving the remainder of the items to be sold at a later date. Furthermore, you can assign one of the sales to Customer A and the the other sale to Customer B. When you split a sale like this you must pay for the portion that is split off shortly after you split it. That is to say, you cannot split an order into two and suspend both portions. Nor can you join two orders into one.

How to make database backups for uniCenta?

If you have install uniCenta by default setting, you will be using apache derby database.

You can find the database location by going into Configuration section of uniCenta as the screenshot shown below.

(Click on the imgae to enlarge)

This is the folder you should backup.

Let’s open up file explorer go to the folder.


From here you can simply copy and paste the folder to create multiple copies. You can also using ZIP / RAR archive program to make backups.

Unicenta resources file– Print.Start

The oroginal content of Print.Start


<?xml version=”1.0″ encoding=”UTF-8″?>
    uniCenta oPOS – Touch friendly Point Of Sale
    Copyright (c) 2009-2015 uniCenta.

    This file is part of uniCenta oPOS.

    uniCenta oPOS is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    uniCenta oPOS is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with uniCenta oPOS.  If not, see <http://www.gnu.org/licenses/>.

             <display animation=”flyer”>
<!–            <display animation=”scroll”> –>
<!–            <display animation=”blink”> –>
<!–            <display animation=”curtain”> –>
<!–            <display animation=”none”> –>
            <text>uniCenta oPOS</text>
            <text>Point Of Sale</text>

How to recreate resources file in Unicenta?

If you have accidentally delete the resources file or its content in unicenta and wondering how to restore them?

Here we are going to recreate “Ticket.Close” as the example.

Step 1 – to recreate Ticket.Close

You can locate this screen in Unicenta "Administration" panel, "Maintenance", Under "Resources"

Step 2 – copy and paste the code

Name the resource to “Ticket.Close” and choose its format as text.

Hit “Save” button before leave this screen.




Here's the original content of "Ticket.Close"

import java.awt.Font;
import javax.swing.plaf.FontUIResource;
import com.openbravo.pos.payment.PaymentInfo;
import javax.swing.JOptionPane;
import javax.swing.JDialog;
boolean isCash = false;
String change = "";
PaymentInfo p = ticket.payments.getFirst();
if ("cash".equals(p.getName())) {
isCash = true;
change = p.printChange();
// Get details of the original font before we change it otherwise all dialogboxes will use new settings
JOptionPane pane = new JOptionPane();
Font originalFont=pane.getFont();
UIManager.put("OptionPane.buttonFont", new FontUIResource(new Font("ARIAL",Font.PLAIN,20)));
message = "Change: " + change;
JLabel FontText = new JLabel(message);
FontText.setFont (new Font ( "Arial", Font.BOLD, 36) );
if(isCash) {
JOptionPane pane = new JOptionPane();
pane.setPreferredSize( new Dimension(450,150));
JDialog dialog = pane.createDialog("Cash payment");
new Thread(new Runnable() {
void run() {
// Return to default settings
UIManager.put("OptionPane.buttonFont", new FontUIResource(new Font(originalFont.getName(),originalFont.getStyle(),originalFont.getSize())));

Before you edit any resource file, it’s recommended to copy and paste then in a text editor and save as a copy.

How to use item attributes and different ways to do it within unicenta POS?

"Product attributes" are concepts like size or color and their respective attribute values" would be s,m,l and r,b,g.

You can group together size and color into an "attribute set". You assign an "attribute set" for any item in the Stock, Product screen. (It is located under Category and above Tax Category.) If you did everything right, you can (while in the sales screen) tap on that item. When it appears in the sales section, on top, you may tap on the manilla tag and select the attributes.

Check ou the video below.


How to customize Printer Ticket (Receipt) on unicenta POS?

You can customize what’s being printed on the receipt.

You can change the text on the top and bottom portion of the receipt to show your business name, address, phone number and etc…

Check ou the video and screenshots for step by step instruction.



Where to find the settings:

Step 1: Go to Maintenance



Step 2: Choose resources



Step 3: Scroll down to find “Printer.Ticket”



With default setting the ticket look like this

Where you can find the preview in printer if you configure it using screen printer.



To generate something like this, you need to generate a sale first.

Now you can customize the Printer.ticket to your specification.

How to setup Product Categories in uniCenta POS?

Before you create products on the system, set up the relevant categories. This will allow you
to keep track of your stock under each section. In order to do this, open the software and
select on the Administrator button.



Once this has been selected, the front-end of the system will be accessible. From here, you
will need to go to settings by clicking on the arrow on the left hand side.




The left hand side will present the menu options that will allow you to make changes to the
backend of the program. To set the categories up, click on “Stock”, then “Categories”.



Once the Categories page loads, start adding primary categories by clicking on the plus



The categories must be added under “Category Standard” to be set up correctly.



Press the “Save” button to add the category to the database.


Product Sub-Categories

For some product types, sub-categories may need to be created. For example, the “Drinks”
category can be broken down into the sub-categories of “Fizzy” and “Non-Fizzy”. In order to
do this, follow the above process but ensure that a primary category is selected in the
“Category” field. Save the sub-category as per the below screenshot.


uniCenta POS Printer and database configuration


uniCenta Configuration Tool

During the installation of uniCenta it will setup the simple database for you using Apache Derby.

After installation complete you can check your database settings by launching uniCenta oPOS configuration tool.

The following screenshot shows the default settings of Apache Derby database on uniCenta oPOS.




Database Configuration



You can select different database from the dropdown menu.

Apache Derby Embedded is recommended for standalone single POS setup.

If you would like to use multiple POS stationi and connect a centralized database server, you can choose different type of database of your preference. Please see the screenshots below.

unicenta database configuration selection


If you expericning database error, you can go through following list of items to fix the problem.

  1. Please make sure you have the latest java runtime updates. You can download the latest version from https://java.com/en/download/
  2. Apache Derby is single user database. If unicenta crashes before you relaunch it again make sure the java.exe is not still running in task manager.
  3. If you still experiencing the database error, please uninstall uniCenta completly and reinstall it again.


Hardware Peripherals Configuration

You can find printer setup in the “Peripherals” tab.



Choosing the right printer and connect to your device using drop down menu.


How to add new product in uniCenta POS system?


Here is the start screen of uniCenta oPOS

unicenta start screen


Click on Administrator to login with it.


You can see you have login with Administrator at the bottom right corner.

Click on the blue arror at the left side of the screen to bring up the sidebar menu.

You will see the screen as below.



Click on the “Stock” menu in the Administration task group which you can find on the left hand side.

Birng up the Stock managment feature page as below



Click on the “Products” button to see the products list.




In this window you can see different components.

You can navigate through the product list by selecting items in area 1.

You can also use navigation menu in area 3 to brown through product list, add, delete and search products.

The information related to the product will be display in area 2.

When you creat new products, you will be focusing on area 2 for entering infomation related to the product.



To create new record, click on the add icon. image


You will also notice that its showing you are entering (New Reocrd).


The value entered in the Barcode field is used to search Products when using the barcode reader.
You must set the Buy Price and the Sell Price. Either enter a Sell Price, with or without taxes included, or edit the
desired percent Margin Per Unit.

Note: Every Product must belong to a Category and must have a Tax band set.

If desired, you can Add a picture for each Product editing the Image field. . To do this: Select the folder button; then
Browse your files and select the desired image.

Select the Stock tab if you want to edit the Stock Cost by Year and Stock Volume values for report purposes.

In the Properties tab you can decide if the product will be visible in the Catalog panel of the Sales panel an whether it
is an Auxiliary Product and if it is a Product which will be sold by weight.


After entering all data for the new product, click on the save icon to save it. image