<?php include "../general.inc"; ?>
<?php doc_header("SlashPrint","SlashPrint"); ?>
<a name="status"><h2>Status</h2></a>
Current stable version is 1.0. Works with slashcode 1.0.9. It should also
with Bender (2.0). If you have test it, please send a mail to
<a href="MAILTO:momo_102@bluemail.ch">me</a>.

<a name="todo"><h2>To Do</h2></a>
<ul>
</ul>

<a name="download"><h2>Download</h2></a>
Get the stable package from
<a href="slashprint-1.0.tar.gz">here</a>.

<a name="install"><h2>Installation</h2></a>
<ol>
<li> Change directory to the DOCUMENT_ROOT of your slashcode implementation.
<li> tar -zxvf slashprint-1.0.tar.gz
<li> print_e.pl is for english and print_d.pl ist for german.
<li> rename your favorite print_?.pl to print.pl
<li> Check the print.pl file (use lib '/home/slash';) if it's right.
<li> Add a new link (&lt;a href="/print.pl?sid=$sid"&gt;PrintView(&lt/a&gt;) in the article.pl.
For example add following line in the sub articleMenu between the first and the second print:
print " | &lt;a href=\"/print.pl?sid=$story->{'sid'}\"&gt;PrintView&lt;/a&gt;";
</ol>

my $USEJSCRIPT = 0;
my $DISPLAYLINKS = 1;

<a name="config"><h2>Configuration</h2></a>
<table border="1">
<tr><th>File</th><th>Line</th><th>Description</th></tr>
<tr>
  <td rowspan="2">print_{d|e}.pl</td>
  <td>my $USEJSCRIPT = 0;</td>
  <td>Use javascript to popup the printer-dialog (0/1)?</td>
</tr>
<tr>
  <td>my $DISPLAYLINKS = 1;</td>
  <td>List the links (0/1)?</td>
</tr>
</table>

<a name="examples"><h2>Examples</h2></a>
List of known SlashPrint:
<ul>
<li> <a target="_new" href="http://www.symlink.ch/print.pl?sid=03/05/05/1824221">Symlink</a>
</ul>

<?php doc_footer(); ?>
