Unix

Overview

Your Wireless USB Print Server supports the LPD Unix printing method, which is supported by all common Unix systems.

You must configure both the Wireless USB Print Server and your Unix system, as described in the following sections.

Wireless USB Print Server IP Address Configuration

Because it supports dynamic IP Address allocation using DHCP or BOOTP, the Wireless USB Print Server ships with an IP Address of 0.0.0.0. This is NOT a valid IP Address. Therefore, you must do ONE of the following:

You should then assign this IP address to the Wireless USB Print Server using your Web Browser. Launch the Web User Interface and go to the TCP/IP section. Select Fixed IP Address and then enter the appropriate information.

Note: The hardware address of the Wireless USB Print Server is shown on a sticker on the base of the device.

 

Other Wireless USB Print Server Configuration

The recommended method to configure the Wireless USB Print Server is to use the Web User Interface.

 

LPD Configuration

Configuration for LPD on IBM AIX 4.15, LPD on System V, LPD on Linux, and LPD on BSD are described below.

LPD on IBM AIX 4.15

Before proceeding, ensure that the Wireless USB Print Server has been assigned an IP Address. To setup your AIX system for LPD printing, perform the following steps.

  1. Add the Wireless USB Print Server to /etc/hosts.lpd, using the name you assigned to the Wireless USB Print Server.
  2. Start the LPD daemon if it is not running, using the following command: start src -s qdaemon
  3. Start the system administration tool smit and select Print Spooling.
  4. Create the required number of queues (one for each logical printer) by selecting:

    Add a Print Queue

    Remote (Printer attached to Remote Host)

    Standard Processing
  5. Use the following information:

    Name of queue to add: Use a single-word queue name, which indicates which printer is attached.

    Hostname for remote server: Wireless USB Print Server name as used in /etc/hosts.lpd.

    Name of queue on remote server: Logical printer number (e.g. L1) to service this queue.

    Type of print spooler on remote server: Use default value. (AIX Version xxx)
  6. Ensure that the logical printers are configured in the Wireless USB Print Server.
  7. Print using the following command: lp -d printer_queue file_name

    Where:
    printer_queue is one of the entries used in Name of queue to add.
    file_name is the file you wish to print.

 

LPD on System V

Before beginning LPD Setup, ensure that an IP Address has been assigned to the Wireless USB Print Server. Keep the following points in mind:

 

Commands

In the sample commands shown, printer_name is the name of the Print Queue serviced by the Wireless USB Print Server, and Spooler_directory is the name of the directory, which is used to spool the print jobs.

 

Adding Remote Printers

A remote printer is added by inserting the following line in the /etc/printcap file.

Note: The entry is really one line, but can be entered as shown. Use a TAB character where shown.

Printer_name|Remote_Printer_Alias:\
[Tab] :lp=:\
[Tab] :rm=PS_NAME:\
[Tab] :rp=Logical_Printer_name:\
[Tab] :sd=Spooler_directory:\
[Tab] :mx#0:

Example:

Marketing|RP1_PS123456:\
[Tab] :lp=:\
[Tab] :rm=PS_Rm203:\
[Tab] :rp=L1:\
[Tab] :sd=/usr/spool/Marketing:\
[Tab] :mx#0:

Repeat this process for each Logical Printer/Print Queue combination that you wish to create.

 

LPD on Linux

If using the command line, the procedure is the same as for System V. (above)

On recent Linux distributions, you can use the graphical X-windows interface instead of the command line. The procedure is described below, but may vary according to your version of Linux.

  1. Start your X-windows shell.
  2. Select Control Panel and then Printer Configuration.
  3. Select Add. For the printer type, select Remote Unix (lpd) Queue.
  4. Use the following data to complete the resulting dialog:

    Name: Enter a name for this printer

    Spool Directory: /var/spool/lpd/name_of_printer

    File Limit: 0 (no limit)

    Remote Host: Name or IP Address of Wireless USB Print Server, e.g. SC3000014

    Note: host file entry is required to use the name instead of IP Address

    Remote Queue: Ln
    Where n is the Logical Printer number. By default, L1 is port 1, and L2 is port 2 if the Print Server has 2 ports.

  5. Save this data and exit the Printer Configuration. Configuration is now completed and the printer is now available for use.

LPD on BSD

Before continuing, ensure that an IP Address has been assigned to the Wireless USB Print Server. Remember the following:

 

Commands

In the sample commands shown, printer_name is the Print Queue serviced by the logical printer on the Wireless USB Print Server, and Spooler_dir is the name of the directory, which is used to spool the print jobs.

Adding Remote Printers

A remote printer is added by inserting the following line in the /etc/printcap file.

Note: The entry is really one line, but can be entered as shown. Use a TAB character where shown.

Printer_name|Remote_Printer_Alias:\
[Tab] :lp=:\
[Tab] :rm=PS_NAME:\
[Tab] :rp=Logical_Printer_name:\
[Tab] :sd=Spooler_directory:\
[Tab] :mx#0:

Where:

Printer_name is the Print Queue name used to store jobs for the corresponding logical printer.
PS_NAME is the Wireless USB Print Server name defined in /etc/hosts.
Logical_Printer_name is the logical printer name on the Wireless USB Print Server. (e.g. L1)
Spooler_directory is the directory you created.

Example:

Marketing|RP1_PS123456:\
[Tab] :lp=:\
[Tab] :rm=PS_Rm203:\
[Tab] :rp=L1:\
[Tab] :sd=/usr/spool/Marketing:\
[Tab] :mx#0:

Repeat this process for each Logical Printer/Print Queue combination that you wish to create.

Printing using LPD

For LPD printing instructions, refer to your UNIX manual.

The following example is for a BSD system: lpr  -P printer_name filename

Where:
printer_name is the name of the Print Queue defined on the Unix host.
filename is the name of the file you wish to print.

Example: lpr  -P Marketing  /etc/hosts

In the above example, the /etc/hosts file is sent to the printer queue Marketing. It will then be sent to the logical printer associated with this queue.