Installing and Configuring iPrint

 <  Day Day Up  >  

Test Objective Covered:

3. Install and configure iPrint.

As with the NNLS components discussed in the previous chapter, the CLE objectives require you to know how to install and configure iPrint. Just as with these other products, we're not going to spend a great deal of time discussing how to install the iPrint service because NNLS installation procedures and dependencies were presented in depth in Chapter 5, "NNLS Installation and Administration." Instead, we will focus on installing the iPrint Client and configuring the iPrint service in this chapter.

Installing the iPrint Service

If you performed an Express NNLS installation, iPrint was installed on your system. If you performed a Custom install, you had the opportunity to select the iPrint component for installation.

If you didn't select iPrint during the initial installation of NNLS, you can perform a post-installation by completing the following steps:

  1. Mount your NNLS ISO image.

  2. Run the install.sh script.

  3. When prompted, specify a Custom installation.

  4. When prompted to select the products to be installed, deselect all products.

  5. Select iPrint .

  6. Finish the installation according to the instructions presented in Chapter 5.

During the installation process, the iPrint system files are copied to the following directories in your server's file system:

  • /var/opt/novell/iprint ” This directory holds print jobs as they are spooled to the iPrint Manager.

  • /var/opt/novell/log ” This directory contains the iPrint system log file ( ipsmd.log ).

    Warning

    Be aware that the Novell Apache web server installed with NNLS has the Access Logging directive in the configuration file enabled. If your iPrint system is heavily used, it is theoretically possible for the logs created by the web server to fill up your disk, thus bringing your system to a stop. You should periodically delete the old log files or disable Access Logging in the conf file.


  • /var/opt/novell/httpd/htdocs/ippdocs ” This directory contains your system's printer maps.

  • /etc/opt/novell/iprint/ ” This directory contains the configuration file for the iPrint daemon ( ipsmd.conf ).

Installing the iPrint Client

As mentioned earlier, Novell only provides an iPrint Client for Windows workstations at the present time. There are rumblings that an iPrint Client for Linux will become available in future releases. We'll have to wait and see if that actually happens.

For now, let's talk about how the iPrint Client is installed on Windows workstations. As with the iFolder Client we discussed earlier in this book, Novell makes the client software for iPrint available on the iPrint website that is installed by default on your server when you install NNLS.

This makes your job as an administrator very easy. Instead of having to run around to all the PCs in your company with a stack of CDs, the end user can simply access this website and download the required client software.

It also makes the required software easily accessible to remote users. Recall the scenario introduced at the beginning of this chapter. Odds are that the employee working from home at 2:00 in the morning will not have a CD with client software handy. Putting the client software on the iPrint website makes it available to any employee who needs it when he or she needs it.

To install the iPrint Client, you need to do the following:

  1. On your Windows workstation, open a web browser and navigate to http:// your_server_IP_address /ipp. If you don't have the iPrint Client installed, the dialog in Figure 9.2 is displayed.

    Figure 9.2. iPrint Client installation.

    graphics/09fig02.jpg


  2. When prompted to install the iPrint Client, click OK .

  3. In the File Download dialog, click Open .

  4. If prompted that the web page is trying to close the browser window, click Yes . The Novell iPrint Client Setup screen appears, as shown in Figure 9.3.

    Figure 9.3. iPrint Client setup.

    graphics/09fig03.jpg


  5. Click Next . The client files are copied as shown in Figure 9.4.

    Figure 9.4. iPrint Client file copy.

    graphics/09fig04.jpg


  6. When the file copy is complete, the Install Complete screen is displayed, as shown in Figure 9.5. Click Finish .

    Figure 9.5. iPrint Client installation complete.

    graphics/09fig05.jpg


  7. Shut down and restart the workstation.

Let's now talk about how to configure your iPrint implementation.

Configuring iPrint

In order to configure your iPrint system, you need to complete a series of tasks . These include the following:

  • Configuring the Driver Store

  • Configuring the iPrint Manager

  • Configuring Printer Agents

  • Creating location-based print maps

