Commits

Adam Knight committed 6276d1d

cleanup

Comments (0)

Files changed (61)

CUPS-PDF (SL).pmdoc/01cups-contents.xml

-<pkg-contents spec="1.12"><f n="CUPS-PDF" o="ahknight" g="ahknight" p="16877" pt="/Users/ahknight/Documents/cups-pdf/build/Package Sources/CUPS-PDF" m="true" t="file"><f n=".DS_Store" o="root" g="admin" p="33204" x="true"/><f n="etc" o="root" g="wheel" p="16877"><f n="cups" o="root" g="_lp" p="16877"><f n="cups-pdf.conf" o="root" g="_lp" p="33204"><mod>mode</mod></f></f></f><f n="usr" o="root" g="wheel" p="16877"><f n="libexec" o="root" g="wheel" p="16877"><f n="cups" o="root" g="wheel" p="16877"><f n="backend" o="root" g="wheel" p="16877"><f n="cups-pdf" o="root" g="wheel" p="33088"><mod>mode</mod></f></f></f></f></f><f n="var" o="root" g="wheel" p="16877"><f n="spool" o="root" g="wheel" p="16877"><f n="cups-pdf" o="root" g="wheel" p="16893"><mod>mode</mod></f></f></f></f></pkg-contents>

CUPS-PDF (SL).pmdoc/01cups.xml

-<pkgref spec="1.12" uuid="B9C0D524-D8BD-4BE2-8E89-9BDD8DF04C98"><config><identifier>net.codepoetry.cupspdf.PDFBackend.pkg</identifier><version>2.5.0</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/Users/ahknight/Documents/cups-pdf/build/Package Sources/CUPS-PDF</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>installTo</mod><mod>scripts.postflight.path</mod><mod>locationType</mod><mod>scripts.postflight.isRelativeType</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>version</mod></config><scripts><scripts-dir relative="true" mod="true">scripts</scripts-dir></scripts><contents><file-list>01cups-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

CUPS-PDF (SL).pmdoc/02generic-contents.xml

-<pkg-contents spec="1.12"><f n="Generic Color Postscript PPD" o="ahknight" g="ahknight" p="16877" pt="/Users/ahknight/Documents/cups-pdf/build/Package Sources/Generic Color Postscript PPD" m="false" t="file"><f n="usr" o="root" g="wheel" p="16877"><f n="share" o="root" g="wheel" p="16877"><f n="cups" o="root" g="wheel" p="16877"><f n="model" o="root" g="wheel" p="16877"><f n="PostscriptColor.ppd" o="root" g="wheel" p="33204"><mod>mode</mod></f></f></f></f></f></f></pkg-contents>

CUPS-PDF (SL).pmdoc/02generic.xml

-<pkgref spec="1.12" uuid="E9FC0360-4E3C-4BB8-AF95-54DE335E454F"><config><identifier>net.codepoetry.cupspdf.GenericColorPostscriptPPD.pkg</identifier><version>2.5.0</version><description/><post-install type="none"/><requireAuthorization/><installFrom>/Users/ahknight/Documents/cups-pdf/build/Package Sources/Generic Color Postscript PPD</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"/><mod>installTo</mod><mod>version</mod><mod>parent</mod></config><contents><file-list>02generic-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

CUPS-PDF (SL).pmdoc/index.xml

-<pkmkdoc spec="1.12"><properties><title>CUPS-PDF</title><build>/Users/ahknight/Documents/cups-pdf/build/built-packages/CUPS-PDF 2.5.0.mpkg</build><organization>net.codepoetry</organization><userSees ui="both"/><min-target os="2"/><domain anywhere="true" system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="PDF Backend" id="pdfbackend" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.codepoetry.cupspdf.PDFBackend.pkg"/></choice><choice title="Generic Color Postscript PPD" id="colorpsppd" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.codepoetry.cupspdf.GenericColorPostscriptPPD.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">src-2.5.0/COPYING</resource><resource relative="true" mod="true" type="welcome">README.rtf</resource></locale></resources><flags/><item type="file">01cups.xml</item><item type="file">02generic.xml</item><mod>properties.title</mod><mod>properties.userDomain</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>

CUPS-PDF.pmdoc/01cups-contents.xml

+<pkg-contents spec="1.12"><f n="CUPS-PDF" o="ahknight" g="ahknight" p="16877" pt="/Volumes/Code/Personal/cups-pdf-for-mac-os-x/installer-root/CUPS-PDF" m="false" t="file"><f n="etc" o="root" g="wheel" p="16877"><f n="cups" o="root" g="_lp" p="16877"><f n="cups-pdf.conf" o="root" g="_lp" p="33204"/></f></f><f n="usr" o="root" g="wheel" p="16877"><f n="libexec" o="root" g="wheel" p="16877"><f n="cups" o="root" g="wheel" p="16877"><f n="backend" o="root" g="wheel" p="16877"><f n="cups-pdf" o="root" g="wheel" p="33088"/></f></f></f></f></f></pkg-contents>

CUPS-PDF.pmdoc/01cups.xml

+<pkgref spec="1.12" uuid="B9C0D524-D8BD-4BE2-8E89-9BDD8DF04C98"><config><identifier>net.codepoetry.cupspdf.PDFBackend.pkg</identifier><version>2.5.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">installer-root/CUPS-PDF</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>scripts.postflight.path</mod><mod>locationType</mod><mod>scripts.postflight.isRelativeType</mod><mod>scripts.scriptsDirectoryPath.isRelativeType</mod><mod>identifier</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.isAbsoluteType</mod><mod>version</mod><mod>installFrom.isRelativeType</mod></config><scripts><postflight relative="true" mod="true">scripts/postflight</postflight><scripts-dir relative="true" mod="true">scripts</scripts-dir></scripts><contents><file-list>01cups-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

CUPS-PDF.pmdoc/01root-contents.xml

-<pkg-contents spec="1.12"><f n="root" o="ahknight" g="ahknight" p="16877" pt="/Users/ahknight/Documents/cups-pdf/build/root" m="true" t="file"><f n=".DS_Store" o="root" g="admin" p="33204" x="true"/><f n="etc" o="root" g="wheel" p="16877"><f n="cups" o="root" g="_lp" p="16877"><f n="cups-pdf.conf" o="root" g="wheel" p="33204"/></f></f><f n="usr" o="root" g="wheel" p="16877"><f n="libexec" o="root" g="wheel" p="16877"><f n="cups" o="root" g="wheel" p="16877"><f n="backend" o="root" g="wheel" p="16877"><f n="cups-pdf" o="root" g="wheel" p="33133"/></f></f></f><f n="share" o="root" g="wheel" p="16877"><f n="cups" o="root" g="wheel" p="16877"><f n="model" o="root" g="wheel" p="16877"><f n="PostscriptColor.ppd" o="root" g="wheel" p="33204"/></f></f></f></f><f n="var" o="root" g="wheel" p="16877"><f n="spool" o="root" g="wheel" p="16877"><f n="cups-pdf" o="root" g="wheel" p="16877"/></f></f></f></pkg-contents>

CUPS-PDF.pmdoc/01root.xml

-<pkgref spec="1.12" uuid="73545C21-6D9B-4C4E-B4A7-78CC0307EF92"><config><identifier>net.codepoetry.cups-pdf</identifier><version>2.5.0</version><description>This is an unofficial distribution of CUPS-PDF.</description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">root</installFrom><installTo mod="true">/</installTo><flags><followSymbolicLinks/><discardResourceForks/><allowRevert/></flags><packageStore type="internal"></packageStore><mod>installTo</mod><mod>installFrom.isRelativeType</mod><mod>scripts.postflight.isRelativeType</mod><mod>installTo.isAbsoluteType</mod><mod>parent</mod><mod>scripts.scriptsDirectoryPath.path</mod><mod>version</mod><mod>requireAuthorization</mod><mod>identifier</mod><mod>installFrom.path</mod><mod>extraFiles</mod><mod>installTo.path</mod></config><scripts><postflight relative="true" mod="true">scripts/postflight</postflight><scripts-dir relative="true" mod="true">scripts/</scripts-dir></scripts><contents><file-list>01root-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents><extra-files/></pkgref>

CUPS-PDF.pmdoc/02generic-contents.xml

+<pkg-contents spec="1.12"><f n="Generic Color Postscript PPD" o="ahknight" g="ahknight" p="16877" pt="/Volumes/Code/Personal/cups-pdf-for-mac-os-x/installer-root/Generic Color Postscript PPD" m="false" t="file"><f n="usr" o="root" g="wheel" p="16877"><f n="share" o="root" g="wheel" p="16877"><f n="cups" o="root" g="wheel" p="16877"><f n="model" o="root" g="wheel" p="16877"><f n="PostscriptColor.ppd" o="root" g="wheel" p="33204"/></f></f></f></f></f></pkg-contents>

