Barcode FAQ


Question : I have a cross on the bar code. Why ?
Answer :You have only trial version of Barcode library. You need register it. If you have registered version, please look to the EanKod.pas, remove line line {$define PSOFT_DEMO} and rebuild barcode package.

Question : Can I export barcode image to jpeg image file format ?
Answer : Yes, but you need write to unit EanKod.pas directive {$define PSOFT_JPEG}. Default is this option disabled.

Question : Why is barcode invisible ? Why barcode library print red cross lines ?
Answer : Each printed barcode must have some properties. Basic property is secure reading with barcode readers. All barcode have some lines and spaces. Each line and space have width 1,2,3,4 or 5 pixels. Complete barcode picture have some minimum width (function TEan.MinWidth) . If you set TEan.Width less than TEan.MinWidth, this barcode can be unreadable. This is visible on the screen (this device have small DPI), on the printer maybe all O.K. (laser printers have bigger DPI).

Question : Which of Code128A, Code128B, Code128C, Ean128 supports Barcode library ?
Answer : Barcode library support Code128A ( this is Ean128, set TypBarcode=bcEan128 ), Code128B ( set TypBarcode=bcCode128 ) and Code128C (set TypBarcode=bcCode128 and Barcode must be only numbers, even number of digits 1234 or 526987, but no 258A or 123). If barcode have only digits and even number of this digits, then Barcode library print Code128C (this is compressed format), otherwise Code128B. You can also use Ean128.

Question : How is coded country in Ean 13 ?
Answer : First 2 or 3 digits in Ean 13 is country code. The following leading codes are known to me:
	00 -13	USA & Canada
	2	reserved for local use (store/warehouse)
	30 -37	France
	400-440	Germany
	45	Japan
	46	Russian Federation
	471	Taiwan
	474	Estonia
	475	Latvia
	477	Lithuania
	479	Sri Lanka
	480	Philippines
	482	Ukraine
	484	Moldova
	485	Armenia
	486	Georgia
	487	Kazakhstan
	489	Hong Kong
	49	Japan
	50	UK
	520	Greece
	528	Lebanon
	529	Cyprus
	531	Macedonia
	535	Malta
	539	Ireland
	54	Belgium & Luxembourg
	560	Portugal
	569	Iceland
	57	Danmark
	590	Poland
	594	Romania
	599	Hungary
	600-601	South Africa
	609	Mauritius
	611	Morocco
	613	Algeria
	619	Tunisia
	622	Egypt
	625	Jordan
	626	Iran
	64	Finland
	690-692	China
	70	Norway
	729	Israel
	73	Sweden
	740-745	Guatemala, El Salvador, Honduras, Nicaragua, Costa Rica & Panama
	746	Republica Dominicana
	750	Mexico
	759	Venezuela
	76	Switzerland
	770	Colombia
	773	Uruguay
	775	Peru
	777	Bolivia
	779	Argentina
	780	Chile
	784	Paraguay
	785	Peru
	786	Ecuador
	789	Brazil
	80 -83	Italy
	84	Spain
	850	Cuba
	858	Slovakia
	859	Czech
	860	Yugoslavia
	869	Turkey
	87	Netherlands
	880	South Korea
	885	Thailand
	888	Singapore
	890	India
	893	Vietnam
	899	Indonesia
	90 -91	Austria
	93	Australia
	94	New Zealand
	955	Malaysia
	977	ISSN
	978	ISBN
	979	ISMN
	980	Refund receipts
	99	Coupons