Printing Using LPR

HostExplorer

Printing Using LPR

You can connect a remote printer directly to your PC as if it were a local printer. To provide remote host access to your PC printer, enable the LPD service in InetD. This connection appears automatically in all your Windows applications each time you run your PC.

Setting up a Printer for LPR

Before you attempt to print, you must define your printer. How you define your printer depends on the location from which you are printing (PC or host) and the location of the destination printer (PC or host). If you do not define your printer properly, LPR cannot direct your file to the desired printer.

Defining a Printer

The Windows products provide remote printing capabilities through the LPR application. LPR is an application that lets you print PC files to any UNIX or LPD host on a TCP/IP network running an LPD server program. The LPR window displays a separate window for each UNIX or other LPD host printer queue to which you are connected.

To define a printer:

  1. On the Windows Start menu, navigate to the Hummingbird/Accessories program group and click LPR. The LPR window opens.
  2. On the Printer menu, click Add Remote Printer. The Add Remote Printer dialog box opens.
  3. In the boxes provided, enter the following information:
    • Host—The name or IP address of the host to which the printer is connected.
    • Queue Name—The name of the queue listed in the host /etc/printcap file. This field is required.
    • User ID—The user name that you use to log in. The logged in user name displays automatically.
  4. If desired, select one of the following Advanced features:
    • Read Host’s Queue—Automatically displays available queue status information (for example, printer problems, job list, queue problems) from the host in the printer window. You can also use the Refresh command on the Printer menu or the F5 key to update the host queue.
    • Graceful Close—All data that is already queued for transmission is sent before information associated with the socket is released.
  5. When finished, click OK.