CUPS-PDF.pmdoc/02generic.xml

+<pkgref spec="1.12" uuid="E9FC0360-4E3C-4BB8-AF95-54DE335E454F"><config><identifier>net.codepoetry.cupspdf.GenericColorPostscriptPPD.pkg</identifier><version>2.5.0</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" mod="true">installer-root/Generic Color Postscript PPD</installFrom><installTo>/</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>installFrom.isRelativeType</mod><mod>parent</mod><mod>version</mod><mod>installTo</mod></config><contents><file-list>02generic-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>

CUPS-PDF.pmdoc/index.xml

-<pkmkdoc spec="1.12"><properties><title>CUPS-PDF for Mac OS X</title><build>/Users/ahknight/Documents/cups-pdf/build/CUPS-PDF 2.5.0.pkg</build><organization>net.codepoetry</organization><userSees ui="easy"/><min-target os="3"/><domain system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><description>This is an unofficial, pre-compiled version of the CUPS-PDF backend by Volker C. Behr.
-
-You may find the source code to the software contained in this package at the author's site:
-
-http://www.cups-pdf.de/
-</description><contents><choice title="Install CUPS-PDF" id="net.codepoetry.cups-pdf-install" description="The CUPS-PDF backend." starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.codepoetry.cups-pdf"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource type="license">/Users/ahknight/Documents/cups-pdf/build/COPYING.txt</resource><resource relative="true" type="readme">README.rtf</resource></locale></resources><requirements><requirement id="tosv" operator="gt" value="'10.4.0'"><message>This package cannot be installed on systems prior to 10.4.0.</message></requirement></requirements><flags/><item type="file">01root.xml</item><mod>properties.anywhereDomain</mod><mod>description</mod></pkmkdoc>
+<pkmkdoc spec="1.12"><properties><title>CUPS-PDF</title><build>/Volumes/Code/Personal/cups-pdf-for-mac-os-x/build/CUPS-PDF 2.5.0.mpkg</build><organization>net.codepoetry</organization><userSees ui="both"/><min-target os="2"/><domain anywhere="true" system="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="PDF Backend" id="pdfbackend" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.codepoetry.cupspdf.PDFBackend.pkg"/></choice><choice title="Generic Color Postscript PPD" id="colorpsppd" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="net.codepoetry.cupspdf.GenericColorPostscriptPPD.pkg"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">src-2.5.0/COPYING</resource><resource relative="true" mod="true" type="welcome">README.rtf</resource></locale></resources><flags/><item type="file">01cups.xml</item><item type="file">02generic.xml</item><mod>properties.title</mod><mod>properties.userDomain</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>

Package Sources/CUPS-PDF/etc/cups/cups-pdf.conf

-#  cups-pdf.conf -- CUPS Backend Configuration (version 2.0.0, 2005-12-23)
-#  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 CUPS-PDF. 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!		  #
-#									  #
-###########################################################################
-
-
-###########################################################################
-#									  #
-# Path Settings								  #
-#									  #
-###########################################################################
-
-### Key: Out
-##  CUPS-PDF output directory 
-##  special qualifiers: 
-##     ${HOME} will be expanded to the user's home directory
-##     ${USER} will be expanded to the user name
-##  in case it is an NFS export make sure it is exported without
-##  root_squash! 
-### Default: /var/spool/cups-pdf/${USER}
-
-Out ${HOME}/Desktop/cups-pdf/
-
-### Key: AnonDirName
-##  ABSOLUTE path for anonymously created PDF files
-##  if anonymous access is disabled this setting has no effect
-### Default: /var/spool/cups-pdf/ANONYMOUS
-
-#AnonDirName /var/spool/cups-pdf/ANONYMOUS
-
-### Key: Spool
-##  CUPS-PDF spool directory - make sure there is no user 'SPOOL' on your
-##  system or change the path	
-### Default: /var/spool/cups-pdf/SPOOL
-
-#Spool /var/spool/cups-pdf/SPOOL
-
-
-###########################################################################
-#									  #
-# 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 <Out> 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 -1
-
-### 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 1
-
-
-###########################################################################
-#									  #
-# User Settings								  #
-#									  #
-###########################################################################
-
-### Key: AnonUser
-##  user for anonymous PDF creation (this might be a security issue)
-##  set this to an empty value to disable anonymous
-### Default: nobody
-
-#AnonUser nobody
-
-### Key: LowerCase
-##  This options allows to check user names given to CUPS-PDF additionally 
-##  against their lower case variants. This is necessary since in some 
-##  Windows environments only upper case user names are passed. Usually UNIX
-##  user names are all lower case and it is save to use this option  
-##  but be aware that it can lead to mis-identifications in case
-##  you have user names that differ only in upper/lower case.
-##     check only against user name as passed to CUPS  : 0
-##     check additionally against lower case user name : 1
-### Default: 1
-
-#LowerCase 1
-
-### Key: UserPrefix
-##  some installations require a domain prefix added to the user name
-##  leave empty for no prefix 
-### Default: <empty>
-
-#UserPrefix
-
-### Key: DirPrefix
-##  if a prefix was defined above this switch toggels whether to include
-##  the prefix in the output directory's name (if not $HOME) or not
-##  0: do not include, 1: include
-### Default: 0
-
-#DirPrefix 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 0022
-
-### Key: Grp
-##  group cups-pdf is supposed to run as - this will also be the gid for all
-##  created directories and log files
-### Default: lp
-
-Grp staff
-
-
-###########################################################################
-#									  #
-# Log Settings								  #
-#									  #
-###########################################################################
-
-### Key: Log
-##  CUPS-PDF 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 2
-
-
-###########################################################################
-#									  #
-# PDF Conversion Settings						  #
-#									  #
-###########################################################################
-
-### Key: GhostScript
-##  location of GhostScript binary (gs) 
-##  MacOSX: for using pstopdf (recommended) set this to /usr/bin/pstopdf
-##          or it's proper location on your system
-### Default: /usr/bin/gs
-
-GhostScript /usr/bin/pstopdf
-
-### Key: GSTmp
-##  location of temporary files during GhostScript operation 
-##  this must be user-writable like /var/tmp or /tmp ! 
-### Default: /var/tmp
-
-GSTmp /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 save pop -f %s
-
-#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c save pop -f %s
-GSCall %s %s -o %s %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
-PDFVer 
-
-### Key: PostProcessing
-##  postprocessing script that will be called after the creation of the PDF
-##  as arguments the filename of the PDF and the username will be passed
-##  the script will be called with user privileges
-##  set this to an empty value to use no postprocessing
-### Default: <empty>
-
-#PostProcessing 

Package Sources/CUPS-PDF/usr/libexec/cups/backend/cups-pdf

Binary file removed.

Package Sources/Generic Color Postscript PPD/usr/share/cups/model/PostscriptColor.ppd

