# cups2freefax.conf -- CUPS Backend Configuration # Written by sputnick <gilles DOT quenot AT gmail DOT com> # $Date: 2010-04-27 02:33:29 +0200 (mar. 27 avril 2010) $ # $Rev: 274 $ # based on cups-pdf.conf -- CUPS Backend Header File (version 2.4.8, 2008-06-22) : # cups-pdf.conf -- CUPS Backend Configuration (version 2.4.8, 2008-06-22) # 18.09.2005, Volker C. Behr # Exp. Physik V, Uni Wuerzburg # vrbehr@cip.physik.uni-wuerzburg.de # http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf # # # This code may be freely distributed as long as this header # is preserved. Changes to the code should be clearly indicated. # # This code is distributed under the GPL. # (http://www.gnu.org/copyleft/gpl.html) # # For more detailed licensing information see cups-pdf.c in the # corresponding version number. ########################################################################### # # # This is the configuration file for CUPS2FREEFAX. Values that are not set in # # here will use the defaults. Changes take effect immediately without the # # need for restarting any services. # # # # Take care not to add whitespaces at the end of a line! # # # ########################################################################### ########################################################################### # # # Filename Settings # # # ########################################################################### ### Key: Cut ## removing file name extensions before appending .pdf to output ## extensions will only be removed if _both_ the following criteria are met: ## - the extension (w/o the dot) is not longer than <Cut> characters ## - the remaining filename has a minimal length of 1 character ## set Cut to -1 in order to disable cutting ## recommended values: pure UNIX environment : -1 ## mixed environments : 3 ### Default: 3 #Cut 3 ### Key: Label ## label all jobs with a unique job-id in order to avoid overwriting old ## files in case new ones with identical names are created; always true for ## untitled documents ## 0: label untitled documents only, 1: label all documents ### Default: 0 #Label 0 ### Key: TitlePref ## where to look first for a title when creating the output filename ## (title in PS file or title on commandline): ## 0: prefer title from %Title statement in the PS file ## 1: prefer title passed via commandline ### Default: 0 #TitlePref 0 ########################################################################### # # # Security Settings # # # ########################################################################### ### Key: AnonUMask ## umask for anonymous output ## these are the _inverse_ permissions to be granted ### Default: 0000 #AnonUMask 0000 ### Key: UserUMask ## umask for user output of known users ## changing this can introduce security leaks if confidential ## information is processed! ### Default: 0077 #UserUMask 0077 ### Key: Grp ## group cups2freefax is supposed to run as - this will also be the gid for all ## created directories and log files ### Default: lp #Grp lp ########################################################################### # # # Log Settings # # # ########################################################################### ### Key: Log ## CUPS2FREEFAX log directory ## set this to an empty value to disable all logging ### Default: /var/log/cups #Log /var/log/cups ### Key: LogType ## log-mode ## 1: errors ## 2: status (i.e. activity) ## 4: debug - this will generate a lot of log-output! ## add up values to combine options, i.e. 7 is full logging ## if logging is disabled these setting have no effect ### Default: 3 #LogType 3 ########################################################################### # # # PDF Conversion Settings # # # ########################################################################### ### Key: GhostScript ## location of GhostScript binary (gs) ## MacOSX: for using pstopdf (recommended) set this to /usr/bin/pstopdf ## or its proper location on your system ### Default: /usr/bin/gs #GhostScript /usr/bin/gs ### Key: GSTmp ## location of temporary files during GhostScript operation ## this must be user-writable like /var/tmp or /tmp ! ### Default: /var/tmp #GSTmp /var/tmp ### Key: GSCall ## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!) ## MacOSX: for using pstopdf set this to %s %s -o %s %s ### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s #GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s ### Key: PDFVer ## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2" ## MacOSX: for using pstopdf set this to an empty value ### Default: 1.4 #PDFVer 1.4 ########################################################################### # # # Experimental Settings # # These settings activate experimental options. If you decide to use # # them I would appreciate any feedback - including an 'ok' if they # # work as expected - so I can eventually put them into the non- # # experimental sections. # # # ########################################################################### ### Key: DecodeHexStrings ## this option will try to decode hex strings in the title to allow ## internationalized titles ## (have a look at contrib/pstitleconv for a suitable filter for data ## from Windows clients) ## 0: disable, 1: enable ### Default: 0 #DecodeHexStrings 0