Moodle plugins directory: pdf2submission: Versions: 2012091400 | Moodle.org
pdf2submission
Blocks ::: block_pdf2submission
Maintained by Toshihiro KITA
pdf2submission is a plugin to automatically accept hand-written or hand-drawn documents (scanned image PDF) as Moodle assignment submissions (There is no need for each learner to upload the file to Moodle).
pdf2submission 2012091400
Moodle 2.3, 2.4, 2.5, 2.6
Released: Saturday, 15 September 2012, 3:34 AM
== pdf2submission plugin version 2 ==
pdf2submission is a plugin to automatically accept hand-written or hand-drawn documents (scanned image PDF) as Moodle assignment submissions (There is no need for each learner to upload the file to Moodle).
Please note that this versin of pdf2submission works only for Assignment2.3 (not for previous type of Assignment).
This package includes FPDI and TCPDF in the subdirectories. See the license description in each subdirectory. Except these subdirectories, pdf2submission is licensed under GPL v3 or later.
http://www.gnu.org/copyleft/gpl.html
How to install:
Basically, pdf2submission plugin is intended to run on Linux servers (some external commands are used in processing PDF files).
1) Install required external commands if they are not yet available on your Moodle server.
The required external commands are pdftk, ImageMagick convert, ghostscript, zbarimg.
On CentOS 6, the following yum command will install all except zbarimg command:
# yum install pdftk ImageMagick ImageMagick-devel ghostscript
For zbarimg command, get the source code from http://sourceforge.net/projects/zbar/ and make install like:
wget http://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10.tar.bz2/download
bunzip2 zbar-0.10.tar.bz2
tar xvf zbar-0.10.tar
./configure --with-x=no --enable-video=no --with-python=no --with-gtk=no --with-qt=no
make
make install
2) unzip pdf2submission.zip and move pdf2submission folder into Moodle blocks/ folder, and as admin click 'Site administration - Notifications' to let Moodle install pdf2submission block (like a typical block installation).
3) 'inputfolder' specified in pdfscan.php (where scanned image PDF files are put) must be writable by pdf2submission cron job, so you need to set write permission by a command like 'chgrp apache /home/pdf2moodle/pdfs; chmod g+w /home/pdf2moodle/pdfs'.
KITA Toshihiro
http://tkita.net/
pdf2submission is a plugin to automatically accept hand-written or hand-drawn documents (scanned image PDF) as Moodle assignment submissions (There is no need for each learner to upload the file to Moodle).
Please note that this versin of pdf2submission works only for Assignment2.3 (not for previous type of Assignment).
This package includes FPDI and TCPDF in the subdirectories. See the license description in each subdirectory. Except these subdirectories, pdf2submission is licensed under GPL v3 or later.
http://www.gnu.org/copyleft/gpl.html
How to install:
Basically, pdf2submission plugin is intended to run on Linux servers (some external commands are used in processing PDF files).
1) Install required external commands if they are not yet available on your Moodle server.
The required external commands are pdftk, ImageMagick convert, ghostscript, zbarimg.
On CentOS 6, the following yum command will install all except zbarimg command:
# yum install pdftk ImageMagick ImageMagick-devel ghostscript
For zbarimg command, get the source code from http://sourceforge.net/projects/zbar/ and make install like:
wget http://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10.tar.bz2/download
bunzip2 zbar-0.10.tar.bz2
tar xvf zbar-0.10.tar
./configure --with-x=no --enable-video=no --with-python=no --with-gtk=no --with-qt=no
make
make install
2) unzip pdf2submission.zip and move pdf2submission folder into Moodle blocks/ folder, and as admin click 'Site administration - Notifications' to let Moodle install pdf2submission block (like a typical block installation).
3) 'inputfolder' specified in pdfscan.php (where scanned image PDF files are put) must be writable by pdf2submission cron job, so you need to set write permission by a command like 'chgrp apache /home/pdf2moodle/pdfs; chmod g+w /home/pdf2moodle/pdfs'.
KITA Toshihiro
http://tkita.net/
Version information
- Version build number
- 2012091400
- Maturity
- Beta
- MD5 Sum
- 8b58a1dd32ca4e35635432d7f0ff81be
- Supported software
- Moodle 2.3, Moodle 2.4, Moodle 2.5, Moodle 2.6
- Latest release for Moodle 2.3
- Latest release for Moodle 2.4
- Latest release for Moodle 2.5
- Latest release for Moodle 2.6
Default installation instructions for plugins of the type Blocks
- Make sure you have all the required versions.
- Download and unpack the block folder.
- Place the folder (eg "myblock") in the "blocks" subdirectory.
- Visit http://yoursite.com/admin to complete the installation
- Turn editing on in any home or course page.
- Add the block to the page
- Visit the config link in the block for more options.