[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1021488: printer-driver-cups-pdf: cups-pdf ignores some settings in /etc/cups/cups-pdf.conf



Package: printer-driver-cups-pdf
Version: 3.0.1-14
Severity: important

Dear Maintainer,

   * What led up to the situation?
Just printing to cups-pdf printer results in a filename with suffix "job-ID" and not stripped suffix "txt" as configured.
Example:
Input file = Bookworm.txt (plain text)
Output file = Bookworm.txt__enable-job_32.pdf

   * What exactly did you do (or not do) that was effective (or ineffective)?
Whatever changes in cups-pdf.conf I do, be it "Key: Label", "Key: TitlePref" or "Key: PDFVer"
will result in a similar output filename.

   * What outcome did you expect instead?
Output filename should be just
Bookworm.pdf
and PDF-version should be 1.4.

Debug log clearly shows that my settings
Label 0 (default)
TitlePref 1
PDFVer 1.4 (default)(

are not respected:

/var/log/cups/cups-pdf-PDF_log:
....l
Sun Oct  9 12:51:25 2022  [DEBUG] GSCall             = "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s"
Sun Oct  9 12:51:25 2022  [DEBUG] Grp                = "lpadmin"
Sun Oct  9 12:51:25 2022  [DEBUG] GSTmp              = "TMPDIR=/var/tmp"
Sun Oct  9 12:51:25 2022  [DEBUG] Log                = "/var/log/cups"
Sun Oct  9 12:51:25 2022  [DEBUG] PDFVer             = "1.2"
Sun Oct  9 12:51:25 2022  [DEBUG] PostProcessing     = ""
Sun Oct  9 12:51:25 2022  [DEBUG] Out                = "${HOME}/PDF"
Sun Oct  9 12:51:25 2022  [DEBUG] Spool              = "/var/spool/cups-pdf/SPOOL"
Sun Oct  9 12:51:25 2022  [DEBUG] UserPrefix         = ""
Sun Oct  9 12:51:25 2022  [DEBUG] RemovePrefix       = ""
Sun Oct  9 12:51:25 2022  [DEBUG] OutExtension       = "pdf"
Sun Oct  9 12:51:25 2022  [DEBUG] Cut                = 3
Sun Oct  9 12:51:25 2022  [DEBUG] Truncate           = 64
Sun Oct  9 12:51:25 2022  [DEBUG] DirPrefix          = 0
Sun Oct  9 12:51:25 2022  [DEBUG] Label              = 2
Sun Oct  9 12:51:25 2022  [DEBUG] LogType            = 7
Sun Oct  9 12:51:25 2022  [DEBUG] LowerCase          = 1
Sun Oct  9 12:51:25 2022  [DEBUG] TitlePref          = 0
Sun Oct  9 12:51:25 2022  [DEBUG] DecodeHexStrings   = 1
Sun Oct  9 12:51:25 2022  [DEBUG] FixNewlines        = 0
Sun Oct  9 12:51:25 2022  [DEBUG] AllowUnsafeOptions = 0
Sun Oct  9 12:51:25 2022  [DEBUG] AnonUMask          = 0000
Sun Oct  9 12:51:25 2022  [DEBUG] UserUMask          = 0077
Sun Oct  9 12:51:25 2022  [DEBUG] *** End of Configuration ***





-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages printer-driver-cups-pdf depends on:
ii  cups            2.4.2-1+b1
ii  cups-client     2.4.2-1+b1
ii  ghostscript     9.56.1~dfsg-1
ii  libc6           2.35-2
ii  libcups2        2.4.2-1+b1
ii  libpaper-utils  1.1.28+b1

printer-driver-cups-pdf recommends no packages.

Versions of packages printer-driver-cups-pdf suggests:
ii  system-config-printer  1.5.16-1

-- Configuration Files:
/etc/cups/cups-pdf.conf changed:
Out ${HOME}/PDF
Label 0
TitlePref 1
Grp lpadmin
DecodeHexStrings 1


-- no debconf information


Reply to: