https://github.com/openprinting/libcups
OpenPrinting CUPS Library Sources
https://github.com/openprinting/libcups
Last synced: 2 months ago
JSON representation
OpenPrinting CUPS Library Sources
- Host: GitHub
- URL: https://github.com/openprinting/libcups
- Owner: OpenPrinting
- License: apache-2.0
- Created: 2021-11-18T16:08:15.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T23:44:06.000Z (2 months ago)
- Last Synced: 2025-04-15T21:07:53.678Z (2 months ago)
- Language: C
- Homepage: https://openprinting.github.io/cups/cups3.html
- Size: 87.8 MB
- Stars: 48
- Watchers: 12
- Forks: 26
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
The CUPS Library v3 (libcups)
=============================

[](https://github.com/michaelrsweet/libcups/actions/workflows/build.yml)
[](https://scan.coverity.com/projects/michaelrsweet-libcups)> *Note:* This is a major release update of the CUPS library that breaks both
> binary and source compatibility with prior releases of CUPS.The CUPS library (libcups) provides a common C API for HTTP/HTTPS and IPP
communications on Unix®-like operating systems and Microsoft Windows®. It is
used by many printing-related projects such as [CUPS][CUPS] and [PAPPL][PAPPL].
This project is part of OpenPrinting's CUPS 3.0 development, which will provide
a 100% driverless printing system for Unix®-like operating systems.This version of the CUPS library removes all of the deprecated and obsolete APIs
from CUPS 2.x and earlier and is *not* binary compatible with older releases.
See the file `doc/cupspm.html` for a description of the changes and how to
migrate your code to the new library.The CUPS library is licensed under the Apache License Version 2.0 with an
exception to allow linking against GNU GPL2-only software. See the files
`LICENSE` and `NOTICE` for more information.Getting the Code
----------------*Do not use the ZIP file available via the Github "Code" button on the main*
*project page, as that archive is missing the PDFio submodule and will not*
*compile.*The source code is available in release tarballs or via the Github repository.
For a release tarball, run the following commands:tar xvzf libcups-VERSION.tar.gz
cd libcups-VERSIONSimilarly, the release ZIP file can be extracted with the following commands:
unzip libcups-VERSION.zip
cd libcups-VERSIONFrom the Github sources, clone the repository with the `--recurse-submodules`
option *or* use the `git submodule` commands:git clone --recurse-submodules [email protected]:OpenPrinting/libcups.git
cd libcupsgit clone [email protected]:OpenPrinting/libcups.git
cd libcups
git submodule update --init --recursiveTo update an already-cloned repository:
git pull
git submodule update --init --recursiveReading the Documentation
-------------------------Initial documentation to get you started is provided in the root directory of
the CUPS sources:- `CHANGES.md`: A list of changes for each release of libcups.
- `CONTRIBUTING.md`: Guidelines for contributing to the CUPS project.
- `CREDITS.md`: A list of past contributors to the CUPS project.
- `DEVELOPING.md`: Guidelines for developing code for the CUPS project.
- `INSTALL.md`: Instructions for building and installing the CUPS library.
- `LICENSE`: The CUPS license agreement (Apache 2.0).
- `NOTICE`: Copyright notices and exceptions to the CUPS license agreement.
- `README.md`: This file.You will find the CUPS Programing Guide in HTML and EPUB formats as well as man
pages in the `doc` directory.*Please read the documentation before asking questions.*
Legal Stuff
-----------Copyright © 2020-2025 by OpenPrinting.
Copyright © 2007-2020 by Apple Inc.
Copyright © 1997-2007 by Easy Software Products.
CUPS is provided under the terms of the Apache License, Version 2.0 with
exceptions for GPL2/LGPL2 software. A copy of this license can be found in the
file `LICENSE`. Additional legal information is provided in the file `NOTICE`.Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.[CUPS]: https://openprinting.github.io/cups
[PAPPL]: https://www.msweet.org/pappl