Directives - Ean.inc
Following directives switch on the components usage, specially for AceReporter, Report Builder and similar.
If you wish to use these components, a relevant line must be included in the file ean.inc. If you change the file ean.inc you have to save the file and to reload the dpk file.
Available directives :
If you can change some settings of Barcode library :
Barcode Library contains some packages whereby there are always two packages. Corresponding components are in one of them, property and components editors are in the second one (the name of a block finishes with the word Editors). These packages are determined for various programming tools.
How install Barcode library ?
Barcode types, using, advantages.Supported barcode types :
ISBN, ISSN, ISMN, JAN
2 of 5 (Datalogic, Matrix, Interleaved, Industrial, IATA, Invert, ...)
Barcode type you can set using TEan.TypBarcode property
EanKod unit.This unit creates the base of Barcode Library. All the basic methods and functions which are needed for creation and print of a bar code are here.
The basic component TCustomEan, from which all other components of Barcode Library have been derived, is here.
Note : This unit is with source code only in registered version of Barcode library. In trial version is available only compiled dcu file. Please look trial version limits too.
Please look some screen shots of Barcode library components and editors.
EanRead unitSee also
Implements TBarcodeReader component - component for reading barcode from scanners, connected to serial ports.
TEanReadThread componentSee also | Methods
PZN (Pharma-Zentral-Nummer) is a code for medicine identification in Germany and maybe other countries. In Germany it's issued by the Informationsstelle für Arzneispezialitäten GmbH, Beethovenstr. 51-53, Frankfurt am Main, Germany>. The PZN is based on Code39 and always has 7 digits. The last digit is a check digit. It uses the Code39-start sign "*" in combination with "-" as the start sign. The stop sign is the standard code39 stop sign "*". These start and stop signs and the characters "PZN " do not need to be entered in order to produce a PZN because they are a fixed part of the PZN. The characters "PZN" are not coded in the barcode. To get the PZN of the above example, you just have to enter 63194 Internal component, use by TBarcodeReader for connection to serial port.
TBarcodeReader componentSee also | Properties | Methods | Tasks
Component for reading barcode or another data from serial ports. TpsBarcodeReaderOption, TpsBarcodeReaderOptions type
type TpsBarcodeReaderOption = (boRemoveCR, boRemoveLF);
type TpsBarcodeReaderOptions = set of TpsBarcodeReaderOption;
boRemoveCR - after reading remove CR from readed string
boRemoveLF - after reading remove LF from readed string
property BitRate: TpsComBitRate;
type TpsComBitRate =
Specifiy bitrate of serial port. Possible from 300 bps to 115200.
DataBits propertyApplies to
type TpsComDataBits = (db7Bits, db8Bits);
property DataBits: TpsComDataBits;
Number of databits - 7 or 8.
Parity propertyApplies to
type TpsComParity = (parityNone, parityOdd, paritySpace, parityEven, parityMark);
property Parity: TpsComParity;
Serial port communication parity - None, Odd, Space, Even, Mark;
Port propertyApplies to
type TpsComPort = (psCom1, psCom2, psCom3, psCom4, psCom5, psCom6, psCom7, psCom8);
property Port: TpsComPort;
Com port wheer is barcode scanner is connected.
StopBits propertyApplies to
type TpsComStopBits = (sbStop1, sbStop15, sbStop2);
property StopBits: TpsComStopBits;
Serial port communication parameter - stop bits.
property OnBarcodeReady: TpsOnBarcodeReady;
type TpsOnBarcodeReady = procedure(Sender: TObject; Barcode: String); of Object;
Fired when read operation is finished.
TTypBarcode propertyTTypBarcode = (bcEan8,bcEan13,bcCodabar,bcCode39Standard,bcCode39Full,bcCode93Standard,bcCode93Full, bcCode128,bcABCCodabar,bc25Datalogic,bc25Interleaved,bc25Matrix, bc25Industrial,bc25IATA,bc25Invert, bcITF, bcISBN, bcISSN, bcISMN, bcUPCA,bcUPCE0,bcUPCE1, bcUPCShipping, bcSCC14, bcJAN8, bcJAN13, bcMSIPlessey, bcPostNet, bcPlanet, bcRoyalMail, bc4State, bcDutch4StatePostal, bcTelepen, bcSwissPostal, bcSingapore4StatePostalCode, bcPostBar, bcOPC, bcEan128, bc25Coop, bcCode11, bcPZN, bcPDF417, bcCodablockF, bcSSCC, bcSISAC, bcCode16K, bcCodabarMonarch, bcFimA,bcFimB,bcFimC,bcFimD );