cyprus
1st May 2008, 12:31
Hi,
Any Suggestions about how to print 3D Barcodes in BaaN IV.
I found a lot of threads for barcode, but still m not that clear about how will I be able to print 3D Barcode in BaaN IV.
Is there any document for Barcode Printing in BaaN IV?
...
mark_h
1st May 2008, 16:28
Yes there is a quick guide document, but the last version I saw did not cover 3D barcodes. We have the RMCis product to print barcodes, but I am not sure if it does 3D - we do not use that, but eventually we might be doing RFID.
cyprus
2nd May 2008, 07:51
H Mark,
can you post the document for barcode you are talkin abt, atleast i can get some idea from there.
Can any 3rd Party Tool be used for 3D Barcode?
mark_h
2nd May 2008, 15:26
I no longer have any of the quick guides, but you should be able to get a current one from Baan. This thread (http://www.baanboard.com/baanboard/showthread.php?p=97161) discusses some of the label options. I would contact RMCis(merged with crossroads) about their RMClabel product - it might do what you are looking for and I thought it was reasonably cheap.
Kozure Ohashi
2nd May 2008, 17:50
Dear Cyprus,
if you have kyocera printer for the report, you could use the prescribe language.
It is just one line of code in the BaaN Report Layout.
!R! BARC XY, TEXT 'FFFFFFFFFFF'; EXIT;
where XY is the type of barcode, FFFFFFFFFF is the BaaN Report field e.g. tiitm001.item etc.
As mentioned works only with kyocera printers.
Regards,
Kozure
csecgn
8th May 2008, 16:16
I think you are talking about 2D barcodes (PDF417 etc.)
Another option that should work with bwprint is WELP/ELP. Its a software solution which is also available in hardware and works with every PCL printer.
http://www.sthethos.com (http://www.stethos.com)
One disadvantage because of software: The print files become bigger. Not so much with 1-d Barcodes, but with 2-D Barcodes (and formulars) the growth can become heavy. In a LAN it is not a problem, but if you print about a WAN (we do) you should be aware of this.
We just started to implement it with Solaris.
hth
Regards
Christof
Andy..
14th May 2008, 11:08
the best (if not only) solution would be to use a barcode (label) printer such as those supplied by Intermec or Zebra. I guess the question would be why you want the 2d-style barcodes in the first place? Is there a lot of data you want to encode? If not then a 1d code128 barcode should be fine.
2d barcodes are more complicated to generate than 1d as most of them are more 'configurable' in that you can select the level of duplicated information to aid scanning of damaged labels as well as xy size and density.
Andy..
14th May 2008, 11:10
had another thought - take a look at:
http://www.seagullscientific.com
cyprus
14th May 2008, 12:26
the best (if not only) solution would be to use a barcode (label) printer such as those supplied by Intermec or Zebra. I guess the question would be why you want the 2d-style barcodes in the first place? Is there a lot of data you want to encode? If not then a 1d code128 barcode should be fine.
2d barcodes are more complicated to generate than 1d as most of them are more 'configurable' in that you can select the level of duplicated information to aid scanning of damaged labels as well as xy size and density.
Hi,
Actually you are right, the bar code will contain a lot of data...
This barcode will be printed at the bottom of the sales invoice report, so cant use any label printers for the same...
Andy..
14th May 2008, 12:57
you could get the Baan report to print a label at the same time and attach it to the printed report?!
there are a number of barcode generators out there, eg:
http://www.posworld.com/onbargen.html
finally, you could look at output management software (typically used to make horrible Baan reports look nice) such as:
http://www.efstech.co.uk/output-management.html
... some of these products claim to be able to add barcodes to reports, not sure if that extends to 2d formats
cyprus
16th May 2008, 11:27
Hi all,
Just wanted to share the solution I got.
I found one console application for PDF417 Barcode print.
I'm saving the content of the barcode to a text file (test.dat) and alongwith some other parameters this console application PDF-DOT converts the string present in the test.dat file to 2D BArcode (PDF417)..
The command goes like : PDF-DOT test.dat 4 2 2 4
and the desired 2D Barcode is printed directly to priinter attached to the LPT1 Port.
I'm executing this application using app_start(). But what problem I'm facing now is the barcode is getting printed on the second page rather than at the bottom of the first page.
Can anyone suggest something for this problem now.
loveubaan
16th May 2008, 12:06
there is one baan function to print barcode............bc$()
Syn:
bc$()
--------------------------------------------------------------------------------
Syntax
string bc$( long type, long rows, string barcode(.) )
Description --> Use this to create a barcode of the specified type.
Arguments
type --> This points to a shell script that generates the barcode. The script is stored in the barcode directory; this is specified in the printer information file. The script names take the form 'typexx', where xx is a two digit number. For example 'type02'. You specify the two digit number in this argument.
rows ---> The height of the barcode, as a number of lines.
barcode --> The string that must be converted to a barcode and printed.
Example
varaible = bc$( 02, 2, input_string )
cyprus
16th May 2008, 12:17
there is one baan function to print barcode............bc$()
Syn:
bc$()
--------------------------------------------------------------------------------
Syntax
string bc$( long type, long rows, string barcode(.) )
Description --> Use this to create a barcode of the specified type.
Arguments
type --> This points to a shell script that generates the barcode. The script is stored in the barcode directory; this is specified in the printer information file. The script names take the form 'typexx', where xx is a two digit number. For example 'type02'. You specify the two digit number in this argument.
rows ---> The height of the barcode, as a number of lines.
barcode --> The string that must be converted to a barcode and printed.
Example
varaible = bc$( 02, 2, input_string )
HI,
I used this function, but the output is a Linear Barcode (1 Dimensional), the output I required is 2D Barcode (PDF417 Format), I have attached the image... So for this I used external application ...
Andy..
20th May 2008, 19:44
there is one baan function to print barcode............bc$()
Syn:
bc$()
...
rows ---> The height of the barcode, as a number of lines.
barcode --> The string that must be converted to a barcode and printed.
Example
varaible = bc$( 02, 2, input_string )
if you run bwprint and goto 'help - barcode test' you can see the barcodes that Baan can generate. There's a lot in there but they are all 1d barcodes.
cyprus
21st May 2008, 14:02
Hi Andy,
I checked the bwprint-barcode test but all 1D BarCodes...
I got one PDF417 Barcode generation Console Application, which would just convert the data present in some txt file to 2D Barcode and print directly to LPT1 Printer.
I'm working on it, if succesful, ll definitely share it here ...:)
Dieter MM
4th June 2009, 17:32
Hi all,
we also have to print PDF417 Barcode on different baan documents.
The first step was very easy, because our PCL5 laser printer include a stethos barcode module with nearly all 1D and 2D barcodes.
So i only defined in the device file:
$BSE/lib/printinf/h/hpdf417
two additional line for free psfonts:
pfont7=\E(s4p8s24850T,
pfont8=\E(s0p-36v10s24680T,
in the report layout i only have to select this font and the barcodes are printed well.
pfont7 is for PDF417, pfont 8 for Code39. You can change type , size, high by the parameters.
I still have one problem with the field seperator in PDF417. I have to insert 4 fields in the PDF417. I think, i have to insert a "CR" and "LF" between the different fields, but i cannot do that in the report script.
If i do like
barcpdf417 = field1 & chr$(13) & chr$(10) & field2 & ...
then only field1 is printed on the barcode.
Any idea for that?
thanks
Dieter
Dieter
6th June 2009, 17:40
My recommendation:
Use a Kyocera Printer. There you can print 2D-Barcodes direct from your report. You don´t need any additional software.
The command is something like:
!R! XBAR;<your Data> ;ENDB;
Regards
Dieter
NirajKakodkar
9th June 2009, 09:41
You can use Bar-Tender for 3D barcodes , we are using it and its really very good .
Regards,
Niraj
Dieter MM
10th June 2009, 09:30
Hello and thanks for the hints to bar tender and kyocera,
i have still the following problem:
if you print PDF417 with them, how do you separate the fields.
E.g.:
field1 = customer part number,
field2 = quantity
field3 = supplier number
In PDF417 you have to separate the fields, so if you read the barcode with a scanner, system can attach the fields correctly.
Therefor you have to build a string with all fields for the barcode, with the special field identifiers and the separators.
<ID-cpn>& "customer part number" & <separator> & <ID-qty>& "quantity" ...
And there is my problem. I am not sure which characters i have to use as separators and if it is a CR+LF, how i have to code it in the string.
Do you have an working example for that.
best regards
Dieter
bdittmar
10th June 2009, 11:35
Hello and thanks for the hints to bar tender and kyocera,
i have still the following problem:
if you print PDF417 with them, how do you separate the fields.
E.g.:
field1 = customer part number,
field2 = quantity
field3 = supplier number
In PDF417 you have to separate the fields, so if you read the barcode with a scanner, system can attach the fields correctly.
Therefor you have to build a string with all fields for the barcode, with the special field identifiers and the separators.
<ID-cpn>& "customer part number" & <separator> & <ID-qty>& "quantity" ...
And there is my problem. I am not sure which characters i have to use as separators and if it is a CR+LF, how i have to code it in the string.
Do you have an working example for that.
best regards
Dieter
Hello,
use GS = group seperator (ASCII 29)
RS = record seperator (ASCII 30)
EOT = end of text (ASCII 4)
Regards
Dieter MM
15th June 2009, 15:19
Hello Bernd,
thanks for your answer.
I tried it with the seperators. To examine the date, sent to printer, i disabled printer and took the date. But there aren't any separators in there.
string, concatenated in report script:
crlf = chr$(29) | Gruppenbegrenzer
barc2dcust = chr$(91) & chr$(41) & chr$(62) | Message Header [)>
barc2dcust = barc2dcust & chr$(30) | Format Header Rs
barc2dcust = barc2dcust & "06" | DataCode ISO 15434
barc2dcust = barc2dcust & "P" & strip$(shiftl$(kdartikelnr)) & crlf
barc2dcust = barc2dcust & "V" & strip$(shiftl$(tccom010.osno)) & crlf
barc2dcust = barc2dcust & "1T" & strip$(shiftl$(tdssc018.clot)) & crlf
barc2dcust = barc2dcust & "2P" & strip$(shiftl$(tiedm100.dsca)) & crlf
barc2dcust = barc2dcust & chr$(30) | Format Trailer Rs
barc2dcust = barc2dcust & chr$(04) | Message Trailer
Part of string in printer date:
³&a66C³&a79C(s4p8s24850T[)>06PF00RJ00986V0000120811T73273/H516072PREV. AJ(s0p16.67h8.5v0T&k7.0H
do you have any other hint?
regards
Dieter
bdittmar
16th June 2009, 17:50
Hello,
have a look at the attachment,
is this what you want to achieve ?
Regards
Dieter MM
17th June 2009, 09:42
hello,
yes, i can read your PDF417 with the CR (hex 0d) between the fields.
With the program BCtester i read: 0884.0010#Z002#Z003##
The last # is hex 0a, the others hex 0d.
So how have you coded "CR" and the barcodestring?
Can you give me your report/session script and the field description for your example?
Thanks
Dieter
bdittmar
17th June 2009, 10:28
hello,
yes, i can read your PDF417 with the CR (hex 0d) between the fields.
With the program BCtester i read: 0884.0010#Z002#Z003##
The last # is hex 0a, the others hex 0d.
So how have you coded "CR" and the barcodestring?
Can you give me your report/session script and the field description for your example?
Thanks
Dieter
Hello Dieter,
simple
barcode2 = strip$(tiitm001.item)&chr$(13)&"Z002"&chr$(13)&"Z003"&chr$(13)
i've written a barcode driver type25 for PDF417 in $BSE/lib/barcode/hp
and asigned type25 to the field barcode2 in report.
Regards
Dieter MM
17th June 2009, 10:58
Hello Bernd,
as i see now, the difference between my tries and your solution is the definition of the barcode type (barcode file).
I defined a new psfont and you a new barcode. And it looks like that by my way, all "special charactars" are lost during printing. I get a 2D barcode, but without any CR, LF ...
Do you think it is possible to get your type25 file?
thanks again
Dieter
vpopelka
26th April 2010, 14:18
If you have one of newer BW prints (for example 8.6a) you don't need any additional solution even Zebra printers to get 2D barcode out of ERPLN.
( just see help in BW print, there is new option 2D barcode test which shows possible types of 2D barcode ...)
in report, just try following command into field where you'd see barcode :
bc$(1010, 15, strip$(shiftl$(tcibd001.item)))
description :
bc$ - 3GL function for barcode printing
1010 - barcode type (1010 means QR Code)
15 - heigh of barcode in rows
strip$(shiftl$(tcibd001.item)) = data field with the leading and trailing spaces deleted.
(note: barcode will not print with the leading spaces).
Hope this helps ...
Vladislav
Andy..
26th April 2010, 19:49
If you have one of newer BW prints (for example 8.6a) you don't need any additional solution even Zebra printers to get 2D barcode out of ERPLN.
( just see help in BW print, there is new option 2D barcode test which shows possible types of 2D barcode ...)
in report, just try following command into field where you'd see barcode :
bc$(1010, 15, strip$(shiftl$(tcibd001.item)))
description :
bc$ - 3GL function for barcode printing
1010 - barcode type (1010 means QR Code)
15 - heigh of barcode in rows
strip$(shiftl$(tcibd001.item)) = data field with the leading and trailing spaces deleted.
(note: barcode will not print with the leading spaces).
Hope this helps ...
Vladislav
Hi, I just checked bwprint 8.5a on ERPLN and it doesn't show a 2d barcode/option. Could you post a screenshot where you can see the possible 2d barcodes? In the meantime I'll be searching for a newer bwprint!
Thanks
vpopelka
27th April 2010, 10:22
Hello Andy,
see attachment ....
I'm running on BW version 8.6a.4 with worktop 2.5.6
If you have access to www.infor365.com support site, than you can find
newest BW version inside of solution 13743.
Vladislav