tusharjain2204
8th December 2014, 11:57
Hello,

I'm trying to use bc$ function to generate barcodes.
However, after looking into the programmer's guide I'm unable to understand how to use the 'options' for 2D barcode.
Could someone please explain how those options are to be used?

Thanks in advance,
Tushar.

Han Brinkman
8th December 2014, 17:34
According to your config you use LN. With that it's more easily to use the barcode options within bwprint. Check the help file of bwprint and use the right code in your report field.
From bwprint you can run a barcode test, print that on your printer and check if your scanner can read it.

tusharjain2204
9th December 2014, 03:56
Hi Han,

Thanks for your reply.
Yes I'm using the barcode functionality within BWprint.

In the screenshot that I've attached here, if you see the 4th argument 'options', it uses values like 0x000040, 0x000080, 0x5000080, etc.
I'm tryting to understand how i can use these options to control the appearance of the barcode.

Thanks,
Tushar.

bdittmar
9th December 2014, 19:43
Hello,

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.

Example

print bc$( 2, 3, "87291803", bit.or( BC_TRANSPARENTBACKGRND,BC_SHOWTEXT) )

Regards

abbylee
1st June 2015, 04:38
I also plan to print 2d barcode, whether Bwprint has an interface for any other barcode library? I just got a barcode control (http://www.businessrefinery.com/products/barcode_net/main.html) on google.

Tomas Toth
10th June 2015, 16:31
Hello
Don't you know where I can find all barcode types ???
This is the first number (1010) I guess in the code that starts like:
"bc$(1010, ......"
?
Thanks

bdittmar
10th June 2015, 18:01
Hello
Don't you know where I can find all barcode types ???
This is the first number (1010) I guess in the code that starts like:
"bc$(1010, ......"
?
Thanks

Hello,

have a look at your local ....BW\bin.... Directory
(E.g. C:\Program Files\Infor\BW\ERPLN\bin)

There, a PDF called Barcode.pdf should exist.
In this document all codes, used with bwprint, are listed.

Regards