-*PPD-Adobe: "4.3"
-*%
-*% "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $"
-*%
-*%   Sample Postscript driver PPD file for the Common UNIX Printing
-*%   System (CUPS).
-*%
-*%   Michael Goffioul <goffioul@emic.ucl.ac.be>
-*%
-*%   Changes to the original file by Volker Behr, Martin-Eric Racine 
-*%   and other contributors:
-*%   match Adobe specifications - 2005-12-23
-*%   additional paper formats   - 2005-02-03 and 2005-02-07
-*%   made A4 default paper size - 2005-02-03
-*%   Color enabled              - 2003-12-02
-*%
-*FormatVersion:	"4.3"
-*FileVersion:	"1.1"
-*LanguageVersion: English
-*LanguageEncoding: ISOLatin1
-*PCFileName:	"PSCOLOR.PPD"
-*Manufacturer:	"Postscript"
-*Product:	"(CUPS v1.1)"
-*ModelName:     "Generic postscript color printer, rev3a"
-*ShortNickName: "Generic PS color printer, rev3a"
-*NickName:      "Generic postscript color printer, rev3a"
-*PSVersion:	"(2017.000) 0"
-*LanguageLevel:	"2"
-*ColorDevice:	True
-*DefaultColorSpace: RGB
-*FileSystem:	False
-*Throughput:	"8"
-*LandscapeOrientation: Plus90
-*VariablePaperSize: False
-*TTRasterizer:	Type42
-
-*UIConstraints: *PageSize Executive *InputSlot Envelope
-*UIConstraints: *PageSize Letter *InputSlot Envelope
-*UIConstraints: *PageSize Legal *InputSlot Envelope
-*UIConstraints: *PageSize PA4 *InputSlot Envelope
-*UIConstraints: *PageSize A0 *InputSlot Envelope
-*UIConstraints: *PageSize A1 *InputSlot Envelope
-*UIConstraints: *PageSize A2 *InputSlot Envelope
-*UIConstraints: *PageSize A3 *InputSlot Envelope
-*UIConstraints: *PageSize A4 *InputSlot Envelope
-*UIConstraints: *PageSize A5 *InputSlot Envelope
-*UIConstraints: *PageSize A6 *InputSlot Envelope
-*UIConstraints: *PageSize A7 *InputSlot Envelope
-*UIConstraints: *PageSize A8 *InputSlot Envelope
-*UIConstraints: *PageSize A9 *InputSlot Envelope
-*UIConstraints: *PageSize A10 *InputSlot Envelope
-*UIConstraints: *PageSize B5 *InputSlot Envelope
-
-*OpenUI *PageSize/Media Size: PickOne
-*OrderDependency: 10 AnySetup *PageSize
-*DefaultPageSize: A4
-*PageSize Letter/Letter:	"<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
-*PageSize Legal/Legal:		"<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
-*PageSize Executive/Executive:	"<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
-*PageSize PA4/PA4 (Universal):	"<</PageSize[595 792]/ImagingBBox null>>setpagedevice"
-*PageSize A0/A0:		"<</PageSize[2378 3370]/ImagingBBox null>>setpagedevice"
-*PageSize A1/A1:		"<</PageSize[1682 2378]/ImagingBBox null>>setpagedevice"
-*PageSize A2/A2:		"<</PageSize[1189 1682]/ImagingBBox null>>setpagedevice"
-*PageSize A3/A3:		"<</PageSize[841 1189]/ImagingBBox null>>setpagedevice"
-*PageSize A4/A4:		"<</PageSize[594 841]/ImagingBBox null>>setpagedevice"
-*PageSize A5/A5:		"<</PageSize[420 594]/ImagingBBox null>>setpagedevice"
-*PageSize A6/A6:		"<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
-*PageSize A7/A7:		"<</PageSize[210 297]/ImagingBBox null>>setpagedevice"
-*PageSize A8/A8:		"<</PageSize[148 210]/ImagingBBox null>>setpagedevice"
-*PageSize A9/A9:		"<</PageSize[105 148]/ImagingBBox null>>setpagedevice"
-*PageSize A10/A10:		"<</PageSize[74 105]/ImagingBBox null>>setpagedevice"
-*PageSize B5/B5 (JIS):		"<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
-*PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice"
-*PageSize Env10/Envelope #10:	"<</PageSize[297 684]/ImagingBBox null>>setpagedevice"
-*PageSize EnvC5/Envelope C5:	"<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
-*PageSize EnvDL/Envelope DL:	"<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
-*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
-*CloseUI: *PageSize
-
-*OpenUI *PageRegion: PickOne
-*OrderDependency: 10 AnySetup *PageRegion
-*DefaultPageRegion: A4
-*PageRegion Letter/Letter:	"<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
-*PageRegion Legal/Legal:	"<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
-*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
-*PageRegion PA4/PA4 (Universal): "<</PageSize[595 792]/ImagingBBox null>>setpagedevice"
-*PageRegion A0/A0:		"<</PageSize[2378 3364]/ImagingBBox null>>setpagedevice"
-*PageRegion A1/A1:		"<</PageSize[1682 2378]/ImagingBBox null>>setpagedevice"
-*PageRegion A2/A2:		"<</PageSize[1189 1682]/ImagingBBox null>>setpagedevice"
-*PageRegion A3/A3:		"<</PageSize[841 1189]/ImagingBBox null>>setpagedevice"
-*PageRegion A4/A4:		"<</PageSize[594 841]/ImagingBBox null>>setpagedevice"
-*PageRegion A5/A5:		"<</PageSize[420 594]/ImagingBBox null>>setpagedevice"
-*PageRegion A6/A6:		"<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
-*PageRegion A7/A7:		"<</PageSize[210 297]/ImagingBBox null>>setpagedevice"
-*PageRegion A8/A8:		"<</PageSize[148 210]/ImagingBBox null>>setpagedevice"
-*PageRegion A9/A9:		"<</PageSize[105 148]/ImagingBBox null>>setpagedevice"
-*PageRegion A10/A10:		"<</PageSize[74 105]/ImagingBBox null>>setpagedevice"
-*PageRegion B5/B5 (JIS):	"<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
-*PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice"
-*PageRegion Env10/Envelope #10:	"<</PageSize[297 684]/ImagingBBox null>>setpagedevice"
-*PageRegion EnvC5/Envelope C5:	"<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
-*PageRegion EnvDL/Envelope DL:	"<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
-*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
-*CloseUI: *PageRegion
-
-*DefaultImageableArea: A4
-*ImageableArea Letter/US Letter:	"18 36 594 756"
-*ImageableArea Legal/US Legal:		"18 36 594 972"
-*ImageableArea Executive/Executive:	"18 36 504 684"
-*ImageableArea PA4/PA4 (Universal):    "18 36 577 756"
-*ImageableArea A0/A0:			"18 36 2360 3334"
-*ImageableArea A1/A1:			"18 36 1664 2342"
-*ImageableArea A2/A2:			"18 36 1171 1646"
-*ImageableArea A3/A3:			"18 36 823 1153"
-*ImageableArea A4/A4:			"18 36 576 805"
-*ImageableArea A5/A5:			"18 36 402 558"
-*ImageableArea A6/A6:			"18 36 279 384"
-*ImageableArea A7/A7:			"18 36 192 261"
-*ImageableArea A8/A8:			"18 36 130 174"
-*ImageableArea A9/A9:			"18 36 87 112"
-*ImageableArea A10/A10:			"18 36 56 69"
-*ImageableArea B5/JIS B5:		"18 36 498 693"
-*ImageableArea EnvISOB5/B5 (ISO):	"18 36 463 673"
-*ImageableArea Env10/Com-10:		"18 36 279 648"
-*ImageableArea EnvC5/EnvC5:		"18 36 441 613"
-*ImageableArea EnvDL/EnvDL:		"18 36 294 588"
-*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504"
-
-*DefaultPaperDimension: A4
-*PaperDimension Letter/Letter:		"612 792"
-*PaperDimension Legal/Legal:		"612 1008"
-*PaperDimension Executive/Executive:	"522 756"
-*PaperDimension PA4/PA4 (Universal):    "595 792"
-*PaperDimension A0/A0:			"2378 3364"
-*PaperDimension A1/A1:			"1682 2378"
-*PaperDimension A2/A2:			"1189 1682"
-*PaperDimension A3/A3:			"841 1189"
-*PaperDimension A4/A4:			"594 841"
-*PaperDimension A5/A5:			"420 594"
-*PaperDimension A6/A6:			"297 420"
-*PaperDimension A7/A7:			"210 297"
-*PaperDimension A8/A8:			"148 210"
-*PaperDimension A9/A9:			"105 148"
-*PaperDimension A10/A10:		"74 105"
-*PaperDimension B5/B5 (JIS):		"516 729"
-*PaperDimension EnvISOB5/Envelope B5:	"499 709"
-*PaperDimension Env10/Envelope #10:	"297 684"
-*PaperDimension EnvC5/Envelope C5:	"459 649"
-*PaperDimension EnvDL/Envelope DL:	"312 624"
-*PaperDimension EnvMonarch/Envelope Monarch: "279 540"
-
-*OpenUI *InputSlot/Media Source: PickOne
-*OrderDependency: 10 AnySetup *InputSlot
-*DefaultInputSlot: Default
-*InputSlot Default/Default: ""
-*InputSlot Tray1/Tray 1: "<</ManualFeed false /MediaPosition 3>>setpagedevice"
-*InputSlot Tray2/Tray 2: "<</ManualFeed false /MediaPosition 0>>setpagedevice"
-*InputSlot Tray3/Tray 3: "<</ManualFeed false /MediaPosition 1>>setpagedevice"
-*InputSlot Manual/Manual Feed: "<</ManualFeed true /MediaPosition 3>>setpagedevice"
-*CloseUI: *InputSlot
-
-*OpenUI *Resolution/Output Resolution: PickOne
-*OrderDependency: 20 AnySetup *Resolution
-*DefaultResolution: 300dpi
-*Resolution 150dpi/150 DPI: "<</HWResolution[150 150]>>setpagedevice"
-*Resolution 300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
-*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
-*Resolution 1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
-*Resolution 2400dpi/2400 DPI: "<</HWResolution[2400 2400]>>setpagedevice"
-*CloseUI: *Resolution
-
-*OpenUI *Duplex/Double-Sided Printing: PickOne
-*OrderDependency: 20 AnySetup *Duplex
-*DefaultDuplex: None
-*Duplex None/Off: "<</Duplex false>>setpagedevice"
-*Duplex DuplexNoTumble/Long Edge (Standard): "<</Duplex true/Tumble false>>setpagedevice"
-*Duplex DuplexTumble/Short Edge (Flip): "<</Duplex true/Tumble true>>setpagedevice"
-*CloseUI:       *Duplex
-
-*DefaultFont: Courier
-*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
-*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
-*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
-*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
-*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
-*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
-*Font Bookman-Light: Standard "(001.004S)" Standard ROM
-*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
-*Font Courier: Standard "(002.004S)" Standard ROM
-*Font Courier-Bold: Standard "(002.004S)" Standard ROM
-*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
-*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
-*Font Helvetica: Standard "(001.006S)" Standard ROM
-*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
-*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
-*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
-*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
-*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
-*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
-*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
-*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
-*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
-*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
-*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
-*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
-*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
-*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
-*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
-*Font Symbol: Special "(001.007S)" Special ROM
-*Font Times-Bold: Standard "(001.007S)" Standard ROM
-*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
-*Font Times-Italic: Standard "(001.007S)" Standard ROM
-*Font Times-Roman: Standard "(001.007S)" Standard ROM
-*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
-*Font ZapfDingbats: Special "(001.004S)" Standard ROM
-*%
-*% End of "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $".
-*%

