User Tools

Site Tools


Sidebar

  • Kerberos {en}
  • Printing
    • Linux {en}
    • Mac OS X {en}
    • Windows {en}
  • Home Directory
    • Linux {en}
  • Scanning {en}
  • Software
    • Mathematica {en}
  • Subversion {en}
  • Virtualization {en}
  • Mail Clients
    • Thunderbird {en}
  • Wifi
    • NetworkManager {en}
    • wpa_supplicant {en}
bfh:wiki-legacy:en:printing:linux:plain_cups

Advanced UNIX printing guide

Depending on your choice of OS and distribution, you might end up with a slightly more complicated CUPS setup. I setup CUPS on Gentoo, but the steps should be similar on other distributions like Arch or Slackware. For all commands in here, you'll either have to be logged in as Root or add sudo in front of the command.

Installation of the required tools

Kernel configuration

You will need SMB support for printing. So you kernel needs to have SMB enabled.

File systems -->
  Network File Systems -->
    <*> CIFS support (advanced network filesystem, SMBFS successor) 
    [*]    SMB2 network file system support

You can also chose to compile CIFS support as a module, but you'll have to make sure that modules is loaded before the CUPS Daemon starts.

SAMBA and CUPS

Next, you'll need to have SAMBA installed. You'll at least need cups support compiled into your samba installation. I guess that you also need winbind AND/OR ldap support, but I'm not completely sure about that.

~ # echo "net-fs/samba cups winbind ldap" > /etc/portage/package.use

Cups doesn't need any specific useflags set. Now install both cups and samba:

~ # emerge -av cups samba

Starting CUPS

If you chose to compile CIFS as a kernel module, load it now

~ # modprobe cifs

After that is done, start the cups daemon:

~ # /etc/init.d/cupsd start

Configuration via the CUPS Web frontend

You can now configure your printer either with your Destkop Environments printer configuration dialogue, or with the CUPS webGUI. I'll describe the setup via the cups webgui, because this should work the same on all systems.

In your browser, go to http://127.0.0.1:631

bfh/wiki-legacy/en/printing/linux/plain_cups.txt · Last modified: 2015/11/13 15:20 (external edit)