View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Retail:Fiscal printers support

Contents

Introduction

This document describes how to install, configure and use the Fiscal printers support module. This module it is not needed to print fiscal documents to fiscal printers but includes functionality to help to configure and use fiscal printers.

To use fiscal printers, you need also to install and configure it. In the Hardware an Peripherals Guide is explained the process to do it.

Installation

To install the module (an Openbravo Professional instance is needed because it is a commercial module):

Master data configuration

Fiscal printers store payments and taxes and each payment and tax stored in the fiscal printer have their own identifier. Openbravo for Retail needs to map Payment methods and Taxes to the payments and taxes stored in the fiscal printer.

Configure Payment Methods

In the menu, go to the POS Terminal Type window, select the POS terminal type yo want to configure and go to the tab Payment Method here you should have some payment methods created. For each payment method you must fill in the field Fiscal identifier. This value must match with the corresponding payment method in the fiscal printer.

Bulbgraph.png   Usually fiscal printers support up to 8 payment methods and you must set the Fiscal identifier from 1 to 8.
PaymentMethod FiscalId.png

Configure Taxes

In the menu, go to the Tax Rate window, select taxes that are configured to be used in your POS Terminal Type with your product assortment. For each tax you must fill in the field Fiscal identifier. This value must match with the corresponding tax stored in the fiscal printer. You must also verify that taxes calculation in Openbravo and in the fiscal printer are the same. Usually you only have to verify that the Rate value in the Tax Rate record has the same value as the tax stored in the fiscal printer.

Bulbgraph.png   Usually fiscal printers support up to 8 payment methods and you must set the Fiscal identifier from 1 to 8.
TaxRate FiscalId.png

Configure fiscal printers

Read through the Hardware and Peripherals Guide to install and configure properly your fiscal printers.

Create the fiscal document templates

To define the fiscal documents template you must create a new module to define the templates that will be used. These templates are XML files that define the layout and logic of the fiscal documents. This Fiscal printers module provides in the /res folder samples for all these documents that can be used out of the box.

To create this module that includes the fiscal document templates you can follow the guide How to create and modify new receipt documents from other module. The reference for the fiscal documents schema can be found in the Receipt and Customer display documents document.

To define the templates to use you have to create a javascript file to assign the file to use this way:

OB.OBPOSPointOfSale.Print.ReceiptTemplate = '../<your_module_folder>/res/printreceipt.xml';
OB.OBPOSPointOfSale.Print.ReceiptClosedTemplate = '../<your_module_folder>/res/printclosedreceipt.xml';
OB.OBPOSPointOfSale.Print.ReceiptTemplateInvoice = '../<your_module_folder>/res/printinvoice.xml';
OB.OBPOSPointOfSale.Print.ReceiptTemplateReturn = '../<your_module_folder>/res/printreturn.xml';
OB.OBPOSPointOfSale.Print.ReceiptTemplateReturnInvoice = '..<your_module_folder>/res/printreturninvoice.xml';
OB.OBPOSCashUp.Print.CashUpTemplate = '../<your_module_folder>/res/printcashup.xml';
OB.OBPOSPointOfSale.Print.FiscalReportXTemplate = '../<your_module_folder>/res/printxreport.xml';  
OB.OBPOSCashMgmt.Print.CashMgmtTemplate = '../<your_module_folder>/res/printcashmgmt.xml';

Retrieved from "http://wiki.openbravo.com/wiki/Retail:Fiscal_printers_support"

This page has been accessed 5,123 times. This page was last modified on 19 July 2013, at 10:18. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.