README

-Welcome to CUPS-PDF v2
-
- CONTENTS:
-
-  1. building CUPS-PDF
-  2. setting up the PDF queue with CUPS
-  3. note for MacOSX
-  4. contact
-
-
-1. building CUPS-PDF
---------------------
-
-   Edit src/cups-pdf.h if you do not like /etc/cups/cups-pdf.conf as name 
-   for the configuration file.
-   To compile CUPS-PDF, invoke gcc in the src/ directory:
-
-   gcc -O9 -s -o cups-pdf cups-pdf.c
-
-   To install the binary, simply copy cups-pdf to the backend directory
-   of CUPS (usually /usr/lib/cups/backend).
-
-   Now copy extra/cups-pdf.conf to /etc/cups (or whatever location you
-   selected in cups-pdf.h above). Here you can set all properties of 
-   CUPS-PDF at runtime without the need for restarting any services.
-   (The defaults should work fine on most systems.)
-
-   In case you want to use the color PostScript driver that comes with
-   CUPS-PDF go to the extra/ subdirectory and copy 
-   PostscriptColor.ppd.gz to your cups model directory (usually 
-   /usr/share/cups/model). 
-
-
-2. setting up the PDF queue with CUPS
--------------------------------------
-
-   Important notes:
-   ================
-   *CUPS-PDF requires root privileges since it has to modify file ownerships. 
-    In recent distributions the "RunAsUser" option in cupsd.conf is set to 
-    "Yes" which removes these privileges. Please make sure to set 
-    "RunAsUser No" if you want to use CUPS-PDF.
-   *make sure if any of CUPS-PDF's working directories (e.g. output) is a 
-    NFS mounted volume it is mounted without root_squash!
-   *CUPS-PDF is known to fail if the gs (GhostScript) binary on a system is 
-    compressed by upx (Ultimate Packer for eXecutables).
-
-   Now after restarting CUPS you will be able to choose "Virtual Printer (PDF
-   Printer)" when setting up a new printer in CUPS.
-   To set up a queue for other UNIX clients you should select Postscript as
-   vendor and the Color Printer as model for your new printer; queues that get
-   their input from samba or netatalk (i.e. Windows, OS/2 or MacOS) can be set
-   up as raw queues. On the Windows, OS/2 or MacOS system choose a color
-   postscript driver for that network printer (the drivers for Minolta Page
-   Works or HP DesignJet printers do a good job).
-   Hint: If you want to create grayscale PDFs you just have to choose a
-   grayscale printer driver, i.e. the postscript.ppd that comes with CUPS on
-   the Linux side or a b/w laser printer (e.g. a HP LaserJet) on the Windows
-   side. On the Linux side be aware that the postscript.ppd will not
-   re-process data that is already supplied in Postscript format, i.e. a color
-   Postscript will keep it's colors.
-
-   Once you print to the new device the output directory selected in
-   cups-pdf.conf (defaults to /var/spool/cups-pdf) will be created and all
-   converted PDF files will be placed in subdirectories named after the owner
-   of the print job. In case the owner cannot be identified (i.e. does not
-   exist on the server) the output is placed in the directory for anonymous
-   operation (if not disabled in cups-pdf.conf - defaults to 
-   /var/spool/cups-pdf/ANONYMOUS/).
-   Furthermore if logging is enabled the logfile will be placed by default in
-   /var/log/cups.
-
-   The file "PostscriptColor.ppd.gz" is a modified version of the
-   "Postscript.ppd.gz" that comes with CUPS 1.1.15 that is able to handle
-   color output.
-
-
-3. note for MacOSX
-------------------
-
-   Since MacOSX' AFPL GhostScript does not support the way of PDF generation 
-   used by CUPS-PDF you will have to use pstopdf instead. For this the
-   settings of GhostScript, GSCall and PDFVer in cups-pdf.conf have to be
-   changed accordingly. The values are documented in cups-pdf.conf .
-
-
-4. contact
-----------
-   
-   Volker Christian Behr
-   vrbehr@cip.physik.uni-wuerzburg.de
-   http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf
-

installer-root/CUPS-PDF/etc/cups/cups-pdf.conf

+#  cups-pdf.conf -- CUPS Backend Configuration (version 2.0.0, 2005-12-23)
+#  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 CUPS-PDF. 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!		  #
+#									  #
+###########################################################################
+
+
+###########################################################################
+#									  #
+# Path Settings								  #
+#									  #
+###########################################################################
+
+### Key: Out
+##  CUPS-PDF output directory 
+##  special qualifiers: 
+##     ${HOME} will be expanded to the user's home directory
+##     ${USER} will be expanded to the user name
+##  in case it is an NFS export make sure it is exported without
+##  root_squash! 
+### Default: /var/spool/cups-pdf/${USER}
+
+Out ${HOME}/Desktop/cups-pdf/
+
+### Key: AnonDirName
+##  ABSOLUTE path for anonymously created PDF files
+##  if anonymous access is disabled this setting has no effect
+### Default: /var/spool/cups-pdf/ANONYMOUS
+
+#AnonDirName /var/spool/cups-pdf/ANONYMOUS
+
+### Key: Spool
+##  CUPS-PDF spool directory - make sure there is no user 'SPOOL' on your
+##  system or change the path	
+### Default: /var/spool/cups-pdf/SPOOL
+
+#Spool /var/spool/cups-pdf/SPOOL
+
+
+###########################################################################
+#									  #
+# 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 <Out> 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 -1
+
+### 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 1
+
+
+###########################################################################
+#									  #
+# User Settings								  #
+#									  #
+###########################################################################
+
+### Key: AnonUser
+##  user for anonymous PDF creation (this might be a security issue)
+##  set this to an empty value to disable anonymous
+### Default: nobody
+
+#AnonUser nobody
+
+### Key: LowerCase
+##  This options allows to check user names given to CUPS-PDF additionally 
+##  against their lower case variants. This is necessary since in some 
+##  Windows environments only upper case user names are passed. Usually UNIX
+##  user names are all lower case and it is save to use this option  
+##  but be aware that it can lead to mis-identifications in case
+##  you have user names that differ only in upper/lower case.
+##     check only against user name as passed to CUPS  : 0
+##     check additionally against lower case user name : 1
+### Default: 1
+
+#LowerCase 1
+
+### Key: UserPrefix
+##  some installations require a domain prefix added to the user name
+##  leave empty for no prefix 
+### Default: <empty>
+
+#UserPrefix
+
+### Key: DirPrefix
+##  if a prefix was defined above this switch toggels whether to include
+##  the prefix in the output directory's name (if not $HOME) or not
+##  0: do not include, 1: include
+### Default: 0
+
+#DirPrefix 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 0022
+
+### Key: Grp
+##  group cups-pdf is supposed to run as - this will also be the gid for all
+##  created directories and log files
+### Default: lp
+
+Grp staff
+
+
+###########################################################################
+#									  #
+# Log Settings								  #
+#									  #
+###########################################################################
+
+### Key: Log
+##  CUPS-PDF 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 2
+
+
+###########################################################################
+#									  #
+# PDF Conversion Settings						  #
+#									  #
+###########################################################################
+
+### Key: GhostScript
+##  location of GhostScript binary (gs) 
+##  MacOSX: for using pstopdf (recommended) set this to /usr/bin/pstopdf
+##          or it's proper location on your system
+### Default: /usr/bin/gs
+
+GhostScript /usr/bin/pstopdf
+
+### Key: GSTmp
+##  location of temporary files during GhostScript operation 
+##  this must be user-writable like /var/tmp or /tmp ! 
+### Default: /var/tmp
+
+GSTmp /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 save pop -f %s
+
+#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c save pop -f %s
+GSCall %s %s -o %s %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
+PDFVer 
+
+### Key: PostProcessing
+##  postprocessing script that will be called after the creation of the PDF
+##  as arguments the filename of the PDF and the username will be passed
+##  the script will be called with user privileges
+##  set this to an empty value to use no postprocessing
+### Default: <empty>
+
+#PostProcessing 

installer-root/CUPS-PDF/usr/libexec/cups/backend/cups-pdf

Binary file added.

installer-root/Generic Color Postscript PPD/usr/share/cups/model/PostscriptColor.ppd

+*PPD-Adobe: "4.3"
+*%
+*% "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $"
+*%
+*%   Sample Postscript driver PPD file for the Common UNIX Printing
+*%   System (CUPS).
+*%
+*%   Michael Goffioul <goffioul@emic.ucl.ac.be>
+*%
+*%   Changes to the original file by Volker Behr, Martin-Eric Racine 
+*%   and other contributors:
+*%   match Adobe specifications - 2005-12-23
+*%   additional paper formats   - 2005-02-03 and 2005-02-07
+*%   made A4 default paper size - 2005-02-03
+*%   Color enabled              - 2003-12-02
+*%
+*FormatVersion:	"4.3"
+*FileVersion:	"1.1"
+*LanguageVersion: English
+*LanguageEncoding: ISOLatin1
+*PCFileName:	"PSCOLOR.PPD"
+*Manufacturer:	"Postscript"
+*Product:	"(CUPS v1.1)"
+*ModelName:     "Generic postscript color printer, rev3a"
+*ShortNickName: "Generic PS color printer, rev3a"
+*NickName:      "Generic postscript color printer, rev3a"
+*PSVersion:	"(2017.000) 0"
+*LanguageLevel:	"2"
+*ColorDevice:	True
+*DefaultColorSpace: RGB
+*FileSystem:	False
+*Throughput:	"8"
+*LandscapeOrientation: Plus90
+*VariablePaperSize: False
+*TTRasterizer:	Type42
+
+*UIConstraints: *PageSize Executive *InputSlot Envelope
+*UIConstraints: *PageSize Letter *InputSlot Envelope
+*UIConstraints: *PageSize Legal *InputSlot Envelope
+*UIConstraints: *PageSize PA4 *InputSlot Envelope
+*UIConstraints: *PageSize A0 *InputSlot Envelope
+*UIConstraints: *PageSize A1 *InputSlot Envelope
+*UIConstraints: *PageSize A2 *InputSlot Envelope
+*UIConstraints: *PageSize A3 *InputSlot Envelope
+*UIConstraints: *PageSize A4 *InputSlot Envelope
+*UIConstraints: *PageSize A5 *InputSlot Envelope
+*UIConstraints: *PageSize A6 *InputSlot Envelope
+*UIConstraints: *PageSize A7 *InputSlot Envelope
+*UIConstraints: *PageSize A8 *InputSlot Envelope
+*UIConstraints: *PageSize A9 *InputSlot Envelope
+*UIConstraints: *PageSize A10 *InputSlot Envelope
+*UIConstraints: *PageSize B5 *InputSlot Envelope
+
+*OpenUI *PageSize/Media Size: PickOne
+*OrderDependency: 10 AnySetup *PageSize
+*DefaultPageSize: A4
+*PageSize Letter/Letter:	"<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
+*PageSize Legal/Legal:		"<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
+*PageSize Executive/Executive:	"<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
+*PageSize PA4/PA4 (Universal):	"<</PageSize[595 792]/ImagingBBox null>>setpagedevice"
+*PageSize A0/A0:		"<</PageSize[2378 3370]/ImagingBBox null>>setpagedevice"
+*PageSize A1/A1:		"<</PageSize[1682 2378]/ImagingBBox null>>setpagedevice"
+*PageSize A2/A2:		"<</PageSize[1189 1682]/ImagingBBox null>>setpagedevice"
+*PageSize A3/A3:		"<</PageSize[841 1189]/ImagingBBox null>>setpagedevice"
+*PageSize A4/A4:		"<</PageSize[594 841]/ImagingBBox null>>setpagedevice"
+*PageSize A5/A5:		"<</PageSize[420 594]/ImagingBBox null>>setpagedevice"
+*PageSize A6/A6:		"<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
+*PageSize A7/A7:		"<</PageSize[210 297]/ImagingBBox null>>setpagedevice"
+*PageSize A8/A8:		"<</PageSize[148 210]/ImagingBBox null>>setpagedevice"
+*PageSize A9/A9:		"<</PageSize[105 148]/ImagingBBox null>>setpagedevice"
+*PageSize A10/A10:		"<</PageSize[74 105]/ImagingBBox null>>setpagedevice"
+*PageSize B5/B5 (JIS):		"<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
+*PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice"
+*PageSize Env10/Envelope #10:	"<</PageSize[297 684]/ImagingBBox null>>setpagedevice"
+*PageSize EnvC5/Envelope C5:	"<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
+*PageSize EnvDL/Envelope DL:	"<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
+*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
+*CloseUI: *PageSize
+
+*OpenUI *PageRegion: PickOne
+*OrderDependency: 10 AnySetup *PageRegion
+*DefaultPageRegion: A4
+*PageRegion Letter/Letter:	"<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
+*PageRegion Legal/Legal:	"<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
+*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
+*PageRegion PA4/PA4 (Universal): "<</PageSize[595 792]/ImagingBBox null>>setpagedevice"
+*PageRegion A0/A0:		"<</PageSize[2378 3364]/ImagingBBox null>>setpagedevice"
+*PageRegion A1/A1:		"<</PageSize[1682 2378]/ImagingBBox null>>setpagedevice"
+*PageRegion A2/A2:		"<</PageSize[1189 1682]/ImagingBBox null>>setpagedevice"
+*PageRegion A3/A3:		"<</PageSize[841 1189]/ImagingBBox null>>setpagedevice"
+*PageRegion A4/A4:		"<</PageSize[594 841]/ImagingBBox null>>setpagedevice"
+*PageRegion A5/A5:		"<</PageSize[420 594]/ImagingBBox null>>setpagedevice"
+*PageRegion A6/A6:		"<</PageSize[297 420]/ImagingBBox null>>setpagedevice"
+*PageRegion A7/A7:		"<</PageSize[210 297]/ImagingBBox null>>setpagedevice"
+*PageRegion A8/A8:		"<</PageSize[148 210]/ImagingBBox null>>setpagedevice"
+*PageRegion A9/A9:		"<</PageSize[105 148]/ImagingBBox null>>setpagedevice"
+*PageRegion A10/A10:		"<</PageSize[74 105]/ImagingBBox null>>setpagedevice"
+*PageRegion B5/B5 (JIS):	"<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
+*PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice"
+*PageRegion Env10/Envelope #10:	"<</PageSize[297 684]/ImagingBBox null>>setpagedevice"
+*PageRegion EnvC5/Envelope C5:	"<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
+*PageRegion EnvDL/Envelope DL:	"<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
+*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
+*CloseUI: *PageRegion
+
+*DefaultImageableArea: A4
+*ImageableArea Letter/US Letter:	"18 36 594 756"
+*ImageableArea Legal/US Legal:		"18 36 594 972"
+*ImageableArea Executive/Executive:	"18 36 504 684"
+*ImageableArea PA4/PA4 (Universal):    "18 36 577 756"
+*ImageableArea A0/A0:			"18 36 2360 3334"
+*ImageableArea A1/A1:			"18 36 1664 2342"
+*ImageableArea A2/A2:			"18 36 1171 1646"
+*ImageableArea A3/A3:			"18 36 823 1153"
+*ImageableArea A4/A4:			"18 36 576 805"
+*ImageableArea A5/A5:			"18 36 402 558"
+*ImageableArea A6/A6:			"18 36 279 384"
+*ImageableArea A7/A7:			"18 36 192 261"
+*ImageableArea A8/A8:			"18 36 130 174"
+*ImageableArea A9/A9:			"18 36 87 112"
+*ImageableArea A10/A10:			"18 36 56 69"
+*ImageableArea B5/JIS B5:		"18 36 498 693"
+*ImageableArea EnvISOB5/B5 (ISO):	"18 36 463 673"
+*ImageableArea Env10/Com-10:		"18 36 279 648"
+*ImageableArea EnvC5/EnvC5:		"18 36 441 613"
+*ImageableArea EnvDL/EnvDL:		"18 36 294 588"
+*ImageableArea EnvMonarch/Envelope Monarch: "18 36 261 504"
+
+*DefaultPaperDimension: A4
+*PaperDimension Letter/Letter:		"612 792"
+*PaperDimension Legal/Legal:		"612 1008"
+*PaperDimension Executive/Executive:	"522 756"
+*PaperDimension PA4/PA4 (Universal):    "595 792"
+*PaperDimension A0/A0:			"2378 3364"
+*PaperDimension A1/A1:			"1682 2378"
+*PaperDimension A2/A2:			"1189 1682"
+*PaperDimension A3/A3:			"841 1189"
+*PaperDimension A4/A4:			"594 841"
+*PaperDimension A5/A5:			"420 594"
+*PaperDimension A6/A6:			"297 420"
+*PaperDimension A7/A7:			"210 297"
+*PaperDimension A8/A8:			"148 210"
+*PaperDimension A9/A9:			"105 148"
+*PaperDimension A10/A10:		"74 105"
+*PaperDimension B5/B5 (JIS):		"516 729"
+*PaperDimension EnvISOB5/Envelope B5:	"499 709"
+*PaperDimension Env10/Envelope #10:	"297 684"
+*PaperDimension EnvC5/Envelope C5:	"459 649"
+*PaperDimension EnvDL/Envelope DL:	"312 624"
+*PaperDimension EnvMonarch/Envelope Monarch: "279 540"
+
+*OpenUI *InputSlot/Media Source: PickOne
+*OrderDependency: 10 AnySetup *InputSlot
+*DefaultInputSlot: Default
+*InputSlot Default/Default: ""
+*InputSlot Tray1/Tray 1: "<</ManualFeed false /MediaPosition 3>>setpagedevice"
+*InputSlot Tray2/Tray 2: "<</ManualFeed false /MediaPosition 0>>setpagedevice"
+*InputSlot Tray3/Tray 3: "<</ManualFeed false /MediaPosition 1>>setpagedevice"
+*InputSlot Manual/Manual Feed: "<</ManualFeed true /MediaPosition 3>>setpagedevice"
+*CloseUI: *InputSlot
+
+*OpenUI *Resolution/Output Resolution: PickOne
+*OrderDependency: 20 AnySetup *Resolution
+*DefaultResolution: 300dpi
+*Resolution 150dpi/150 DPI: "<</HWResolution[150 150]>>setpagedevice"
+*Resolution 300dpi/300 DPI: "<</HWResolution[300 300]>>setpagedevice"
+*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
+*Resolution 1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
+*Resolution 2400dpi/2400 DPI: "<</HWResolution[2400 2400]>>setpagedevice"
+*CloseUI: *Resolution
+
+*OpenUI *Duplex/Double-Sided Printing: PickOne
+*OrderDependency: 20 AnySetup *Duplex
+*DefaultDuplex: None
+*Duplex None/Off: "<</Duplex false>>setpagedevice"
+*Duplex DuplexNoTumble/Long Edge (Standard): "<</Duplex true/Tumble false>>setpagedevice"
+*Duplex DuplexTumble/Short Edge (Flip): "<</Duplex true/Tumble true>>setpagedevice"
+*CloseUI:       *Duplex
+
+*DefaultFont: Courier
+*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
+*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
+*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
+*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
+*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
+*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
+*Font Bookman-Light: Standard "(001.004S)" Standard ROM
+*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
+*Font Courier: Standard "(002.004S)" Standard ROM
+*Font Courier-Bold: Standard "(002.004S)" Standard ROM
+*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
+*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
+*Font Helvetica: Standard "(001.006S)" Standard ROM
+*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
+*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
+*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
+*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
+*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
+*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
+*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
+*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
+*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
+*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
+*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
+*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
+*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
+*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
+*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
+*Font Symbol: Special "(001.007S)" Special ROM
+*Font Times-Bold: Standard "(001.007S)" Standard ROM
+*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
+*Font Times-Italic: Standard "(001.007S)" Standard ROM
+*Font Times-Roman: Standard "(001.007S)" Standard ROM
+*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
+*Font ZapfDingbats: Special "(001.004S)" Standard ROM
+*%
+*% End of "$Id: postscript.ppd,v 1.1.1.1 2000/08/24 19:23:13 goffioul Exp $".
+*%

