{"id":13603964,"url":"https://github.com/OpenPrinting/cups","last_synced_at":"2025-04-11T22:32:13.371Z","repository":{"id":37435218,"uuid":"292664437","full_name":"OpenPrinting/cups","owner":"OpenPrinting","description":"OpenPrinting CUPS Sources","archived":false,"fork":false,"pushed_at":"2025-04-08T10:47:37.000Z","size":119786,"stargazers_count":1228,"open_issues_count":18,"forks_count":236,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-09T22:08:54.558Z","etag":null,"topics":["bsd","ipp","linux","printing"],"latest_commit_sha":null,"homepage":"https://openprinting.github.io/cups","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenPrinting.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-03T19:43:01.000Z","updated_at":"2025-04-08T20:35:13.000Z","dependencies_parsed_at":"2023-10-25T07:23:49.071Z","dependency_job_id":"1976fc36-2a93-4c30-aa2d-117e8f977979","html_url":"https://github.com/OpenPrinting/cups","commit_stats":{"total_commits":3400,"total_committers":115,"mean_commits":"29.565217391304348","dds":0.6111764705882353,"last_synced_commit":"94eb38f0cee18895afc89f5143a2acb145852a0f"},"previous_names":[],"tags_count":203,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenPrinting%2Fcups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenPrinting%2Fcups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenPrinting%2Fcups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenPrinting%2Fcups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenPrinting","download_url":"https://codeload.github.com/OpenPrinting/cups/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119294,"owners_count":21050755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bsd","ipp","linux","printing"],"created_at":"2024-08-01T19:00:37.355Z","updated_at":"2025-04-11T22:32:13.362Z","avatar_url":"https://github.com/OpenPrinting.png","language":"C","readme":"OpenPrinting CUPS v2.5b1\n========================\n\n![Version](https://img.shields.io/github/v/release/openprinting/cups?include_prereleases)\n![Apache 2.0](https://img.shields.io/github/license/openprinting/cups)\n[![Build and Test](https://github.com/OpenPrinting/cups/workflows/Build%20and%20Test/badge.svg)](https://github.com/OpenPrinting/cups/actions/workflows/build.yml)\n[![Coverity Scan](https://img.shields.io/coverity/scan/23806)](https://scan.coverity.com/projects/openprinting-cups)\n\n\u003e *Note:* This branch is tracking a future CUPS 2.5.x feature release.  Check\n\u003e out the \"2.4.x\" branch for CUPS 2.4.x.\n\n\nIntroduction\n------------\n\nOpenPrinting CUPS is the most current version of CUPS, a standards-based, open\nsource printing system for Linux® and other Unix®-like operating systems.  CUPS\nsupports printing to:\n\n- [AirPrint™][1] and [IPP Everywhere™][2] printers,\n- Network and local (USB) printers with Printer Applications, and\n- Network and local (USB) printers with (legacy) PPD-based printer drivers.\n\nCUPS provides the System V (\"lp\") and Berkeley (\"lpr\") command-line interfaces,\na configurable web interface, a C API, and common print filters, drivers, and\nbackends for printing.  The [cups-filters][3] project provides additional\nfilters and drivers.\n\nCUPS is licensed under the Apache License Version 2.0 with an exception to allow\nlinking against GNU GPL2-only software.  See the files `LICENSE` and `NOTICE`\nfor more information.\n\n\u003e Note: Apple maintains a separate repository for the CUPS that ships with macOS\n\u003e and iOS at \u003chttps://github.com/apple/cups\u003e.\n\n[1]: https://support.apple.com/en-us/HT201311\n[2]: https://www.pwg.org/printers\n[3]: https://github.com/openprinting/cups-filters\n\n\nReading the Documentation\n-------------------------\n\nInitial documentation to get you started is provided in the root directory of\nthe CUPS sources:\n\n- `CHANGES.md`: A list of changes in the current major release of CUPS.\n- `CONTRIBUTING.md`: Guidelines for contributing to the CUPS project.\n- `CREDITS.md`: A list of past contributors to the CUPS project.\n- `DEVELOPING.md`: Guidelines for developing code for the CUPS project.\n- `INSTALL.md`: Instructions for building and installing CUPS.\n- `LICENSE`: The CUPS license agreement (Apache 2.0).\n- `NOTICE`: Copyright notices and exceptions to the CUPS license agreement.\n- `README.md`: This file.\n- `REPORTING_ISSUES.md`: Instructions what information to provide when reporting an issue.\n\nOnce you have installed the software you can access the documentation (and a\nbunch of other stuff) online at \u003chttp://localhost:631/\u003e and using the `man`\ncommand, for example `man cups`.\n\nIf you're having trouble getting that far, the documentation is located under\nthe `doc/help` and `man` directories.\n\n*Please read the documentation before asking questions.*\n\n\nSetting Up Printers\n-------------------\n\nCUPS includes a web-based administration tool that allows you to manage\nprinters, classes, and jobs on your server.  Open \u003chttp://localhost:631/admin/\u003e\nin your browser to access the printer administration tools.  You will be asked\nfor the administration password (root or any other user in the \"sys\", \"system\",\n\"root\", \"admin\", or \"lpadmin\" group on your system) when performing any\nadministrative function.\n\nThe `lpadmin` command is used to manage printers from the command-line.  For\nexample, the following command creates a print queue called \"myprinter\" for an\nIPP Everywhere printer at address \"11.22.33.44\":\n\n    lpadmin -p myprinter -E -v \"ipp://11.22.33.44/ipp/print\" -m everywhere\n\nThe `-p` option specifies the printer name.  The `-E` option enables the printer\nand accepts new print jobs immediately.  The `-v` option specifies the *device\nURI* for the printer, which tells CUPS how to communicate with the printer.  And\nthe `-m` option specifies the model (driver) to use, in this case the IPP\nEverywhere (\"everywhere\") driver that is used for AirPrint and IPP Everywhere\nprinters as well as shared printers and printers supported through Printer\nApplications.\n\nLegacy printers are supported using PPD (PostScript Printer Description) files\nthat describe printer capabilities and driver programs needed for each printer.\nCUPS includes several sample PPD files for common legacy printers:\n\n   Driver                       | PPD Name\n   -----------------------------|------------------------------\n   Dymo Label Printers          | drv:///sample.drv/dymo.ppd\n   Intellitech Intellibar       | drv:///sample.drv/intelbar.ppd\n   EPSON 9-pin Series           | drv:///sample.drv/epson9.ppd\n   EPSON 24-pin Series          | drv:///sample.drv/epson24.ppd\n   Generic PCL Laser Printer    | drv:///sample.drv/generpcl.ppd\n   Generic PostScript Printer   | drv:///sample.drv/generic.ppd\n   HP DeskJet Series            | drv:///sample.drv/deskjet.ppd\n   HP LaserJet Series           | drv:///sample.drv/laserjet.ppd\n   OKIDATA 9-Pin Series         | drv:///sample.drv/okidata9.ppd\n   OKIDATA 24-Pin Series        | drv:///sample.drv/okidat24.ppd\n   Zebra CPCL Label Printer     | drv:///sample.drv/zebracpl.ppd\n   Zebra EPL1 Label Printer     | drv:///sample.drv/zebraep1.ppd\n   Zebra EPL2 Label Printer     | drv:///sample.drv/zebraep2.ppd\n   Zebra ZPL Label Printer      | drv:///sample.drv/zebra.ppd\n\nThe sample drivers provide basic printing capabilities, but generally do not\nexercise the full potential of the printers or CUPS.  Other drivers provide\ngreater printing capabilities.\n\nYou can run the `lpinfo -m` command to list all of the available drivers:\n\n    lpinfo -m\n\nSimilarly, the `lpinfo -v` command lists the available printers and their device\nURIs:\n\n    lpinfo -v\n\nOnce you know the device URI and driver name, add the printer using the\n`lpadmin` command:\n\n    lpadmin -p PRINTER-NAME -E -v \"DEVICE-URI\" -m DRIVER-NAME\n\n\nPrinting Files\n--------------\n\nCUPS provides both the System V `lp` and Berkeley `lpr` commands for printing:\n\n    lp FILENAME\n    lpr FILENAME\n\nBoth the `lp` and `lpr` commands support printing options:\n\n    lp -o media=A4 -o resolution=600dpi FILENAME\n    lpr -o media=A4 -o resolution=600dpi FILENAME\n\nCUPS recognizes many types of images files as well as PDF, PostScript, and text\nfiles, so you can print those files directly rather than through an application.\n\nIf you have an application that generates output specifically for your printer\nthen you need to use the `-oraw` or `-l` options:\n\n    lp -o raw FILENAME\n    lpr -l FILENAME\n\nThis will prevent the filters from misinterpreting your print file.\n\n\nContributing Code and Translations\n----------------------------------\n\nCode contributions should be submitted as pull requests on the Github site:\n\n    http://github.com/OpenPrinting/cups/pulls\n\nSee the file \"CONTRIBUTING.md\" for more details.\n\nCUPS uses [Weblate][WL] to manage the localization of the web interface,\ncommand-line programs, and common IPP attributes and values, and those likewise\nend up as pull requests on Github.\n\n[WL]: https://hosted.weblate.org\n\n\nLegal Stuff\n-----------\n\nCopyright © 2020-2025 by OpenPrinting\n\nCopyright © 2007-2020 by Apple Inc.\n\nCopyright © 1997-2007 by Easy Software Products.\n\nCUPS is provided under the terms of the Apache License, Version 2.0 with\nexceptions for GPL2/LGPL2 software.  A copy of this license can be found in the\nfile `LICENSE`.  Additional legal information is provided in the file `NOTICE`.\n\nUnless required by applicable law or agreed to in writing, software distributed\nunder the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\nCONDITIONS OF ANY KIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations under the License.\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenPrinting%2Fcups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpenPrinting%2Fcups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenPrinting%2Fcups/lists"}