fmorais
29th December 2004, 17:01
Hi.

I am in the process of making a EAN 128 label using baan Reports.

Instead of using the escape codes from the quick guide QG1310 which have some disadvantages, I am using the "font/barcode" field from "ttadv3134s000 - Maintain Report Fields". I put "11" (EAN-128) in the barcode type.

My question is:

How can I change the height of the barcode?
I already went to the BWPrint and tried to change the aspect ratio ("Change Aspect Ratio for type EAN-128" - right mouse button). No matter what value I put, the height never changes (however, the lenght does).

Can anybody give me a hint?


Thanks
Fred

lbencic
29th December 2004, 23:16
It's all in the control codes, and I don't see an option for height in the Report Fields. Instead of the quick guide, you can use Klaas's method of the function include. This has a height parameter, and is generally more flexible than the quick guide method.

Link to Klaas's function (http://www.baanboard.com/baanboard/showthread.php?t=15463)

Just put a normal field on the report, ignore all the bar code fields. Make sure to leave room in the layout for more than 1 line. Fill the field in the report script using his function. It looks the same in the end, you can control the ratio and all the other BW Print functionality.

Hope that helps - and thanks again Klaas!

dorleta
3rd January 2005, 17:31
detail.10:
before.layout:

lattr.barcode.lines = 3

(or the number of lines of height that you like of course)

good luck :-)

fmorais
3rd January 2005, 19:01
Hi.

Thanks all for the prompt answers.

The Klaas function works very well.
Will try dorleta's suggestion when possible. It seems a bit more elegant.

Thanks again
Fred

fmorais
3rd January 2005, 19:05
lattr.barcode.lines also works

Thanks dorleta.


Fred