Moodle Plugins directory: UploadPDF | Moodle.org

UploadPDF
For Moodle 2.3 (and above) this plugin has been replaced by the following pair of plugins:
https://moodle.org/plugins/view.php?plugin=assignsubmission_pdf
https://moodle.org/plugins/view.php?plugin=assignfeedback_pdf
Newly updated to work with Moodle 2.0. Warning: there is currently no clean upgrade from Moodle 1.9 => Moodle 2.0 for this plugin, any assignments created under Moodle 1.9 will lose all coversheets and submitted files on upgrade (I will try to find a fix for this). All other features should work fully with Moodle 2.0.
Students submit their work as a PDF (which can be generated from any application by using a PDF printer, such as the free PDFCreator). An optional coversheet is automatically attached (filled in with details gathered from the student as they submit the work).
The pages of the assignment are then presented, as images, in the teacher's browser window, allowing them to add comments and line annotations to each page. Comments can be edited, moved and resized as much as you like. You can also choose from a range of tasteful background and line colours (or no background at all).
Once the teacher is satisfied with their comments and annotations, their response is saved as a PDF and automatically returned to the student (along with the usual comment, grade and outcomes which are found in all assignments).
Important: please make sure you read the instructions (in README.txt) carefully - you will need to install a copy of GhostScript to make this plugin work and (if you are using a Windows-based server) edit one file in this plugin to tell it where to find GhostScript.
Installation:
- Linux server:
- Install ghostscript from your distribution repository
- Download the UploadPDF plugin from the link below and unzip to a suitable folder
- Upload the files to your server and place them in the folder [moodleroot]/mod/assignment/type/uploadpdf (make sure the files go directly into this folder and you do NOT end up with a folder 'type/uploadpdf/uploadpdf')
- Log into your Moodle site as administrator and click on 'Notifications'
Windows server:
- Download the ghostscript installer fromhttp://pages.cs.wisc.edu/~ghost/
- Install this on the server, but make sure the path does not include a space (e.g. install to 'c:\gs' NOT to 'c:\Program Files\gs') - you can also install on a local computer and then upload the 'gswin32c.exe' and 'gsdll32.dll' file from the 'bin' folder to your server
- (IIS only) Make sure that the permissions are set correctly on the ghostscript exe/dll to allow PHP to run them
- Download the UploadPDF plugin from the link below and unzip to a suitable folder
- Edit the file 'uploadpdf_config.php' to include the path to where you installed ghostscript (instructions are in this file)
- Upload the files to your server and place them in the folder [moodleroot]/mod/assignment/type/uploadpdf (make sure the files go directly into this folder and you do NOT end up with a folder 'type/uploadpdf/uploadpdf')
- Log into your Moodle site as administrator and click on 'Notifications'
Overview video:
Cheers,
I do not currently have a copy of IE8 to hand (I may still have a virtual machine with it in somewhere), but it certainly worked fine last time I tried (but something may have changed in Moodle since then).
Just for information, we still have some landscape format submissions that were made under the old version of the plugin which display correctly when in annotating mode (presumably because the previous version was able to correctly handle the page formatting and rendering at the time of submission); however, when now generating a response with one of these files it then gets its right side cut off. This wasn't happening previously.
I realise your development focus may have shifted to 2.3-4, etc. - but any insight you can offer would be very much appreciated.
What would take this over the top would be the ability to use it on a tablet (android or iOs). Currently it appears that the default drag action moves the screen/paper around instead of drawing (based on the button that is pressed).
Could/Should I add this to tracker.moodle.org as a feature request?
Andreas
I installed the plugin in Moodle 2.4 It seems that works fine if the activity only accepts a single pdf document.
I have an Assignment which accepts both files and pdf files.
A student is trying to upload a pdf file, but the message error says that is not a valid file.
Then he uploads the same file into the regular file box and there's not an error message, the file uploads fine.
Is there a restriction in the plugin? Why a pdf file can't be uploaded in the pdf plugin box, but in the regular file box?
Thanks...
I'm not quite sure what to suggest - I've just fired up my Moodle 2.4 test site (with the latest 2.4 version of my plugins already installed), created an assignment with both file and PDF submission enabled and successfully uploaded a PDF file to both.
Please be aware that the PDF is processed during submission (to add the coversheet, if applicable, and to combine together multiple files, if there is more than one PDF submitted), so the error may be related to the software being unable to read the content of the PDF.
Does the error occur at the point where the file is uploaded, or at the point when the student clicks on 'Save changes'?
the page doesn't shows an error message and it stays in the same page.
If the studen clicks 'Cancel' at the returning to the previous page at the end of the summary of the Assignment shows a red box with text like:
'Imagen_Mama.pdf' no es un PDF válido
But that pdf file 'Imagen_Mama.pdf' uploads fine in the regular file upload box.
I wish i can upload here the file and the images