src-2.5.0/COPYING

-		    GNU GENERAL PUBLIC LICENSE
-		       Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-			    Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-		    GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-			    NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-		     END OF TERMS AND CONDITIONS

src-2.5.0/ChangeLog

-2009-01-26 : CUPS-PDF 2.5.0      - new option to truncate long filenames,
-                                   spoolfile is purged on errors,
-                                   failed chmod() on output is treated as non-fatal,
-                                   updates and additions to the documentation,
-                                   removed additional changelog from source code
-2008-06-22 : CUPS-PDF 2.4.8      - fixed too small allocation of postprocessing string,
-                                   corrected typo in the config file documentation,
-                                   update for the SELinux .te-file in contrib/
-2008-03-24 : CUPS-PDF 2.4.7      - corrected the exit codes to match CUPS' specifications,
-                                   original username passed to PostProcessing as 3rd arg,
-                                   made PPD file auto-selectable via IEEE-1284 device id
-2007-05-04 : CUPS-PDF 2.4.6	 - optimized default options for GS to produce PDFs
-2007-02-27 : CUPS-PDF 2.4.5      - enclosing parentheses () are removed from title,
-                                   set a more comprehensive identification string
-2007-02-02 : CUPS-PDF 2.4.4      - DOS-style path separators '\' are now recognized       
-2006-11-22 : CUPS-PDF 2.4.3      - replaced 'setenv' by 'putenv' to increase compatibility
-2006-09-30 : CUPS-PDF 2.4.2      - several code optimizations,
-                                   PostScript PPD now uncompressed and rev4 only
-2006-06-13 : CUPS-PDF 2.4.1      - added a PDF-to-mail postprocessing script to contrib/,
-                                   added a new revision of the PostscriptColor PPD file
-2006-05-28 : CUPS-PDF 2.4.0      - created the contrib/ directory with additional software 
-2006-05-17 : CUPS-PDF 2.3.1      - fixed possible read access after end of string,      
-                                   fixed recognition of international characters
-2006-05-14 : CUPS-PDF 2.3.0      - experimental option to decode hex strings in title (NK)
-2006-04-14 : CUPS-PDF 2.2.0      - new option to remove prefixes from usernames
-2006-04-06 : CUPS-PDF 2.1.1      - minor bugfix to read umasks properly
-2006-03-25 : CUPS-PDF 2.1.0	 - new option to select where to look for title,
-                                   some code changes and optimizations
-2006-02-26 : CUPS-PDF 2.0.5      - several code optimizations
-2006-01-29 : CUPS-PDF 2.0.4      - beginning of (E)PS-code now determined by "%!",
-                                   optimized system call to GS in cups-pdf.conf,
-                                   some minor code changes,
-                                   debug information shows version number,
-                                   updated PostScript PPD file supporting ledger paper
-2006-01-07 : CUPS-PDF 2.0.3      - improved checking for root privileges (incl. EUID)
-2006-01-04 : CUPS-PDF 2.0.2      - fixed possible testing of an uninitialized variable
-2006-01-03 : CUPS-PDF 2.0.1      - fixed hanging jobs when logging is disabled
-2005-12-23 : CUPS-PDF 2.0.0      - creation of non-existent parent directories,
-                                   improved configurability of output directories,
-                                   option CPHOMESUB is now obsolete,
-                                   PPD file now matches Adobe specifications
-2005-10-23 : CUPS-PDF 2.0beta2   - added support for post-processing script,
-                                   fixed a bug when parsing cups-pdf.conf
-2005-09-18 : CUPS-PDF 2.0beta1	 - added support for runtime configuration,
-                                   introduced cups-pdf.conf,
-                                   made AnonDirName an abolute path
-2005-09-08 : CUPS-PDF 1.7.4	 - added some options to cups-pdf.h for MacOSX
-2005-07-23 : CUPS-PDF 1.7.3      - fixed GhostScript failure with error 11,
-                                   fixed segfault when called without root privileges
-2005-07-07 : CUPS-PDF 1.7.2      - adjustment of file mode moved to non-privileged child
-2005-06-16 : CUPS-PDF 1.7.1      - PDFs are protected during creation by file mode 000
-2005-03-07 : CUPS-PDF 1.7.0a
-2005-03-01 : CUPS-PDF 1.7.0	 - call of GhostScript from a non-privileged child process,
-	  			   no more additional programs in the call of GhostScript,
-	  			   several code optimizations
-2005-02-09 : CUPS-PDF 1.6.6	 - updated PostScript PPD file supporting more DIN formats
-2005-01-04 : CUPS-PDF 1.6.5	 - cups-pdf is running with gid of group defined in CPGRP
-2004-10-11 : CUPS-PDF 1.6.4	 - improved configurability for different versions of 'su'
-2004-10-07 : CUPS-PDF 1.6.3	 - corrected erroneous call of GhostScript
-2004-10-05 : CUPS-PDF 1.6.2	 - added necessary quotes in the call of GhostScript
-2004-10-03 : CUPS-PDF 1.6.1	 - allow users w/o valid shell in /etc/passwd,
-	  			   several code optimizations
-2004-09-08 : CUPS-PDF 1.6.0	 - new option to check against user names in lower case,
-	  			   new option to label all created PDFs with a job-id
-2004-08-10 : CUPS-PDF 1.5.2	 - fixed insecure creation of spoolfile,
-     	  			   several smaller code optimizations
-2004-08-09 : CUPS-PDF 1.5.1	 - fixed possible access to element outside allocated area,
-	  			   fixed possible conflict with overlapping memory areas
-2004-08-03 : CUPS-PDF 1.5.0	 - call to GS without root privileges for enhanced security
-2004-08-01 : CUPS-PDF 1.4.3	 - added -dSAFER to the call to GS to improve security
-2004-02-25 : CUPS-PDF 1.4.2a
-2004-02-24 : CUPS-PDF 1.4.2	 - improved extraction of filenames,
-	  			   handling of embedded (e)ps code (RVT)
-2004-02-09 : CUPS-PDF 1.4.1	 - logfile is created with mode 644 if it does not exist
-2004-01-27 : CUPS-PDF 1.4.0	 - new option to set permissions for PDF output,
-	  			   alternative options for improved image conversion
-				   (moved CPGSCALL to cups-pdf.h)
-2004-01-06 : CUPS-PDF 1.3.2	 - exit status of ghostscript gets logged in debug mode
-2004-01-02 : CUPS-PDF 1.3.1a
-2003-11-29 : CUPS-PDF 1.3.1	 - improved handling of domain prefix
-2003-11-02 : CUPS-PDF 1.3	 - new option to cut file name extensions
-2003-10-25 : CUPS-PDF 1.2	 - untitled documents are labelled with job-id,
-     	  			   new option to add a domain prefix to user names,
-	  			   removed a minor bug during character replacement
-2003-08-02 : CUPS-PDF 1.1	 - files not viewable until creation is finished,
-     	  			   new qualifier "$HOME" for output directory,
-     	  			   "$HOME"-related new define in the header file
-2003-07-17 : CUPS-PDF 1.0.1	 - improved user name handling for multi-word names,
-	  			   code now distributed under the GPL
-2003-06-29 : CUPS-PDF 1.0	 - enhanced debug output,
-     	  			   replacement of special characters in title,
-     	  			   new option in the header file
-2003-05-26 : CUPS-PDF 1.0pre3	 - several minor bugfixes and improvements
-2003-05-21 : CUPS-PDF 1.0pre2	 - optimized memory management
-2003-05-16 : CUPS-PDF 1.0pre1	 - introduced cups-pdf.h,
-     	  			   code now entirely written in C,
-     	  			   cups-pdfgen is obsolete
-2003-02-14 : CUPS-PDF 0.2	 - script re-located to /usr/lib/cups/filter/cups-pdfgen
-2003-02-12 : CUPS-PDF 0.1	 - first beta release					