Let's look at the first task: configuring your system's Driver Store.

Configuring the iPrint Driver Store

As we discussed earlier, the iPrint Driver Store contains the drivers for the printers serviced by your iPrint Manager. However, the Driver Store is not created during the installation of iPrint. You must create it manually with iManager. To do this, follow these steps:

  1. Open a web browser and navigate to https :// your_server_IP_address /nps/iManager.html.

  2. Authenticate as your admin user.

  3. In the left frame, scroll down to the iPrint role, shown in Figure 9.6.

    Figure 9.6. iPrint role in iManager.

    graphics/09fig06.jpg


  4. Select Create Driver Store . The screen in Figure 9.7 appears.

    Figure 9.7. Creating a Driver Store.

    graphics/09fig07.jpg


  5. In the Driver Store name field, enter a name for your Driver Store object in the eDirectory tree.

  6. In the Container name field, enter the container where you want your Driver Store object to reside.

  7. In the Target Server field, enter the IP address of your iPrint server.

  8. In the eDir Server field, browse to and select the server object for your NNLS server in the eDirectory tree.

  9. Click OK .

  10. When prompted that the Driver Store object has been created, click OK .

After completing this process, you will see a new Driver Store object in your eDirectory tree. In Figure 9.8, a Driver Store object named CLEDriverStore has been created in the IF.CLE container.

Figure 9.8. Driver Store object in the eDirectory tree.

graphics/09fig08.jpg


With the Driver Store object created, the next task you need to complete is to add printer drivers to the Driver Store. By default, NNLS doesn't provide any printer drivers, as shown in Figure 9.9.

Figure 9.9. No drivers in the Driver Store.

graphics/09fig09.jpg


Before you can deploy iPrint, you must upload the appropriate drivers for your printers into the Driver Store object. Using iManager, you can upload drivers in two ways:

  • You can upload drivers from a driver floppy disk, from a CD-ROM, or from files downloaded from the Internet.

  • You can upload drivers directly from the Windows operating system's set of drivers.

To upload drivers, you must access iManager using Internet Explorer. You can't use Mozilla or Netscape Navigator. You must also access iManager from a workstation that already has the iPrint Client installed. Once these conditions are met, you can upload a driver by doing the following:

  1. From a Windows workstation, open Internet Explorer and navigate to https:// your_server_IP_address /nps/iManager.html.

  2. Expand the iPrint role in iManager.

  3. Select Manage Driver Store . The screen in Figure 9.10 is displayed.

    Figure 9.10. Selecting the Driver Store to manage.

    graphics/09fig10.jpg


  4. In the iPrint Driver Store name field, browse to and select your Driver Store object; then click OK . The screen in Figure 9.11 is displayed.

    Figure 9.11. Managing the Driver Store.

    graphics/09fig11.jpg


  5. Select the Drivers tab.

  6. Select the operating system you want to upload a printer driver for. In Figure 9.12, the screen for Windows XP driver upload is displayed.

    Figure 9.12. Uploading Windows XP printer drivers.

    graphics/09fig12.jpg


  7. If you have a printer drivers saved in the file system (such as on a floppy or on a CD), do the following:

    1. Select Add From File .

    2. In the Open dialog, browse to and select the .inf file for the driver you are uploading, as shown in Figure 9.13.

      Figure 9.13. Selecting the .inf file for a printer driver.

      graphics/09fig13.jpg


    3. Click Open . The Add Resource dialog is displayed, as shown in Figure 9.14.

      Figure 9.14. Adding the printer driver.

      graphics/09fig14.jpg


    4. Select the printer driver you want to add.

    5. Select the page description language for the driver.

    6. Click OK .

    7. Wait while the driver files are uploaded.

    8. When the upload is complete, you should see the driver listed in the Current drivers list, as shown in Figure 9.15.

      Figure 9.15. Printer driver saved in the Driver Store.

      graphics/09fig15.jpg


    Warning

    You can only do this if you're running your browser on a Windows workstation. If you want to upload a printer driver for Windows XP, you must run the browser from a Windows XP system. If you want to upload a Windows Me printer driver, you must run the browser from a Windows Me system.

  8. If you want to add printer drivers from the workstation's Windows operating system, do the following:

    1. Select Add From System . The Add Resource screen appears with a list of all the printer drivers found in the Windows driver database, as shown in Figure 9.16.

      Figure 9.16. Adding drivers from the Windows Driver database.

      graphics/09fig16.jpg


    2. In the Add Resource dialog, select the printer driver you want to upload.

    3. Select the Page Description Language for the driver.

    4. Click OK .

    5. Wait while the driver files are uploaded.

    6. When the files have been uploaded, the driver appears in the Current drivers list, as shown in Figure 9.17.

      Figure 9.17. Driver saved in the Driver Store.

      graphics/09fig17.jpg


  9. When you have uploaded all the drivers necessary to support your printers, click OK .

