Skip to content

Commit b880322

Browse files
committed
cpdb-backend-cups 2.0b7 Release
1 parent dc56f23 commit b880322

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

CHANGES.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b6 - 2024-06-18
1+
# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b7 - 2025-02-20
2+
3+
## CHANGES IN V2.0b7 (20th February 2025)
4+
5+
- Add support for CUPS printer instances
6+
Don't just always use the `cups_dest_t`'s `name` for the printer
7+
name, but also take it's `instance` member into account and if
8+
present, append that for the name used for the CPDB printer name,
9+
separated by a slash character (Pull request #34).
10+
11+
- Always query current CUPS default printer
12+
When asked for the default printer, always query and return the
13+
current CUPS default printer instead of whatever was the default
14+
last time this was done, to take into account that the CUPS default
15+
printer can change while the backend is running (Pull request #33).
16+
17+
- Pass correct parameters to `cupsStartDestDocument()`
18+
Now job title and job attributes (options) are correctly passed on
19+
(Pull request #36).
20+
21+
- Use NULL Instead of "NA" if there's no default printer
22+
NULL makes clear that there's no default printer, while "NA" could
23+
even be the name of an actual printer, so use the former instead of
24+
the latter if no default printer could be determined (Pull request
25+
#35).
26+
27+
- Use `g_strdup` instead of `cpdbGetStringCopy`
28+
GLib's `g_strdup` already provides the same functionality as
29+
`cpdbGetStringCopy` from cpdb-libs, so use the former instead of
30+
relying on a custom CPDB implementation (Pull request #32).
31+
232

333
## CHANGES IN V2.0b6 (18th June 2024)
434

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.69])
5-
AC_INIT([cpdb-backend-cups], [2.0b6], [https://github.com/OpenPrinting/cpdb-backend-cups/issues/], [cpdb-backend-cups], [https://github.com/OpenPrinting/cpdb-backend-cups])
5+
AC_INIT([cpdb-backend-cups], [2.0b7], [https://github.com/OpenPrinting/cpdb-backend-cups/issues/], [cpdb-backend-cups], [https://github.com/OpenPrinting/cpdb-backend-cups])
66
AC_CONFIG_AUX_DIR([build-aux])
77
AC_CONFIG_SRCDIR([src/print_backend_cups.c])
88
AM_INIT_AUTOMAKE([-Wall dist-xz dist-bzip2 foreign])

0 commit comments

Comments
 (0)