{jsiteinit.tcl
Introduction
The jsiteinit.tcl library is distributed as part of the jstools package.  It consists of a procedure, ::jstools::site_init, that can be edited by the local installer to perform site-specific configuration, such as providing the names of printers or overriding user preferences or application defaults.

This document describes jsiteinit.tcl version 2001.02.10.
Usage
Accessing the Library
The ::jstools::site_init procedure is automatically called by ::jstools::jstools_init, so you should not need to call it directly in your code.  (You should, of course, call ::jstools::jstools_init early on in your application.)

By default, ::jstools::site_init doesn't do anything.  If you want it to, you should edit the file pkg/jsiteinit.tcl in the jstools library directory.  You should uncomment and modify lines in the body of the ::jstools::site_init procedure.
Credits and Copyright
Author
Jay Sekora 
js@aq.org
http://www.aq.org/~js/

Copyright
The library is copyright © 1992-2001 by Jay Sekora, but may be freely redistributed under the conditions at the top of the file.
Overview
Procedure
::jstools::jstools_init - common initialisation for jstools applications and libraries
::jstools::site_init
Usage
	::jstools::site_init [app]
Argument
	app - name of the current application
Description
By default, this procedure does nothing.  You can edit it, as described above under Usage, to customize it for your site.  Currently, the main thing it's used for is to provide a list of the local printer names, for use in the print panel.  Comments in the body of the procedure should explain what changes you can make.
} {{{jhtml:anchor:anchorname {22.0 23.0}} {jdoc:anchor:anchorname {2.0 3.0 6.0 7.0 11.0 12.0 19.0 20.0 22.0 23.0}} {jdoc:xref:link {3.56 3.63 3.102 3.122 8.4 8.24 8.62 8.85 8.174 8.197 10.12 10.32 10.209 10.229 21.0 21.23}} {richtext:font:roman {3.0 3.4 3.17 3.56 3.63 3.102 3.122 5.24 5.37 6.0 7.21 8.4 8.24 8.62 8.85 8.174 8.197 10.12 10.32 10.99 10.116 10.124 10.131 10.209 10.229 11.0 13.0 14.0 14.9 15.0 15.22 17.0 18.0 19.0 21.23 21.52 21.59 22.0 24.22 24.23 24.26 25.0 26.0 26.1 26.4 27.0 28.0 28.84 28.89 29.0}} {richtext:font:italic {24.23 24.26 26.1 26.4}} {richtext:font:bold {3.4 3.17 3.56 3.63 5.24 5.37 10.99 10.116 10.124 10.131 21.52 21.59}} {richtext:font:bolditalic {28.84 28.89}} {richtext:font:typewriter {3.102 3.122 8.4 8.24 8.62 8.85 8.174 8.197 10.12 10.32 10.209 10.229 14.0 14.9 15.0 15.22 21.0 21.23 24.0 24.22}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {2.0 3.0 6.0 7.0 11.0 12.0 19.0 20.0 22.0 23.0}} {richtext:font:heading2 {7.0 7.21 12.0 13.0 17.0 18.0 20.0 21.0 23.0 24.0 25.0 26.0 27.0 28.0}} {jdoc:anchorname:Introduction {2.0 3.0}} {jdoc:link:jstools.jdoc {3.56 3.63}} {jdoc:topic:jstools {3.56 3.63}} {jdoc:anchorname:Usage {6.0 7.0}} {{} {11.0 18.0 19.0 21.0 22.0 22.11 22.20 24.1 24.27 25.0 27.0 28.0}} {jdoc:anchorname:Credits_and_Copyright {11.0 12.0}} {jdoc:anchorname:Overview {19.0 20.0}} {jdoc:anchorname:j:jstools_init {22.0 23.0}} {jdoc:link:#::jstools::jstools_init {21.0 21.23}} {jdoc:link:#::jstools::site_init {3.102 3.122 8.4 8.24 10.12 10.32 10.209 10.229}} {jhtml:anchorname:::jstools::site_init {22.0 23.0}} {jdoc:link:jinit.tcl.html#::jstools::jstools_init {8.62 8.85 8.174 8.197}}} {{abbrevstart 29.0} {richptr 3.300} {abbrevend 29.0} {insert 29.0} {anchor 29.0} {insert_save 29.0} {current 8.215}}} {{body_alink #ff0000} {body_vlink #000080} {body_link #0000ff} {body_text #000000} {body_bgcolor #ffffff}}