CUPS Common Unix Printing System

Tools

  • accept/reject - accept/reject jobs sent to a destination
  • cancel - cancel jobs
  • cupsenable/cupsdisable - stop/start printers and classes
  • lpadmin - configure cups printers and classes
  • lpinfo - show available devices or drivers
  • lpoptions - display or set printer options and defaults

Emulate a printserver box

This setup will emulate a common printserver box: accept raw data at port 9100 and stream the data to a print queue of your choice.

This is useful if your Windows printer driver does not allow networkprinting with ipp or http.

  1. setup your printer as usual (local or network) as a raw printer
  2. edit /etc/services
  3. add a config file to /etc/xinet.d/
  4. configure your Windows printer driver to print to an IP-adress: raw, at port 9100

/etc/services

[...]

# Local services
cups_prn-ep4400            9100/tcp                        # socket printing

/etc/xinet.d/prn-epson4400

service cups_prn-ep4400
{
        socket_type     = stream
        port            = 9100
        protocol        = tcp
        wait            = no
        user            = lp
        server          = /usr/bin/lp
        server_args     = -d prn-ep4400
}
networking/cups.txt · Last modified: 2008-10 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready