Baanboard.com

Baanboard.com (http://www.baanboard.com/baanboard/index.php)
-   Deutsches Forum (http://www.baanboard.com/baanboard/forumdisplay.php?f=65)
-   -   Barcode 39 oder 128 (http://www.baanboard.com/baanboard/showthread.php?t=70019)

MS-Tech 10th May 2017 16:06

Barcode 39 oder 128
 
Hallo Zusammen,

ich kenne zwar die bc$-Funktion, jedoch wie kann ich damit einen Barcode vom Typ 39 oder 128 erzeugen?

Grüße
MS-Tech

bdittmar 10th May 2017 18:29

Barcode
 
1 Attachment(s)
Hallo,

ist unter anderem abhaengig von der OS-Plattform.

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.

unter linux z.B.:

Code:

#!/bin/sh

#      LTi DRiVES GmbH - November 2002 B. Dittmar
#          Barcode zum Drucken von Sonderzeichen!
#        Identisch mit type04 (BD20070918) 1D Code128


# push cursor
echo "\033&f0S\c"

# laenge=`echo $1 | awk '{ print rlength($1) }'`
# cat laenge > /tmp/test.txt

#CODE 128 autoswitch
echo "\033(10Q\033(s1p15vsb24700T\c"
echo "\033&p15X\c"
echo "$1"
# echo "\033(10U\033(s0p12.00h10.0v0s0b4102T\c"

# pop cursor position
echo "\033&f1S\c"

Code39 liegt z.B. unter Code03 im oben angegebenen Verzeichnis.

Ansonsten dem gewuenschten Code entsprechenden Shellscript anlegen und als typexx in dem Verzeichnis abspeichern.

Bei WIN-OS im Help-Menue testen.
Code:

Typ .NET Barcode Characters CheckDigit
9 8 Code 128 any 1 automatic
8 0 Code 39 any 1 optional

Alternativ HiDox einsetzen.

MS-Tech 27th June 2017 10:25

Hi, danke für die Info´s. Habs hinbekommen.

Grüße
MS-Tech


All times are GMT +2. The time now is 20:10.


vB.Sponsors
©2001-2017 - Baanboard.com - Baanforums.com