Printing a PDF using Brainy Data PDFDevice

malkishtini at gmail.com malkishtini at gmail.com
Thu Sep 2 14:23:08 UTC 2021


Hi Phil,

Thank you for your response.
I found this page property on the report and on the $root of Omnis as well
and I figured that this might be what I need to change at runtime.
I have to play with it and see how to change it based on user pref.

Thank you and best regards,
Mayada

-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of
Phil (OmnisList) via omnisdev-en
Sent: Thursday, September 02, 2021 9:41 AM
To: omnisdev-en at lists.omnis-dev.com
Cc: Phil (OmnisList) <phil at pgpotter.co.uk>
Subject: Re: Printing a PDF using Brainy Data PDFDevice

Hi Mayada,

For Omnis reports, you set the page setup to what you want on the individual
report...
in Property manager
So I guess paper would be set to kPaUsLegal ?

not forgetting to load page setup before printing.

You could probably set it via notation before the instance is generated, if
it changes...

I tend to use oWrite these days, so slightly different, but still you set
the page paper size within the report in oWrite as well.

regards
Phil Potter
Based in Chester in the UK.

On 02/09/2021 13:35, malkishtini at gmail.com wrote:
> Hello all,
> I'm using Brainy Data PDFDevice to print an Omnis report to a PDF in
memory in studio 10.
> The PDF document that gets created will always be in "letter" size, is
there a way to change the paper size of the created doc to "Legal" when
printing from an API?
>
> Thank you,
> Mayada
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com Start a 
> new message -> mailto:omnisdev-en at lists.omnis-dev.com

_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com Start a new
message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list