VishalMistry
7th September 2013, 08:05
Hi all,
I have a receipt label report, in which I want to use bc$() function to print barcode.
I want to use whinh312.item field as a base for barcode.
Can anybody guide, which domain should I use to print barcode for this field ?
I have used tcmcs.st40m but it is not printing anything on report. The syntax I used is bc$(2,2,whinh312.item).
Pl guide.
Vishal
bdittmar
7th September 2013, 13:48
Hi all,
I have a receipt label report, in which I want to use bc$() function to print barcode.
I want to use whinh312.item field as a base for barcode.
Can anybody guide, which domain should I use to print barcode for this field ?
I have used tcmcs.st40m but it is not printing anything on report. The syntax I used is bc$(2,2,whinh312.item).
Pl guide.
Vishal
Hello,
depends on your OS :
Remarks
The calc_checksum, show_checkdigits and options arguments are not used on non-Windows platforms.
The 3-argument variant of bc$() has a limitation to the barcode type, which need to be in range of 1-31.
The 3- and 5-argument variant of bc$() has a limitation to the barcode string of 224 bytes.
2D-barcodes are supported on Windows platform only, by BWPrint, starting with portingset 6.1c.09 (BW=B40c.95), 8.5a.02 and 8.5b.
Starting with these BWprint versions: a barcode.pdf file is supplied in the directory where BWprint is installed. This pdf contains information about the capabilities and allowed options for barcodes.
1D-barcode options and 2D-barcode options cannot be mixed and will result in unspecified behavior.
Windows platform/BwPrint
The barcode type points to a barcode type. Check the barcode-1D and/or barcode-2D test in the Help menu of BwPrint for available barcode types. The number of available barcode types depend on the thirdparty software from dlSoft. This software is used to generate the barcode images.
Non-Windows platforms
The barcode type points to a shell script that is used to generate the barcode. This script is printer and customer specific. The script is stored in the $BSE/lib/barcode directory. The script name has the form 'type xx ', where xx gets a leading zero for a barcode type with a value lower than 10. For example 'type02' or 'type100'. The script is called by the printer daemon/filter in the form (quotes are added, to surround the barcode caption): $BSE/lib/barcode/type type 'barcode 'rows.
------------------------------------------------------
Domain tcitem is 47 char. , you define 40 for barcode ?
Try:
extern domain tcmcs.str100 barcode
barcode = trim$(bc$(2,2,whinh312.item))
Regards
shekhawatr
18th September 2013, 18:35
Hi all,
I have a receipt label report, in which I want to use bc$() function to print barcode.
I want to use whinh312.item field as a base for barcode.
Can anybody guide, which domain should I use to print barcode for this field ?
I have used tcmcs.st40m but it is not printing anything on report. The syntax I used is bc$(2,2,whinh312.item).
Pl guide.
Vishal
Dear Vishal,
I read your issue and understand very well, just goto field property and select font tab, you will find barcode field value 0, just change it 1 and compile the report, now check result in Print Preview....
Hope you will get result as you want.....
Thanks,
Raghuveer Singh Shekhawat
pegaga1979
17th September 2014, 10:26
Hi,
i've change the Barcode Font at Form Field from 0 to 1.
but it give result !#. 14-38-4-002031y
may i know how i want to make it as barcode?
abbylee
3rd April 2015, 04:56
I'm not familiar with bc$(), usually use C# to create barcode (http://www.keepdynamic.com/barcoding/csharp-barcode-generator.shtml).
I also didn't find related bc$() bar code resource, if you find the results, looking forward you can share it.
bpanda
8th April 2015, 15:10
I'm not familiar with bc$(), usually use C# to create barcode (http://www.keepdynamic.com/barcoding/csharp-barcode-generator.shtml).
I also didn't find related bc$() bar code resource, if you find the results, looking forward you can share it.
Hello,
You can try 2 options;
Option 1:
declaration:
extern domain tcdesc bar.code1
xxxxx.y:
before.layout:
bar.code1 = bc$(10,3,strip$(shiftl$(whinh431.item)), BC_SHOWTEXT)
"Use bar.code1 on the report layout with domain tcdesc or you can add the expression (bc$(10,3,strip$(shiftl$(whinh431.item)), BC_SHOWTEXT)) directly on layout."
Option 2:
declaration:
extern domain tcdesc bar.code1
xxxxx.y:
before.layout:
bar.code1 = chr$(27) & chr$(22) & "E#0" & sprintf$("%16s", whinh431.item)
"Use bar.code1 on the report layout with domain tcdesc"
Thanks & Regards
Biswajyoti Panda
KaasKarthik
5th November 2020, 07:53
Hello all,i don't have any bw print,for a simple customization i want to print the barcode,i changed 1 in the barcode in the field property.it print some character .not printing barcode ,what i do for it.....
please give a suggestion.............
advance thanks for quick reply
bdittmar
5th November 2020, 09:45
Hello,
from : Baan: 9.2 - DB: sql - OS: windows 10
we do not know your BaaN/LN Version (Environment).
So it's difficult to give a suggestion.
Regards
KaasKarthik
11th November 2020, 13:08
my baan version is 9.3d.1, instead printing barcode ,i am getting special charcters ,how to solve this problem.
:confused::confused::confused::confused::confused:
andreas.toepper
11th November 2020, 15:47
I do not know a baan version "9.3d.1". See ist basicaly like this:
Bann4/Baan5 with a servicepack Level or Infor LN with featurepack level or the 10.x Version number. The UI is BWC (baan windows client), Worktop, WebUI or LNUI (or Mingl.e).
To give an example: I'm right now using LN 10.2 with WebUI and we're Migration onto LN 10.7 with LNUI.
We're using Windows Server Printer Setup for printing, so barcodes are printed the old bwprint ways (meaning we don't use a barcode extension module in the printers).
I think 9.3d.1 is a portingset level. Thats the runtime Environment. I think it can be used with Baan4 and LN. (We're using 9.3e on LN 10.7 and 9.0a with LN 10.2.)
bdittmar
11th November 2020, 17:02
Hello,
do you mean the BW Version ?
Help - Info in BW
Infor BW 9.3c.1 (Unicode)
Regards
bdittmar
12th November 2020, 10:36
Hello,
try to use LNUI for printing barcode.
Result is shown in attachment.
Deployment changes
Infor Xi Platform 12.0.2
This version of LN UI supports Infor Xi Platform 12.0 Service Pack 2 and later.
Java version support
LN UI is no longer supported for Oracle Java SE 7 because of Oracle's End of Public Updates
announcement. An up-to-date Oracle Java SE 8 JRE is bundled with the Enterprise Server Installer.
PDF preview with barcodes
PDF preview supports barcode display. These barcode types are supported:
• BAR39
• BAR39EXT
• CODE93
• CODE11
• CODABAR
• CODE93EXT
• CODE128
• EAN13
• EAN8
• EAN128
• INTERLEAVED25
• POSTNET
• UPCA
Infor LN UI Difference Study | 29
• UPCE
• PDF417
• QRCODE
• DATAMATRIX
• AZTECCODE
This functionality requires the installation of Porting Set 9.0c.01 or later and the PMC solution for Enterprise Server 10.4.2.
Attachment is generated with LNUI -> output to printer "D" (Display).
Regards
bdittmar
16th November 2020, 09:37
Hello,
PDF bar codes guide
The pdf converter supports the following bar code types:
-------------------------------------
TYPE DLSOFT/bc$ TYPE
-------------------------------------
BAR39 9 (Code 39)
BAR39EXT 19 (Ext Code 39)
CODE93 37
CODE11 16
CODABAR 17
CODE93EXT 38
CODE128 10
EAN13 1
EAN8 2
EAN128 11 (GS-128)
INTERLEAVED25 7 (ITF-14)
POSTNET 29
UPCA 5
UPCE 6
PDF417 1003
QRCODE 1010
DATAMATRIX 1005
AZTECCODE 1004
-------------------------------------
These bar codes are inserted in the report via the bc$ function. (See the ERP LN programmers guide for more information on bc$.)
The options set in bc$ are unfortenately not supported, because a different library is used. Instead of the dlSoft, the
java4less bar code generation library is used.
The bar codes can be adjusted/tweaked via the PDF.properties file. For example changing the bar color, changing the font and changing
the bar code width for all bar codes, can be done by setting the following property:
Regards