src-2.5.0/README

-Welcome to CUPS-PDF v2
-
- CONTENTS:
-
-  1. building CUPS-PDF
-  2. setting up the PDF queue with CUPS
-  3. note for MacOSX
-  4. contact
-
-
-1. building CUPS-PDF
---------------------
-
-   Edit src/cups-pdf.h if you do not like /etc/cups/cups-pdf.conf as name 
-   for the configuration file.
-   To compile CUPS-PDF, invoke gcc in the src/ directory:
-
-   gcc -O9 -s -o cups-pdf cups-pdf.c
-
-   To install the binary, simply copy cups-pdf to the backend directory
-   of CUPS (usually /usr/lib/cups/backend).
-
-   Now copy extra/cups-pdf.conf to /etc/cups (or whatever location you
-   selected in cups-pdf.h above). Here you can set all properties of 
-   CUPS-PDF at runtime without the need for restarting any services.
-   (The defaults should work fine on most systems.)
-
-   In case you want to use the color PostScript driver that comes with
-   CUPS-PDF go to the extra/ subdirectory and copy CUPS-PDF.ppd to your 
-   CUPS model directory (usually /usr/share/cups/model [ /Generic ] ). 
-
-
-2. setting up the PDF queue with CUPS
--------------------------------------
-
-   Important notes:
-   ================
-   
-   * CUPS-PDF requires root privileges since it has to modify file ownerships. 
-     In order to ensure CUPS-PDF is running with the required root privileges
-     you have to make 'root' the owner of the cups-pdf backend and set the 
-     file permissions of the backend to 0700 (root only).
-     NOTE: in older versions of CUPS (<1.2.0) you have to set the "RunAsUser" 
-           option in cupsd.conf to "No" in order to grant full privileges.
-   * CUPS-PDF needs a fully featured UNIX-filesystem to work. Make sure if any
-     of CUPS-PDF's working directories (e.g. output) are located on an NFS 
-     mounted volume they are mounted without root_squash! Other filesystems 
-     (e.g. NetWare or Windows shares) are _not_ supported!
-   * CUPS-PDF is known to fail if the gs (GhostScript) binary on a system is 
-     compressed by upx (Ultimate Packer for eXecutables).
-   * If you are using SELinux, AppArmour or similar tools,  make sure these do
-     not interfere with CUPS-PDF.
-     (You can disable SELinux for CUPS by "setsebool -P cupsd_disable_trans 1"
-      or have a look at contrib/SELinux-HOWTO to make it work)
-
-   Now you will be able to choose "CUPS-PDF (Virtual PDF Printer)" when 
-   setting up a new printer in CUPS (a CUPS-restart may be necessary).
-   To set up a queue for other UNIX clients you should select Postscript as
-   vendor and the Color Printer as model for your new printer; queues that get
-   their input from samba or netatalk (i.e. Windows, OS/2 or MacOS) can be set
-   up as raw queues. On the Windows, OS/2 or MacOS system choose a color
-   postscript driver for that network printer (the drivers for Minolta Page
-   Works or HP DesignJet printers do a good job).
-   Hint: If you want to create grayscale PDFs you just have to choose a
-   grayscale printer driver, i.e. the postscript.ppd that comes with CUPS on
-   the Linux side or a b/w laser printer (e.g. a HP LaserJet) on the Windows
-   side. On the Linux side be aware that the postscript.ppd will not
-   re-process data that is already supplied in Postscript format, i.e. a color
-   Postscript will keep it's colors.
-
-   Once you print to the new device the output directory selected in
-   cups-pdf.conf (defaults to /var/spool/cups-pdf) will be created and all
-   converted PDF files will be placed in subdirectories named after the owner
-   of the print job. In case the owner cannot be identified (i.e. does not
-   exist on the server) the output is placed in the directory for anonymous
-   operation (if not disabled in cups-pdf.conf - defaults to 
-   /var/spool/cups-pdf/ANONYMOUS/).
-   Furthermore if logging is enabled the logfile will be placed by default in
-   /var/log/cups.
-
-   The file "CUPS-PDF.ppd" is a modified version of the "Postscript.ppd.gz" 
-   that comes with CUPS 1.1.15 that is able to handle color output.
-
-   You should have a look at the contrib/ directory in this bundle which
-   contains several additions to CUPS-PDF which enhance functionality or 
-   supports the setup of CUPS-PDF on different platforms.
-
-
-3. note for MacOSX
-------------------
-
-   Since MacOSX' AFPL GhostScript does not support the way of PDF generation 
-   used by CUPS-PDF you will have to use pstopdf instead. For this the
-   settings of GhostScript, GSCall and PDFVer in cups-pdf.conf have to be
-   changed accordingly. The values are documented in cups-pdf.conf .
-
-
-4. contact
-----------
-   
-   Dr. Volker Christian Behr
-   behr@physik.uni-wuerzburg.de
-   http://www.cups-pdf.de
-

src-2.5.0/contrib/Contents

-This directory contains software that was contributed by various users to 
-CUPS-PDF. It enhances functionality or supports the setup of CUPS-PDF on
-different platforms.
-
-As far as not explicitly stated otherwise in the respective directories all
-of the contributed software is distributed under the same license as 
-CUPS-PDF (GPL).
-
-Currently the following contributions are available:
-
-* SELinux-HOWTO by Doc Walker <doc at wvfans.net>
-    A collection of scripts and documentation on how to set up CUPS-PDF in a
-    SELinux environment (e.g. FC4 or FC5)
-  Remi Collet <Fedora@FamilleCollet.com> provided a new .te file with v2.4.8
-
-* pstitleiconv by Nickolay Kondrashov <knu@avtomatikarus.com>
-    This filter allows conversion of character encoding in PS files for 
-    processing by CUPS-PDF. This will allow international characters in
-    filenames when printing from Windows clients.
-
-* cups-pdf-dispatch by Nickolay Kondrashov <knu@avtomatikarus.com>
-    An elaborate postprocessing script for CUPS-PDF that allows sending mails 
-    with the created PDFs to users.

src-2.5.0/contrib/SELinux-HOWTO/INSTALL-SELinux

