Solstice NFS Client 3.2 User's Guide for Microsoft Windows 95 and Windows NT

Providing LPD Print Services on Windows 95

The Solstice NFS Client includes a UNIX-like LPD Print Server that runs on Windows 95. Using this software, you can share a printer connected to your PC with other users on the network. When your PC is running the LPD print daemon, a coworker can send a job to your local printer from a UNIX system or from a computer running Microsoft Windows.

When active, the LPD Print Server runs minimized, and its icon appears in the taskbar status area. Start LPD Print Server by double-clicking its icon, or enable the LPD server to start up automatically each time Windows starts.

LPD Print Server relies on the Windows Print Manager to spool print requests and display information. The print server processes print requests on a first-come first-served basis. When the print request has been processed, LPD Print Server directs the processed requests to the LPD spool directory.

Windows Print Manager starts automatically when you start LPD Print Server. When you exit Print Manager, LPD Print Server stops running.

In most situations, you would set up LPD Print Server to start automatically when Windows starts. You can also start LPD Print Server manually.


Note -

The LPD Print Server only supports the LPR print protocol.


Setting Up an LPD Shared Network Printer

The LPD Server lets you share a PC printer with any PC or UNIX user with network access to that PC. To set up an LPD Shared Network Printer:

You can access LPD settings for the LPD Print Server control menu. Click the LPD icon to open this menu.

To Set Up the LPD Server


Note -

The Solstice File and Printer Sharing service should be added automatically as part of your installation. However, if it does not appear in the Network Properties page of the Control Panel, you must add it manually. See "To Enable File and Printer Sharing on Windows 95".


  1. From the taskbar, click the Start button, point to Settings, click Control Panel, and then double-click Network.

    The Network Properties dialog box opens.

  2. Select Solstice File And Printer Sharing and click Properties.

  3. Click the Printer Sharing tab.

  4. Select Enable Solstice LPD Server.

    This starts the LPD Print Server daemon on the PC. The option is enabled by default.

  5. If you want to log the print activities in a log file:

    1. Select Log LPD Server Activity.

    2. (Optional) Select a different font and point size for the LPD Print Server messages that are written in the log file.

      The fonts listed are those installed on the PC.

  6. Select the PC printer from the list in the Add Printer dialog box and click OK. Remain in the Properties dialog box.

  7. In Queue Name, enter a printer queue name. For example: dopey_laser.

    The printer's queue name must follow the naming rules and conventions of UNIX printer queues. The first character cannot be a number, and the length of the queue name cannot exceed fourteen characters.

  8. Accept Detect Automatically (default) as the file type checking option.

  9. Decide how the printer driver should interpret carriage returns and line feeds when formatting binary files to be printed.

    Choosing Assume Binary as the file type affects how the printer driver interprets carriage returns and line feeds. See "Interpreting Carriage Returns and Line Feeds" for more information about your choices.

  10. (Optional) Replace the default spool directory c:\tmp with a directory of your choice. For example: pc_spool.

    The directory will be created if it does not exist.

  11. Click OK.

    The LPD Print Server daemon starts and the LPD Print Server icon appears in the taskbar status area.

To Enable Print Requests From Network Users

Before users can print documents on the shared PC printer, you must enable LPD Print Server to accept incoming print requests.

If you see the LPD Print Server icon in the taskbar status area, and when you move your mouse pointer over it, the message LPD: Accept Files appears, the setup is complete.

If you see the LPD Print Server icon with the red stop sign in the taskbar status area, then continue as follows:

    Click the right mouse button on the LPD icon in the status area.

The LPD Print Server menu opens. The appearance of the LPD Print Server icon in the status area changes.

Starting LPD Print Server

When the Enable Solstice LPD Server option is checked (the default), the LPD Print Server daemon starts automatically. You can also start it manually. The daemon runs in the background until you disable it.

To Start LPD Print Server Automatically

  1. Click the Start button, point to Settings, click Control Panel, and then double-click Network.

    The Network Properties dialog box opens.

  2. Select Solstice File And Printer Sharing and click Properties.

  3. Select Enable Solstice LPD Server and click OK.

    The LPD Print Server icon appears in the taskbar status area.

    If you do not see the LPD Print Server icon with the red stop sign in the taskbar status area, continue, with the steps in "To Enable Print Requests From Network Users".

To Start LPD Print Server Manually

  1. Click the Start button, point to Programs, and then point to Solstice Utilities.

  2. Click the LPD Print Server icon.

    LPD Print Server starts minimized and its icon appears in the status area of the taskbar.

    Print Manager starts running if it was not already running.

Stopping LPD Print Server

If you want to stop sharing a PC printer, you need to disable LPD Print Server daemon. Use the following procedure on the PC with the shared printer.

To Stop (or Disable) LPD Print Server

  1. Click the Start button, point to Settings, click Control Panel, and then double-click Network.

    The Network Properties dialog box opens.

  2. Select Solstice File And Printer Sharing and click Properties.

  3. Click the File and Printer Sharing tab.

    Remove the checkmark from the Enable Solstice LPD Server option. Disabling this option stops the LPD Print Server daemon.

  4. Click OK.

    Both LPD Print Server and Print Manager stop running. Print requests that were already processed and placed in the LPD Print Server spool directory print when you restart LPD Print Server.

Adding a Shared Printer to a Users' Work Environment

Users who want to access the shared LPD printer need to add the printer to their work environment. These users must have network access to the PC with the shared printer.

To Add a Shared Printer to a PC Environment


Note -

You do not need to perform the following procedure on the PC with the shared printer.


  1. Click the Start button, point to Settings, and then click Printers.

  2. Double-click Add Printer to start the Microsoft Add Printer Wizard.

  3. When prompted, select To add a Network Printer.

  4. Add the path name for the printer using the following syntax:

    lpr://hostname/queuename or lpr:\\~hostalias\queuename

    For example, to add a shared PC printer with a queue name dopey_laser connected to a PC with a hostname dopey, enter this path name: lpr://dopey/dopey_laser.

  5. If you want to print from MS-DOS based applications, click Yes.

  6. (Optional) Set the shared PC printer as the default printer.

To Add a Shared Printer to a UNIX Environment

Individual UNIX users with superuser privileges can add a shared PC printer by following these steps:

  1. From a command window, enter the command su to become superuser.

  2. At the superuser system prompt, enter admintool&.

    The Administration Manager starts.

  3. Click Host Manager, and then click the appropriate name service to verify that the PC is listed in the hosts list.

  4. Close the Host Manager dialog when finished.

  5. Click Printer Manager to open the Printer Manager dialog.

  6. Click Edit, click Add Printer, and then click Add Access to Remote Printer.

  7. Complete the Add Access To Remote Printer dialog as follows:

    1. In Printer Name, enter the queue name of the shared PC printer, for example, dopey1_laser.

    2. In Printer Server, enter the name of the PC to which the printer is connected, for example, dopey1.

    3. In Comment, add some text that identifies the printer to the users, for example, Laser in Jackie's office.

    4. As Printer OS Server, click BSD.

    5. (Optional) Set the printer as the system default printer.

    6. Click Add and close the Access to Remote Printer dialog.

  8. Quit the Administration tool and press Ctrl-D to exit superuser.