view client/digitallibrary/modules/pdfMaker.js @ 130:c36944be0b58

Servlet Version 1.11a1with original size(!) - new meta data file loader - new parameter ddpi, ddpix, ddpiy (client->servlet) - new parameter mo=osize - osize scales based on ddpi and original dpi (currently only equally for x and y)
author robcast
date Wed, 02 Jul 2003 00:02:18 +0200
parents c5ca5f72fb65
children
line wrap: on
line source

/****************************************************************************
 * - sample module for digilib                                              *
 *                                                                          *
 *                       christian luginbuehl (luginbuehl@student.unibe.ch) *
 ****************************************************************************/

/**
 * generates a pdf-file using a perl-script called makepdf
 *
 * ATTENTION: the script and this function are only in alpha stadium
 */
function makePDF() {
	var pages = prompt("Enter the pages you like to make a PDF of:", att[1]);
	if (pages != null && pages != "") {
		top.location = "http://penelope.unibe.ch/cgi-bin/cgiwrap/luginbul/makepdf.cgi?dir=" + att[0] + "&pages=" + pages;
	}
}