-
-
+
-
+ |
Value
|
-
+ |
Effect
|
-
+ |
0
|
-
+ |
No box or boundary bars.
|
-
+ |
BARCODE_BIND
|
-
+ |
Boundary bars above and below the symbol and
between rows if stacking multiple symbols.
|
-
+ |
BARCODE_BOX
|
-
+ |
Add a box surrounding the symbol and whitespace.
|
-
-
4.7 Rotating the Symbol
Rotating the output is done using the
ZBarcode_Encode_and_Print_Rotated()
@@ -1411,11 +1386,63 @@ clockwise. For example the following code generates a symbol rotated
by 90 degrees. Only PNG output can be rotated in this way.
error
= ZBarcode_Encode_and_Print_Rotated(my_symbol, argv[1], 90);
+4.8 Setting the Input Mode
+The way in which the input data is encoded can be set using the
+input_mode property. Valid values
+are shown in the table below.
+
+
+
+
+
+ Value
+ |
+
+ Effect
+ |
+
+
+
+
+
+ BINARY_MODE
+ |
+
+ Uses full ASCII range interpreted as Latin-1 or binary data.
+ |
+
+
+
+ UNICODE_MODE
+ |
+
+ Uses pre-formatted UTF-8 input.
+ |
+
+
+
+ GS1_MODE
+ |
+
+ Encodes GS1 data using FNC1 characters.
+ |
+
+
+
+ KANJI_MODE
+ |
+
+ Encodes Kanji characters in QR Code.
+ |
+
+
+
+
[1] This value is ignored for Australia Post 4-State Barcodes,
PostNet, PLANET, USPS OneCode, RM4SCC, PDF417, Data Matrix, Maxicode,
-QR Code and GS1 DataBar-14 Stacked - all of which have a fixed
+QR Code, GS1 DataBar-14 Stacked, PDF417 and MicroPDF417 - all of which have a fixed
height.
[2] This value is ignored for Code 16k and ITF-14 symbols.
@@ -1443,7 +1470,5 @@ height.
-