SlashPrint
Program description
SlashPrint add print functionality to you slashcode installation.
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
To Do
Download
Get the stable package from here: {phocadownload view=file|id=8}
Installation
- Change directory to the DOCUMENT_ROOT of your slashcode implementation.
- tar -zxvf slashprint-1.0.tar.gz
- print_e.pl is for english and print_d.pl ist for german.
- rename your favorite print_?.pl to print.pl
- Check the print.pl file (use lib '/home/slash';) if it's right.
- 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
File | Line | Description |
---|---|---|
print_{d|e}.pl | my $USEJSCRIPT = 0; | Use javascript to popup the printer-dialog (0/1)? |
my $DISPLAYLINKS = 1; | List the links (0/1)? |