Web Submission and Review, Implementation Notes

Version 0.64 - June 2013

Stamping a submission

When a submission file is uploaded to the server, the software makes an attempt to "stamp it" with a header that says
Submission <nnn> to <confname>: Do Not Distribute!
The primary mechanism used for this relies on the Zend framework to implement the PDF stamping. If the Zend framework is not available (or if the file is a Postscript file), it falls back on a soemwhat kludgey patch that works as follows: Postscript files are handled by adding a few lines to the header of the file, re-defining the \@show\@page action. PDF files are handled by converting them to Postscript, adding the stamp, and then converting back to PDF. The software relies on external programs to handle the conversions back and forth. Specifically, to convert from PDF to Postscript it tries to use pdftops, then pdf2ps, and then acroread -toPostscript. To convert from Postscript to PDF it tries to use ps2pdf and then pstopdf. This is coded in the file submit/stampFiles.php under the BASE directory.