You can also add an individual driver to your Driver Store when you create a Printer Agent. We'll discuss how to do this later in the chapter.

With your Driver Store created and configured with drivers, the next task in configuring your iPrint system is to configure an iPrint Manager for your server.

Configuring an iPrint Manager

As we discussed earlier in this chapter, the iPrint Manager is the heart of the iPrint system. The iPrint Manager runs as a daemon (ipsmd) on your NNLS server. However, it is created and managed as an object in your eDirectory tree using iManager.

Unlike configuring a Driver Store, creating and managing an iPrint Manager can be done with any supported web browser and doesn't require the iPrint Client to be installed on the system where the web browser is running. To create and configure an iPrint Manager, do the following:

  1. Open a web browser and navigate to https:// your_server_IP_address /nps/iManager.html.

  2. Authenticate as your admin user.

  3. Under the iPrint role, select the Create Print Manager task. The screen in Figure 9.18 appears.

    Figure 9.18. Creating an iPrint Manager.

    graphics/09fig18.jpg


  4. In the Manager name field, enter a name for your iPrint Manager object in the eDirectory tree.

  5. In the Container name field, enter the context in the tree where you want the iPrint Manager object created.

  6. In the Target Server field, enter the IP address of your iPrint server.

  7. In the eDir Server field, browse to and select the server object for your NNLS server in the eDirectory tree.

  8. In the Driver Store field, browse to and select the Driver Store object you created previously.

  9. Ensure that Start print manager after creation is marked and then click OK .

  10. When prompted that the iPrint Manager was created, click OK .

That's all there is to it. At this point, your Driver Store and your iPrint Manager are configured. The next thing you need to do is configure Printer Agents for your network printers.

Configuring Printer Agents

Remember that Printer Agents represent each physical printer in your network. The relationship between Printer Agents and printers is one-to-one. A Printer Agent can only be associated with one physical printer.

Note

Interestingly, you can actually have multiple Printer Agents representing a single physical printer. This is very useful because you can create, through eDirectory rights assignments, one Printer Agent with one set of printer settings (such as paper size , duplexing , and so on) available to one type of user and then another Printer Agent with a different set of printer settings available to a different category of user .


As well, a single iPrint Manager (of which there can only be one per server) can manage multiple Printer Agents.

As with the iPrint Manager, Printer Agents are configured using iManager. You can use any supported web browser to configure Printer Agents, and you don't have to have the iPrint Client installed on the workstation you are using to access iManager. To create a Printer Agent, complete the following steps:

  1. Open a web browser and navigate to https:// your_server_IP_address /nps/iManager.html.

  2. Authenticate as your admin user.

  3. Under the iPrint role, select the Create Printer task. The screen in Figure 9.19 appears.

    Figure 9.19. Creating a Printer Agent.

    graphics/09fig19.jpg


  4. In the Printer name field, enter a name for the Printer Agent object in the eDirectory tree.

  5. In the Container name field, enter the context where you want the Printer Agent object to reside in the eDirectory tree.

  6. In the Manager name field, browse to and select the iPrint Manager object you created previously.

  7. In the DNS name or IP address field, enter the IP address or DNS name of your printer.

    Tip

    Novell recommends that you use DNS names in this field. This way, if you ever move the printer and it ends up with a different IP address, you won't have to edit the Printer Agent object.

  8. In the Location field, enter a description of the physical location of the printer.

  9. In the Description field, enter a description of the physical printer.

  10. Click Next . The screen in Figure 9.20 appears.

    Figure 9.20. Configuring printer drivers for a Printer Agent.

    graphics/09fig20.jpg


  11. In the drop-down list for each version of Windows, select the appropriate printer driver from the Driver Store object.

  12. Click Next .

  13. When prompted that the Printer Agent has been created, click OK .

That's all there is to creating Printer Agents in your tree. Before continuing, you need to understand a couple issues regarding TCP/IP communications between the iPrint Client, the iPrint Manager, and the Printer Agent.

First, data sent between the iPrint Client and the iPrint Manager can be encrypted using IP port 443. You can also use IP port 631 to send data between these two components unencrypted. Unless you have a compelling reason not to, you should always use encrypted communications.

Second, data passing from the Printer Agent and the physical printer is sent using the LPR protocol. LPR doesn't support encryption; therefore, data sent between the Printer Agent on the server and the physical printer hardware is passed in clear text. With this in mind, you should be sure communications between these two components doesn't cross a public network (such as the Internet). The best way to prevent this is to place both components behind the same firewall.

With that said, there's still one more Printer Agent configuration task to be completed. This task is related to the way printers can be added to Windows NT, 2000, and XP workstations. Remember that these operating systems are multiuser systems. Each local user in the system has his or her own profile, Desktop, and My Documents directory (among other things).

Warning

In this context, the term local user refers to Windows user accounts, not eDirectory user accounts. The Administrators and Power Users groups mentioned refer to Windows groups on the local workstation, not to eDirectory groups .


Windows 95, 98, and Me, on the other hand, are not multiuser systems.

Tip

Windows Me can be configured as a quasi multiuser system, but its default configuration is a single-user system.


On Windows 9x and Me systems, every user who uses the system sees the same Desktop and the same My Documents folder, and has access to the same installed printers. If an iPrint printer is downloaded and installed on one of these operating systems, it is available to all local users in the system.

With Windows NT, 2000, and XP, a printer can be installed such that it is available to all local users on the system, much like a Windows 9x or Me system. Only users who are members of the Administrators or Power Users group can create this type of printer.

However, a printer can also be configured on these system such that it is available only to the local user who installed it. This type of printer can be created by any local user.

iPrint can be configured to support either type of printer. This is done by editing the /var/opt/novell/httpd/htdocs/ippdocs/iprint.ini file on your NNLS server, a portion of which is shown in Figure 9.21.

Figure 9.21. Configuring iPrint to support user printers.

graphics/09fig21.jpg


In Figure 9.21, notice the AllowUserPrinters parameter. This is used to define how printers installed in the Windows system by iPrint are implemented. If this parameter is set to (which is the default value), iPrint printers can only be installed by local users who are members of the Administrators or Power Users groups. In this situation, iPrint printers installed are available to all local users in the system.

If this parameter is set to 1 , then local users who are members of the Administrators or Power Users group can install iPrint printers for all users in the system as they can when this is set to . However, if the local user is not a member of either group, he or she can only install the iPrint printer for his or her own user account. In this situation, the printer will only be available to the given user, and other local users won't see the printer.

If this parameter is set to 2 , then all users will only be able to install iPrint printers for their own local user accounts. Even users in the Administrators or Power Users group can only install iPrint printers for themselves .

As implied earlier, these parameters have no impact on Windows 95, 98, and Me workstations.

The best way to configure this file depends on your organization's standards. Some will direct that iPrint printers be created only for the individual Windows users. Others may not be quite so rigid. When you're done configuring this file, you're ready to complete the last iPrint configuration task: creating printer location maps.

Creating Location-Based Printer Maps

iPrint can be configured to display the Printer Agents associated with the iPrint server in two different ways. The first way is called the list view . As shown in Figure 9.22, when you access the iPrint web page, located at http:// your_server_IP_address /ipp, with Internet Explorer, a simple list of configured printers is displayed. This is the default view for your iPrint server.

Figure 9.22. iPrint list view.

graphics/09fig22.jpg


This display is nice, but it seems rather dull to me. You've probably noticed that throughout this chapter I've referred to the fact that you can configure iPrint to display an office map with printer icons that users can use to access printers.

This is the second way Printer Agents for your iPrint system can be displayed. In my opinion, this is the best way to do it. It provides users with an easy way to pick the printer they want to print to. iPrint comes with the iPrint Map Designer, which is a simple web-based tool that you can use to create a customized map for your organization.

To do this, you will need a Windows workstation that has Internet Explorer 5.5 and the iPrint Client installed. You'll also need a graphic (in BMP, GIF, or JPEG format) of your office's floor plan. If you just want to experiment, NNLS includes a couple sample maps in the /var/opt/novell/httpd/htdocs/ippdocs/images/maps directory. We'll use these sample maps later in a lab exercise for this chapter.

Once you have your workstation and your map image files ready, you can configure your location-based printing maps by doing the following:

  1. On your Windows workstation, map a drive to a Samba share on your NNLS server.

  2. Copy your map image files to the /var/opt/novell/httpd/htdocs/ippdocs/images/maps directory on your iPrint server.

  3. On your Windows workstation, open Internet Explorer and navigate to http:// your_server_IP_address /ippdocs/maptool.htm. When you do, the screen in Figure 9.23 appears.

    Figure 9.23. iPrint Map Designer.

    graphics/09fig23.jpg


  4. In the left frame, scroll down to the Background drop-down list. This drop-down list is dynamically populated with the map image files you copied to the maps directory in step 2.

  5. In the Background drop-down list, select a background image file. The map is set as the page background, as shown in Figure 9.24.

    Figure 9.24. Adding a map image file to the Map Designer.

    graphics/09fig24.jpg


  6. Scroll back up to the Printer icon drop-down list.

  7. In the Printer icon drop-down list, select the printer icon that best matches your physical printer.

  8. Drag the printer icon to the location on the background map where the physical printer is situated. The icon is placed on the map and is framed in a blue square, as shown in Figure 9.25.

    Figure 9.25. Adding a printer icon to a map.

    graphics/09fig25.jpg


  9. Click the printer icon you just placed on the map.

  10. In the Printer List drop-down list, select the Printer Agent you want to associate with the icon.

  11. Scroll down to the Printer Agent section. Notice the Printer URL is automatically populated for you.

  12. In the Mouse Over Text field, enter text you want to appear when the user hovers the mouse cursor over the printer icon on the Windows workstation.

  13. In the Printer Caption field, enter a caption for the printer.

  14. Above the map, select Driver Settings . The dialog in Figure 9.26 appears.

    Figure 9.26. Configuring printer defaults.

    graphics/09fig26.jpg


  15. Configure the default settings for your printer; then click OK .

  16. In the top frame, click Save .

  17. Using a filename of your choice, save the file to the drive mapped to the Samba share on your NNLS server.

  18. Close your browser window.

  19. On your server, copy the file from your Windows workstation to the /var/opt/novell/httpd/htdocs/ippdocs directory on your NNLS server.

    With that, the iPrint system is ready to go! Let's now discuss how to install iPrint printers on Windows workstations.

 <  Day Day Up  >  


Novell Certified Linux Engineer (CLE) Study Guide
Novell Certified Linux Engineer (Novell CLE) Study Guide (Novell Press)
ISBN: 0789732033
EAN: 2147483647
Year: 2004
Pages: 128
Authors: Robb H. Tracy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net