Sams Teach Yourself Samba in 24 Hours

ContentsIndex

Hour 4: Installing and Testing the Configuration

Previous HourNext Hour

Sections in this Chapter:

 

Setting Up the Printer

After setting up the disk shares, it's time to turn my attention to the printer. Continuing with the example, I have already set up the printer correctly on the Linux server. When I can successfully print from the Linux box to the network printer using the lpr command, the next step is to define a printer share:

[global]
     printing = bsd
[printer1]
     comment = printer located outside office
     printable = yes
     writeable = no

This definition causes Samba to search the /etc/printcap file for a printer named printer1 and use the standard print command. Note that I also need to add the additional printing = bsd entry to the [global] section of the smb.conf file. There are other styles of UNIX printing systems. Samba works with these as well as you will see in Hour 8, "Printers."

Sams Teach Yourself Samba in 24 Hours

ContentsIndex

Hour 4: Installing and Testing the Configuration

Previous HourNext Hour

Sections in this Chapter: