April 24, 2019

Overhauling CUPS: Pushing Windows Printer Drivers - page 6

The Easy Way: Buy The Right Printer

  • July 27, 2006
  • By Carla Schroder

Now create a Samba user. This must correspond to a Linux system user. The easy way is to use root:

# smbpasswd -a root
New SMB password:

Retype new SMB password:

Now export the CUPS drivers to Samba with cupsaddsmb. If you have more than one Samba server on your network, disconnect from the network first or cupsaddsmb will go nuts trying to install all the printers, which won't work:

# ifdown eth0

To export the drivers, use the command:

# cupsaddsmb -H localhost -U root -a -v

Figure 1. (Click for a larger image)

You can get an idea of just how much output the command produces, and what you should expect to see, by looking at Figure 1.

Most Popular LinuxPlanet Stories