[Koha-cvs] koha/barcodes label-print-pdf.pl [dev_week]

Mason James szrj1m at yahoo.com
Thu Dec 21 01:27:47 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Mason James <sushi>	06/12/21 00:27:47

Modified files:
	barcodes       : label-print-pdf.pl 

Log message:
	chris'  $input->header(-type=>'application/pdf', -attachment=>'barcode.pdf') hack

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/barcodes/label-print-pdf.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2.2.5&r2=1.1.2.2.2.6

Patches:
Index: label-print-pdf.pl
===================================================================
RCS file: /sources/koha/koha/barcodes/label-print-pdf.pl,v
retrieving revision 1.1.2.2.2.5
retrieving revision 1.1.2.2.2.6
diff -u -b -r1.1.2.2.2.5 -r1.1.2.2.2.6
--- label-print-pdf.pl	10 Oct 2006 02:51:11 -0000	1.1.2.2.2.5
+++ label-print-pdf.pl	21 Dec 2006 00:27:47 -0000	1.1.2.2.2.6
@@ -82,7 +82,9 @@
 
 prInitVars();
 $| = 1;
-print STDOUT "Content-Type: application/pdf \r\n\r\n";
+
+my $input = new CGI;
+print $input->header(-type=>'application/pdf', -attachment=>'barcode.pdf');
 prFile();
 
 prMbox( $lowerLeftX, $lowerLeftY, $upperRightX, $upperRightY );





More information about the Koha-cvs mailing list