Add SVG and Shift-JIS information

This commit is contained in:
hooper114 2009-02-22 17:19:59 +00:00
parent de4f39782f
commit 4d78bdd070
2 changed files with 34 additions and 10 deletions

View File

@ -214,7 +214,7 @@ structure consists of the following variables:</P>
</TD> </TD>
<TD> <TD>
<P ALIGN=CENTER>Contains the name of the file to output a <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>
<TD> <TD>
<P ALIGN=CENTER><FONT FACE="Courier, monospace">&quot;out.png&quot;</FONT></P> <P ALIGN=CENTER><FONT FACE="Courier, monospace">&quot;out.png&quot;</FONT></P>
@ -308,11 +308,11 @@ structure consists of the following variables:</P>
<P ALIGN=CENTER><FONT FACE="Courier">text</FONT></P> <P ALIGN=CENTER><FONT FACE="Courier">text</FONT></P>
</TD> </TD>
<TD> <TD>
<P ALIGN=CENTER>character string</P> <P ALIGN=CENTER>unsigned character string</P>
</TD> </TD>
<TD> <TD>
<P ALIGN=CENTER>Human readable text, which usually consists of <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>
<TD> <TD>
<P ALIGN=CENTER>NULL</P> <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> <P ALIGN=CENTER><FONT FACE="Courier, monospace">KANJI_MODE</FONT></P>
</TD> </TD>
<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> </TD>
</TR> </TR>
</TBODY> </TBODY>

View File

@ -24,7 +24,8 @@
<HR> <HR>
<H1>3. Using the Front End</H1> <H1>3. Using the Front End</H1>
<P STYLE="font-style: normal">Zint can be used to generate barcodes <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 describes how to encode data using the command line front end
program.</P> program.</P>
<P><A NAME="INPUT"></A><FONT SIZE=5><B>3.1 Inputting data</B></FONT> <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> the file name with .eps:</P>
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint <P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
-o there.eps -d 'This Text'</FONT></FONT></P> -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> <P>Scalable Vector Graphics representations of symbols can be generated
and --<FONT FACE="Courier, monospace">directpng</FONT> switches for with the suffix ".svg". Output can also be directed to stdout using the
EPS and PNG output respectively.</P> <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 <P><A NAME="BARTYPE"></A><FONT SIZE=5><B>3.3
Selecting barcode type</B></FONT></P> Selecting barcode type</B></FONT></P>
<P>Selecting which type of barcode you <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 (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), but is also available for Code 16k, Codablock-F, Data Matrix (ECC 200 only),
and Aztec Code.</P> and Aztec Code.</P>
<P>QR Code can encode Kaji characters. This can be accessed using the <P>The QR Code and MicroQR Code standards have a "Kanji mode" for encoding
<FONT FACE="Courier, monospace">--kanji</FONT> option.</P> 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 <P><A NAME="OTHER"></A><FONT SIZE=5><B>3.12
Other options</B></FONT></P> Other options</B></FONT></P>
<P>Additional options are available which <P>Additional options are available which
are specific to certain symbologies. These may, for example, control are specific to certain symbologies. These may, for example, control
the quantity of error correction data or the size of the symbol. the quantity of error correction data or the size of the symbol.
These options are discussed in section 5 of this guide.</P> 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> <HR>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR> <TR>