[Pkg-cups-devel] Bug#619461: cups-pdf: PDFVer and GSCall keys not taken into account

Jean-Philippe Thierry jph.thierry at orange.fr
Thu Mar 24 07:54:13 UTC 2011


Package: cups-pdf
Version: 2.5.0-16
Severity: normal

Hi,

I am trying to set up an encrypted pdf printer using cups-pdf. I find my way in
identifying the right command-line options for encryption with ps2pdf and
everything works fine.
I then tuned the /etc/cups/cups-pdf.conf file changing the GSCall key but
without any success so far :( PDF document is generated but is still a PDF 1.3
document (although I set the PDFVer key to 1.4) and encryption options are not
taken into account.
I looked at the logs (DEBUG level) but nothing there except that it says: found
beginning of pdf code (%PDF-1.3).

I tried -dCompatibilityLevel=%s, -dCompatibilityLevel=1.4,
-dCompatibilityLevel=PDFVer; none of them worked. I am probably missing
something straightforward but googling did not help me so...

Thanks for your help

Jean-Philippe



-- System Information:
Debian Release: 6.0.1
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups-pdf depends on:
ii  cups                        1.4.4-7      Common UNIX Printing System(tm) - 
ii  cups-client                 1.4.4-7      Common UNIX Printing System(tm) - 
ii  ghostscript                 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
ii  libc6                       2.11.2-10    Embedded GNU C Library: Shared lib
ii  libpaper-utils              1.1.24       library for handling paper charact

cups-pdf recommends no packages.

Versions of packages cups-pdf suggests:
pn  system-config-printer-gnome | <none>     (no description available)

-- Configuration Files:
/etc/cups/cups-pdf.conf changed:
Out ${HOME}/tmp/PDF
Label 0
Grp lpadmin
LogType 1
PDFVer 1.4
GSCall %s -q -dCompatibilityLevel=PDFVer -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOwnerPassword=AjC -dEncryptionR=3 -dKeyLength=128 -dPermissions=-3904 -c .setpdfwrite -f %s


-- no debconf information





More information about the Pkg-cups-devel mailing list