I was unable to locate a manual for the model of D-Link in English as I am in China, but the manual for any of the router with a single USB port in Engish was the same as what was depicted & described in the Chinese version I have. It appears to say there is a ‘generic’ Linux version, a BSD variant, an SCO variant, Solaris variant, Red Hat variant, and Apple.
While Red Hat is set to Networked UNIX (LPD) with a set ip address and a queue name of lp and then your to choose the printer brand & model, Apple is set to the same.
I have tried as you suggested the networked LPD, static ip 192.168.18.100 with queue names lp, lpd, ps-142634-p1
Linux
Printing Text Files form Unix
you could define a printer hp5l that prints to port PS-142634-P1, and a printer
hp5lt that prints to port PS-142634-P1_TEXT. Your graphics files could then be
printed to the hp5l printer, and “raw” text files could be printed to the hp5lt
printer.
BSD
For “flavors” of the Unix operating system derived from or related to the BSD
releases, such as SunOS 4.x, Linux, BSD/OS, FreeBSD, or NetBSD, you can use
the following procedure to enable users to print to a printer connected to your
D-LINK network print server:
- Log in as the superuser (root).
- Add an entry for the print server in the host’s /etc/hosts file, giving a hostname
for the print server’s IP address. A line in /etc/hosts contains an IP address
and one or more aliases for the host . For example:
-
-
- 40 ps-142634 ps-142634.dlink.com.tw
If you use DNS (the Domain Naming Services protocol), you can add an address
record entry to your DNS database for the print server.
- Create a spool directory for the printer:
◊ On SunOS systems, create the directory as a subdirectory of /var/spool,
with the same name as the printer (e.g., /var/spool/hp5l ).
◊ On Linux systems, create the directory as a subdirectory of /user/spool
/lp.
◊ On BSD/OS, FreeBSD, or NetBSD systems, create the directory as
subdirectory of /var/spool.
- Change the owner and permissions of the directory so that it is owned and
writable by group daemon, using the following commands:
103
chown bin.daemon /var/spool/hp5l
chmod 775 /var/spool/hp5l
- Add an entry for the printer to /etc/printcap, similar to the following:
hp5l:
:lp=:sd=/var/spool/hp5l :mx#0:
:rm=ps-142634:rp=ps-142634-p1:
SCO
To allow printing to a printer attached to your D-LINK network print server from a
SCO Unix System V/386 host.
- Login as the superuser (root).
- Add an entry for the print server in the host’s /etc/hosts file, giving a hostname
for the print server’s IP address. A line in /etc/hosts contains an IP address
and one or more aliases for the host. For example:
202.39.74.40 ps-142634 ps-142634.dlink.com.tw
If you use DNS (the Domain Naming Services protocol), you can add an address
record entry to your DNS database for the print server.
- Change to the /dev directory, and issue the command
mkdev rlp
- The script will ask:
Do you want to install or delet remote printing (i/d/q)?
Answer i and press Enter to continue.
- The script will ask:
Do you want to change the remote printer description file
/etc/printcap (y/n)?
Answer y and press Enter to continue.
- The script will ask:
Please enter the printer name (q to quit):
Enter an alias for the printer on the local machine and press Enter. This name
should be the same as the destination port name.
106
- Answer r (remote printer) to the question
Is printer a remote printer or a local printer (r/l)?
- When prompted with the question:
Please enter the name of the remote host that printer is
attached to:
then enter the address of the D-Link print server. You can use the name you
added to /etc/host in the step above.
- Confirm that your entries are correct.
Is this correct? (y/n)
- Answer the question:
Would you like this to be the system default printer? (y/n)
- When you are done adding remote printers, enter q for the printer name.
- Answer y to the question
Do you want to start remote daemon now (y/n)?
Once remote printing is set up, you can use the lp command to print jobs to the
new printer. For more information, consult your SCO Unix documentation.
Solaris
To allow printing from a Sun Solaris workstation,
- Log in as the superuser (root).
- Add an entry for the print server in the host’s /etc/hosts file, giving a hostname
for the print server’s IP address. A line in /etc/hosts contains an IP address
and one or more aliases for the host . For example:
202.39.74.40 ps-142634 ps-142634.dlink.com.tw
If you use DNS (the Domain Naming Services protocol), you can add an address
record entry to your DNS database for the print server.
- In OpenWindows, start the admintool program.
- Click on the Printer Manger icon.
- From the Edit menu, select Add Print, then Add Access to Remote Printer…
- Enter values for the fields as follow:
◊ Printer Name This field should contain the name of the printer port you wish
to use. The field is case-sensitive.
◊ Printer Server This field should contain the IP address of the print server, or
the alias name you added in step 2.
◊ Printer Server OS This field should be set to BSD.
- Confirm the addition.
- Optionally repeat the addition to add another printer for printing text files,
with_TEXT appended to the port name.
Once you have added the new printer, you can use the lp command to print files
to the printer. Consult your Solaris documentation for details.
Red Hat
Printing from Red Hat Linux
Adding a Printer
- Click the printer icon at the bottom of the desktop.
- Since no printer is set up so far, a prompt appears asking to run the printer
configuration tool.
- Click the OK button in the pop-up dialogue box to open the man Printer
configuration tool menu. Note that to use the Printer configuration tool you
must have root privileges, and to start the application you may also type the
command: “redhat-config-printer”.
- Click the New button in the Printer configuration tool menu.
Printer Configuration Tool menu
- The Add a new print queue menu appears, click Forward to continue.
- Enter a unique name for the printer in the Name text field. The printer name
cannot contain spaces and must begin with a letter. The printer name may contain
letters, numbers, dashes (-), and underscores (_). Optionally, enter a short
description for the printer, which can contain spaces. Then click Forward to enter
Queue type window.
- Select Networked UNIX (LPD) in the Select a queue type pull down menu,
enter the IP address of the print server to which the printer is attached in Server
field, and type the port name in queue field. Click Forward to select the type of
printer.
- Select the printer model.
If a printer has not been detected automatically, select the model from the list. You
can manually select the name of the printer manufacturer from the Generic (click
to select manufacturer) pull-down menu, and the printer model from the sub-list.
Click Forward to continue.
- The last step is to confirm your printer configuration. Click Apply button to
confirm or Back button to modify the configuration.
- Print a test page to make sure the printer is functioning properly. To print a test
page, select the printer from the printer list, then select the appropriate test page
from the Test drop-down menu.
Mac OS X Tiger (10.4)
Setting up Printing in Mac OS X Tiger (10.4)
NOTE: Mac OS printing is supported by Postscript printers only!
With Mac OS X Tiger (10.4), you can use Apple Talk, Bonjour, Internet Printing
Protocol (IPP), Line Printer Daemon (LPD), and HP Jet Direct-Socket printing
through Print Server.
Click on this icon in your Dock to open your System
Preferences window as below.
Click on the Network icon in System Preferences menu to view the menu below.
Select the Apple Talk tab in the Network menu. Check to select the Make Apple
Talk Active option. Click on the Apply Now button and close the menu. Apple
Talk is now active on the system. Now a printer can be added.
Adding a Printer
Use the Go menu at the top tool bar and select Applications option and find the
Utilities folder or open the Utilities folder directly in Go menu.
In the Utilities folder, find and select to open Printer
List window. If no printer has been set up on your Macintosh, you will be
prompted to add a printer. Click Add button on the pop-up dialogue box to open
Printer Browser window.
Mac OS X Tiger (10.4) supports five printing protocols:
- AppleTalk
- Bonjour
- Internet Printing Protocol (IPP)
- Line Printer Daemon (LPD)
- HP Jet Direct – Socket
To add an Internet Printing Protocol enabled, Line Printer Daemon enabled or HP
Jet Direct – Socket enabled printer, click on the button and follow the
instructions to add an IP Printer beginning on “Adding an IP printer” session.
AppleTalk-enabled or Bonjour-enabled
Printers
To add an AppleTalk-enabled or Bonjour-enabled printer, click on the
button in the Printer Browser menu.
Select the printer model from Printer Name list and Connection type in the
Printer Browser menu. The printer name selected should be the same as that
appearing listed in the Printer Server’s web manager. In the example here, the
printer name is dlk-1A2AAA-U1. By default the Printer Browser will use the Auto
Select for Print Using: to determine what printer configuration to use. This may
also be manually selected in the Print Using drop-down menu by brand and
model. Click the Add button to exit the Printer Browser window and implement
the new setting.
The printer that has just been added will show up in the Printer List menu, it
might take a few seconds depending on network conditions. When the printer
appears listed it is ready for use. Quite the Printer Setup Utility and start printing.
Adding an IP Printer
To add an Internet Printing Protocol enabled, Line Printer Daemon enabled or HP
Jet Direct – Socket enabled printer, click on the IP Printer button in the Printer
Browser window. Select the desired printing protocol from the Protocol
drop-down menu.
Type the IP Address of the printer, the name will appear in the Name field when
the printer is found. The Printer Browser will indicate that it is verifying the
address. If the printer is found, the Printer Browser will state “Valid and complete
address” under the Address field.
The printer utility is able to detect the printer and may automatically select the
correct printer driver in the Print Using field. Or manually select the printer-maker
from the Print Using drop-down menu, and then select the printer model from the
scroll-down list, or select Generic PostScrip Printer option from the Print Using
drop-down menu if the model is not listed. To implement the setting, click Add
button.
The setup procedures for these three printing protocols (Internet Printing Protocol
(IPP), Line Printer Daemon (LPD), and HP Jet Direct – Socket) are basically the
same. Illustrated examples are include below for the sake of reference.
For set up LPD Printing:
- Enter the IP address of the print server to which the printer is attached in
Address field.
- Type the port name in queue field.
Click Add button after done the section of printer model in the Print Using
drop-down menu.
For set up IPP Printing:
- Enter the IP address of the print server to which the printer is attached in
Address field. After that, type “: 80” or “: second port” if print server’s
second port is enabled.
- Type the port name in queue field.
Click Add button after done the section of printer model in the Print Using
drop-down menu.
For set up Socket Printing:
- Enter the IP address of the print server to which the printer is attached in
Address field. After that, type “: 9100” for port 1, “: 9101” for port 2 or “:
9102” for port 3.
- Keep the blank in queue field.
Click Add button after done the section of printer model in the Print Using
drop-down menu.
When the Installable Options pop-up window shows up as below, click Continue
button.
The printer that has just been added will show up in the Printer List menu, it
might take a few seconds depending on network conditions. When the printer
appears listed it is ready for use. Quite the Printer Setup Utility and start printing.