mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 09:57:02 +00:00
backend_tcl/zint_tcl.vcsproj: put ZINT_VERSION in general defines
and remove from individual .c files; rename include dirs "C:\myprograms\tcl9.0" -> "C:\Tcl" and lib dirs "C:\myprograms\tcl9.0\lib" -> "C:\Tcl\lib"; suppress some warnings backend_tcl/zint.c: suppress some warnings tools/update_version.php: update for "backend_tcl/zint_tcl.dsp" -> ".vcxproj" manual.pmd: backend_tcl: fix "require package" -> "package require" and explain "C:\Tcl" may need adjusting general: update copyright years in ".rc" files library: remove needless `eci` zeroing in `set_symbol_defaults()` and make `barcode_seg_funcs` initialization consistent (147 now)
This commit is contained in:
@@ -985,9 +985,9 @@ class="sourceCode bash"><code class="sourceCode bash"><span id="cb10-1"><a href=
|
||||
<h2 id="zint-tcl-backend">2.5 Zint Tcl Backend</h2>
|
||||
<p>The Tcl backend in the <code>"backend_tcl"</code> sub-directory may
|
||||
be built using the provided TEA (Tcl Extension Architecture) build on
|
||||
Linux, Windows, macOS and Android. For Windows, an MSVC6 makefile is
|
||||
also available. See <a href="#annex-c.-tcl-backend-binding">Annex C. Tcl
|
||||
Backend Binding</a> for further details.</p>
|
||||
Linux, Windows, macOS and Android. See <a
|
||||
href="#annex-c.-tcl-backend-binding">Annex C. Tcl Backend Binding</a>
|
||||
for further details.</p>
|
||||
<h1 id="using-zint-barcode-studio">3. Using Zint Barcode Studio</h1>
|
||||
<p>Zint Barcode Studio is the graphical user interface for Zint. If you
|
||||
are starting from a command line interface you can start the GUI by
|
||||
@@ -8695,9 +8695,12 @@ class="sourceCode bash"><code class="sourceCode bash"><span id="cb123-1"><a href
|
||||
<span id="cb123-4"><a href="#cb123-4" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span></span>
|
||||
<span id="cb123-5"><a href="#cb123-5" aria-hidden="true" tabindex="-1"></a><span class="fu">sudo</span> make install</span></code></pre></div>
|
||||
<p>For Windows, a Microsoft Visual C++ project file is available at
|
||||
<code>"backend_tcl\zint_tcl.vcxproj"</code>. There is also a Visual
|
||||
Studio makefile available at <code>"backend_tcl\win\makefile.vc"</code>,
|
||||
which can be run with <code>nmake</code> - for details see
|
||||
<code>"backend_tcl\zint_tcl.vcxproj"</code>. Note that this assumes that
|
||||
Tcl/Tk is available in <code>"C:\Tcl"</code> and that the libraries are
|
||||
named <code>"tclstub.lib"</code> and <code>"tkstub.lib"</code> - change
|
||||
to match your setup. There is also a Visual Studio makefile available at
|
||||
<code>"backend_tcl\win\makefile.vc"</code>, which can be run with
|
||||
<code>nmake</code> - for details see
|
||||
<code>"backend_tcl\win\README.txt"</code>.</p>
|
||||
<p>Once built and installed, invoke the Tcl/Tk CLI
|
||||
<code>"wish"</code>:</p>
|
||||
@@ -8706,7 +8709,7 @@ class="sourceCode bash"><code class="sourceCode bash"><span id="cb124-1"><a href
|
||||
<p>and ignoring the Tk window click back to the command prompt
|
||||
<code>"%"</code> and type:</p>
|
||||
<div class="sourceCode" id="cb125"><pre
|
||||
class="sourceCode bash"><code class="sourceCode bash"><span id="cb125-1"><a href="#cb125-1" aria-hidden="true" tabindex="-1"></a><span class="ex">require</span> package zint</span>
|
||||
class="sourceCode bash"><code class="sourceCode bash"><span id="cb125-1"><a href="#cb125-1" aria-hidden="true" tabindex="-1"></a><span class="ex">package</span> require zint</span>
|
||||
<span id="cb125-2"><a href="#cb125-2" aria-hidden="true" tabindex="-1"></a><span class="ex">zint</span> help</span></code></pre></div>
|
||||
<p>which will show the usage message, with options very similiar to the
|
||||
Zint CLI. (One notable difference is that boolean options such as
|
||||
|
||||
@@ -239,8 +239,7 @@ root directory.
|
||||
|
||||
The Tcl backend in the `"backend_tcl"` sub-directory may be built using the
|
||||
provided TEA (Tcl Extension Architecture) build on Linux, Windows, macOS and
|
||||
Android. For Windows, an MSVC6 makefile is also available. See [Annex C. Tcl
|
||||
Backend Binding] for further details.
|
||||
Android. See [Annex C. Tcl Backend Binding] for further details.
|
||||
|
||||
|
||||
# 3. Using Zint Barcode Studio
|
||||
@@ -5033,9 +5032,11 @@ sudo make install
|
||||
```
|
||||
|
||||
For Windows, a Microsoft Visual C++ project file is available at
|
||||
`"backend_tcl\zint_tcl.vcxproj"`. There is also a Visual Studio makefile
|
||||
available at `"backend_tcl\win\makefile.vc"`, which can be run with `nmake` -
|
||||
for details see `"backend_tcl\win\README.txt"`.
|
||||
`"backend_tcl\zint_tcl.vcxproj"`. Note that this assumes that Tcl/Tk is
|
||||
available in `"C:\Tcl"` and that the libraries are named `"tclstub.lib"` and
|
||||
`"tkstub.lib"` - change to match your setup. There is also a Visual Studio
|
||||
makefile available at `"backend_tcl\win\makefile.vc"`, which can be run with
|
||||
`nmake` - for details see `"backend_tcl\win\README.txt"`.
|
||||
|
||||
Once built and installed, invoke the Tcl/Tk CLI `"wish"`:
|
||||
|
||||
@@ -5046,7 +5047,7 @@ wish
|
||||
and ignoring the Tk window click back to the command prompt `"%"` and type:
|
||||
|
||||
```bash
|
||||
require package zint
|
||||
package require zint
|
||||
zint help
|
||||
```
|
||||
|
||||
|
||||
@@ -416,8 +416,7 @@ root directory.
|
||||
|
||||
The Tcl backend in the "backend_tcl" sub-directory may be built using the
|
||||
provided TEA (Tcl Extension Architecture) build on Linux, Windows, macOS and
|
||||
Android. For Windows, an MSVC6 makefile is also available. See Annex C. Tcl
|
||||
Backend Binding for further details.
|
||||
Android. See Annex C. Tcl Backend Binding for further details.
|
||||
|
||||
3. Using Zint Barcode Studio
|
||||
|
||||
@@ -4831,8 +4830,10 @@ A Tcl binding is available in the "backend_tcl” sub-directory. To make on Unix
|
||||
sudo make install
|
||||
|
||||
For Windows, a Microsoft Visual C++ project file is available at
|
||||
"backend_tcl\zint_tcl.vcxproj". There is also a Visual Studio makefile available
|
||||
at "backend_tcl\win\makefile.vc", which can be run with nmake - for details see
|
||||
"backend_tcl\zint_tcl.vcxproj". Note that this assumes that Tcl/Tk is available
|
||||
in "C:\Tcl" and that the libraries are named "tclstub.lib" and "tkstub.lib" -
|
||||
change to match your setup. There is also a Visual Studio makefile available at
|
||||
"backend_tcl\win\makefile.vc", which can be run with nmake - for details see
|
||||
"backend_tcl\win\README.txt".
|
||||
|
||||
Once built and installed, invoke the Tcl/Tk CLI "wish":
|
||||
@@ -4841,7 +4842,7 @@ Once built and installed, invoke the Tcl/Tk CLI "wish":
|
||||
|
||||
and ignoring the Tk window click back to the command prompt "%" and type:
|
||||
|
||||
require package zint
|
||||
package require zint
|
||||
zint help
|
||||
|
||||
which will show the usage message, with options very similiar to the Zint CLI.
|
||||
|
||||
Reference in New Issue
Block a user