2009-09-08 10:02:45 -04:00
|
|
|
$OpenBSD: patch-src_cups-pdf_h,v 1.3 2009/09/08 14:02:46 ajacoutot Exp $
|
|
|
|
--- src/cups-pdf.h.orig Sun Jan 25 20:51:05 2009
|
|
|
|
+++ src/cups-pdf.h Fri Sep 4 22:58:56 2009
|
|
|
|
@@ -68,9 +68,9 @@ static struct {
|
2008-04-29 08:10:15 -04:00
|
|
|
static void _set_defaults() {
|
2006-10-03 10:21:42 -04:00
|
|
|
snprintf(conf.anondirname,BUFSIZE,"%s","/var/spool/cups-pdf/ANONYMOUS");
|
|
|
|
snprintf(conf.anonuser,BUFSIZE,"%s","nobody");
|
|
|
|
- snprintf(conf.ghostscript,BUFSIZE,"/usr/bin/gs");
|
|
|
|
+ snprintf(conf.ghostscript,BUFSIZE,"/usr/local/bin/gs");
|
2008-04-29 08:10:15 -04:00
|
|
|
snprintf(conf.gscall,BUFSIZE,"%s","%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s");
|
2006-10-03 10:21:42 -04:00
|
|
|
- snprintf(conf.grp,BUFSIZE,"%s","lp");
|
|
|
|
+ snprintf(conf.grp,BUFSIZE,"%s","_cups");
|
2008-04-29 08:10:15 -04:00
|
|
|
snprintf(conf.gstmp,BUFSIZE,"%s","TMPDIR=/var/tmp");
|
2006-10-03 10:21:42 -04:00
|
|
|
snprintf(conf.log,BUFSIZE,"%s","/var/log/cups");
|
|
|
|
snprintf(conf.pdfver,BUFSIZE,"%s","1.4");
|