-HOWTO: Enable CUPS-PDF to work with SELinux
--------------------------------------------
-Security-enhanced Linux (SELinux) is a set of extensions to the standard Linux
-kernel that add mandatory access controls to help prevent failures in system
-security due to malicious or flawed applications. It is enabled by default on
-Fedora Core 4 and 5, as well as other mainstream distributions. See
-<http://www.nsa.gov/selinux/> for more background information.
-
-In order to use CUPS-PDF with SELinux enabled, you will need to compile and
-install the following security policy module:
-
-$ cd cups-pdf-2.5.0/contrib/SELinux-HOWTO
-$ ./update-module
-
-Compiling type enforcement file 'cups_pdf.te' --> 'cups_pdf.mod'.
-checkmodule:  loading policy configuration from cups_pdf.te
-checkmodule:  policy configuration loaded
-checkmodule:  writing binary representation (version 5) to cups_pdf.mod
-Creating policy package 'cups_pdf.mod' --> 'cups_pdf.pp'.
-Installing security policy 'cups_pdf.pp' into current machine policy.
-cups_pdf        2.5.0
-
-$ sudo service cups restart
-Stopping cups:                                             [  OK  ]
-Starting cups:                                             [  OK  ]
-
-You should now be able to print via CUPS-PDF.
-
-View the SELinux audit log to verify the newly-installed mandatory access
-controls allow CUPS-PDF to print properly:
-
-$ sudo tail -F -n 1000 /var/log/audit/audit.log | grep AVC
-
-You should see various messages indicating security granted to the cupsd daemon.
-
-Refer to <http://fedora.redhat.com/docs/selinux-faq-fc5/#faq-entry-local.te> for
-more information.

src-2.5.0/contrib/SELinux-HOWTO/cups_pdf.te

-policy_module(cups_pdf,CUPSVERSION)
-
-require {
-    class dir { add_name create getattr remove_name search setattr write };
-    class file { create getattr read setattr unlink write };
-
-    type cupsd_t;
-    type home_root_t;
-    type user_home_dir_t;
-    type user_home_t;
-    type print_spool_t;
-    type unconfined_home_dir_t;
-    type unconfined_home_t;
-}
-
-allow cupsd_t home_root_t:dir { getattr search };
-
-allow cupsd_t user_home_dir_t:dir { getattr search };
-allow cupsd_t user_home_t:dir { add_name create getattr remove_name search setattr write };
-allow cupsd_t user_home_t:file { create getattr read setattr unlink write };
-
-allow cupsd_t unconfined_home_dir_t:dir { getattr search };
-allow cupsd_t unconfined_home_t:dir { add_name create getattr remove_name search setattr write };
-allow cupsd_t unconfined_home_t:file { create getattr read setattr unlink write };
-

src-2.5.0/contrib/SELinux-HOWTO/cups_pdf.te_orig

-module cups_pdf 2.4.8;
-
-require {
-    class dir { add_name create getattr remove_name search setattr write };
-    class file { create getattr read setattr unlink write };
-
-    type cupsd_t;
-    type home_root_t;
-    type user_home_dir_t;
-    type user_home_t;
-}
-
-allow cupsd_t home_root_t:dir { getattr search };
-allow cupsd_t user_home_dir_t:dir { getattr search };
-allow cupsd_t user_home_t:dir { add_name create getattr remove_name search setattr write };
-allow cupsd_t user_home_t:file { create getattr read setattr unlink write };

src-2.5.0/contrib/SELinux-HOWTO/update-module

-#!/bin/sh
-###
-#
-# Update SELinux policy module for CUPS-PDF
-#
-# Shell script created by Rx on 7 May 06
-#
-###
-
-SELINUXENABLED=`which selinuxenabled`
-GETENFORCE=`which getenforce`
-GETSEBOOL=`which getsebool`
-CHECKMODULE=`which checkmodule`
-SEMODULE_PACKAGE=`which semodule_package`
-SEMODULE=`which semodule`
-
-echo ""
-
-if [ "x$SELINUXENABLED" == "x" ]; then
-    echo "Cannot locate executable 'selinuxenabled' (via 'which' command)."
-    echo "Script '$0' terminated (exit code 1)."
-    exit 1
-fi
-
-if [ x"$GETENFORCE" == "x" ]; then
-    echo "Cannot locate executable 'getenforce' (via 'which' command)."
-    echo "Script '$0' terminated (exit code 2)."
-    exit 2
-fi
-
-if [ x"$GETSEBOOL" == "x" ]; then
-    echo "Cannot locate executable 'getsebool' (via 'which' command)."
-    echo "Script '$0' terminated (exit code 3)."
-    exit 3
-fi
-
-if [ x"$CHECKMODULE" == "x" ]; then
-    echo "Cannot locate executable 'checkmodule' (via 'which' command)."
-    echo "The following command will correct this (re-run this script afterward):"
-    echo "$ sudo yum install checkpolicy"
-    echo "Script '$0' terminated (exit code 4)."
-    exit 4
-fi
-
-if [ x"$SEMODULE_PACKAGE" == "x" ]; then
-    echo "Cannot locate executable 'semodule_package' (via 'which' command)."
-    echo "Script '$0' terminated (exit code 5)."
-    exit 5
-fi
-
-if [ x"$SEMODULE" == "x" ]; then
-    echo "Cannot locate executable 'semodule' (via 'which' command)."
-    echo "Script '$0' terminated (exit code 6)."
-    exit 6
-fi
-
-if [ `$SELINUXENABLED` ]; then
-    echo "SELinux is not enabled; this script is unnecessary."
-    echo "Script '$0' terminated (exit code 11)."
-    exit 11
-fi
-
-if [ `$GETENFORCE` != "Enforcing" ]; then
-    echo "SELinux is not in 'Enforcing' mode; this script is unnecessary."
-    echo "The following command will correct this (re-run this script afterward):"
-    echo "$ sudo setenforce 1"
-    echo "Script '$0' terminated (exit code 12)."
-    exit 12
-fi
-
-if [ "`$GETSEBOOL cupsd_disable_trans`" == "cupsd_disable_trans --> on" ]; then
-    echo "Security policy ignored for cupsd transactions; this script is unnecessary."
-    echo "The following command will correct this (re-run this script afterward):"
-    echo "$ sudo setsebool -P cupsd_disable_trans 0"
-    echo "Script '$0' terminated (exit code 13)."
-    exit 13
-fi
-
-MODULE="cups_pdf"
-
-if [ -f $MODULE.te ]; then
-    echo "Compiling type enforcement file '$MODULE.te' --> '$MODULE.mod'."
-    checkmodule -M -m -o $MODULE.mod $MODULE.te
-fi
-
-if [ -f $MODULE.mod ]; then
-    echo "Creating policy package '$MODULE.mod' --> '$MODULE.pp'."
-    semodule_package -o $MODULE.pp -m $MODULE.mod
-fi
-
-if [ -f $MODULE.pp ]; then
-    echo "Installing security policy '$MODULE.pp' into current machine policy."
-    sudo semodule -i $MODULE.pp
-fi
-
-echo "`sudo semodule -l | grep $MODULE`"

src-2.5.0/contrib/cups-pdf-dispatch-0.1/README

-	CUPS-PDF-DISPATCH v0.1 README
-
-CUPS-PDF-DISPATCH is a postprocessing script for cups-pdf.
-
-
-	INSTALLING
-
-Copy cups-pdf-dispatch to your favorite binaries directory (/usr/local/bin is a
-good choice).
-Copy cups-pdf-dispatch.conf template to /etc/cups directory (or modify
-cups-pdf-dispatch to use your location).
-
-Modify copied cups-pdf-dispatch.conf to suit your needs (look there for
-details).
-Set PostProcessing option in cups-pdf.conf (usually located at
-/etc/cups/cups-pdf.conf) to location of the cups-pdf-dispatch script (f.e.
-/usr/local/bin/cups-pdf-dispatch).
-
-
-	I18N
-
-The main I18N obstacle, when making PDF's from postscript output, is the
-document titles - they are usually specified in client's machine charset.
-Cups-pdf uses postscript title to construct PDF filename when job filename is
-not available (or if you specify to use them preferably).  PSTITLEICONV was
-made to take care of converting title encoding. You could get it from the
-contrib directory of cups-pdf package.
-
-
-	COMMENTS
-
-It's a bit "overengineered", but it works. For instance, messages may need to
-be localized, instead of providing the ability to change them in the conffile.
-Additionaly, there must be a more elegant way to allow fetching of user
-info/e-mail from arbitrary sources (may be just use some generic source?). If
-you have any hints/bugfixes/improvements, please, don't hesitate to contact me.
-
-
-	AUTHOR
-
-Nickolay Kondrashov
-<knu@avtomatikarus.com>

src-2.5.0/contrib/cups-pdf-dispatch-0.1/cups-pdf-dispatch

-#!/usr/bin/perl -w
-
-#     Copyright 2006 Nickolay Kondrashov
-# 
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with this program; if not, write to the Free Software
-#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
-use strict;
-use Sys::Hostname;
-use File::Basename;
-use Mail::Header;
-use MIME::Lite;
-use MIME::Words;
-
-my $CONFIG_PATH = "/etc/cups/cups-pdf-dispatch.conf";
-