Overhauling CUPS: Pushing Windows Printer Drivers - page 3
The Easy Way: Buy The Right Printer
If you don't have a Samba server already running on your network, here is a complete example configuration. All of your Windows hosts must belong to the workgroup named in
smb.conf. Linux and Mac OS X don't care about workgroups, so don't worry about them.
First create these two directories:
# mkdir -m 777 /sharedstuff # mkdir -m 777 /var/spool/samba
Then create this
smb.conf, using your own LAN address and workgroup name:
[global] workgroup = samba2 netbios name = xena server string = lan file and printer server hosts allow = 192.168.1. security = user load printers = yes printing = cups printcap name = cups [share1] path = /sharedstuff comment = files for everyone read only = no browseable = yes guest ok = yes [printers] comment = All Printers path = /var/spool/samba browseable = yes printable = yes writable = no guest ok = yes [print$] comment = Printer Drivers path = /usr/share/cups/drivers browseable = yes guest ok = no read only = yes write list = root
testparm command to check your syntax. If you get a "WARNING: passdb expand explicit = yes is deprecated" error, ignore it, it's a leftover meaningless bit of cruft. Restart Samba:
# /etc/init.d/samba restart
Now you should have a "share1" folder in Network Neighborhood and your other Samba browsers. Use this to copy the driver files between your machines, which we'll get to in a moment.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Gives Up on Upstart, Ubuntu and Linux Kernel Updates