648 Part V . Running Servers The DeviceURI line is packed with the key information. It identifies the location (an smb object), username (jjones), user s password (my9passswd), workgroup (FSTREET), server (NS1), and printer queue name (hp). The contents of the cupsd.conf file define who you will allow to use this printer. Order Deny,Allow Deny From All Allow From 127.0.0.1 AuthType None Based on this example information, only users from the local host (127.0.0.1) are allowed to use the printer, and no authentication is necessary for them to use it. 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 file1.ps | lpr -P NS1-PS If you are receiving failure messages, make sure that the computer to which you are printing is accessible. For the Printer NSI-PS example, you could 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. Adding a NetWare Printer To set up your Linux system to use a printer that is connected to (or otherwise managed by) a NetWare file and print server, you must gather the information about the server, queue, user, and password. Select to add a Novell printer (Novell created NetWare) from the Printer Configuration window (described previously), and then fill in the following information: . Server Host name of the computer to which the printer is attached (or otherwise accessible). This is the NetWare Server name for the computer. . Queue Name of the print queue on the NetWare server. . User Username required by the NetWare server system to enable access to the NetWare printer. . Password Password associated with the username. Complete the rest of the procedure as you would for a local printer (see the Adding a Local Printer in Red Hat section earlier in this chapter). Tip
We recommend high quality webhost to host and run your jsp application: christian web host services.
This entry was posted
on Friday, September 14th, 2007 at 11:10 am and is filed under Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.