Option to export/save report as PDF?

You can use GhostXPS for this (http://www.ghostscript.com/download/gpcldnld.html).

Download GhostPCL GPL release, put the gxps folder in your sambapos folder, and then create a batch file like this in your sambapos folder (convert.bat):

@echo off
cls

set rSource=%1
set rTarget=%2

set gxpsLocation=“C:\SambaPOS3\gxps”

:: Delete previous rTarget
if exist %rTarget% del %rTarget%

C:
CD
CD “%gxpsLocation%”
gxps.exe -sDEVICE=pdfwrite -sOutputFile=%rTarget% -dNOPAUSE %rSource%

Create an action to save the report:

Create an action to do the conversion:


(change isHidden to True if you don’t want to see the conversion window)

Create an automation command to make a button to save the report:


(add a mapping and select under “visibility” where you want the button shown)

Create a rule to link the automation command with the actions created:


(add a standard mapping)

You will have to logout of sambapos and login again for this to work.