The following is an example

The following is an example of the SMB URI you could add to the SMB://box:

The URI shown here identifies the username (jjones), the user's password (my9passswd), the workgroup (FSTREET), the server (NS1), and the printer queue name (hp).

Complete the rest of the procedure as you would for a local printer (see the section "Adding a Local Printer in Fedora" earlier in this chapter). If everything is set up properly, you can use the standard lpr command to print the file to the printer. Using this example, employ the following form for printing:
$ cat | lpr -P NS1-PS


If you are receiving failure messages, make sure that the computer to which you are print- ing is accessible. For the preceding NS1-PS printer example, you can type smbclient -L NS1 -U jjones. Then type the password (my9passswd, in this case). If you get a positive name query response after you enter a password, you should see a list of shared printers and files from that server. Check the names, and try printing again.

Working with CUPS Printing

Tools such as CUPS Web-based Administration and the Fedora Printer Configuration window effectively hide the underlying CUPS facility. There may be times, however, when you want to work directly with the tools and configuration files that come with CUPS. The following sections describe how to use some special CUPS features.

The continuation/full version of this article read on site - - Linux Bible