]> git.ipfire.org Git - thirdparty/cups.git/commit
The `lp` and `lpr` commands now provide better error messages when the default
authorMichael R Sweet <michaelrsweet@gmail.com>
Wed, 1 Nov 2017 19:45:50 +0000 (15:45 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Wed, 1 Nov 2017 19:45:50 +0000 (15:45 -0400)
commitd6db9ea1dc43510e28e0a29989b4e2e39ee099a7
tree5502e9b0e63e9dd24536e76ebb8f94c7a95fa160
parent409f54979f3dcd08d9b318e8d74d1d445e0cc520
The `lp` and `lpr` commands now provide better error messages when the default
printer cannot be found (Issue #5096)

- berkeley/lpr.c: Use cupsLastErrorMessage() for not-found errors.
- cups/dest.c: Set the last error message in cupsGetNamedDest().
- systemv/lp.c: Use cupsLastErrorMessage() for not-found errors.
CHANGES.md
berkeley/lpr.c
cups/dest.c
systemv/lp.c