P agePrinter
Network Adapter:
Utilities & En vir onments
For use with:
Ethernet C, D
Utilities &
Environments
TCP/IP
Windows 95/NT
Novell NetWare
networks
operating systems
networks
The contents of this manual may be revised without prior notice and without obligation to incorporate changes and
improvements into units already shipped.
Every effort has been made to ensure that the information included here is complete and accurate at the time of
publication, but we cannot be held responsible for errors and omissions.
Copyright Lexmark International, Inc. 1994, 1996
Printed in Spain. All rights reserved. No part of this manual may be reproduced or translated, stored in a database or
retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written permission of Lexmark International, Inc.
C145-E207-02EN, June 1997
Trademark Acknowledgement
Lexmark, MarkVision and Mark Net are registered trademarks of Lexmark International, Inc.
The following companies own the other trademarks used in this manual:
Thank you for buying this multi-protocol Network Adapter. You can use this
guide to learn how to install and configure utilities so that your printer works
with:
•
TCP/IP networks
Windows 95 operating systems
•
•
Windows NT operating systems
Novell NetWare networks
•
Terminology
In this book, the term
that you received with the printer.
The term
The term
utility displays.
adapter
adapter list
utilities
refers to this Network Adapter.
refers to the list of adapters on your network that the
refers to the files on the CD-ROM or diskettes
Conventions used in this book
Steps requiring action are shown in
•
•
Words or phrases requiring emphasis or explanation appear in
This book and the on-line Help information use slashes (/) to show the path
•
you should follow through the menus and commands.
bold
print.
italic
print.
For example
would choose the File menu, the Print command under File, and the To
Printer option. That path is shown as
File/Print/To Printer.
, suppose you want to print the adapter list to a printer . Y ou
Getting the utility
The Network Printer Utility will be shipped on CD-ROM or diskettes with the
printers.
Overview of the Utilities, the Network Adapter and MarkVision
Thank you for buying this multi-protocol Network Adapter. As with most new
purchases, you probably have a few questions. W e will answer some of them in
this introduction for you.
What environments do the utilities run in?
Since each environment is different, please see the appropriate chapter in this
manual for more details about versions or levels of operating systems that w ork
with these utilities. The utilities work with the following environments:
•
Novell NetWare networks (Windows 95 or Windows 3.1)
•
Transmission Control Protocol/Internet Protocol (TCP/IP) networks
Windows 95 operating systems
•
Windows NT operating systems
•
::
Overview of the
Utilities, the
Network Adapter
and MarkVision
What levels of software and firmware do I need?
You’ve received, in this package, the latest level of the utilities that were
available when the printer was built.
There is firmware that resides on the adapter itself. This firmware handles
communications between the printer, the utility, the adapter, and the network.
The firmware is, therefore, the backbone of this product. The firmware resides
on the adapter’s flash memory, a type of Read-Only Memory that can be erased
electronically and reprogrammed.
(To check an effective firmware level, contact your point of purchase.)
To find out which firmware revision level uses your adapter, print a setup page.
For help, see “Step 2: print a setup page” on page 2-3.
MarkVision is a utility that allows administrators and users to control and see
the status of printers on their networks. In addition, it allows network
administrators to:
automatically configure print drivers. The new bidirectional, network-aware
•
PCL and PostScript Windows drivers can configure themselves with many
printers. This allows users to make sure that their application driver settings
are correct.
•
install MarkVision and print drivers from the network. You can copy the
MarkVision setup utility and MarkVision to a network drive and directory.
Then users on the network can install print drivers and MarkVision from the
network.
You can use MarkVision without slowing down printing because MarkVision
controls the printer directly and not within the queuing and spooling
mechanism of the network.
Does the adapter work with Windows 95?
Yes. See the Windows 95 chapter in this manual for more information.
Which protocols support which environments?
Protocols are provided to reside in the adapter’s firmware. The adapter uses
these protocols to receive print jobs of f the network. The adapters support these
protocols:
•
NetWare, used to support Novell NetWare networks.
TCP/IP, used for TCP/IP networks in many UNIX environments.
•
Is it possible to turn unused protocols off?
Yes. The Network Adapter is shipped with all protocols active. Using the
Network Printer Utility for Windows 3.1 or MarkVision for Windows 95, you
can turn off protocols that you don’t need.
Each protocol consumes some resource on the adapter and network. If you turn
a protocol off, that resource is released. Therefore, to increase throughput on
the adapter, we recommend that you turn unused protocols off. For example, if
you are not using the TCP/IP protocol you may choose to turn it off. This
reduces network traffic.
Is it possible to set a password for this adapter?
Passwords on the Network Adapter work as follows:
The password protects all the adapter’s settings from being changed (for
•
example, nicknames, queue names, file servers).
The passwords protect the adapter from someone inadvertently or mistakenly
•
changing a setting. The password encryption algorithm is not designed to
protect against serious hackers.
One adapter is assigned one password. That password works across all
•
protocols. Therefore, if you set a password in the NetWare protocol, that same
password works for TCP/IP.
Will the adapters accept print jobs from several servers?
Yes. The Network Adapter accepts print jobs from NetWare and TCP/IP, one
job at a time. The adapter accepts print jobs in the order they are received: firstcome, first-served.
Overview of the
Utilities, the
Network Adapter
and MarkVision
How do I find out about last-minute information?
Each diskette or CD-ROM includes a README file. This file contains latebreaking information and offers tips we may have disco v ered after printing this
guide. Please read this file and use it to help you.
Where can I get help?
You can get help from several sources.
•
Use pull-down menus. Each item in the utility’s pull-down menus has help
enclosed with it. To see that help:
a
Point and click on the menu that you want help with.
b
Press F1.
The on-line Help information is thorough, containing more complete
information than offered in this guide.
•
Each chapter of this manual contains problem-solving information. If the
utilities do not run, see the corresponding Troubleshooting section at the end
of each chapter.
•
If you need more help setting up or operating these utilities, contact your
point of purchase.
Thank you for buying this multi-protocol adapter.
This chapter explains how to set up and use your printer on a Transmission
Control Protocol/Internet Protocol (TCP/IP) network using this Network
Adapter.
Who this chapter is designed for
This chapter is designed for technical people such as TCP/IP programmers and
experienced network administrators. It assumes that you have a good working
knowledge of your TCP/IP hardware and software.
What this chapter does
First, it explains how to set an IP address, netmask, and gateway using a
BOOTP server. It tells you how to set the address, netmask, gateway, and other
information at the printer’s control panel.
If you are installing the Network Adapter on a complex network and are
also setting up a NetWare envir onment, set up this environment first. The
utility that comes with this environment may be useful to you in TCP/IP,
too.
Second, this chapter also explains the firmware integrated into the adapter. This
firmware supports the following standard TCP/IP protocols:
This chapter explains how you can use standard TCP/IP protocols with this
adapter. It gi ves a fe w programming examples. If you are accustomed to writing
your own shell scripts, for example, this chapter can help you.
This utility guide uses standard TCP/IP protocols. Information about these
standard protocols is available in RFCs (Request For Comments). These RFCs
contain TCP/IP information that is not unique to the Network Adapter.
To obtain an RFC, use FTP services on the Internet as an anonymous user to:
nic.ddn.mil
Look for the RFC in the /rfc directory.
For more information about TCP/IP, we recommend a book by Douglas Comer
entitled Internetworking with TCP/IP, Volume I: Principles, Protocols, and Architecture.
Setup Before you can use the adapter, you need to set it up. Setup involves a few
simple steps:
1 Checking the physical connections.
2 Printing a setup page to use while you set up the adapter.
Setup
3 Setting the adapter’s IP address, netmask, and gateway.
4 Verifying the setup.
5 Setting a community name.
The rest of this Setup section tells you how to do these steps.
You can set the IP address, netmask, and gateway for this adapter in several
ways.
The simplest way to set the information is directly on the printer’s control
panel. For information about setting the information on the printer’s control
panel, go to “Setting the information via the printer control panel” on page 2-8.
You may:
•Use a TCP/IP bootstrap protocol (BOOTP), if you have a BOOTP server
running on your network. For help, go to “Setting the information using a
bootstrap protocol” on page 2-6.
•If you are installing the adapter on a complex network and are also setting up
NetWare, run the Network Printer Utility in that environment. You can set the
address, netmask, and gateway from that environment.
You may also:
•Set the address using a Remote Address Resolution Protocol (RARP) server
running on your network. For help, go to “Setting the information using a
RARP server and telnet” on page 2-10.
•Set the address by editing the Address Resolution Protocol (ARP) table on
one of your host computers
adapter.
using telnet” on page 2-11.
If the above methods won’t work for your network, contact your point of
purchase.
For help, go to “Setting the information by editing an ARP table and
Setting the information using a bootstrap protocol
You may set the IP address, netmask, and gateway using a TCP/IP bootstrap
protocol (BOOTP), if you have a BOOTP server running on your network.
Make sure the BOOTP server is running on the same LAN segment as the
adapter. (Some routers will pass the pack ets, b ut man y will not. If the BOOTP
server is on a different LAN segment, check your router’s documentation to be
sure packets will cross.)
To set the IP address, netmask, and gateway using a TCP/IP bootstrap protocol:
1 Find the hardware address for the adapter.
To find the hardware
address, look at the setup page for the adapter. The address is labelled
UAA an LAA on the setup page.
• If you are using an Ethernet adapter, be sure to use the address in the right
column. This is the canonical form of the address, circled on the sample
setup page on
Choose the Locally Administered Address (LAA), unless it is
000000000000. If the LAA is 000000000000, choose the Universally
Administered Address (UAA).
2 Set up the BOOTP server.
computer that is running the BOOTP server. The file is usually located
in /etc/bootptab.
The file contains information such as the hostname and the IP address.
For example, a bootptab record might look similar to this:
hardware type.
hardware address.
IP address.
netmask.
gateway.
If you need help editing the BOOTP file, try the man page that came with
your UNIX software. Most popular UNIX workstations contain man
pages that help you with tasks like this. You might try man bootp or man bootptab. If that doesn’t work, consult your system’s documentation.
You can do this from the printer control panel.
To enable BOOTP from the printer control panel, follow
these steps:
a Turn the printer power On (|).
b Use the printer contr ol panel to find the menu item SETUP NETWORK
MENU. Consult your printer documentation to learn the menu path
for your specific printer, or scroll through the control panel menus
until you find it.
c Select SETUP NETWORK MENU.
d Select Enable BOOTP.
e Select Yes.
If you are instructed to do so, turn the printer off.
f When you are finished, select Ready.
TCP/IP
networks
4 Set up the printer’s hostname (network name) in the computer. To do
so, simply define the printer’s IP name and address in the /etc/hosts file
or on the name server.
This IP address and hostname must match those you set earlier in the
BOOTP file. You may w ant to use a hostname that is meaningful in your
environment (for example, a name that identifies the printer’s location).
Setting the information via the printer control panel
If you already know the printer’s IP address, netmask, and gateway, you may
want to set them at the printer’s control panel. This process sets the address,
netmask, and gateway at this printer only and does not update any BOOTP
records you have in your server.
1 Using the printer’s control panel, set the IP address, netmask, and gate-
way.
If you need help, follow these steps:
a Turn the printer power On (|).
b Use the printer contr ol panel to find the menu item SETUP NETWORK
MENU. Consult your printer documentation to learn the menu path for
your specific printer, or scroll through the control panel menus until you
find it.
c Select SETUP NETWORK MENU.
d Select Set IP ADDRESS, and press ENTER. A screen similar to the
following appears:
IP ADDRESS
000.000.000.000
e Use the MENU button to place the cursor beneath the part of the IP
address that you want to set. Then use the plus (+) and minus (-) keys
to set the address.
f Press ENTER.
g Select Set IP NETMASK, and press ENTER.
h Set the IP netmask just as you set the IP address.
i Press ENTER.
j Select Set IP GATEWAY, and press ENTER.
k Set the IP gateway just as you set the IP address.
l Press ENTER.
m Press READY. Your settings take effect when you return to the Ready
screen.
If an error message appears on the printer’s control panel, go to “Using the
2 Using the printer’s operator panel, make sure that BOOTP is disabled.
We recommend that you leave BOOTP disabled if you are not using it to set
IP addresses. If you need help, follow these steps:
a Turn the printer power On (|).
b Use the printer control panel to select the menu item SETUP
NETWORK MENU. Consult your printer documentation to learn the menu
path for your specific printer, or scroll through the control panel menus
until you find it.
c Select SETUP NETWORK MENU.
d Select Enable BOOTP.
e Select No.
If you are instructed to do so, turn the printer off.
f When you are finished, select Ready.
3 Set up the printer’s hostname (network name) in the computer. To do so,
simply define the printer’s IP name and address in the /etc/hosts file or on the
name server.
TCP/IP
networks
This address must match the IP address you set earlier on the printer’s
control panel. You may want to use a hostname that is meaningful in
your environment (for example, a name that identifies the printer’s
location).
Setting the information using a RARP server and telnet
You may set the IP address using a RARP (Remote Address Resolution
Protocol). You must make sure that you are working on the same physical
network as the adapter. Then you can set the netmask and gateway with telnet.
To set the IP address, netmask, and gateway using a RARP server and telnet:
1 Look at the setup page. Find the hardware address. It is labelled UAA
and LAA.
• If you are using an Ethernet adapter, be sure to use the address in the right
column. This is the canonical form of the address, circled on the sample
setup page beginning on page 2-4.
• Choose the Locally Administered Address (LAA), unless it is
000000000000. If the LAA is 000000000000, choose the Universally
Administered Address (UAA).
2 Look at the setup page. Make sure BOOTP and RARP are enabled.
3 Set up the RARP server, following the instructions provided by your
host operating system.
4 Turn the printer off then on to reset the adapter.
The adapter sends a RARP request, and the server responds.
5 Use telnet to set the netmask and gateway by typing:
telnet ip.address -p 9000
where ip.address is the IP address you’re using, such as 9.51.8.231.
6 Follow the instructions on the screen to set the netmask and gateway.
If you wish to change the address, netmask, gateway, or community
name in the future, you may find this telnet function helpful.
Setting the information by editing an ARP table and using telnet
You may set the IP address by editing an Address Resolution Protocol (ARP)
table. You must make sure that the computer where the ARP table is edited is on
the same physical network as the adapter. The adapter cannot send this
information across a router, until the adapter is configured.
Then you can use telnet to set the netmask and gateway.
To set the IP address, netmask, and gateway using an ARP file and telnet:
1 Look at the printer setup page. Find the hardware address. It is labelled
UAA and LAA.
• If you are using an Ethernet adapter, be sure to use the address in the right
column. This is the canonical form of the address, circled on the sample
setup page printed on page 2-4.
Choose the Locally Administered Address (LAA), unless it is
000000000000. If the LAA is 000000000000, choose the Universally
Administered Address (UAA).
2 Edit the ARP table to add an IP address.
form of the IP address, such as 9.51.8.231. Use the commands
appropriate to the host operating system. On many computers you
would type something similar to the following:
arp -s 9.51.8.231 08:00:5A:09:E6:10
Make sure you use the dotted
TCP/IP
networks
If you need help and are using a UNIX system, try the man page.
3 PING the adapter. This sets the new address on the adapter. For
example, you might type something similar to:
ping 9.51.8.231
4 Use telnet to set the netmask and gateway. For example, you might type
something similar to:
telnet 9.51.8.231 -p 9000
5 Follow the instructions on the screen to set the netmask and gateway.
Step 5: set a community name or change TCP/IP information
After you have set the TCP/IP information, you can change it using any of the
ways you set the information, or by doing one of the following. This is also the
way to set a community name.
•Telnet to port 9000 to change the information.
Type the following at the command prompt:
1
telnet ip.address -p 9000
where
Follow the instructions on the screen.
2
ip.address is the IP address you’re using, such as 9.51.8.231.
•FTP a file to the param directory. The param directory is a special directory
where you can change special TCP/IP-related parameters.
The format of this file should be:
PASSWORD: 00000000
ADDRESS: 9.51.8.50
NETMASK: .
GATEWAY: 9.51.8.30
COMMUNITY: paul
END
• You must put a space after the colon, and the headers must be capitalized.
TCP/IP
networks
• If you want a parameter to remain unchanged, you should type a period
for that parameter (such as the NETMASK example above).
• If you have set a password for the adapter, you must include the password
in the file so you’ll be able to change the information. If you have not set
a password for the adapter, substitute a period for the password parameter.
• The community name must be less than 30 characters long.
• You must send the file in ASCII mode (not binary).
You have set up your adapter and are ready to use it.
Continue with “Using the protocols“.
This section explains how to use standard TCP/IP protocols to send jobs to the
printer and to check the status of print jobs. It explains how this Network
Adapter implements standard TCP/IP protocols such as:
ip.address is the IP address you’re using, such as 9.51.8.231.
config -file is the name of the file containing the
•Line Printer Remote (LPR) programs
•File Transfer Protocol (FTP)
•Trivial File Transfer Protocol (TFTP)
•Finger
•Telnet
Note: The firmware in the Network Adapter includes support for other
adapters. The Network Adapter contains only one port (PORT 1) which
supports this printer. The multi-purpose firmware in the Network Adapter
may make references to port 2 (or IBM 4029 printers), but these statements
apply to other types of hardware. Furthermore, any statuses refering to
MarkNet XLe should be treated as equivalent statuses of the Network
Adapter.
You may already use Line Printer Remote and Line Printer Daemon (LPR/
LPD) programs to send print jobs. The LPR program usually runs on the host
computer, sending print jobs and control files to the LPD program running on
the print server.
This TCP/IP adapter includes a line printer daemon, which prints previously
formatted data files, as received, and ignores the control file. You can use your
LPR/LPD program to send jobs to the adapter’s line printer daemon.
Using the LPR command
When you use the following options with your LPR command, be sure that:
•server is the address (hostname) of this adapter.
•queue name or remote queue name is the name of the queue that you set up
for this adapter. (Some LPR implementations refer to this as the printer
name.) See the table below for examples of suffixes you can append to the
queue name:
ExampleFunction
printer_cr
printer
Sends print jobs to the port, and causes the adapter to
add a carrier return (or line feed, if appropriate) at the
end of each line of text.
Sends print jobs to the port.
•If your program allows you to send the job as a binary file (for
example, with a -b or -v flag), do so. We recommend that all print jobs
shall be sent as binary
interpreted clearly.
This adapter ignores control files sent to it. Therefore, options contained in the
control file do not work. For example, options such as
- those relating to the banner page,
- indentations in the print job, or
- mail sent after the job
do not work.
Note: A queue name may end with any character except “2“. If you used a
“2“ at the end of a queue name, your print jobs will not be printed. Under
Windows, you can avoid this error by doing one of the following.
(1) Set “_cr“ at the end of the queue name in Windows NT, or
(2) Select the Carriage Return and Linefeed insertion mode in “Set lpd
options“ when you go into the Main Menu of the Adapter under the
program T elnet.
By doing one of the two above mentioned, the Adapter will add the
Carriage Return and Linefeed codes automatically to your print job.
. Sending binary jobs ensures that all code points are