The print/cups-filters port
cups-filters-2.0.1 – OpenPrinting CUPS filters (cvsweb github mirror)
Description
This package provides additional CUPS filters which are not provided by the CUPS project itself. This includes filters for a PDF based printing workflow.WWW: https://wiki.linuxfoundation.org/openprinting/cups-filters
Readme
+------------------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +------------------------------------------------------------------------------- Bonjour broadcasts of shared, remote printers ============================================= The cups-browsed(8) daemon can be used to browse Bonjour (mDNS) broadcasts of remote printers and create/remove local raw queues pointing to these printers. This requires the cups-browsed and avahi packages to be installed and the messagebus and avahi-daemon(8) to be running first. To start it at boot time, the rc.conf.local(8) pkg_scripts line can be edited as follow: pkg_scripts=[...] messagebus avahi_daemon cups_browsed [...] Using direct printing with foomatic-rip(1) ========================================== The Foomatic framework supports direct printing which does not rely on CUPS (nor any spooler). Complete documentation can be found at: https://wiki.linuxfoundation.org/openprinting/database/nospoolerdocumentation Foomatic configuration ---------------------- A specific PPD file has to be created for the printer. Refer to the documentation that comes with the foomatic-db-engine package to learn how to generate PPD files (cf. ${LOCALBASE}/share/doc/pkg-readmes/foomatic-db-engine). # mkdir -p ${SYSCONFDIR}/foomatic/direct # foomatic-ppdfile -p 'Samsung-ML-2850D' -d 'Postscript' \ >${SYSCONFDIR}/foomatic/direct/samsung-ml2850d.ppd Alternatively, you can look under ${LOCALBASE}/share/foomatic/db/source/PPD for existing PPD files matching your printer (in which case the PPD file can be copied and/or gunzip'd under ${SYSCONFDIR}/foomatic/direct). PPD file configuration ---------------------- For a TCP/Socket/JetDirect printer listening on port 192.168.0.10:9100 and supporting raw printing (does *not* work with LPD), add the following line near the top of ${SYSCONFDIR}/foomatic/direct/samsung-ml2850d.ppd: *FoomaticRIPPostPipe: "| /usr/bin/nc -w 1 192.168.0.10 9100" More examples are available in the official documentation (see link above). You should now be able to send jobs to this printer by running: $ ${PREFIX}/bin/foomatic-rip -q -P samsung-ml2850d /path/to/file.ps Input filter script ------------------- Files must be converted before being sent to foomatic-rip(1). Depending on your printer capabilities, it can accept PS and/or PDF input. Several packages can be used for convertion, a2ps being the most complete. Note that a2ps(1) requires external helper tools for converting files. They can be configured under ${SYSCONFDIR}/a2ps{,-site}.cfg. By default, converting images requires the ImageMagick package. Here's a sample converter script: ---8<------------------------------------------------------------------- #!/bin/sh ${LOCALBASE}/bin/a2ps -BRq --columns=1 -o - | \ ${PREFIX}/bin/foomatic-rip -q -P samsung-ml2850d ---8<------------------------------------------------------------------- Tips: you can symlink this script to "lpr" to ease out-of-the-box printing for applications supporting lpr(1) printing. If your printer uses PDF printing, you can pipe a2ps to ps2pdf (from the ghostscript package). Additional options can be passed to foomatic-rip(1). e.g. - to print in duplex mode: -o duplex - to set the page size to letter: -o pagesize=letter Default options can be set by editing the PPD file.
Maintainer
Antoine Jacoutot
Only for arches
aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64
Categories
Library dependencies
Build dependencies
Run dependencies
Files
- /usr/local/bin/driverless
- /usr/local/bin/driverless-fax
- /usr/local/bin/foomatic-rip
- /usr/local/libexec/cups/backend/beh
- /usr/local/libexec/cups/backend/driverless
- /usr/local/libexec/cups/backend/driverless-fax
- /usr/local/libexec/cups/backend/parallel
- /usr/local/libexec/cups/backend/serial
- /usr/local/libexec/cups/driver/driverless
- /usr/local/libexec/cups/driver/driverless-fax
- /usr/local/libexec/cups/filter/bannertopdf
- /usr/local/libexec/cups/filter/commandtoescpx
- /usr/local/libexec/cups/filter/commandtopclx
- /usr/local/libexec/cups/filter/foomatic-rip
- /usr/local/libexec/cups/filter/gstopdf
- /usr/local/libexec/cups/filter/gstopxl
- /usr/local/libexec/cups/filter/gstoraster
- /usr/local/libexec/cups/filter/imagetopdf
- /usr/local/libexec/cups/filter/imagetops
- /usr/local/libexec/cups/filter/imagetoraster
- /usr/local/libexec/cups/filter/pclmtoraster
- /usr/local/libexec/cups/filter/pdftopdf
- /usr/local/libexec/cups/filter/pdftops
- /usr/local/libexec/cups/filter/pdftoraster
- /usr/local/libexec/cups/filter/pstopxl
- /usr/local/libexec/cups/filter/pstoraster
- /usr/local/libexec/cups/filter/pwgtopclm
- /usr/local/libexec/cups/filter/pwgtopdf
- /usr/local/libexec/cups/filter/pwgtoraster
- /usr/local/libexec/cups/filter/rastertoescpx
- /usr/local/libexec/cups/filter/rastertopclx
- /usr/local/libexec/cups/filter/rastertops
- /usr/local/libexec/cups/filter/texttopdf
- /usr/local/libexec/cups/filter/texttops
- /usr/local/libexec/cups/filter/texttotext
- /usr/local/libexec/cups/filter/universal
- /usr/local/man/man1/driverless.1
- /usr/local/man/man1/foomatic-rip.1
- /usr/local/share/cups/drv/cupsfilters.drv
- /usr/local/share/cups/mime/cupsfilters-universal-postscript.convs
- /usr/local/share/cups/mime/cupsfilters-universal.convs
- /usr/local/share/cups/mime/cupsfilters.convs
- /usr/local/share/cups/mime/cupsfilters.types
- /usr/local/share/doc/cups-filters/
- /usr/local/share/doc/cups-filters/ABOUT-NLS
- /usr/local/share/doc/cups-filters/AUTHORS
- /usr/local/share/doc/cups-filters/CHANGES-1.x.md
- /usr/local/share/doc/cups-filters/CHANGES.md
- /usr/local/share/doc/cups-filters/CONTRIBUTING.md
- /usr/local/share/doc/cups-filters/COPYING
- /usr/local/share/doc/cups-filters/DEVELOPING.md
- /usr/local/share/doc/cups-filters/INSTALL
- /usr/local/share/doc/cups-filters/LICENSE
- /usr/local/share/doc/cups-filters/NOTICE
- /usr/local/share/doc/cups-filters/README.md
- /usr/local/share/doc/pkg-readmes/cups-filters
- /usr/local/share/ppd/
- /usr/local/share/ppd/cupsfilters/
- /usr/local/share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
- /usr/local/share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
- /usr/local/share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
- /usr/local/share/ppd/cupsfilters/Ricoh-PDF_Printer-PDF.ppd
- /usr/local/share/ppd/cupsfilters/pxlcolor.ppd
- /usr/local/share/ppd/cupsfilters/pxlmono.ppd
- /usr/local/share/ppdc/escp.h
- /usr/local/share/ppdc/pcl.h
- @conflict cups-<1.6.0
- @conflict foomatic-filters-*
- @conflict ghostscript-<9.06p3