mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add SVG and Shift-JIS information
This commit is contained in:
parent
de4f39782f
commit
4d78bdd070
@ -214,7 +214,7 @@ structure consists of the following variables:</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>Contains the name of the file to output a
|
||||
resulting barcode symbol to. Must end in .PNG or .EPS</P>
|
||||
resulting barcode symbol to. Must end in .png, .eps or .svg</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">"out.png"</FONT></P>
|
||||
@ -308,11 +308,11 @@ structure consists of the following variables:</P>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier">text</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>character string</P>
|
||||
<P ALIGN=CENTER>unsigned character string</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>Human readable text, which usually consists of
|
||||
the input data plus one or more check digits.</P>
|
||||
the input data plus one or more check digits. Uses UTF-8 formatting.</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>NULL</P>
|
||||
@ -1509,7 +1509,15 @@ are shown in the table below.</P>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">KANJI_MODE</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>Encodes Kanji characters in QR Code.</P>
|
||||
<P ALIGN=CENTER>Encodes Kanji characters in QR Code. (Converts UTF-8 to Shift-JIS)</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">SJIS_MODE</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>Encodes Kanji characters in QR Code. (Assumes Shift-JIS input)</P>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
|
@ -24,7 +24,8 @@
|
||||
<HR>
|
||||
<H1>3. Using the Front End</H1>
|
||||
<P STYLE="font-style: normal">Zint can be used to generate barcodes
|
||||
as PNG images or as encapsulated Post Script (EPS) files. This page
|
||||
as PNG images, encapsulated Post Script (EPS) or Scalable Vector
|
||||
Graphics (SVG) files. This page
|
||||
describes how to encode data using the command line front end
|
||||
program.</P>
|
||||
<P><A NAME="INPUT"></A><FONT SIZE=5><B>3.1 Inputting data</B></FONT>
|
||||
@ -48,9 +49,12 @@ here.png. If an encapsulated Post Script file is needed simply append
|
||||
the file name with .eps:</P>
|
||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
||||
-o there.eps -d 'This Text'</FONT></FONT></P>
|
||||
<P>Output can also be directed to stdout using the --<FONT FACE="Courier, monospace">directeps</FONT>
|
||||
and --<FONT FACE="Courier, monospace">directpng</FONT> switches for
|
||||
EPS and PNG output respectively.</P>
|
||||
<P>Scalable Vector Graphics representations of symbols can be generated
|
||||
with the suffix ".svg". Output can also be directed to stdout using the
|
||||
<FONT FACE="Courier, monospace">--directeps</FONT>,
|
||||
<FONT FACE="Courier, monospace">--directpng</FONT> and
|
||||
<FONT FACE="Courier, monospace">--directsvg</FONT> switches for
|
||||
EPS, PNG and SVG output respectively.</P>
|
||||
<P><A NAME="BARTYPE"></A><FONT SIZE=5><B>3.3
|
||||
Selecting barcode type</B></FONT></P>
|
||||
<P>Selecting which type of barcode you
|
||||
@ -836,14 +840,26 @@ be encoded (see 5.1.12.3). To encode GS1 data use
|
||||
(and doesn't need to be set) for EAN-128, DataBar and Composite symbologies
|
||||
but is also available for Code 16k, Codablock-F, Data Matrix (ECC 200 only),
|
||||
and Aztec Code.</P>
|
||||
<P>QR Code can encode Kaji characters. This can be accessed using the
|
||||
<FONT FACE="Courier, monospace">--kanji</FONT> option.</P>
|
||||
<P>The QR Code and MicroQR Code standards have a "Kanji mode" for encoding
|
||||
Japanese chacters. The standards assume that the input is encoded using the
|
||||
Shift-JIS system. To access this functionality directly use the
|
||||
<FONT FACE="Courier, monospace">--sjis</FONT> option. Note that only
|
||||
double-byte characters are supported. The presence of single byte characters
|
||||
will cause the data to become corrupted. This functionality can also be
|
||||
accessed from environments which use Unicode encoding by using the
|
||||
<FONT FACE="Courier, monospace">--kanji</FONT> option. When this option is
|
||||
invoked Zint attempts to convert Unicode data to Shift-JIS before encoding
|
||||
in a barcode symbol. If a Unicode character is not supported then the error
|
||||
message is output.[1]</P>
|
||||
<P><A NAME="OTHER"></A><FONT SIZE=5><B>3.12
|
||||
Other options</B></FONT></P>
|
||||
<P>Additional options are available which
|
||||
are specific to certain symbologies. These may, for example, control
|
||||
the quantity of error correction data or the size of the symbol.
|
||||
These options are discussed in section 5 of this guide.</P>
|
||||
<P>[1] Only Unicode and Shift-JIS inputs can be encoded by Zint directly.
|
||||
Apple Macintosh Japanese, EUC-JP, ISO-2022-JP and Windows-932 standards
|
||||
are not supported.</P>
|
||||
<HR>
|
||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
||||
<TR>
|
||||
|
Loading…
Reference in New Issue
Block a user