Barkix version 1.02 Hans Harder (hans@atbas.org)
Barcode generator for PCL without the need for fontcartridges
This program will generate pcl commands for drawing the lines of a barcode currently it supports: code 3 of 9 and KIX postal barcode (Dutch KPN)
The program will scan the textlines for input starting with an <&. and which ends with > (the . specifies an action)
syntax: <&[<scale>]<action>.....>
action:
B = Replaced by a horizontal code39 barcode
b = Replaced by a vertical code39 barcode
S = streetname, needed for KIX code (contents is preserved)
P = postalcode, needed for KIX code (contents is preserved)
K = Replaced by a KIX barcode
k = Replaced by a readable KIX code
Option: <scale> print barcode/kixcode with scale/10.0
example <&15B1234567> will use a 1.5 scale barcode
Remark: Barcode will only be generated when the has been started in
hp mode (barkix -hp), else it will replace the contents with spaces
Example code39 barcodes:
Vertical and horizontal barcodes can be generated:
A <&bA010804> Item 123-4567
0 <&B1234567>
1
0 Loc. A010804 (scale 1.5)
8 <&15BA010804>
0
4
Examples KIX code:
The program wil scan the streetname en city code for the information
needed to make KIX code
Company name
<&SDutchstreet 10 >
<&P1234 PR Someplace >
<&K kix barcode >
kixcode = [<&k ascii kixcode >]
Or with an addresslist the kixcode can be generated, like:
custno;Name ;<&Sstreetname 24 a-b >;<&P1234 AB city>;<&k > custno;Name ;<&Sstreetname 1001abc >;<&P5678 BC city>;<&k > custno;Name ;<&Sstreetname 4a >;<&P1234 DE city>;<&k >
