Using RunReport to pdf makes ugly pdf
Kristaps Žogots
Operating system: macOS
Linux server. If we execute following code (it runs Profit & Loss report to pdf file):

RepSpec.repname = "ResRn";
RepSpec.Media = mtPdf;

it will end up with a different format (bad looking - wrong fonts, no left margin) comparing to what you would get if you run the report from client with Media type Pdf.

The only big difference that I see is that running to media from rep. specification window is using the client, but my example code runs on server.

The question is: is it possible to run the report to pdf from HAL on server and get a good looking pdf (as if we create it from rep. specification window media pdf)?
Yavuz Yigiterhan
Hello. We are checking for your question. Thank you.
David Delač
Hello Kristaps!

It's difficult to say. Can you report a bug with steps to repeat so that me or some other programmer can debug it?

Best Regards,
David D.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Andis Blicāns, Grasko
The above applies to the window when it is opened for the first time. If the window is already open and I choose Window/Restore Position, the window takes the correct position. Namely, the upper left ...
00:43 18 July 2024
Version: 2024-03-16 Server: Linux Client: MacOS Sonoma I am seeing multiple users in different locations getting logged off many times per day when idle sometimes after a few minutes of being awa...
20:09 17 July 2024