lotius81
22nd January 2019, 00:03
I got a request in from sales and shipping to work up a report that would let them print to some label sheets (3 columns of labels on a sheet, and however many down, I think 12 or so). Looking for someone to nudge me in the right direction here.
Is LN capable of printing detail layouts horizontally? If so, what resources are available where I can look up how to set this up?
Thanks much for any help!
Rich
bdittmar
22nd January 2019, 11:25
Hello,
lattr.multicol R/W Indicates whether or not multiple columns are used when more than one layout fits on a line. Possible values are:
MULTICOL_NONE
Normal output; no columns are used.
MULTICOL_ORDER_HORIZONTAL
Output is arranged in multiple columns, ordered horizontally. For example:
rec_1 rec_2 rec_3
rec_4 rec_5 rec_6
MULTICOL_ORDER_VERTICAL
Output is arranged in multiple columns, ordered vertically (per page). For example:
rec_1 rec_3 rec_5
rec_2 rec_4 rec_6
Regards
lotius81
23rd January 2019, 18:28
I looked up the documentation for lattr.multicol, but wasn't able to make heads or tails of where I'm supposed to use that.
In my report layouts there is an option for "Horizontal order", which I selected and re-compiled, but it made no difference. I resized the layout to be small enough that it could potentially repeat horizontally, but it doesn't seem to be making a difference. Is there another setting that has to be used in conjunction with this one to make horizontal order work?
Cheers
lotius81
23rd January 2019, 23:19
Update,
Made some progress. I actually got it to print the layouts horizontally at one point. However, after making some tweaks the position of the fields in the layout itself now it won't print. When running the report it just gets stuck on "Processing" and the PDF is never produced. No matter what I change I can't get it to print out again.
Now, if I swap over to "Vertical order" then it *does* work again. Anyone have any idea why that would be the case? It works on vertical order, but not horizontal order?