Printing

24 views
Skip to first unread message

José Penalva

unread,
May 13, 2025, 5:17:55 AMMay 13
to Migrated By Firefly
Hi all, 
is it possible to add a left or right margin on a section report or a full page ?

I have a report and the customer can choose to print it in duplex. When printig in duplex, for the odd pages i must add a left marging, and on even pages a right margin.

Playing with "BindLeft" is just possible for very simple Layout with few controls, but when the layout as vertical lines, Horizontal lines and many controls, is just a pain !!

Thanks

Noam Honig

unread,
May 13, 2025, 8:05:23 AMMay 13
to José Penalva, Migrated By Firefly
Hi José,

Sure you can do that - with a bit of changes to the code of the printer writer - you can add some pixels to the x position and control that - even based on the page number.

The change would be limited to ENV / Firefly and wouldn't affect your reports.

Go to - ENV\Printing\Advanced\PrintDocumentPrintJob.cs and add some x value to each draw rectangle, text etc... and you'll get  what you're looking for

Noam Honig  
Founder & CEO


--
You received this message because you are subscribed to the Google Groups "Migrated By Firefly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrated-by-fir...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/migrated-by-firefly/16f3a6a6-0260-4955-806d-5d039d0a88cen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages