SlashPrint

Start
PDA
WAP
Print
Jabba

Status

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 me.

To Do

Download

Get the stable package from here.

Installation

  1. Change directory to the DOCUMENT_ROOT of your slashcode implementation.
  2. tar -zxvf slashprint-1.0.tar.gz
  3. print_e.pl is for english and print_d.pl ist for german.
  4. rename your favorite print_?.pl to print.pl
  5. Check the print.pl file (use lib '/home/slash';) if it's right.
  6. Add a new link (<a href="/print.pl?sid=$sid">PrintView(</a>) in the article.pl. For example add following line in the sub articleMenu between the first and the second print: print " | <a href=\"/print.pl?sid=$story->{'sid'}\">PrintView</a>";
my $USEJSCRIPT = 0; my $DISPLAYLINKS = 1;

Configuration

FileLineDescription
print_{d|e}.pl my $USEJSCRIPT = 0; Use javascript to popup the printer-dialog (0/1)?
my $DISPLAYLINKS = 1; List the links (0/1)?

Examples

List of known SlashPrint: