setBarcode()

setBarcode($code, $type) 
$code = string, ist der Text oder Zahl der als Barcode dargestellt werden soll
$type = String, ist der Typ des Barcodes, also die verschiedenen Barcodes die es gibt. 
Mögliche Werte:

C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
C39+ : CODE 39 with checksum
C39E : CODE 39 EXTENDED
C39E+ : CODE 39 EXTENDED + CHECKSUM
C93 : CODE 93 - USS-93
S25 : Standard 2 of 5
S25+ : Standard 2 of 5 + CHECKSUM
I25 : Interleaved 2 of 5
I25+ : Interleaved 2 of 5 + CHECKSUM
C128 : CODE 128
C128A : CODE 128 A
C128B : CODE 128 B
C128C : CODE 128 C
EAN2 : 2-Digits UPC-Based Extension
EAN5 : 5-Digits UPC-Based Extension
EAN8 : EAN 8
EAN13 : EAN 13
UPCA : UPC-A
UPCE : UPC-E
MSI : MSI (Variation of Plessey code)
MSI+ : MSI + CHECKSUM (modulo 11)
POSTNET : POSTNET
PLANET : PLANET
RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
KIX : KIX (Klant index - Customer index)
IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200
IMBPRE: Pre-processed Intelligent Mail Barcode - Onecode - USPS-B-3200, using only F,A,D,T letters
CODABAR : CODABAR
CODE11 : CODE 11
PHARMA : PHARMACODE
PHARMA2T : PHARMACODE TWO-TRACKS

Original-Dokumentation hier:

https://tcpdf.org/docs/srcdoc/TCPDF/source-class-TCPDFBarcode/#242-382

One Comment on “setBarcode()”

Schreibe einen Kommentar