Lexmark PagePrinter User Manual

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:
Novell, Inc.: NetWare
PagePrinter Network Adapter: Utilitiies & Environments
Contents
Preface.........................................................................................................................................V
Introduction........................................................................................................V
Chapter 1 Overview of the Utilities, the Network Adapter and MarkVision..............................1-1
Introduction..............................................................................................................................1-1
What environments do the utilities run in?..................................................... 1-1
What levels of software and firmware do I need?........................................... 1-1
What is MarkVision?...................................................................................... 1-2
Does the adapter work with Windows 95?...................................................... 1-2
Which protocols support which environments?.............................................. 1-2
Is it possible to turn unused protocols off?..................................................... 1-2
Is it possible to set a password for this adapter?............................................. 1-3
Will the adapters accept print jobs from several servers?............................... 1-3
How do I find out about last-minute information?.......................................... 1-3
Where can I get help? ..................................................................................... 1-3
Chapter 2 Using TCP/IP networks................................................................................................2-1
Introduction..............................................................................................................................2-1
Who this chapter is designed for..................................................................... 2-1
What this chapter does.................................................................................... 2-1
For more information...................................................................................... 2-2
Setup.........................................................................................................................................2-2
Step 1: check the physical connections........................................................... 2-3
Step 2: print a setup page................................................................................ 2-3
Step 3: set the IP address, netmask, and gateway........................................... 2-5
Step 4: verify the setup ................................................................................. 2-12
Step 5: set a community name or change TCP/IP information..................... 2-13
Using the protocols ............................................................................................................... 2-14
Sending print jobs......................................................................................... 2-15
Using a Line Printer Remote (LPR) program............................................... 2-16
Using telnet................................................................................................... 2-18
Using TFTP (Trivial File Transfer Protocol)................................................ 2-18
Using FTP (File Transfer Protocol).............................................................. 2-19
Checking printer status ................................................................................. 2-22
Changing the TCP/IP information................................................................ 2-25
Troubleshooting.....................................................................................................................2-25
Jobs waiting in the queue.............................................................................. 2-26
Printer not receiving jobs.............................................................................. 2-27
PagePrinter Network Adapter: Utilities & Environments i
Contents
Adapter lights................................................................................................ 2-28
Adapter service .............................................................................................2-28
Chapter 3 Using Windows 95 operating systems...................................................................... 3-1
Introduction...............................................................................................................................3-1
What you need ................................................................................................3-1
Installing the MarkVision printer utility ..................................................................................3-1
Installing the utility.........................................................................................3-2
Configuring the adapter...........................................................................................................3-2
To process NetWare print jobs........................................................................ 3-2
To process TCP/IP print jobs ..........................................................................3-5
To process Point to Point Printing (LexIP) ..................................................... 3-8
To process Peer to Peer printing.................................................................... 3-11
Troubleshooting .....................................................................................................................3-13
Utility unable to find network printer............................................................3-13
Print jobs stay in the queue ...........................................................................3-14
Print jobs are ending prematurely.................................................................3-14
Adapter lights................................................................................................ 3-15
Adapter service .............................................................................................3-16
Chapter 4 Using Windows NT operating systems.....................................................................4-1
Introduction...............................................................................................................................4-1
How to print ....................................................................................................4-1
Before you begin............................................................................................. 4-1
Printing under Windows NT 3.51.............................................................................................4-1
What you need ................................................................................................4-2
How to Create a Printer using the lpr protocol ............................................... 4-2
Printing under Windows NT 4.0...............................................................................................4-4
What you need ................................................................................................4-4
How to Create a Printer using the lpr protocol ............................................... 4-4
Chapter 5 Using NetWare networks............................................................................................5-1
Introduction...............................................................................................................................5-1
Before you begin............................................................................................. 5-1
What you need ................................................................................................5-1
Installing the utility...................................................................................................................5-2
Starting the network printer utility..........................................................................................5-3
Using the utility.........................................................................................................................5-4
ii PagePrinter Network Adapter: Utilities & Environments
Contents
Using the adapter list ...................................................................................... 5-4
Selecting items from the menus...................................................................... 5-5
Setting up the adapter............................................................................................................. 5-6
What setup accomplishes................................................................................ 5-6
Utilities to use................................................................................................. 5-6
To set up the adapter ....................................................................................... 5-6
Deciding whether to use NPRINTER/RPRINTER mode or
PSERVER mode ..................................................................................... 5-7
NPRINT versus PSERVER in NetWare Directory Services (NDS)............... 5-8
Verifying the adapter setup........................................................................... 5-11
Troubleshooting.....................................................................................................................5-12
Utility unable to find the network printer ..................................................... 5-12
Print jobs stay in the queue........................................................................... 5-12
Adapter lights................................................................................................ 5-15
Adapter service............................................................................................. 5-16
Appendix A Using the printer control panel..................................................................................A-1
Introduction..............................................................................................................................A-1
IP protocols settings from the printer control panel .......................................A-2
Glossary ................................................................................................................................................... G-1
PagePrinter Network Adapter: Utilities & Environments iii
Contents
iv PagePrinter Network Adapter: Utilities & Environments
Preface
Introduction
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.
PagePrinter Network Adapter: Utilities & Environments v
Preface
vi PagePrinter Network Adapter: Utilities & Environments
CHAPTER
1
Introduction
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.
PagePrinter Network Adapter: Utilities & Environments 1-1
Introduction
What is MarkVision?
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.
1-2 PagePrinter Network Adapter: Utilities & Environments
Introduction
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: first­come, 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 late­breaking 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.
PagePrinter Network Adapter: Utilities & Environments 1-3
Introduction
1-4 PagePrinter Network Adapter: Utilities & Environments
CHAPTER
2
Using TCP/IP networks
TCP/IP networks
Introduction
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:
Line Printer Remote/Line Printer Daemon (LPR/LPD)
File Transfer Protocol (FTP)
Trivial File Transfer Protocol (TFTP)
Finger
BOOTstrap Protocol (BOOTP)
Telnet
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.
PagePrinter Network Adapter: Utilities & Environments 2-1
For more information
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.
2-2 PagePrinter Network Adapter: Utilities & Environments
Setup
Step 1: check the physical connections
First you need to make sure that your printer and adapter are installed and working correctly. Check the following items.
Make sure that the printer you want to use is installed on the LAN with the
appropriate Ethernet cable.
Make sure that the adapter is installed in the printer. Instructions for setting up
the printer and installing adapters are shipped with the printer.
Make sure that the printer is connected to the LAN with the appropriate
Ethernet cable.
Step 2: print a setup page
Next you need to print a setup page. Keep the setup page. You’ll use information from it later.
Printing a setup page
1 Press the Test button on the adapter until the Test light comes on.
The Data light comes on, and the adapter sends a page to the printer, similar to the one on page 2-4.
TCP/IP networks
PagePrinter Network Adapter: Utilities & Environments 2-3
Sample setup page
The Network Adapter setup page looks similar to the example below.
Network Card
Type: Ethernet EOJ Timeout: 90 UAA: 00200008A803 0004001015C0 LAA: 000000000000 000000000000 Part Number, EC: 1381603, MN_XL_E Firmware Revision: 4.124.1
LPT 1
NPAP Active, NPAP Mode: Yes, Auto Busy Timeout: 90 Printer Type, Port Type: PP14, Enhanced
LexLink (Active)
Nickname: 00200008A803
NetWare (Active)
Login Name: !LEX00200008A803 NetWare Mode: PSERVER
Setup
IP (Active)
BOOTP & RARP Enabled: No Address: 157.184.8.86 Netmask: 255.255.255.0 Gateway: 157.184.8.30
2-4 PagePrinter Network Adapter: Utilities & Environments
Setup
Step 3: set the IP address, netmask, and gateway
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
that is on the same local area network as the
TCP/IP networks
PagePrinter Network Adapter: Utilities & Environments 2-5
Setup
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:
jdlprt:\ ht=ether:\ ha=08005A09E610:\ ip=9.51.8.212:\ sm=255.255.255.128:\ gw=9.51.8.132
page 2-4.
To do so, edit the BOOTP file on the host
where the following means:
jdlprt ht=ether ha=08005A09E610 ip=9.51.8.212 sm=255.255.255.128 gw=9.51.8.132
hostname.
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.
2-6 PagePrinter Network Adapter: Utilities & Environments
Setup
3 Make sure that BOOTP is enabled.
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).
PagePrinter Network Adapter: Utilities & Environments 2-7
Setup
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
printer control panel” on page A-1.
2-8 PagePrinter Network Adapter: Utilities & Environments
Setup
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).
PagePrinter Network Adapter: Utilities & Environments 2-9
Setup
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.
2-10 PagePrinter Network Adapter: Utilities & Environments
Setup
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.
PagePrinter Network Adapter: Utilities & Environments 2-11
Setup
Step 4: verify the setup
You can check to make sure the printer is set up correctly. Just follow these steps.
1 Make sure your computer is on the same physical network as the adap-
ter.
2 Print a test page to verify your settings.
If you need help, go to “Step 2:
print a setup page” on page 2-3.
3 Issue a PING command from your computer, such as:
ping hostname
where hostname is the hostname that you set in the /etc/hosts file or on the name server.
If PING does not work correctly, make sure that:
you are using a unique address.
the ARP table entry is correct.
all physical connections are working correctly.
all bridges and routers are operating correctly.
the hostname that you pinged matches the hostname that you set in the /etc/
hosts
file or on the name server.
if you set the address, netmask, and gateway using BOOTP, make sure that:
Your BOOTP server is configured correctly.The IP address and the hostname are set correctly in the BOOTP
file.
If you set the address, netmask, and gateway from the printer control panel,
make sure that:
The IP address is set correctly on the printer’s control panel. If you
need help, see “Setting the information via the printer control panel” on page 2-8.
If you set the IP address, netmask, and gateway using a RARP server or ARP
command and telnet, double-check all your steps. If one of these parameters is wrong, your connection will be lost.
2-12 PagePrinter Network Adapter: Utilities & Environments
Setup
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).
PagePrinter Network Adapter: Utilities & Environments 2-13
To ftp to the directory:
Type the following at the command prompt:
1
ftp ip.address
Using the protocols
Using the protocols
where
Type:
2
cd param
3 Type:
put config-file
where configuration you want to use.
Quit.
4
What to do next
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.
2-14 PagePrinter Network Adapter: Utilities & Environments
Using the protocols
Sending print jobs
You can send jobs to the printer in one of four ways:
Using a Line Printer Remote (LPR) program that you have already installed.
For information about using an LPR program, continue with “Using a Line Printer Remote (LPR) program” on page 2-16.
Using TFTP (Trivial File Transfer Protocol). For information about TFTP, go
to “Using TFTP (Trivial File Transfer Protocol)” on page 2-18.
Using FTP (File Transfer Protocol). For information about FTP, go to “Using
FTP (File Transfer Protocol)” on page 2-19.
Writing a program that takes advantage of the adapter’s TCP/IP ports. For
information about the ports, go to “Checking printer status” on page 2-22.
TCP/IP networks
PagePrinter Network Adapter: Utilities & Environments 2-15
Using the protocols
Using a Line Printer Remote (LPR) program
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:
Example Function
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
2-16 PagePrinter Network Adapter: Utilities & Environments
Loading...
+ 67 hidden pages