From 5b43fd49a701b23138641508bbe47c97fbb2d173 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 9 Aug 2005 14:36:36 +0000 Subject: [PATCH] Add -f (-force) to the gnome-web-print command line. --- createpdf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createpdf.pl b/createpdf.pl index 0423330..1af0b87 100755 --- a/createpdf.pl +++ b/createpdf.pl @@ -60,7 +60,7 @@ if ($url =~ /^http/i) { # Render through Gecko $ENV{'DISPLAY'} = $pdfweb::config::xserver; - system("gnome-web-print", $url, "$pdfweb::config::outputdir/$pdf_filename.ps"); + system("gnome-web-print", "-f", $url, "$pdfweb::config::outputdir/$pdf_filename.ps"); system("gs $pdfopts -dCompatbilityLevel=1.4 -dNOPAUSE -dPATCH -sDEVICE=pdfwrite -dSAFER -sOutputFile=output/$pdf_filename -c '.setpdfwrite $psopts' -f - < $pdfweb::config::outputdir/$pdf_filename.ps >&2"); } elsif ($filename =~ /(.*)\.(?:e?ps|pdf)$/i) { $outname = "$1.pdf"; -- 2.39.2