baanerpky
28th May 2008, 22:00
In one of the report customisation, my client is asking me to pur bar codes on three fields of one report.. Would please anybody help as I am new to Bar code customisation in ERP LN?
I woulld greatly appreciate for your urgent help.
assassinator
29th May 2008, 05:37
In one of the report customisation, my client is asking me to pur bar codes on three fields of one report.. Would please anybody help as I am new to Bar code customisation in ERP LN?
I woulld greatly appreciate for your urgent help.
I don't know wheter this method would effect in Baan LN. But I had achieved to print Bar Code in Baan IV's report.
In report, before print the field which you want to output Bar Code, add the following:
barcode.plot = chr$(27) & chr$(22) & "*&0" & tisfc902.plot(you origin field)
When print report, you must choose "Windows" not "D" or "Notepad" etc. And you can click "Preview".
baanerpky
29th May 2008, 05:54
Thank u for ur urgent reply... I will check it and let u know..
baanerpky
29th May 2008, 06:56
I tried what u said.. It is not working..
assassinator
29th May 2008, 07:27
I tried what u said.. It is not working..
Really? The report field is barcode.plot, domain is tcdsca(Multi byte string). If
the origin field layout in detail.1, then at detail.1 add the code:
before.layout:
barcode.plot = chr$(27) & chr$(22) & "*&0" & tisfc902.plot
And print report choose "Windows".
cyprus
29th May 2008, 12:53
try bc$() function
baanerpky
4th June 2008, 05:11
Thank you for your inputs.
I have tried other way. I loaded barcode font in local machine. Then when I gave "Default" (Local printer) and clicked preview, it shows barcode.
However for this barcode font has to be loaded in local machine.
It is not possible to load this font if there are 100 clients. Is there anyway out of this so that anyone can print barcode from anywhere?
Will loading of Barcode font in server will work without loading barcode font individually in each client machine?
assassinator
4th June 2008, 05:33
Thank you for your inputs.
I have tried other way. I loaded barcode font in local machine. Then when I gave "Default" (Local printer) and clicked preview, it shows barcode.
However for this barcode font has to be loaded in local machine.
It is not possible to load this font if there are 100 clients. Is there anyway out of this so that anyone can print barcode from anywhere?
Will loading of Barcode font in server will work without loading barcode font individually in each client machine?
Oh, did you use function bc$() to make it come true?
baanerpky
4th June 2008, 08:45
I have not used any function. I installed bar code fonts.
assassinator
4th June 2008, 09:04
I have not used any function. I installed bar code fonts.
En, how to print Bar Code with script in Baan LN still unknow.
My company said would update System Baan Iv to Baan VI or Baan LN in 2005. But now have not done.:(
baanerpky
6th June 2008, 01:08
Today, I have tried bc$ function. It works perfectly..Thank you all for your contributions..
I have been told $ functions in ERP Ln are depreciated functions. It may not be available in next version of ERP Ln
Regards
shekhar_vc
8th September 2011, 16:24
Functions ending in $ essentially mean their output is a string.
Grace Cheong
13th September 2011, 09:23
Hi,
Please use bc$ to generate the barcode, it's works. For example barcode for Serial Number:
extern domain tcibd.sern SerialNumber |-- 30 chars
SerialNumber = trim$(SerialNumber) | --- better use trim if var SerialNumber is less than 30 chars, this will affect the barcode scanner reading
Barcode_SN = bc$(10,1,SerialNumber)
--- Grace ---