cpdb-backend-cups 2.0b7 #38
tillkamppeter
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the seventh beta release for cpdb-backend-cups 2.0.0 the development was mostly led by Biswadeep Purkayastha, GSoC contributor on CPDB support for LibreOffice, and his mentor Michael Weghorn, LibreOffice developer. Some bugs got fixed and support for CUPS' printer instances added.
Don't just always use the
cups_dest_t
'sname
for the printer name, but also take it'sinstance
member into account and if present, append that for the name used for the CPDB printer name, separated by a slash character (Pull request Add support for CUPS printer instances #34).When asked for the default printer, always query and return the current CUPS default printer instead of whatever was the default last time this was done, to take into account that the CUPS default printer can change while the backend is running (Pull request Always query current CUPS default printer #33).
cupsStartDestDocument()
Now job title and job attributes (options) are correctly passed on (Pull request Pass correct parameters to cupsStartDestDocument #36).
NULL makes clear that there's no default printer, while "NA" could even be the name of an actual printer, so use the former instead of the latter if no default printer could be determined (Pull request Use NULL Instead of "NA" if there's no default printer #35).
g_strdup
instead ofcpdbGetStringCopy
GLib's
g_strdup
already provides the same functionality ascpdbGetStringCopy
from cpdb-libs, so use the former instead of relying on a custom CPDB implementation (Pull request Use g_strdup instead of cpdbGetStringCopy #32).This discussion was created from the release cpdb-backend-cups 2.0b7.
Beta Was this translation helpful? Give feedback.
All reactions