What Is Happening
When printing from ABRA Flexi on Linux OS via the CUPS system, some reports are printed in the wrong paper orientation (e.g., landscape instead of portrait).
The issue only occurs in Java applications (ABRA Flexi prints via JasperReports); printing from other applications works correctly.
Cause
Java applications communicating with CUPS are sometimes unable to correctly read the paper orientation from the printer definition. The print server then uses its default orientation, which does not match the one required by the report.
Solution
The issue can be worked around by setting the default paper orientation directly in the printer configuration:
In the system menu, select System → Administration → Printing.
Select the printer you are using.
Open the last tab, Job Options.
Set the Orientation item to Portrait (no rotation).
This setting only changes the default orientation of the printer — it will still be possible to print pages in landscape orientation if a specific report requires it.

