Index: src/cups-pdf.h
--- src/cups-pdf.h.orig
+++ src/cups-pdf.h
@@ -18,7 +18,7 @@
 /  they are reasonable for most systems.			     */
 
 /* location of the configuration file */
-#define CP_CONFIG_PATH "/etc/cups"
+#define CP_CONFIG_PATH "${SYSCONFDIR}/cups"
 
 
 /* --- DO NOT EDIT BELOW THIS LINE --- */
@@ -57,9 +57,9 @@ struct {
 } configData[] = {
   { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } },
   { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } },
-  { "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } },
+  { "GhostScript", SEC_CONF|SEC_PPD, { "${LOCALBASE}/bin/gs" } },
   { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress %s" } },
-  { "Grp", SEC_CONF|SEC_PPD, { "lp" } },
+  { "Grp", SEC_CONF|SEC_PPD, { "_cups" } },
   { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } },
   { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } },
   { "PDFVer", SEC_CONF|SEC_PPD|SEC_LPOPT, { "1.4" } },
