On Mon, 23 Apr 2012 06:09:53 UTC, "Lars Erdmann" <
lars.e...@arcor.de> wrote:
> I am reluctant to install SLPR as I don't have any experience with it.
Don't be, it is by far the simplest and least intrusive method.
(If you have eCS it is in fact probably installed already.)
> I now looked into what the printer can do (via its http admin page):
>
> 1) It has a NetBIOS node name / it supports the NetBIOS protocol
If that's the case it may work with Peer or with Samba (but both of those
require much more setup to deal with than SLPR).
> 2) it supports LPD.
This means it should work with SLPR, as well as with LPR and LPRPORTD.
> Because of 1) can't I just install OS/2 NetBIOS support and the associated
> utitilies (resource browser for example) ?
You probably could. Again, though, using SLPR or LPRPORTD is much, MUCH
simpler.
> For NetBIOS you can also specify WINS server. Is that in any way relevant
> for OS/2 ?
Probably not for your purposes.
> If not 1), how about 2) ? I can see that there are LPD related daemons
> that come with OS/2 but again I am unsure on how to use these.
That is exactly what SLPR is for. Also the older LPRPORTD, which is
less efficient and a bit more fiddly, but is almost certainly installed
on your system already even if SLPR isn't.
> By the way: I can configure the IP Address of the printer but I have the
> impression that it automatically received it through DHCP because the
> gateway is also correctly set and I never configured these values myself.
Once you plugged it into your network it would've picked up a DHCP address
automatically (from your router).
> In the TCP/IP config screen, it has this a selection box "Boot Method"
> with the following selections:
> AUTO (this is what is currently set)
> BOOTP
> DHCP
> RARP
> STATIC
> What in the world does "Boot Method" mean for a printer ? Or does it just
> mean how it receives its IP address when it is powered on ?
Yeah, that's what it means. Either set it to STATIC, or else leave it
as-is and configure your router to permanently reserve that IP address
for the printer's MAC address (probably the best option).
> It then has this additional checkbox:
> "Activate APIPA"
> What is "APIPA" ?
Never heard of it. I wouldn't worry about it. If you're really curious
it's probably explained somewhere in the printer's manual.
> What would be the most simple settings for a home network as I have it ?
> I don't plan to access this printer via the internet. I only want to use
> it inside the private IP range on the "private side of the router".
As above. Just see what address it's picked up via DHCP, and configure
your router to always give that address to the printer in the future.
Any router with a built-in DHCP server should offer such an option.
Anyway, you should be able to print a test file to the printer from a
command line (a text file should work, or a PostScript file if the
printer supports BR-Script as was implied elsewhere in the thread):
lpr -s <printer's IP address> -p * <file>
If it works then you should set up SLPR, or LPRPORTD if you're really
determined to avoid SLPR.
1. Open the properties notebook of the WPS printer object (create one if
you haven't already).
2. Go to the "Output port" page.
TO USE SLPR:
3. Select the "Install new port" button. If you see "SLPR" listed,
select it and click "Install".
If the "SLPR" is not visible, select the "New port drivers" radiobutton
and type in full path to where the file SLPR.PDR is located (usually it
is in ?:\OS2\DLL), then click on Refresh. The "SLPR" port option should
appear.
4. Double-click on the "SLPR1" port icon.
- For "LPD server": enter the IP address of the printer.
- For "LPD printer": if your printer defines a "queue name" (check its
LPD settings), enter that; if not, or if unsure, enter an asterisk "*".
- Select "LPRPORTD Compatible".
- Leave other settings at their defaults.
5. Close the printer properties.
TO USE LPRPORTD:
3. Double-click on the "\PIPE\LPD0" port icon.
- For "LPD server": enter the IP address of the printer.
- For "LPD printer": if your printer defines a "queue name" (check its
LPD settings), enter that; if not, or if unsure, enter an asterisk "*".
These next two are probably optional but I'm not 100% sure:
- For "Host name" enter your PC's TCP/IP hostname or IP address.
- For "User", AFAIK you can enter whatever you like.
- Leave other settings at their defaults.
4. Close the printer properties.
5. Open the TCP/IP Configuration Notebook and go to the Autostart page.
Select "lprportd" from the list, then choose "Autostart Service" with
"Detached".
Next, go to the "Printing" page and make sure that "Maximum Number of
LPD Ports" has a value of at least 1 (you can ignore the other fields).
Close the notebook and save changes.
It'll tell you to reboot, but you don't really need to -- just go to a
command prompt and run "detach lprportd".
EITHER METHOD:
6. Try printing something using the printer object!
--
Alex Taylor
Fukushima, Japan
http://www.altsan.org
Please take off hat when replying.