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

Bug#1021488: marked as done (printer-driver-cups-pdf: cups-pdf ignores some settings in /etc/cups/cups-pdf.conf)



Your message dated Sat, 29 Mar 2025 10:38:58 +0200
with message-id <CAPZXPQc3Z9092xAATVUt-ujUAwXpqZJxkbYMTt-bK7TA_r-s=Q@mail.gmail.com>
and subject line Re: solved
has caused the Debian Bug report #1021488,
regarding printer-driver-cups-pdf: cups-pdf ignores some settings in /etc/cups/cups-pdf.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1021488: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021488
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Thu, 13 Mar 2025 20:22:46 +0100 Yves-Alexis Perez <corsac@debian.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On Tue, 2025-03-11 at 20:18 +0200, Martin-Éric Racine wrote:
> > On Sun, 12 Feb 2023 08:33:13 +0200
> > =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <martin-eric.racine@iki.fi>
> > wrote:
> > > On Fri, 11 Nov 2022 18:39:54 +0100 Alf <alf.debianfan@gmx.de> wrote:
> > > > This bug isn't really a bug, found the resolution today:
> > > >
> > > > The settings which I claimed to be missing/ignored in cups-pdf are now
> > > > available in job specific settings of the printing dialog (xfce4
> > > > desktop) and are persistent thus surviving reboots. This was absolutely
> > > > different compared to how it was in Bullseye where there was no such
> > > > possibility neither in the printing dialog nor in the settings of the
> > > > printing object on the desktop.
> > >
> > > Since this bug is caused by changes in how the XFCE print dialog
> > > behaves, it needs to be re-assigned to the right XFCE component. I'm
> > > not familiar enough to know which one.
> >
> > I'd still like a reply from XFCE maintainers on that one.
> >
> I'm sorry, I totally missed the initial mail. Also I'm honestly not sure of
> what the problem really is, and there's no such thing as "xfce print dialog".
> Maybe there's GTK+ print dialog but that's it.

As we've established that CUPS-PDF behaves as intended, I'm closing this bug.

Martin-Éric

--- End Message ---

Reply to: