okneb1
17th July 2019, 12:24
We're customizing some report with the new report designer in LN UI (ERP version 10.6)

For example, I want to start my document with label "Picking list" always in the middle of the page.

I've positioned the label "Picking list" on the middle in Report designer (see attachment 1).
But one the actual report (printing to device D) the text "Picking list" is sometimes in the center, sometimes shifted left or right, depening on the data that comes after the header layout (longer strings, shorter strings, causing change in the grid layout while rendering the PDF). (see attachment 2, 3)

Is there some posibility or option in designer to have a label always printed in the center or the page, no matter what the data lenght is in the other layouts?

mark_h
17th July 2019, 14:16
Curious - is it just the screen shots or is the font size different? The 2 screen shots with the barcodes almost looks like they have a different font.

oirfeodent
18th July 2019, 09:44
But one the actual report (printing to device D) the text "Picking list" is sometimes in the center, sometimes shifted left or right, depening on the data that comes after the header layout (longer strings, shorter strings, causing change in the grid layout while rendering the PDF). (see attachment 2, 3)


Did you try moving the data into different layout?

Regards,

okneb1
19th July 2019, 12:32
mark_h, both screenshots have the same font and size

oirfeodent, I tried moving the "Picking list" into new layout, still the same result

Attachments; previews with grid on, because of the longer/shorter strings in the columns, everything just gets shifted to the right/left. I guess that's how PDF rendering works in LN. It calculates positions based on the data width.

mark_h
19th July 2019, 14:49
Can you put like the order number and barcode in its own layout? It almost looks like the whole report is adjusted based off the amount of data in the field being printed. I was expecting like the description to look the same length between the 2 screen shots.

okneb1
22nd July 2019, 17:00
@mark_h,
I've tried moving everything into seperate layouts, but nothing changes. I still get shifted heading, depening on the longest/shortest column. Looks like PDF converter calculates grid/column positions based on data width on every layout and changes the grid size accordingly (<= LN 10.6).

Looking at the 10.7 documentation for Report designer I can see mentions of "exact positioning" and "fixed length", looks like this feature is new, starting in 10.7:

Grid columns have fixed widthIf a font size is specified for a field, it may be that the field content does not fit in the reserved area.Normally the PDF converter then resizes columns to ensure that fields do not overlap and arepositioned in the correct relative order.If this check box is selected, the converter does not resize columns, but only draws the text. Thismakes the layout more predictable when the font size is changed, at the risk of overlapping fields.This property is not available if the report uses exact positioning.

https://docs.infor.com/ln/ce/en-us/lnolh/docs/ln_CE_lnrptdsgndg__en-us.pdf
(on page 15 for example).