This document have been documented with Ubuntu Linux Server 22.04 LTS.
For better compatibility use Firedac Drivers.
The proper client library must be installed and configured.
For example for mysql driver:
See instructions of Firedac Driver
Setup freetype library. Install freetype in your Linux system, usually already installed.
Install libicu and harfbuzz in your Linux system, usually already installed if a gui is installed.
New versions of Report Manager can handle complex shaping fonts (set bidi property in text elements to enable shaping)
Setup the client library
Install the libraries
sudo apt-get install libmysqlclient21
Do a symbolic link allow the driver find the library
sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 /usr/lib/x86_64-linux-gnu/libmysqlclient.so
Setup a .dbxconnections file at the HOME directory.
[TEST]
DriverName=FireDac
DriverId=MYSQL
Database=test
User_name=root
Password=xxx
DataSource=
CharacterSet=
Port=3306
Protocol=
SqlDialect=3
RoleName=
Server=192.168.1.XX
IBAdvanced=
DatabaseFile=
OSAuthent=
Execute the command:
./printreptopdf yourreport.rep -pdf yourdestination.pdf