TimeLinux1

Sunday, September 19, 2010

Linux HowTo: Cups - Common Unix Printer System Primer

<<Basic Cups Notes - specially relevant on Ubuntu>>
=====

-cups uses internet print protocol (ipp). config files in /etc/cupsd dir.
-cups is comrehensive - includes server, clients, drivers, image libs, tools etc.
-cups is successor of lpd and lprng ('lpr next gen' from berkeley).
-cups has print-classses - a set of printers that can be shared.
-cups install:   
    # apt-get install cups
-cups binaries -    /usr/sbin/cupsd
-cups config files live in /etc/cupsd dir.
    . /etc/cupsd/cupsd.conf        -main config file.
-cups config is better done via gui as there are several config files.
-cups config files like /etc/cups/classes.conf or printers.conf are seen after print class config.
-cups port is 631.
-cups ipp is basically tcp/ip running on port 631.
-cups gui interface - system-config-printer        (redhat based starting gutsy gibb)
-cups uri  -    uniform resource identifier, works like url but for ipp.
-cups uri eg:    ipp://locaabout:homelhost/printername
-cups on samba - config via /etc/samba/smb.conf; look for 'printcap' therein.
-cups on samba allows msft network printers to work on linux.
-cups cmd line cmds:
    # lpc status        - status
    # lpq            - to see queue
    # lpr             - to print
    # lprm            - to remove

No comments:

Post a Comment