Rint Sewer Nual: User's
Rint Sewer Nual: User's
User's nual
Trademarks
Products in this manual are referred to by their trade names. In most, if not all
cases, these designations are claimed as trademarks or registered trademarks of
their respective companies.
Safety information
This manual contains the following safety information:
Where applicable, cautions and warnings are used throughout this manual to
draw your attention to precautions to be taken.
Copyright
OcC-Technologies B.V.Venlo, The Netherlands O 1998
All rights reserved. No part of this work may be reproduced, copied, adapted,
or transmitted in any form or by any means without written permission from
OcC.
Chapter 2
TCPiIP Unix configuration
Host software 20
Compiling host software 20
ezsetup and npconfig 21
Print server configuration 23
Configuration with ezsetup or npconfig 24
Manual configuration with ARP 25
Manual configuration with RARP 26
Manual configuration with BOOTP 27
Manuat configuration through the serial port 28
Restoring to factory defaults 29
Host configuration 30
Direct printing without the spooler 30
npwrite 31
rsh/rcmd/remsh 3 1
Printing via the spooler 32
npr.if interface script 32
Custom interface scripts 33
Modifying your script 33
Using npd and your own script 34
BSD UNIX 35
Contents
Ipd remote printing 35
Setting up Ipd remote 35
BSD interface script printing 36
Setting up an interface script 37
System V UNIX 39
Setting up an interface script 40
npd pseudo-device interface 42
Starting npd 42
npd locks 43
Testing npd 44
Modifying a host to use npd 44
Stopping npd 45
Applications using npd 46
Sun Newsprint 46
Adobe Transcript 47
AIX 49
Other TCPLP print methods 5 1
NCSA 51
FTP's PCITCP 5 1
Direct socket printing 52
FTPdaemon 52
Chapter 3
Novell configuration
Host software 54
npsh.exe 54
Print server configuration 56
Host configuration 57
PSERVER bootup 57
RPRINTER bootup 57
PSERVER setup (Pre-NetWare 4) 58
RPRINTER setup (Pre-NetWare 4) 60
NetWare 4 options 63
Chapter 4
AppleTalk configuration
Print server configuration 68
Host configuration 69
Additional configuration options 70
AppleTalk zones 70
Changing print server name 70
Removing excess printers from the chooser 71
Chapter 5
NETBJOS configuration
Basic setup sets 74
Setting up TCPJIP on Windows workstations 74
Windows NT version 3.5 (Net Use) 75
Windows NT version 3.5 [LPR Client) 75
Windows for workgroups (WfW) 76
Windows 95 and Windows NT4 76
Print server configuration 77
Host configuration 78
Windows NT version 3.5 78
Windows for workgroups (WfW) 80
Windows 95 and Windows NT4 81
Chapter 6
Internal architecture
Destinations 84
Models 85
Variables 86
Logpaths 87
Chapter 7
Command set
npsh overview 90
npsh prompt 90
User accounts and permission5 91
Redirecting output from commands 91
npsh basic commands 92
npsh command set 93
Command syntax 93
cancel 93
chr 93
debug 94
disable 94
enable 94
keycode 94
List Commands 95
list arp 95
list date 95
Contents
list dest 95
list diff 96
list ifc 96
list key 96
list logins 96
list logpath 96
list model 97
list pserver 97
list rprinter 97
list sysinfo 97
list tcpip 98
list test 98
list time 98
list user 98
list var 98
load 99
load default 99
Ip 99
lpstat 100
ping 100
reset 100
save 100
save default 101
Set Commands 101
set date 101
set dest 101
set logpath 102
set model 103
set rprinter 106
set sysinfo 106
set time 108
set user 108
set var 109
start 109
stop 110
Store Commands 111
store ifc 11 1
store pserver 112
store tcpip 114
supervisor 115
telnet 116
Chapter 8
Options
General options 1 19
Network security 1 19
Using different naming schemes 1 19
Setting up special job processing 1 19
Optimizing the print server's services 120
Capturing printer feedback 120
Controlling the frame types used 121
TCP/IP options 1 22
Restoring to factory defaults 122
Getting ready for complex networks 122
Remotely managing the print server 123
Maintaining network securlty 124
Using the terminal port 125
Novel1 options 126
Setting password security 126
Setting preferred file servers 126
Managing with SNMP 127
Custom MlBs and traps 127
Custom MIB variables 127
System variables 128
Product variables 128
Custom MIB traps 128
SNMP security 129
Adding an SNMP user 129
Setting the print server to send traps to an SNMP manager 129
Compiling and monitoring the custom MIB 130
FTP daemon 131
Print server FTP file system 13 1
Printing a file using FTP 132
Removing a print job using FTP 132
Monitoring a print queue using FTP 133
Configuring print server parameters using FTP 134
Restoring a configuration using FTP 135
Executing a configuration file using FTP 137
IP Routing 138
Chapter 9
Troubleshooting
TCPIIP problems 140
Communication related 140
Printing related 141
Contents
Novel1 problems 143
Communication related 143
Printing related 144
AppleTalk problems 147
NetBIOS problems 148
Appendix A
Specifications
Variable definitions 150
Software specifications 151
Appendix B
Glossary 153
Appendix C
Installation
Installing the ethernet interface 162
Connecting the printer to your network 168
Switching the printer on 168
Unix print server installation 169
Novel1 print server installation 170
PSERVER setup 170
RPRINTER setup 170
Basic Windows configuration 172
Basic AppleTalk configuration I73
Appendix D
Planning your print setup
Configuration considerations 176
Appendix E
Miscellaneous
Notation conventions 180
Reader's comment sheet 181
Appendix F
Oce Offices
Your Oct Contacts 184
The purpose of this chapter is to get you acquainted with the Oce' Ethernet
print server. It contains an overview of the print server's features and
architecture.
Using the Oce' Ethernet interface print server, you can locate your printers
or plotters and other peripherals anywhere on the LAN rather than
attaching them directly to a host system.
1
1
10 Ethernet Print Server User's Manual
i
Appendix C Installation How to install the ethemet board in your plotter
and a description of the OcC Ethemet interface's network
connectors and YO ports, along with steps to connect the print
server to the network.
Appendix F Oc6 offices gives the official list of OcC offices, Worldwide.
Introduction
General
a High-speed AUI port,
Serial port for the console,
a multi-level configuration security through passwords and permission levels,
SNMP support through MIB 11, custom MIBs, and custom traps to aid in
network management,
a multiple printer destinations for printing flexibility,
a the choice to disable selected print server services,
a extra printing functions such as carriage return insertion to remove some of
the processing burden from the host,
a banner and trailer page generation,
a autosensing of job/file format for automatic switching of the printer's
emulation mode (Automatic Language Sensing),
a header and trailer strings to select printer options,
a logging to keep track of job, user, page count, checksum, and plotter error
information,
a TCP/IP syslog and SMTP (email) support for additional logging
functionality,
backchanneling for plotters to send various messages about: print-job status,
paper out, paper jam, busy, etc. back to the host (Does not apply to all
workstations).
queuing of all print jobs on LANs or WANs, while supporting up to two ports
simultaneously.
Novell features
a support for all versions of NetWare, including NetWare 4,
simultaneous support of multiple Novell frame types,
a encrypted password support,
a queueing on up to 32 queues over 16 file servers,
a ability to add a preferred Novell file server list,
a automatic frame type sensing of all Novell frame types.
AppleTalk features
quick printer setup through the Chooser,
ability to disable certain print destinations on the print server so they don't
all appear in the Chooser,
R configurable AppleTalk zones.
NetBIOS features
R NetBIOS over TCPIIP support for Windows NT, Windows 95 and Windows
for Workgroups (WfW),
R simple printer setup.
Introduction
The print server is compatible with PC's, UNIX systems, Macintosh
computers, minis, and mainframes as long as at least one of the following is
present:
an LPR client to interact with our Line Printer Daemon on the unit,
an RSH client (i.e. rsh, remsh, rcmd) to interact with our RSH Daemon,
the ability to print directly to a TCP port number on our unit; we have a TCP
port number mapped to each I/0 port on the unit by default (i.e. pltl is 4000),
Other
NetWare support,
a AppleTalk over EtherTalk support,
NetBIOS over TCPIIP support,
VO ports
The print server has two V 0 ports. Each V 0 port has an internal queuing
mechanism that automatically queues print jobs on a first-come, first-serve
basis even if the print jobs come from different network environments (e.g.
Novell and TCPRP).
Destinations
When you send a print job to the print server, the print job doesn't go directly
to an V 0 port but first goes to a destination. A destination can be thought of as
logical place on the print server to send print jobs. Each destination has an V O
port and a model (see below) associated with it. The purpose of destinations is
to allow you to configure a two virtual ports with different print setups.
There are eight pre-defined destinations on the print server and each of them,
by default, is associated to one of the four UO ports on the unit (two
destinations per VO port). By default, the destinations have names such as
dlplt 1, d2plt2, d3pltl, d4plt2,. . . d8plt2, etc. If you like, any of these
destination names can be changed to be something more meaningful.
Note: Although the system hus four ports (at installation time you will see
four), only the first two ports ure available.
Introduction
Models
Each destination on the unit also has a model associated with it. The eight
models (one per destination) can be thought of as a series of mini-filter that can
do special processing to the print job data. For example, a model can be set up
to do such things as ASCII to Postscript conversion (a2ps) or carriage return
insertion (onlcr).
By default, all eight models on the print server are initially set up to be raw.
When raw, they simply pass data through to the UO port untouched. By default,
the models are named 01 through to 0 8 but can be changed to be something
more meaningful.
For more information on I10 ports, destinations, and models, please see
chapter 6, 'Internal architecture' on page 83.
Print Server
PLT1
* VO Port
Introduction
Ethernet Print Sewer User's Manual
Ethernet Print Server
User's Manual
The chr binary must be used with the interface scripts for printing. The extra
processing binaries (aZps, onlcr, banner) can be configured for the host to
perform or they can each be set on the print server alleviating the host of these
extra tasks.
For more information on all of this provided host software, please see the next
sub-sections.
ezsetup provides two choices only; these are the same as the first two choices
of npcontig's Main Menu. Within minutes, you will have configured the print
server so it can be recognized on the network and your host will be able to send
print jobs successfully to it. Refer to Table 1, below.
If you want to spend more time manipulating the extra capabilities of the print
server and your host's configuration, use npconfig. It can be used to configure
a print destination on your host and it can also be used as a print server
management utility allowing you ro monitor, change and troubleshoot the unit.
Option Description
Configure New Unit Add a print server to your network. This option provides
for: IP name, IP address, hardware address, netmask, and
for root and guest passwords. (ezsetup as well)
Configure Host Setup Configure a print destination on the host including
communication mechanism and processing options.
(ezsetup as well)
-
Detailed Configuration Options . . See %ble 2: Derailed configuration option sub-menu.
Check Current print server Status Display current status of a print server and associated U 0
Cancel a Print Job in the print server Display current status of a print server, current print jobs
Select print server Select the print server you want to configure.
-
Configure print server's Destinations Configure the destination settings: name, 110 port,
model, logpath, state, alternate destination, and
service(s).
Configure print server's Models . . . Configure model settings: name, type, banner page,
carriage return insertion (onlcr), tab expansion (xtab),
descrambling,ASCII to Postscript conversion (azps),
and header and trailer strings.
Configure print server's Logpaths . . . Configure logpath settings: name, type, and port.
Configure print server's Users. Add and remove users. Change user passwords and user
types.
Configure print server's Novell Configure and list the Novell settings: name, frame type,
Options ... and PSERVER password. List PSERVER and
RPRINTER configuration.
Configure print server's Network Configure IP address, netmask, routing entries, frame
Options ... type, and RARP and BOOTP settings. Restore unit to
default settings. List all network-related settings.
Manage print server's System Display and modify system information of a print server:
Information . . . name, contact name, location string, log details,
descramble key, license key, and module(s).
- -- -
Configure print server's Permanent For print server settings, query current status and store
Settings. . . changes tolfrom EEPROM and factory defaults.
Debug print server. . . Use debug commands. Begin and start 110 port tests.
Manage Host Software. . Install manual pages, compile source code, and install
binaries and scripts provided on the host software
media.
Remote Host Security . . . Specify TCP hostslnetworks that can communicate with
the print server.
Table 2: npconfig Detailed configuration options submenu
IP address (mandatory),
E netmask or sub-netmask(mandatory),
root user password (recommended for security),
guest user password (recommended for security).
At this point, you can then configure a host for printing by continuing with ,
'Host configuration' on page 30. This will complete your entire print setup
unless you want to enhance it.
If you want to continue with any of the following procedures, please find them
as indicated in other sections of this manual:
To configure the print server with the aid of a script, you must:
A list of files displays and scrolls up on the screen as tar executes and several
files and sub-directories are created.
7 Assign an IP address and IP name to the print server in your host table
(/etc/hosts, hosts nis map, or DNS name tables).
8 Run ezsetup or npconfig. Enter: ./ezsetup or ./npconfig
Note: I f running the host software on an HP/UX system, you need to explicitly
set the Korn shell by adding "ksh " before "./ezsetup" or "./npconjg ".
9 Enter the number for Configure New Unit from the Main Menu.
10 Follow the prompts.
For more information, please see 'ezsetup and npconfig' on page 21.
Note: Ifthis syntax doesn't apply, look in your host's reference manual to find
the proper syntax for the arp command.
The following WARNING message is normal at this point, so you can ignore
it: STORED AND CURRENT VALUES DIFFER
You should now see a prompt displayed that has the print server IP address
followed by a colon, then root.
ipaddress:root>
Store the new IP address and netmask in EEPROM so that the print server can
remember its configuration after reboots.
Enter: store tcpip ifnum addr ipaddress
store tcpip ifnum mask netmask
13 Logout of theTelnet session with quit. Then reboot the printer by powering the
unit off, then on.
14 Test theequipment and configuration after installation is complete. Enter at the
shell prompt on your UNIX machine: ping ipname. The system is working
correctly if the printer responds. For example: "Host is alive" or similar
message.
1 Make an entry in the Ietclethers file for the new print server.
Example: 00:20:84:1:30:9 spike
This is the entry for the print server named spike which has this Ethernet
address.
2 Start the RARP daemon if it isn't running. Send a HUPsignal to it with the kill
command: kill -NUP pid
3 Reboot the printer. Wait another ten to twenty seconds to allow the RARP
process to complete.
4 Test the new IP address by trying a ping with the new IP name:
Type: ping ipname
5 [Optional, but recommended] At this point, set up the user passwords. Please
see 'set user' on page 108.
By default, the print server will broadcast a BOOTP request when it boots. The
following command can be used to control this request:
0-xxx:\
:sm=netmask:\
:hd=:usr:boot:\
:bf=null:\
gw=default router:\
:ht=ethernet:\
:ha=network address:\ (e.g. 0080720000DC)
:ip=ipaddress:\
:ts=time server:\
:to=timezone: in seconds from GMT)
To configure the print server through the serial port, you need to:
2 Turn on the printer. Wait until the printer is ready and then press the <Bre*
key on your terminal once.
Note: lfyou see garbage characters on the screen, check the baud rate and
parity settings of the terminal. If you aren't getting anything, it may be your
cable.
3 Press <Enter> for the local host (i.e. the print server) when the prompt appears
asking for an Internet address to login to.
4 Login as root when asked for a login name.
5 Press <Enter> at the password prompt. No password is required at this point,
as the print server is still unconfigured.
6 Store the new IP address and netmask in EEPROM so that the print server can
remember its configuration after reboot.
Enter: store tcpip ifnum addr ipaddress
store tcpip ifnum mask netmask
Note: ifnum is the index to a particular Network Inte$ace. ifrium will always
be I for the print sewer since there is onlj~one network interface, Ethernef.
7 [Optional, but recommended] Configure root and guest user passwords with
the following commands:
set user passwd root newrootpasswd
set user passwd guest newguestpasswd
8'
i 28 Ethernet Print Sewer User's Manual
I
8 Save these configurations to EEPROM. Enter: save
9 Verify the IP address and netmask. Enter: list stored tcpip
10 After configuration, turn the printer off, then on. This reboots the print server
and automatically logs you out of the terminal session.
11 Test the equipment and configuration after installation is complete.
Enter at the shell prompt on your UNIX machine: ping ipname. The system is
working correctly if the printer responds. For example: "Host is alive" or
similar message.
Please see 'Restoring to factory defaults' on page 122 for more details on this
process.
If you decide to use one of the provided installation scripts, select Configure
Host Setup from the Main Menu of either program to configure a print setup
on your host. It will step you through some questions and then perform all of
the necessary setup commands for you. Please see 'ezsetup and npconfig' on
page 21 for more information on these scripts.
The rest of this section introduces you to different printing methods, with the
spooler and without, and discusses each of the manual steps for these
environments:
ua BSD
a System V
B Sun Newsprint and Adobe Transcript
E AIX
E PC.
Where:
ipname print server IP name or IP address.
portnanze I/0 port on the print server (i.e. pltl, plt2).
$filenames [optional]. Filename(s) to be printed. If no filename is specified,
data is read from standard input.
where spike and 192.75.1 1.32 are the print server's IP name and address.
If the npwrite binary is not available for your UNIX machine, use
rsMcmd/remsh instead.
The rsh/rcmd/remsh programs are remote command execution clients that talk
to the rshd server in the print server. rsh, rcmd, and remsh are actually the same
programs but have different names on different UNIX systems; some systems
may even have another name for remote command.
Enter man rshd to display the online manual pages for information on the
remote shell server for your version of UNIX.
The print server provides Ip, Ipstat, and cancel programs for print services
through the rshd server. The Ip command reads data from standard input and
sends it to the specified port as follows:
where spike is the print server's IP name and dlpltl is the destination.
\
1 npr.if interface script
I
The npr.if interface script provided works in most environments, but it can be
replaced by a custom interface script if you have other requirements. It is
usually a UNIX script which reads parameters from the command line,
processes the job according to the parameters, and sends it to the destination.
Two interface scripts, nprbsd.if and nprsysv.if, are shipped in raw state. These
interface scripts can be named anything you would like. Load the appropriate
one for your system spooler type and use it in this state if the print server can
do sufficient processing. The print server itself contains enough processmg
options, when they are turned on, to handle most processing needs without the
need for host software. Some of these options include ASCII to PostScript
conversion (a2ps) and camage return insertion (onlcr). Therefore, host
software may be unnecessary and you can turn off all processing options on the
host. Please see 'Host software' on page 20 to find out more about these
options.
Both ezsetup and npconfig utilize the appropriate interface script by renaming
it to nprprintername.if, where printername is the name of the printer on the
host. To install one of these scripts manually, please refer to the section that
applies to your host: 'BSD UNIX' on page 35 or 'System V UNIX' on
page 39.
The npr.if method is explained throughout this section. However, if you have a ..
pre-defined printer script or a script of your own, there are certain
modifications you must make in order for it to work with the print server.
The important part of an interface script is where it sends the print job. With
the print server, the data must be captured and sent over the network for
printing, since your printer is no longer locally attached. There are two possible .
ways to make this happen with your current script:
1 Encapsulate your script's code with brackets ( ) and after the closing bracket,
add a command to send the data to the print server for printing.
2 Use npd as the print method.
- -
Example: (
FILE=$6
#the spool file is found in the sixth parameter on System V
cat $FILE I onlcr
#fiker the job
) I rcmd spike Ip -d dlpltl
where spike is the name of the print server and the print jobs are being sent to
its destination d3plt3 by remotely executing the print server's Ip print
command.
Note: Even ifyou have a very simnplistic script, it is important that you enclose
your scrip with brackets and then add in a communication program at the end.
Once you have this daemon running, you can go ahead and work it into your
printer configuration. For BSD systems, this requires an lp= field in your
printcap entry along with the standard if= field for the name of your interface
script. The lp= field is filled in with the name of the npd devicefile used in npd's
startup command. If you have a System V setup, the -v option in the lpadmin
command will equal the npd devicefile.
The control file usually contains valid information about originating user and ,,
host. The control file contents are only used to gather log information on the
printed jobs. However, since the control file may not arrive before the data file
in the current LPD standards, fully detailed banner pages cannot be guaranteed
(Your printer must be able to print ASCII text, to have banner support).
To create the necessary entries for this example, these commands are needed:
cd /usr/spooMpd
mkdir spike
mkdir spikelps
touch spikeIpsAog spike/ps/acct
chown -Rdaemon.daemon spike
chmod -R g+rwX,o+rX spike
Ipc start ps
rintername filename
where:
Here is an example of what the printcap entry should look like followed by a
description of the commands necessary to create these entries:
where hp is the printer name sending jobs to the print server named spike
through the interface file npr.if.
Note: When defining these variables, remember that each is case sensitive.
Please define them as seen in these descriptions. In addition, a further
description of these variables is included in the large comment block before
them.
These binaries must be copied over from the host software medium. Please see
Host Software, section 3.2, for more details.
UNIT-PORT(conditiona1) Specify the print server port name (i.e. pltl, plt2).
Use only when COMM-PROG is defined as npwrite.
LP-DEST (conditional) Specify print server destination name. Use only when
COMM-PROG is defined as rsh.
Example: #END_MLARK-I
NPDIR-PATH=/usrnocal/bin
COMM-PROG=rsh
UNIT-NAME=spike
LP-DEST=dlpltl
PRINTER-TYPE=raw, ascii, o r oce
BANNERPAGE=l
#STARTMARK-1
Note: Additional variables can also be dejned within this variable section as
indicated by BANNERPAGE=/. Some other options are ASCII to PostScript
conversion, carriage return insertion, and scrambling. By setting a particular
variable to a I , this option is then turned on and a 0 turns it off. These too are
described further in the beginning of n p ~ i f .
4 Create the lp= device that is used as a locking mechanism for contending print
jobs.
touch /dev/spike.pItl
chmod go+rw /dev/spike.pltl
5 Start the print spooler.
lpc start oce
6 Try printing with the following syntax:
lpr &'printername filename
The scheduler copies the file into a spooling directory and calls the interface
program when the job is ready to go to the print server. It processes the job
according to the script's settings and then sends it over to the print server for
printing.
ps203 Name of the interface script which is also the printer name on the
host.
1 Copy the nprsysv.if file from the host software medium to the model directory.
Copy the file as npcif or name it something meaningful.
ep nprsysv.if /usr/spooYlp/modeVnpcif
2 Edit the npr.if variables to match your system requirements.
Note: When dejning these variuhks, remember that each is case sensitive.
Please define them as seen in these descriptions. In addition, a further
description of these variables is included in the large comment block before
them
Look for the comment section beginning with "EDIT THESE VARIABLES"
and at the end of this large comment block, you will find these:
(mandatory) Define the directory location of chr,
banner, onlcr, a2ps, and npscramble binaries. Usually /usr/local/bin.
These binaries must be copied from the host software medium. Please see Host
Software, section 3.2, for more details.
UNIT-PORT(conditiona1) Specify the print server port name (i.e. pltl, plt2).
Use only when COMM-PROG is defined as npwrite.
3 Create the dummy output device file used as a locking mechanism between
contending print jobs.
touch /dev/spike.pltl
chmod go+rw /dev/spike.pltl
4 Install a new printer specifying printer name, interface script name, and
dummy device created in Step 3.
/usr/lib/lpadmin -poce -mnpcif -v/dev/spike.pltl
5 Start the scheduler.
lpsched
6 Enable the printer and allow it to accept requests.
enable oce
accept oce
7 Try printing a file with the following syntax:
lp -dprintername filename
Some applications like Sun Newsprint and Adobe Transcript work best with
a bi-directional communications channel to the printer because they can
provide more details on the printer status. For example, Postscript printers can
send error messages back to the application as they occur. npd is used in this
case making use of the TCP protocol and pseudo-tty device drivers.
\
:his device and sends
m y print jobs to the
x-int server
Starting npd
Starting the npd daemon is all that is needed to utilize npd. Integrating any
special applications can then be done anytime thereafter.
Use the following syntax to start npd: npd devicejile ipname portname
where:
devicefile Name for a pseudo-tty pair's slave device acquired by npd.
ipname print server IP name or IP address.
Note: The devicejle cannot exist prior to starting npd and this particular npd
daemon cannot be running already. It is possible to have more than one
daemon running on the same host, howeves as long as they are not using the
same devicejile.
This starts an npd daemon utilizing ldevlspike.plt2 to send print jobs to the plt2
port on the print server named spike.
By default, npd looks in the Idev directory to find a free pseudo-tty pair
(Idevlpty?? and tdevltty?? files). However, if your UNIX system has these files
in a different directory, you can specify the directory pathname with a -p
option.
Some systems such as HPUX place the master and slave devices in separate
directories (e.g. Idevlptym and Idevlpty). Specify where each of the pairs
reside with the -pm and -ps options.
npd locks
As npd acquires an exclusive lock on the print server port, it is possible to lock
out other daemons that may reside on other UNIX hosts. Therefore, npd is
designed to timeout and release the lock if the pseudo-tty pair is idle for a
specified time (30 seconds is the default). You can modify this value with the
-t option.
In BSD print spooler systems, modify the Ip= field in the appropriate printer
entry in the JetcJprintcap file. Set Ip= to the devicefile argument of the npd
program.
On SystemV systems, the -v option in the lpadmin command will equal the
devicefile.
port print server VO port used by npd (that is: pltl, plt2).
is the log entry for the npd daemon using process ID 153.
You can acquire the process ID of the npd daemon that needs to be stopped and
then execute the following kill command for that process:
tions using n
Sun NeWSprint page accounting works with Postscript printers. It utilizes the
bi-directionality of the print server to get this status back to the host.
Add anew Sun NeWSprint printer entry with the add-np-printer program. The
pseudo-tty device is a serial interface. Therefore, when this program prompts
you for a device interface, select Serial and device suffix a for any port on the
unit.
After NeWSprint creates the necessary spooling directory and entry in the
letclprintcap file, set the lp= field in the new entry to the devicefile argument
of the npd program.
Example: The modified Ietclprintcap entry looks like this for a print server
named spike:
# entry for a Postscript printer
pslPostScriptlPostScripton spike's plt2 port:\
:Ip=/dev/spike.plt2:\
:sd=/b/newsprinUlpd/spike/plt2:\
:If=Mnewsprintnpd/spike/plt2Aog:\
:af=/b/newsprinfflpd/spike/plt2/acct:\
:if=lb/newsprinfflpd/if:\
:gf=/b/newsprinfflpd/gf:\
:nf=/b/newsprinUlpd/nf:\
:tf=/b/newsprinfflpdftf:\
:rf=/blnewsprinfflpd/rf:\
:vf=/b/newsprinfflpd/vf:\
:cf=lblnewsprinfflpd/cf:\
:df=/b/newsprinthpd/df:\
:of=/b/newsprinfflpd/of:\
:mx#O:\
:sf:\
:sb:\
:xc#0177777:\
Note: Ifyou are using the PostScript option, remember to include :sh:\ in this
entry to suppress the standard LPD header:
Create and edit this .options file in the printer's spooling directory with global
read permissions. This setup uses rsh/rcmd/remsh or npwrite to talk to the unit.
RCMD Specify the name of the remote shell command to use for
transferring data to the print server (i.e. rsh).
Use the mkprintersh program to add a new AdobeTranScript printer entry. For
now, use /dev/ttypa as the device interface for any port on the print server.
When the program creates the spooling directory and entry in letclprintcap file,
set the Ip= field to the devicefile argument from npd.
Example:
Note: These steps and associated examples refer to a setup with a queue named
queue2, a queue device named IpO, printing to the destination dlpltl on the
print server named spike.
This file is only created after the mkvirprt command has been executed in Step
5. This step redirects the print job over the network to the print server.
7 Run chvirprt since the print setup has been altered and needs updating.
Enter: chvirprt -q queue2 -d IpO
If you need to delete an entire print setup, use the rmvirprt command.
For further information on these commands, please see your AIX system
documentation.
NCSA
NCSA is a freeware package available on the Internet at zaphod.ncsa.uiuc.edu
in the directory /PC/Telnet/msdos/contributions. The file is tel23bin.zip. It
contains an lpr client for DOS that is compatible with the print server.
You can send jobs to the print server with the following command syntax:
Ipr -Sipname -Pdestname
where ipname is the print server I P name or IP address and destname is the
name of a print server destination.
which sends a print job to d2plt2 on the print server named spike.
FTP's PC/TCP
FTP Software markets a package called PCRCP which provides an lpr client
for DOS that is compatible with the print server.
Jobs can be sent to the print server directly with the following command syntax
after an entry has been made for the print server in the host table:
where ipname is the print server's IP name or IP address and destname is the
name of an print server destination.
FTP's package also provides Windows printing along with several other
software packages on the market. These are just two possible applications that
will work with the print server. Please see the user manuals of the appropriate
applications for more information.
npwrite is a sample program that performs this way. It is included in the host
software shipped with your print server. For examples, please refer to 'Direct
printing without the spooler' on page 30.
FTP daemon
The FTP daemon provides an additional method to submit print jobs to the
print server. For a complete discussion of printing and other print server
functions using the FTP daemon, please see 'FTPdaemon' on page 131.
Now that your TCP/IP host is configured for printing, please look to the
following for further configuration options:
Even though the entire print set-up is done through PCONSOLE, you may
want to communicate directly with the print server in order to modify settings,
monitor the unit, etc. To communicate with the print server, the optional host
software, npsh.exe is included. npsh.exe is aDOS executable program that can
be run from a DOS prompt on a NetWare workstation.
npsh nvplist Lists all of the print server's on the network; each name is in the
format 0-xxxxxx (where xxxxxx equals the last six digits of the unit's
Ethernet address) by default regardless of whether it is configured as a
PSERVER or an RPRINTER. This name is configurable.
npsh unitname Starts a Telnet-like session with the named print server
allowing you to configure, monitor, and troubleshoot the unit with its built-in
command set.
npsh unitname command Initiates a single command with guest access only
to the unit instead of entering into a complete session.
t From a DOS prompt on a Novell workstation, begin an npsh session with the
unit.
Type: npsh unitname
which starts aTelnet-like session with the named print server with guest access
only.
A standard login screen is displayed prompting you for the login name and
password.
Root users require the use of a password as configured in the unit's user list.
4 Enter the password. If this password is not yet set, press enter at the password
prompt. Otherwise, enter the password that is already stored on the unit.
password
You are now logged in to the unit as a root user and can access any npsh
command on the unit.
Note: Because npsh.exe makes use of broadcasts, you may have problems
communicating across a router: Therefore, it should be run on the same
subnetwork as the printer For instance, it will not work when run on a
non-dedicated server such as Netware for OSB, because the server simulates
an internal alternate subnetwork.
Novell configuration
er configuration
The print server configuration in a Novell environment is much simpler than
that required in a TCPIIP one. No addresses, masks, or router entries are
necessary and in most cases, the print server can simply be connected to the
network, turned on, and then configured for printing from a Novell station
through PCONSOLE. The only parameters that you may want to set is a
PSERVER password or possibly the frame type.
PSERVER bootup
When booting as a PSERVER, the print server gets a server list from the first
file server it contacts. The unit then contacts those servers on that list to see if
there is a queue that needs servicing. The queues are then be polled every 5
seconds (by default) by the print server to see if there are any jobs queued.
RPRINTER bootup
When booting as a RPRINTER, the print server again gets a server list from
the first file server it contacts. For each server found on that list, it then looks
for a file called SYS:\LOGIN\O~xxxxxx\CONFIG where xxxxxx is the last six
hexadecimal digits in the Ethernet address found on a sticker on the board. This
file contains one set rprinter command for each RPRINTER serviced by the
print server since the RPRINTER settings do not hold their effect through a
power cycle.
Novell configuration
ERVER setu
This procedure configures the Noveil file server to use an print server as a
PSERVER in a non-NetWare 4 environment. Please see NetWare 4 Options on
page 61 for more on a NetWare 4 setup.
Type the name of the print server. By This new server is added to the list.
default, it is 0-xxxxxx where xxxxxx
equals the last six digits of the unit's
Ethernet address. (e.g.0-000BF5)
Select the new server and press PRINT SERVER INFORMATION menu
anten. comes up.
Select PRINT SERVER This menu displays.
CONFIGURATION.
Select PRINTER CONFIGURATION.
Select the first item listed as NOT The PRINTER N CONFIGURATION window
INSTALLED and press <Enten.
14 Type in the name of one of the eight Cursor sits at the Type field with a printer name
default destinations on the unit for the now assigned.
Name field (e.g, dlpltl, d5plt1, etc.)
and go to the Type field.
- Press <Enten at this field and then Comes back to the PRINTER N
15
select DEFINED ELSEWHERE. CONFIGURATION window.
Press <Escape> and select Yes to save Gives you the option to define more printers.
changes.
Press <Escape> again. Returns to PRINT SERVER
CONFIGURATION menu.
Select QUEUES SERVICED BY A list of defined printers displays.
PRINTER.
Select one of these printers. A list of queues comes up. It will be empty the
first time you use it.
Press <Insert>. Displays a list of available queues.
Select the queue created earlier to Asks for a priority.
service this printer and press <Enten.
Press <Enter> to select the default. Comes back to queue list.
This is fine for most cases.
Press <Escape> back to Main Menu Main Menu displays.
Reboot the print server by unplugging Unit will boot up and see the new queue that it
*
and plugging it back in. has to service. This may take a minute.
Check CURRENTLY ATTACHED You should see the print server's name
SERVERS once you have gone into displayed (e.g. 0-000BF5).
view the appropriate queue.
Press <Escape> until you have exited The configuration is complete.
PCONSOLE.
Novell configuration
NTER setup (
This procedure associates an existing PSERVER with a remote print server
acting as a RPRINTER in a pre-NetWare 4 environment. It is the PSERVER's
responsibility to get jobs from the queue and to pass them off to the print server
acting as the remote printer. Unlike a PSERVER set-up, the print server does
not deal directly with the queues.
As a RPRINTER, the print server does not use a login ID. In addition, a
non-print server PSERVER (e.g. PSERVER.NLM) must be running for
RPRINTER to operate.
To ensure that the print server contacts the file server that contains the
CONFIG file, set up the appropriate file server as a preferred file server. Please
see 'Setting preferred file sewers' on page 126, for more information.
Attention: Ifyou are using a con$gurationjle and you have changed the
name of the print server, you must change the name of the directory
containing thisjle.
i
3
60 Ethernet Print Sewer User's Manual
I
To set up the unit as a RPRINTER in a pre-Netware 4 environment, you need to:
Novell configuration
Action Result of Action
Press <Insert>. A list of available queues displays.
Select thequeue you want this printer to Prompts you for a priority.
service and press <Enten.
Press < E n t e n to use the default. Returns you to the queue list.
Usually this is fine.
Press <Escape> until you have exited You're now at the command prompt.
PCONSOLE.
Start PSERVER. Starts the PSERVER so the print server can
service it as an RPRINTER.
In SYS VOLUME on the file server, You will be at this prompt.
change to the \LOGIN directory.
Create a directory named after the print This directory is created.
server. By default, this will be
0-xxxxxx wherexxxxxx is the last six
digits of the unit's Ethernet address.
(e.g. 0-.000BF5)
Within this directory, create a file called A blank file displays.
CONFIG and open it for editing.
Enter the line: set rprinter add One entry is written in the file. One entry is
pservername printernumber destname required for each RPRINTER serviced by the
where pservername equals the existing print server.
PSERVER's name, printernumber
equals the defined number for this
printer in that PSERVER, and destname
equals a print server destination
(e.g. dlpltl, d5plt1, etc.).
Reboot the print server to enable these The print server will boot up and read this entry
changes. from the CONFIG file and set itself to act as an
RPRINTER.
Included in this sub-section are the steps for a PSERVER setup since the steps
have changed now that bindery emulation is required. A RPRINTER setup is
not included since the only changes from a pre-NetWare 4 RPRINTER setup
are some name changes in PCONSOLE.
Novell configuration 63
Action Result of Action
Select this new print server and press PRINT SERVER INFORMATION menu
<Enten. displays.
Select PRINTERS. A list of defined printers comes up.
Press <Insert> to add a printer to the Prompts you for the printer name, type, and
list. some additional fields.
Type in the name of one of the eight Cursor moves to this field.
default destinations on the unit for the
Name field (e.g. dlprnl, d5plt1, etc.)
and go to the Q p e field.
Press <Enten at this field and then Brings you back to the printer's window.
select DEFINED ELSEWHERE. If
DEFINED ELSEWHERE is not
available, choose PARALLEL.
Press <Enten on the Print Queues List of available queues is displayed.
Assigned field. ..
Press <Insert> to display all queues; You are prompted for a priority
select the one you defined earlier and
press <Enten.
Select a priority and press <Enter>. Printer's window displays with fields now
Priority 1 should be fine. filled in.
Press <Escape> until you are back to Main Menu is displayed.
Main Menu.
Reboot the print server by unplugging Unit resets and realizes its new configuration. It
and then plugging it back in. then attaches to the queue after 30 seconds or
SO.
Check the CURRENTLY ATTACHED You should see the print server's name
SERVERS once you have gone into displayed (e.g. 0-OOOBF5).
view the appropriate queue.
Press <Escape> until you are out of The configuration is now complete.
PCONSOLE.
Novell configuration
Ethernet Print Sewer User's Manual
Ethernet Print Server
User's Manual
This chapter will cover the few steps required to get your
print jobs printing to an Ethernet print sewer in an
AppleTalk over EtherTalk environment.
__11_1
If you wish to modify some of the print server's default settings, you can use
the built-in command set. See Chapter 8, Using the command set, for more
information on the available commands.
Example: 0-000BF5-pit1
is the printer associated with the print server named 0-000BF5 using the first
port.
The print sewer's default name is 0-xxxxxx where xxxxxx equals the last six
digits of the unit's Ethernet address as noted at installation time (Refer to
page 164).
AppleTalk configuration
AppleTalk zones
If the print server does not come up in the correct AppleTalk zone, you can
configure a particular zone name on the unit. To do this, start an npsh session
with the unit and enter the following command:
To clear the AppleTalk zone, type the command without entering a zonename
and press <Enten.
The following example details the steps necessary to change the name that
appears in the Chooser from 0-000BF5-pltl to Sales-laser.
Note: This new name will also affect Unix, Novel1 and NetBIOS setups.
3 Enter the name that you would like to appear for the papname (e.g. laser). This
will make up the second part of the name in the Chooser.
Qpe: store pserver applepap pltl name laser
If you want to limit the number of printers showing up in the Chooser, you need
to disable the AppleTalk service from the related destination's list of services.
To do this, start an npsh session with the unit and follow the steps below:
2 Look at the Apple Pap section of the listing to learn the destination name that
corresponds with the unnecessary printer's papname.
3 For each printer that you do not want to appear in the Chooser, disable the
AppleTalk service from the corresponding destination's list of services. Type
the following command:
set dest destname service [socket] [lpd] [lpsched]
[rprinter] [pserver] [netbios] [ftpd]
When typing this command string, you are merely omitting the reference to the
AppleTalk service. You can also turn off any other services that are not required
by this destination by also omitting them from the command string.
4 Repeat the previous step until you have removed the AppleTalk service from
each of destinations that correspond to the papname of the unnecessary
printers.
5 Save the changes to EEPROM.
Type: save
AppleTalk configuration
To disable the AppleTalk module, start an npsh session with the unit and follow
the steps below:
You are merely leaving out AppleTalk from the command string of available
protocols. You can also turn off the Novell protocol by leaving it out of the
command string if the print server is not servicing any Novell networks. The
TCP/IP module cannot be turned off.
Add to or change configuration of your print server. Please see 'Using the
command set', on page 89. P
u Utilize more advanced features of the print server. Please see 'Options' on
page 117.
The steps in this chapter will help you get one workstation or server printing
to the print server print server. From there, you can set up other workstations
to either print directly to the print server or to spool to a central area.
In each of these environments, the basic setup steps required to get you printing
from one of these hosts are:
",
If you are not familiar with IP addresses and are sure that this network will not
go onto the Internet, the following are some sample settings to use:
I I
IP Address
I
Netmask
Host 1 192.1.1.1 I 255.255.255.0
Print server 192.1.1.2 255.255.255.0
Host 2 192.1.1.3 255.255.255.0
and so on...
I
To install the necessary software, please see the following sections below.
Generally, when you install this software,you will be prompted for theTCPLP
settings (That is, IP address and netmask). If you are not prompted for these
settings, please refer to your Windows documentation.
1_11
1 Select Main.
2 Select Control Panel.
3 Select Network.
4 In this Network Settings dialogue box, make sure you see these in the Installed
Network Software scroll box:
MS TCP/IP Printing
TCP/IP Protocol
Simple TCPLP Service
NETBIOS configuration
5 If these are not there, please install them and bind them to the network card.
Steps 3 to 11 in the previous section provide an example of this. Be sure,
however, to select the software components listed in step 4 of this section.
To configure a print server with its network settings, please see 'Manual
configuration through the serial port' on page 28, for detailed instructions.
Once you have configured the unit the print server is configured and
recognizable on the network. At this point, you can now configure your host.
NETBIOS configuration
Now that your workstation(s) and the print server have IP addresses and
netmasks, you can now configure a print setup. There are several methods
available depending on what Windows package you are using.
unitname Will be 0-xxxxxx where xxxxxx is equal to the last six digits of
the unit's Ethernet address as noted at installation time. (Refer to page 164).
This is the default name which can be can be seen with a debug netbios
command on the unit itself.
3 Create a printer to use this NetBIOS over TCP/IP path; select Control Panel.
4 Select Printers.
5 Choose a listed printer or add one.
Now this printer is available for printing. If you have another workstation (i.e.
WfW) that you want to access this printer, just make the printer shared on your
Windows NT workstations. To do this, you need to:
From this point on, print jobs will be spooled over to the Windows NT
workstation and then sent to the print server. This is a very clean and reliable
print method.
LPR method
where:
This printer is now available for printing and will interact with the print
server's built-in line printer daemon.
NETBIOS configuration
Windows for workgroups (WfW)
To set up a Windows for Workgroups configuration, you need to:
where:
unitname Will be 0-xxxxxx where xxxxxx is equal to the last six digits of
the unit's Ethernet address as noted at installation time. (Refer to page 164).
This is the default name which can be can be seen with a debug netbios
command on the unit itself.
destination Is a pre-defined destination opqueue on the print server that is
automatically mapped to an VO port. For example, destination dlpltl is
automatically mapped to the PLTl port. Please see 'Destinations' on page 84,
for a more detailed description.
4 Select OK.
5 Create a printer to use this path; select Control Panel.
6 Select Printers.
7 Choose a listed printer or add one.
8 Select Connect.
9 Choose a device:path to use (e.g. LPTl:\\O-000BFS\dlpltl).
10 Select OK.
You have now configured your Windows for Workgroups workstation to print
to the print server. This completes the entire print setup unless you want to
enhance it.
Add to or change configuration of your print server. Please see 'Using the
command set', on page 89.
Utilize more advanced features of the print server. Please see 'Additional
options', on page 117.
NETBIOS configuration
82 Ethernet Print Server User's Manual
Ethernet Print Server
User S Manual
Any of the eight destinations can be matched to any of the two UO ports, and
each destination uses one of the defined models for processing. The destination
list is limited to a maximum of eight entries; and is configured through the npsh
interface on the print server. Default destination names can also be changed to
something more meaningful.
See also: 'list dest' on page 95 and 'set dest' on page 101 and 'Optimizing the
print server's services' on page 120.
:i
Ia
I
i
i 84 Ethernet Print Server User's Manual
i
I
Each destination on the print server also has a model associated with it. The
eight models (one per destination) can be thought of as a series of mini-filter
that can do special processing to the print job data. These processing options
include:
banner page generation,
header string insertion,
trailer string insertion,
n tab expansion (xtab),
e carriage return insertion (onlcr),
e ASCII to Postscript conversion (a2ps),
e print job descrambling.
The default model names are ml to m8 and each comes mapped to a particular
destination. By default, the model settings are raw, that is, they simply pass
data through to the UO port untouched. This provides a clean state to begin
your configuration. Model names can be changed to be something more
meaningful.
The models are not capable of multiple copies and throughput may decrease if
onlcr or a2ps is enabled.
Each model definition includes: name, type, and some of these processing
parameters, if any. '
See also: 'set model' on page 103, 'set model' on page 103 and 'Setting up
special job processing' on page 119.
Setting Inclusions
I
raw I No content sensing. Jobs are assumed to match the printer type, or else the printer does
the autosensing and switching.
a2ps Convert ASCII jobs to Postscript or pass PostScript jobs directly to the printer.
(31 ModelTypes
Internal architecture
Variables
Variables are actually utilized within the print server's models and are useful
for defining lengthy header or trailer strings. This might be necessary for
certain printer switch strings, for example.
Variables are used to make efficient use of the limited space in these header and
trailer strings. Only nine elements can be included in these strings. Each
element can be one of the following:
letter a
code 0x40
variable $FF
Therefore, you could make up a series of variables and specify each of these
(up to nine) in the header or trailer string. Each variable could then contain up
to 14 elements of its own. \-.&
See also: 'list var' on page 98, 'set var' on page 109, 'list model' on page 97
and 'set model' on page 103.
Logpaths
The term logpath comes from the UNIX syslog logging system. With the print
server, each destination can report statistics on: user, page count, job name, and
printer errors. In addition, a checksum calculation can be obtained to confirm
data integrity when a job is sent to the printer.
Each logpath is associated with a particular destination and the eight default
logpath names range from 11 to 18. Logpath names can be changed to be
something more meaningful.
See also: 'list logpath' on page 96, 'set logpath' on page 102 and 'Capturing
printer feedback' on page 120.
Internal architecture
88 Ethernet Print Sewer User's Manual
Ethernet Print Server
User's Manual
a Telnet session,
r a remote command (i.e. rsh/rcmd/remsh),
r npconfig (please see Table 2 'npconfig Detailed configuration options
sub-menu' on page 22),
r DOS host software (please see 'Host software' on page 54),
a terminal on the serial port (please see 'Manual configuration through the
serial port' on page 28).
The print server can support up to 256 simultaneous TCP connections and 10
simultaneousTelnet sessions. All npsh commands except lp are available to all
of the above methods. The lp command is available only to rsh/rcmd/remsh
clients. Please refer to Ip in section 8.6.
The print server's parameters can also be manipulated through the FTP
daemon and through SNMP. See 'FTP daemon' on page 131 and 'Managing
with SNMP' on page 127, for more details.
npsh prompt
When npsh is accessed through a Telnet or serial terminal session, a prompt is
displayed after login to indicate that it is ready to accept a command from the
user. The Telnet prompt is formatted ipaddress:userid> where ipaddress is the
IP address of the print server, and userid is the user ID of the currently
logged-in user.
Example: 192.75.11.32:root>
where 192.75.1 1.32 is the print server's IP address and the user is root.
The serial port's login prompt is formatted userid>.
Example: root>
where the user logged into the serial port is root.
Users with root permission can execute all commands; users with guest
permission cannot do any configuration and can only execute commands that
display settings on the print server. However, they can use ping and telnet as
well.
Use list user to look at current settings. As root user, refer to set user to change
these settings.
For a complete command set reference, please see 'npsh command set' on
page 93.
where command is a "alid npsh command and ioportname can be pltl or plt2.
Command set
npsh basic commands
Before reading on about the print server's command set, it is important to
understand some of the basic commands involved.
Set commands affect only current settings, not stored settings in EEPROM.
The save command is used after set to save the new settings to EEPROM.
Store commands only affect stored settings in EEPROM but not the current
settings. This means the print server must be reset to make any changes take
effect. For example, if you change the current settings of the IP address and the
netmask, this will only take effect after a reset (warm boot) from EEPROM, or
after a power-on (cold boot).
Command syntax
The commands in this section are listed alphabetically by title and include all
commands available on the print server.
An explanation of what the command does and how to use it follows the
syntax. All examples for a particular command are provided at the end of that
command's main section and when another command or other information
may be useful, a reference is given.
cancel
cancel jobid
chr
chr arguments
Used with redirection, the chr command sends output control codes to the
printer. Separate arguments with spaces. Arguments can be a combination of
words, any printable character, or the common set of $BS, $TAB, $ESC,
$DEL, $EOF, $NULL, $FF, $LF, or Oxhh (hexadecimal code for any
character).
Example: chr $LF causes an extra linefeed before the next prompt.
See also: 'Redirecting output from commands' on page 91.
Command set
debug
The debug set of commands display detailed debugging information about
memory, the network interface, and protocols.
debug ipllpqlmemlnetbioslniflnovellltcp
disable
disable ioportnameldestname
Disable the specified UO port so jobs are queued but not printed or disable the
specified destination so any new jobs are rejected. ioportname is one of the four
VO ports and destname is the name of one of the unit's destinations.
enable
enable ioportnameldestname
Enable the specified UO port so jobs queued are printed or enable the specified
destination so new jobs are processed. ioportname is one of the four UO ports
and destname is the name of one of the print server destinations.
keycode
keycode escapecharacter
choice can refer to a number of parameters. All possible options are listed
below.
list arp
list arp
list date
list date
list dest
list dest
List current print server destination definitions and their properties including:
name, 110 port, model used, logpath, state, alternate destination, and service(s).
List the specified print server destination's complete current settings. destname
is the desired destination.
Command set
list diff
list diff
list ifc
list ifc
Display all of the Network Interface Tap (NIT) modules' physical properties
such as their interface number and Ethernet address.
list key
list key
list logins
list logins
See also: 'User accounts and permissions' on page 91 and list user.
list logpath
list logpath
List the specified print server model's complete current settings. modelname is
the desired model.
--
list pserver
list pserver
list rprinter
list rprinter
List information about the Novel1 RPRINTER configuration. Entry will appear
if the print server has made a connection to the file server.
See also: 'Host configuration' on page 57, set rprinter and debug.
list sysinfo
list sysinfo
This output will not include the descramble key even if you have set one.
Command set
list tcpip
list tcpip
See also: 'Getting ready for complex networks' on page 122 and store tcpip.
list test
list test
list time
list time
list user
list user [useridlall]
See also: 'User accounts and permissions' on page 91, list logins and set user.
list var
list var
Load the settings stored in EEPROM and use them as the current settings.
These settings include: destinations, models, logpaths, user, TCP, VO ports,
variables, system information, and portmaps. This does not affect network
parameters. Use this after a power failure to restore settings saved in
EEPROM.
load default
Note: Load the factory settings and use them as the current settings. Use this
in combination with store net from default when reinstalling the print servel:
lp options -d destname
Command set
lpstat
lpstat
Display active and queued jobs on the print server and I/O port status.
ping
ping ipname
Note: To utilize the IP name, the DNS server's IP address must be setjrst so
the print server can resolve the IP name. See set sysinfo for more information.
reset
reset
save
save
-
Attention: Save default overwrites e v e ~ t h i n g ,
Set Commands
Change the current parameters. The three command possibilities are:
choice and parameters can be any of the following options described below.
Note: Once you have set any parameters, you need to issue a save command to ,
store these new values to EEPROM.
set date
set date year month day
Set the current date. year is four digits, month is from 1 to 12, and day is the
number in the month.
set dest
set dest destname ioport pltllplt2
Associate a destination with an I10 port so that jobs sent to that destination
appear on the specified port.
Command set
set dest destname logpath logpathnanze
Associate a logpath with a destination. Please see set logpath to configure this
logpathname.
Associate a model with a destination. Jobs sent to the named destination are
processed according to the options defined in the named model. Please see set
model to configure this modelname.
Note: When you change a destination name, you may have to reconjgure the
host to reject the change.
Example:
set logpath
set logpath logpathname name newname
Rename a set of printer logging options. logpathname is the current name and
newname is the new name you wish to give the logpath. This newname must
be nine characters or less or else it will be truncated. In addition, all names are
case sensitive.
If the email or syslog option is selected, please see set sysinfo for setting up IP
addresses to send to.
Establish the type of printer logging. These types can be combined by placing
a space between each entry:
See also: 'Logpaths' on page 87, list dest, list logpath and 'Capturing printer
feedback' on page 120.
set model
set model modelname banner [psltextlauto] [after]
Note: The banner type and the printer type must match.
Note: To set thisfeature on, you must configure the descramble key first. Please
see set sysinfofor more on this requirement and for further details, please see
Host software and Scrambling/Descrambling.
Set the header string for a named model. The header precedes every job that
goes to a destination using the named model. headerstring is a string with a
maximum of nine elements; each element may include a letter, code (e.g.
0x04), or variable (e.g. $FF).
Change the name of a model to a new name. modelname is the current name
of the model and newname is the new name you wish to give the model. This
newname must be nine characters or less. Otherwise it will be truncated. I r
addition, all names are case sensitive.
Set the trailer contents for a named model. The trailer is appended to the end
of every job that goes to any destination associated with the named model.
trailerstring is a string with a maximum of nine elements; each element may
include a letter, code (e.g. 0x04), or variable (e.g. $IT).
Switch printer modes if the printer is not capable of doing this on its own but
is capable of printing both plot files and PostScript jobs. To do this, the model
appends a header and trailer string to each job switching the printer to and from
the appropriate mode. The switch strings must be provided to tell the printer
how to change between plot file and Postscript modes.
If no parameters are specified, the model defaults to the switching strings for ,
an OcC printer. pclswvar is the switching string to change modes to plot file and
psswvar is the switching string to change modes to PostScript.
See set var to set a new variable with a particular switch string or Variable
Definitions for the pre-defined switching variables.
Set the model specified to no sensing and no conversion. In this mode, there is
no ASCII to Postscript processing and no switching strings appended to the
jobs.
sets the header string of the model m4 with five elements. Invokes CR
insertion.
Command set
Note: When inputting a or a "& " and you 're using RSHD to execute this
'I$"
set rprinter
set rprinter add pservername printernumber destname
Initiate aconnection to a Novell PSERVER so that the print server can act as a
remote printer. A non-print server PSERVER must be pre-configured to
recognize a remote printer.
set sysinfo
set sysinfo contact [contactstring]
Set the key value used for descrambling print jobs from TCPIIP hosts. This key
is a four digit hexadecimal value obtained from the host software, npscramble.
Within the npscramb1e.c source code, there is a variable called SR-KEY
which contains the default key value. This can be changed to any four digit hex
value you'd like.
Note: Ifyou change the key value in npscramble.~, you must recompile the
source code and then use this key in the set sysinfo command.
Set the DNS server's IP address so the print server can resolve names used with
ping and telnet. Please see ping or telnet.
Set the user's email address to receive printer logging information. emailname
is the IP name of the user to send mail to. ipaddress is the IP address where the
mail is stored. See also set logpath to set printer logging to email.
Set the physical location of the print server. If the locationstring is not included
in the syntax, the field is emptied.
Select the print server debugging information type. Usually this information
includes unexpected errors or exceptions from the unit and can be broken down
into:
SYS General system messages.
tcp TCP stack messages.
ipx IPX stack messages.
SPX SPX stack messages.
Note: This debugging information is from the print server only, not from the
printer: See set logpath and Capturing printer feedback for details on
acquiring printer logging.
Command set
Set the name of the print server. This is just a string and is not used in the
operation of the unit. If namestring is not included in the syntax, the field is
emptied.
Set the IP address of the host which will receive debugging information from
the unit and printer logging through SYSLOGD. Please see the earlier set
sysinfo commands and set logpath for further syslog configuration.
sets fred as the user to receive printer logging as long as the logport is set to
email. This printer logging just includes job information.
set time
set time hour minute [second]
Set the current time. hour is based on the 24 hour system, minute and second
are from 0 to 59.
--
set user
set user addldelete userid
Define a new user or delete a current one. userid is the user's login ID.
Set a password for a specific user. userid is the user's login ID. password is the
desired password for this user. password must be less than eleven characters
and if it is not included in the syntax, the user's password is cleared.
If you forget the root password, you can use a TCP/IP host and RSHD as
superuser to set the users back to factory defaults (set user from default) or you
can use the jumper method mentioned in Restoring to factory defaults.
Set a user with guest or root permissions. userid is the user's login ID.
See also: list user, list logins and 'User accounts and permissions' on page 91.
set var
set var varname string
Note: When inputting a "$" or a "& " and you're using RSHD to execute this
command, you must place a '1"beforehand so the local shell interpretor
doesn't parse it out.
See also: 'Variables' on page 86, 'Variable definitions' on page 150 and 'list
var' on page 98.
start
start foxlttslloopb [pltllplt2]
Command set
Start an ASCII output test on the specified U 0 port. If no U 0 port is specified,
the command affects all of them.
These tests are for confirming that the print server is communicating properly
with connected devices. Three different types of tests can be done:
1 The quick brown fox jumps over the slow lazy dog's back 1234567890 :! @#$&0.
2 The quick brown fox jumps over the slow lazy dog's back 1234567890 :!@#$&0.
3 The quick brown fox jumps over the slow lazy dog's back 1234567890 :! @#$&O.
4 The quick brown fox jumps over the slow lazy dog's back 1234567890 :!@#$&0.
!
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG 1234567890 DE
,
3 loopback test.
Any input characters from the device attached to the output U O port are echoed
back as output characters.
stop
stop alllpltllplt2
I
See also: start and list test.
Store Commands
Change critical parameters such as network, 110 port, and protocol settings.
The three command possibilities are:
Note: Once you store any parameters, you need to switch the printer OFF/ON
to reboot the print serve4 to apply the changes. Otherwise, you will still be
using the current settings.
For the store commands, these new words are important to know:
store ifc
store ifc ifnum utp [[-]li] [[-]rx]
Modify the NIT module's physical UTP interface properties where li enables
link integrity and rx enables the increased receive threshold.
Command set
A "-" before either disables this feature. ifnum will always be 1 for the print
server since there is only one network interface, Ethernet.
See also: list ifc.
store pserver
I store pserver name newservername
I
i Store a new name for the print server indicated by newservername. This name
a will affect Novell, AppleTalk, and NetBIOS setups.
i
I
store pserver apple zone [zonename]
i
Store a particularAppleTalk zone on the unit. To clear the AppleTalk zone, type
store pserver apple zone and press enter.
Change the AppleTalk printer specified by papname to use the printer driver
name specified by chooser-driver. This driver is selected in the Chooser menu.
Change the AppleTalk printer name that appears in the Chooser. papname
makes up the second half of the name and is transparently mapped to an print
server destination.
Allows users to cancel print jobs on the unit without having to be root users.
Disabling jobsecurity allows all users to issue the cancel command.
i
3
store pserver novell frametype [ethernet2 1 802.3 1 802.2 I 802.2snapl
Store a particular frame type for the print server to adhere to in a Novell
environment. No parameter means it will automatically sense and
simultaneously support all Novell frame types upon bootup.
Adds a specified Novell file server as a preferred file server. This feature is
useful in a large Novell network so that the print server does not ignore
important file servers. If this feature is not enabled, the print server will only
acknowledge the first 16 file servers it senses.
Deletes a particular Novell file server from the print server's list of preferred
file servers.
Allows users to disable the keepalive packets sent by the print server to the host
in order to maintain an SPX connection. The [-I disables spxkeepalive.
Store the password for the print server to use when logging in to the file server.
This password must match the password set in PCONSOLE.
Store the time (in seconds) between polling by the unit to see if print jobs are
in the queue on the file server. This is applicable to a PSERVER setup only.
Command set
store tcpip
store tcpip lfnum addr ipaddress
ifnum will always be 1 for the print server since there is only one network
interface, Ethernet1
Control the frame type(s) used by the NIT module specified by ifnum.
Enable or disable the RARP and BOOTP for the NIT module specified by
ifnum
Enables the gateway (IP routing) functions of the print server. By default, the
gateway is disabled. This command must be used in conjuction with the store
tcpip proxy command below.
Enables the print server to respond to arp requests for IP addresses that are
different than the interface configuration of the print server.
Add or delete a default router entry in the print server's routing table for the
NIT module specified by ifnum.
stores a host with IP address 192.75.30.11 into the unit's routing table for the
first NIT module. The router's IP address is 192.75.30.3.
Add or delete a default router entry in the print server's routing table.
Delete a specific route from the routing table of the NIT module specified by
ifnum.
Add or delete a host or network in the TCP connection access list. An empty
list allows any host to have TCP sessions with the print server.
Provides the host with IP address 192.75.30.1 1 root access to the print server.
Modify the receive window size property for TCP connections. packetsize is
the number of full size packets and must be in the range 1 to 8. The higher the
number, the fewer simultaneous TCP connections.
supervisor
supervisor
Command set
Gives you root permissions when utilizing the Novel1 host software, npsh*exe,
to start a full session with the print server.
See also: 'Host software' on page 54 and 'User accounts and permissions' on
page 91.
telnet
telnet ipname [escapecharacter Iportnumber]]
Telnet from the print server to another host on the network specified by its
ipname. ipname can be either an IP address or an IP name. By specifying a
TCPportnumber, you can also connect to a specific socket on the target host.
Note: To utilize IP name, the DNS sewer S IP address must be setjrst SO the
unit can resolve the IP name. See set 'set sysinfo'on page 106 for more
information.
3 Novell Options: setting password security and setting preferred file servers.
4 Managing with SNMP: custom MIBs and traps, SNMP security, and SNMP
procedures.
5 FTP Daemon: FI'P file system, printing using FTP, monitoring using FTP, and
configuring parameters using FTP.
Network security
The print server provides various built-in security methods to protect its
configuration. These include passwords and permission levels.
Caution: If you decide to reconfigure the default name and you are using a
CONFIGJile to set print server parameters with your Novell setup, you
must remember to rename the directory containing thisjle.
Options
E camage return insertion (onlcr),
tab expansion (xtab),
m banner page generation,
m printer mode switching and general printer manipulation.
You can set each feature on the host within an interface file, nprbsdif or
nprsysvif, or on the print server itself. The choice is completely up to you.
Automatically you are given the choice between eight different destinations on
the print server allowing for eight different possible print setups; each of these
print setups is defined by the extra processing specified by it's associated
model. It is the model that defines most of these extra processing options.
TOmake use of these special job processing features, please read over the
appropriate host configuration section or the full list of extra job processing
options documented in 'set model' on page 103.
If you are not utilizing all of the protocols provided on the print server, you can
disable the unused ones providing more memory for the protocol(s) in use.
Please see 'set sysinfo module [novell] [appletalk]' on page 118 for the
command details.
In addition to disabling certain modules, you can also disable destination
services. Not every destination on the print server needs to have the same
features and in the case of an AppleTalk setup, you probably don't want every
destination appearing in the Chooser. Please see 'set dest' on page 101 and
'Removing excess printers from the chooser' on page 71 for further details.
Logpath method The easiest and most reliable method is to utilize the many
logpath options available on the print server. These include logging printer
feedback to:
To configure any of these logpath options, please see 'set logpath' on page 102.
Lp method
The print server provides its own version of the Ip print command. This is used
in conjunction with rsh/rcmd/remsh within an interface script or directly from
the command line on the host. By default, it provides printer status andcan also
be configured to report incremental byte counts as the job prints. It can also
show the job position in the print server's queue as it moves to the top.
Note: Using lp will provide printer error messages as well as job status.
If Ip is used from the command line, any printer status will come right back to
the screen. If used within an interface script, the messages will go to the log
file located in the spooling directory.
Since lp must be used with rsh/rcmd/remsh only, this feature is only offered
with a print setup utilizing an interface script or with a rsh/rcmd/remsh
command from the command line on the host.
Please see 'lp' on page 99 and 'rsh/rcmd/remsh' on page 3 1 for further details.
Novell and TCP/IP are really the only protocols that offer this configuration.
The print server provides simultaneous support of multiple Novell frame types.
Please see 'store pserver' on page 112 and 'store tcpip' on page 114 to find out
which frame types are offered in each environment.
Options
Restoring to factory defaults
Occasionally, it is necessary to set the print server's network parameters back
to factory defaults whether it be because you are moving the print server, you
are changing your addressing schemes, or you just want to start from scratch.
These network parameters include: IP address, netmask, and routing table
entries.
This is done through issuing a command on the print server and the switching
the printer OFFION to reset the print server to all the network settings it came
with originally.
Through npsh
To restore the network default settings through the print server's command set:
1 Use a Telnet session or connect a terminal to the serial port of the print server.
2 Once logged in as a root user, restore factory defaults by entering:
store tcpip from default
3 Switch the printer OFFION to reboot the print server and then reconfigure its
settings according to one of the methods discussed in Print server
configuration.
To set a default router or a static route, please see 'store tcpip' on page 114 and
to look at the current routing entries, please see 'list tcpip' on page 98.
Options
Maintaining network security
Besides the general security measures mentioned in 'Network security' on
page 119, the print server provides two more for TCPiIP environments. These
include:
Access list
The TCP access list is another method to protect the print server and its
configuration while the scrambling protects your print data from being viewed
by others as it passes over the network to the print server.
The print server has the ability tocontrol host access to printer destinations and
remote command execution services. This is done using an access list, similar
in function to the UNIX .rhosts file. If the access list is empty, any host cdn
have access to the print server's services. If there are entries in the access list,
only those hosts specified have access to these services. Although the
maximum number of entries is 10, each entry can refer to a network or a host
so more than 10 machines can be enabled.
Note: Only users that have root permission can conjigure the remote host
access entries. Users with guest permission can only display these entries.
To set up the access list, please see 'store tcpip' on page 114 and to look at the
current settings, see 'list tcpip' on page 98.
Note: This scrambling method will protect against casual viewing with
network analyzers. However: it is not encrypted and cannot be considered safe
from cryptographic attack.
1 Look into the npscramb1e.c source code for a variable called SR-KEY. This
contains a four digit hexadecimal value to be used as the descrambling key on
the print server.
2 Log into the print server as root user and set this value as the key.
Enter: set sysinfo descramblekey key
5 Incorporate npscramble into your print setup on your host. Scrambling can be
set within npcif or added to the command line when printing.
where test.txt is piped through npscramble for scrambling and then sent for
printing on the print server spike's destination dlpltl.
Please see 'Host software' on page 20, 'Printing via the spooler' on page 32,
and 'set model' on page 103.
Options
Setting password security
Besides the general security measures mentioned in 'Network security' on
page 119, a Novell setup provides further password security. A password can
be set on the print server and within your PCONSOLE setup so that when the
print server tries to login to the file server, the passwords are compared.
The print server is a fully manageable SNMP agent that supports MIB-I1 ( to
monitor protocol, network, and routing statistics), custom MIBs and traps.
The print server's custom MIB definition file is included on the host software
disk in a file called oce.mib.
Options
System variables
The first grouping of variables contains general information about the print
server such as firmware version, serial number, etc. In addition to these, it
includes a trap table which defines what SNMP managers will receive the traps
generated by the print server. The trap table can have up to ten entries, but only
the first entry is saved to EEPROM.
Product variables
The second grouping of variables contains information defining all of the
remaining functionality of the print server. The product variables are divided
into:
Note: These variables can have read, write, or read-write permissions. Along
with these permissions there are other elements that can limit the write access
to these variables. Please see SNMP security, below, and 'User accounts and
permissions' on page 91 for more information.
To access the print server's custom MIB, the public community string can be
used to read any variable that have read access. To restrict write access, there
is an additional security step implemented. This involves defining a user named
snmp on the print server with root privileges. The password defined for this
snmp user will then be used as the community string which allows write access.
Options 129
Note: This example assumes that the snmp password has been dejned as
custommib, that the print sewer's ipname is spike, and that the SNMPmanager
is the Trickletspackage.
1 Set up a snmp user with root privileges on the print server, as explained in
'Adding an SNMP user' on page 129.
2 Set the following print server trap variables using your SNMP manager. The
actual syntax of the commands will depend on the particular SNMP manager
you are using.
echo "trapCommunity[l]=\"building-A\"" I snmp-set spike custmmib
where building-A is the string that you want the print server to send with the
trap information. This community string has a 14 character maximum.
echo "trapDest[1]=192.75.11.11" 1 snmp-set spike custommib
where 192.75.11.1 1 is the IP address of your SNMP manager
Note: To disable the entry in the trap table, set the IP address to 0.0.0.0
The print server will now send trap information with the community string
building-A to the SNMP manager with the IP address 192.75.11.1 1. For more
information on these trap variables, please see their description in the custom
MIB definition file.
Note: The trap table can hold up to ten entries but only thejrst entry is storrd
in EEPROM. Ifyou turn the printer 08you will lose the additional entries.
For the purposes of FI'P, a pseudo file system has been defined on the print
server to allow access to the unit's functions. Three types of users can access
this file system: root, guest, and anonymous. Root and guest correspond to the
entries in the print server's user list; anonymous is a special type that does not
require a password. For each directory or file within this file system, there are
access restrictions according to the type of user logged in.
The following is the structure of the file system you will see when you ftp to
the unit:
Options
reflect the default configuration.These files are in binary
format.
/exec This directory is used as a command interpreter directory. Any
file with print server configurationcommands that is put to this
directory will be interpreted as a series of npsh commands.
Options
Configuring print server parameters using FTP
Users have two ways of configuring the print server's parameters using FTPD.
The first is by uploading binary files to the Iconfig directory and the second is
by uploading text configuration files to the /exec directory. We discuss each
method and give appropriate examples below.
1. lconfig directory The lconfig directory is divided into three subdirectories;
current, stored, and default. Each of the files in these sub-directories represent
one data structure regarding the configuration of the unit. These files can be
used to make a backup copy of the unit's configuration parameters or to copy
configuration parameters from one unit to another.
Note: The configurationfiles are in binary form and their format may differ
betweenfirmware versions. Users may not be able to upload a conjiguration
file that was downloaded from a previous version.
Copying a configuration using FTP
The following example shows how to copy a configuration file using FTP:
Note: Ifyou are restoring a configuration saved from another unit, the
conjguration must be of the same version as the unit receiving the
configuration.
1 Change to the local directory on the host where the saved configuration files
reside.
2 Login to the print server using ftp.
ftp ipname
3 Login as root.
You must be a root user in order to FTP files to the lconfig directory.
4 Change to the configlstored directory.
cd configJstored
5 Set mode to binary. Configuration files are always in binary form.
bin
6 Turn off the interactive mode.
prompt
7 Upload all the files from the user's local directory.
put *
All files are copied from the local directory to the configlstored directory.
Options
2. lexec directory Using the /exec directory, users can upload a text file that
includes a number of configuration commands. When this file is placed in the
/exec directory, the commands contained in it are executed as if they were
commands entered sequentially from a telnet session using npsh. This feature
enables the user to create a single text configuration file that can be used to
quickly and easily configure a number of print servers.
Note: The command syntaxfor the text configurationjle is exactly the same as
ifyou were entering individual commands with npsh through a telnet session.
Please see 'Command set'on page 89for details regarding the commands and
their syntax.
The configuration file can be seen as simply a user-defined script that includes
a number of configuration commands to be executed. Comments describing
the configuration can also be included in this file provided they follow the
correct syntax.
version 5.4
;If this command is found and the current version does not
;correspond to the command parameter, the file execution
;will abort.
9
load default
set dest dlpltl name newdest
set dest d2plt2 name another
set dest newdest ioport pltl
save
Note: The above example includes a line for the version number: Because the
commands andor syntax may changefrom onejrmware version to another;an
old conjgurationjle may be incompatible with the current version. By
entering a version numbel; the transfer will be aborted and the user notified to
check if the commands are compatible with the currentjrmware version i f the
version numbers do not match.
1 Change to the local directory where the text configuration file resides.
2 Login to the print server using ftp.
ftp ipname
3 Login as root.
You must be a root user in order to FTP files to the /exec directory.
4 Change to the /exec directory.
ed exec
5 Copy the text configuration file to the exec directory.
put filename
The print server's parameters are now set according to the commands in the
configuration file.
Options
IP routers allow computers connected to two (or more) separate networks to
communicate with each other. The print server IP routing capabilities allows
the print server to be Wide Area Network compatible.
For information on configuring the print server's IP routing features, please see
'store tcpip opts [-]gateway' on page 1 14 and 'store tcpip route addldel default
routeripaddress ifnum' on page 1 15.
This chapter will help you with various problems you may
encounter throughout your print setup or when printing.
There are four main sections in this chapter:
* TCP/IP Problems
* Novel1 Problems
* AppleTalk Problems
* NetBIOS Problems.
Communication related
You cannot ping the print server
There are a number of possible reasons for this:
a Have you switched the printer OFFION to reboot the print server?
Sometimes something this simple will solve various communication
problems.
m Is the network connector fastened tightly to the print server?
m Have you checked your network connection to the print server? Try it at a
new location on your network if possible or swap in another device.
m Have you made an entry in your host table (/etc/hosts, host nis map, or DNS
name table) for the print server?
Have you tried to ping with the IP address instead of the IP name? This will
eliminate any name-lookup issues and focus more on the communications
between the print server and your host.
m Is it possible that a duplicate IP address has been assigned?
a Did you use the correct netmask for your particular environment?
Has the print server been moved from another network? If so, it needs to be
reconfigured to integrate with its new location. This includes a new IP
address and netmask at the minimum. Please see 'Restoring to factory
defaults' on page 122 and 'Print server configuration' on page 23 for
possible configuration methods.
m Is there a router between the print server and your host? If so, adefault router
or a static route must be configured on the unit so the print server knows how
to get its response back to the originating host. Please see 'store tcpip' on
page 114 and 'Getting ready for complex networks' on page 122.
Have you set any hosts or networks in the print server's TCP access Ust? If
so, only these entries can access the unit. Please see 'list tcpip' on page 98 to
view current entries.
m Do you have a RARP or BOOTP server running on your network? By
default, the print server comes with the RARP and BOOTP request turned on
so although you may have stored a particular network configuration in the
units EEPROM, a RARP or BOOTP server may supply new network
parameters upon bootup. To turn off RARP and BOOTP on the unit, please
see 'store tcpip' on page 114.
You cannot telnet to the print server If you are unable to ping the print server
as well, please see 'Communication related' on page 140. If it is telnet only
that you are having problems with, these points should be considered:
Are you able to telnet to another host on your network or telnet from another
host? If not, look into your host's TELNET configuration.
Have you tried switching the printer OFFION to reboot the print server??
Does the fourth octet of the print server's given P address equal 0 or 255?
Each of the four octets in the IP address should be between 1 and 254.
Printing related
You've completed your print setup but nothing is printing
This can be the most frustrating problem since you've gone through the
configuration process and suddenly you don't know what's happening - "it's
supposed to work now." Here are some things to check over:
n Are you able to communicate with the print server? If you are having
communication problems, please see 'Communication related' on page 140.
I Is the printer online and in the correct mode for the file being sent to it?
a Is the printer spooler up and running on the host?
I Is the printjob data even getting to the print sewer? Once you've sent the job
from the host, try continuous lpstat commands on the print server. You
should see the byte count for that particular port incrementing as the job
passes through. If you are not seeing this happen, you may need to try a larger
job or else consider some of the other suggestions in this section.
If you're using npr.if to print, are the host binaries installed on your system
in a general directory such as /usrAocaYbin? Please see 'Printing via the
spooler' on page 32 for more on interface file printing.
Are there'any error messages in your email, a log file, or other standard error
files on your particular host? These messages can be very helpful in
narrowing down the problem.
Troubleshooting
Are all permissions correct on relative directories and files? Usually the error
message files will indicate permission problems but it's still something to
confirm.
Might the destination or 110 port on the print server be disabled? Please see
'enable' and 'disable' on page 94 for more on this feature.
If you are not able to print successfully yet, try the following:
Avoid the print spooler altogether by printing directly to the print server from
your host. If you are successful, go over your host's print setup.
Note: npwrite can also be used to send printjobs without spooler intervention.
Please see 'Direct printing without the spooler'on page 30.
Also, verify that the tab expansion (xtab) is set on with graphic jobs,
If you cannot eliminate the garbling, you may want to try printing using
another port (For example: Centronics). If the problem persists, see your
System Administrator.
Communication related
No connection with the print server after you have completed the setup
Whether you have configured the print server as a PSERVER or as an
RPRINTER, there are several things to confirm:
Have you tried switching the printer OFWON to reboot the print server? Wait
about a minute before checking to see if it has logged in and attached to a
queue.
Is the network connector fastened tightly to the unit?
When going through the setup steps, did you name the print server 0-xxxxxx
where xxxxxx equals the last six digits of the Ethernet address? This is the
default format of the unit's name whether it is acting as a PSERVER or as an
RPRINTER.
Note: This 0-xxxxxx name must have six digits after the "-" so i f necessary,
pad out each byte with a zero (0).
Has the print server's name been changed from its default of 0-xxxxxx and
if so, have you incorporated this new name into your setup?
m When setting the print server up as a PSERVER, did you specify a
destination on the print server (e.g. dlpltl) for the printer name and did you
remember this name is case sensitive?
Note: Print server destinations are case sensitive so they will not be recognized
if they are typed incorrectly. By default, they are all in lowercase. Ifyou are
setting up in a NetWare 4 environment, the destination must be renamed to
uppercase to match PCONSOLE S entry. Please see set destfor information on
changing names.
In a PSERVER setup, did you ensure that you were in bindery emulation
mode? If you were, then did you do your entire print setup (i.e. queue, print
server, printer) in this mode? It is important to create all print setup elements
in this mode.
Is there a password set for the print server to utilize when it is logging in to
the file server? Make sure the print server's PSERVER password matches
that of the PCONSOLE's PSERVER setup or set both places to no password.
Is there an entry when a list rprinter is done on the print server? When the
print server is configured as an RPRINTER, this command should produce
Troubleshooting 143
the appropriate entry. Please see 'Host software' on page 54 for details on
using the provided DOS host software, npsh.exe, to communicate with the
unit in a Novell-only environment.
Have you tried using the print server's debug novel1 command to see if it
even recognizes any file servers on the network? You can use the DOS host
software, npsh.exe, to communicate with the unit.
If you look in CURRENT QUEUE STATUS within the PRINT QUEUE
INFORMATION menu in PCONSOLE, can new servers attach to this
queue?
If you're configuring the print server as an RPRINTER, have you setup the
CONFIG file accordingly? Is SYS VOLUME correct for your particular
environment or was it configured differently upon your Novell installation?
If the print server has logged in to the file server but has not attached to the
queue, there may be a permission problem. Make sure the appropriate users
have rights to this queue (they should be in the group "everyone.") Also, YOU
may have to assign the queue to "root" so that is available to everyone.
If none of these help your situation, you may want to try the whole setup again.
Completely delete the setup that is giving you trouble and go through the setup
again following each step carefully.
Note: Be sure to switch the printer OFF/ON to reboot the print server before
beginning a new setup and after completing either a PSERVER or RPRINTER
setup. Wait at least a minutefor the print server to login and attach to a queue.
Printing related
The job goes to the queue but nothing prints
If nothing is printing, make sure you have a connection to the print server first.
Please see 'Communication related' on page 140 if you are having
connection-related problems. Otherwise, consider these points to solve any
printing problems you may be having in your Novell environment:
r Does the job leave the queue or is it stuck there indefinitely? If it leaves
properly, the problem points to the actual printing mechanism on your Novell
system (i.e. CAPTURE, NPRINT, etc.), to the print job format, or to the
printer itself. Otherwise, concentrate on the configuration steps you've taken
on your system.
Have you confirmed that you can print from the print server to the printer
ignoring the Novell setup altogether? Please see 'start' on page 109 for a
good test you can try.
These are just a few things to confirm. If you are still having printing problems
at this point, try switching the printer OFFION to reboot the print server and
either go over every step you took in your configuration process, or try a new
setup paying special attention to each step explained in 'Host configuration' on
page 57.
Troubleshooting
Some other things to consider when garbled data persists are:
With other print methods, the only thing to remember here is to configure the
print job for Byte Stream.This will pass the data to the print server untouched.
Troubleshooting
You cannot map an LPTx device
These are some of the errors you may encounter and what they mean when
attempting Step 13 in NetBIOS 'Host configuration' on page 78:
"network path not found" The name of the print server is not correct.
"unexpected network error" The print server destination specified does not
exist.
"in use" The specified LPTx device is not available.
I LF I OA 1 Linefeed
TAB 09 Tab
ESC 1B Escape
DEL 7F Delete
EOT 04 End of transmission
NUL 00 NULL character
Table 3: List default varariables
Client application software can send raw data to PLTl or PLT2 by opening a
socket to the associated TCP port number. Such connections are queued along
with LPD and rsWrcmd1remsh print jobs so that applications must close the
socket to permit subsequent jobs that are queued to print by other methods.
Specifications
152 Ethernet Print Server User's Manual
Ethernet Print Server
User's Manual
Glossary
Flash memory Allows for upgrade without replacing ROMs inside the
Print Server.
FTP daemon File Transfer Protocol daemon for uploading or
downloading files in TCP/TP.
GOSIP Government Open Systems Interconnection Profile. A
U.S. government document allowing new networks to
use OSI protocols.
Header strings Strings that precede print jobs used to control the
printer and set printing options.
Host A computer attached to a network. Location of print job
origin.
ICMP Internet control message protocol
ifnum Interface number. An index to a Network Interface Tap
(NIT). ifnum will always be 1 for the print server since
there is only one network interface, Ethernet.
Interface file Host filter that processes the print job before it is sent to
the print server.
IP Internet protocol.
IP router IP routers allow computers connected to two or more
separate networks to communicate with each other. IP
routers forward data packets that do not belong on the
local network.
%
.
Glossary
There can be a maximum of two printers which are
transparently mapped to any one of eight destinations
on the print server.
Parity An error checking scheme. Parity may be even (even
number of ONE bits), odd (odd number of ONE bits) or
none. Usually used in serial communications.
Ping Command to test an IP connection.
Pio file AIX spooling system configuration file.
PLT Plot file
PS postscript
Pseudo-tty A UNIX facility for accessing network resources
through standard UNIX device interfaces.
Reverse Address Resolution Protocol. A mechanism for
a network device to discover its address dynamically
when it boots.
a.5
Rarpd daemon Server that responds to requests for address discovery.
RFC Request for comment. A set of documents that specify
the Internet protocols and provide other relevant
information about the Internet.
RON Read only memory. Used for storing the firmware.
Router A device that forwards Internet Protocol (IP) packets to
their destination. "
rsh/rcmd/remsh Executes a command on a different host.
SLIP Serial line Internet protocol. A protocol used to connect
two internet hosts using a serial line.
SMB Server message block (NetBIOS)
SMIT program AIX device administration program.
SMTP Simple mail transfer protocol
SNMP Simple network management protocol. A standard
protocol used to monitor IP gateways, hosts, and the
networks to which they attach.
Spooling Storing data in memory or in a file until it can be
printed.
Glossary
Ethernet Print Server User's Manual
Ethernet Print Server
User's Manual
Installation
Note: Before installing the print server board. note the Ethernet address, which
is on the board (or on a sticker included in the kit).
6 Position the print server board (E) on the rear mounting lugs (F) then firmly
press the board all the way into the connector (G) of the controller board. (If
the board is not seated correctly, the print server will not function).
7 Replace the screw (C) (which was removed in step 3) to hold the Ethernet
board.
8 Slowly push the controller drawer into the printer. Take care that the cables do
not jam inside the printer.
9 Replace the two screws (A), removed in step 2.
10 Re connect the power cable.
The installation is complete.
3 Sitting behing the plotter, remove the screw (E) holding the panel filler (F).
Installation
Remove the panel filler (F) from the inside of the controller (G). (The panel
filler will not be used again).
5 Position the print server board (H) on the rear mounting lugs (I) then firmly
press the board all the way into the connector (J) of the controller board. (If the
board is not seated correctly, the print server will not function).
Installation
Connecting the printer to your network
Ensure the printer is switched off.
Connect the tranceiver (A) to the 9 pin connector (6)on the ethemet interface
of the printer. Depending on your network type, connect the UTP cable (6)
from the tranceiver to your network. Or, connect the tranceiver directly to the
T connector (D) of the coax cable (E).
ADY
Once the unit is physically attached to the network, you need to:
1 Assign an IP address, netmask, and possibly a default router to the print server.
This can be done in several ways:
(a) Automatically with ezsetup or npconfig (option 1 from the Main
Menu). Please see 'Configuration with ezsetup or npconfig' on page 24.
(b) Manually through the network using arp. Please see 'Manual
configuration with ARP' on page 25.
(e) Manually through the serial port. Please see 'Manual configuration
through the serial port' on page 28.
2 Configurer the print se-$p on the host to print to this unit. This can be done in
several ways depending on your host system.
(a) Automatically with ezsetup or npconfig (Option 2 from the Main
Menu) Please see 'Configuration with ezsetup or npconfig' on page 24.
Installation
er installation
PSERVER setup
The following outlines the basic steps required to add a print server to a Novell
network using a PSERVER setup and applies to any Netware version. The print
server replaces a dedicated workstation running PSERVER.EXE or
PSERVER.NLM so these are no longer needed.
Once the unit is physically attached to the network, you need to:
1 Enter into a PCONSOLE session. PCONSOLE is used for the entire print
setup.
2 Create a new queue.
3 Create a new print server. The name will be is 0-xxxxxx where xxxxxx is the
last six digits of the Ethernet address as notkd during the installation. (Refer to
page 164).
4 Add a new printer and type in the name of one of the eight default destinations
on the unit. (e.g. dlpltl, d2plt2, etc.) At the prompt for the type field, select
DEFINED ELSEWHERE. If this is not available, choose PARALLEL.
5 Associate this printer with the queue defined in Step 2.
6 Switch the printer OFFION to reboot the print server.
RPRINTER setup
The following outlines the basic steps required to add a print server to a Novell
network using a RPRINTER setup and applies to any Netware version. The
print server interacts with an existing PSERVER running PSERVER.EXE or
PSERVER.NLM.
Once the unit is physically attached to the network, you need to:
Installation
ows configuration
The following outlines the basic steps required to add a print server to a
Windows NT Version 3.5 network using the LPR print method.
Once the unit it physically attached to the network, you need to:
1 Ensure that the appropriate network software is installed on yolx host system.
In the Network Settings dialogue box, make sure you see these in the Installed
Network Software scroll box:
w MS TCPAF' Printing
w TCP/IP Protocol
a Simple TCPAF' Service
An AppleTalk setup does not require any print server configuration; the
network parameters are automatically configured for you once the print server
is booted on the network.
Once the unit is physically attached to the network, you need to:
A list of available printers will appear. By default, the format of each name is
OCEname-papname where OCEname is the name of the print server and
papname is an print server UO port. Both names are configurable.
Example: 0-000BF5-pltl is the printer associated with the print server named
0-000BF5 using the first port.
Installation
Ethernet Print Server User's Manual
Ethernet Print Server
User 's Manual
Optional Processing
Banner page Job identification at printer output. Decreases throughput. Requires an
extra page to be printed.
Tab expansion (xtab) Flexible tab widths. Decreases throughput.
Carriage return Adds carriage returns to solitary Decreases throughput.
insertion (onler) linefeeds.
ASCII to Postscript Autosenses print job type and Decreases throughput.
conversion (a2ps) converts ASCII files for printing on
PostScript printers.
Switchable printer Use one printer for both plot file Requires header and trailer strings
control and Postscript jobs. to manually switch printer between
modes.
Descrambling Some print job security as data Requires binary on host system and
travels over the network. lowers throughput.
Note: In a 'Note', information is given about matters which ensure the proper
functioning of the software, but useful advice concerning its operation may
also be given.
B No
465221237
Edition D
Miscellaneous
Comments:
Date:
This reader's comment sheet is completed by:
(Please do$ll in your occupation, even ifyou prefer to remain anonymous)
r;,
Name:
Occupation:
Company:
Phone:
Address:
City:
Country:
Please return this sheet to:
OcC-TechnologiesB.V.
For the attention of ITC user documentation.
P.O. Box 101,
5900 MA Venlo
The Netherlands
465221237
Edition D
Pleasejind on the next page the oflcial list of Oce' ojyices, Worldwide.
Our salesforce and technical support engineers will be pleased to
assist you whenever you need help for installing and using your
printers with the Oce' software.
AUSTRALIA CZECHOSLOVAKIA HUNGARY
Oce Australia Ltd. Oce Ceska republika s.r.0. Oce Hungaria KFT
89 Tulip Road K Rysance 16 Karpat Ut 42
Cheltenham VIC 3192 147 54 Praha 4 1133 Budapest
Tel: (61-3) 263 33 33 Tel: (42-2) 463 451 Tel: (36) 1 269 883618837
Fax: (61-3) 584 43 57 Fax: (42-2) 461 260 Fax: (36) 1 269 8835
Tlf.: (47-22) 02 70 00
Faks: (47-22) 02 70 04
Oct5 Offices
186 Ethernet Print Sewer User's Manual
Index
Port number 151
Unix 35
a2ps definition 154
Access list network security 124
Adding an SNMP user 129
Addresses 183
Adobe Transcript 47 Cancel 93
AIX 49 Cannot ping the print server, Ping error 140
AIX definition 154 Cannot telnet the print server 141
AIX spooling system 158 Capturing printer feedback 120
AppleTalk configuration 67, 173 Carriage return insertion,
AppleTalk features 13 Advantagesldisadvantages 177
AppleTalk problems 147 Centralized spooling, definition 154
AppleTalk zones 70 Changing print server name, AppleTalk 70
Applications using npd 46 Checksum definition 154
ARC definition 154 Chooser 173
ARP definition 154 Chooser definition 154
ASCII definition 154 chr 93
ASCII to Postscript 154 Commandset 89
ASCII to Postscript conversion, Command syntax 93
Advantagesldisadvantages 177 Communication problems, Novel1 143
Assign an IP address 169 Communication problems, TCPAP 140
Autosensing printer definition 154 Compiling and monitoring the custom MIB 130
Autosensing, job format 177 Compiling host software, Unix 20
Autosensing/Autoswitching, Complex networks 122
Advantagesldisadvantages 177 'L- Config directory, to configure using WP 134
Configuration
Considerations 176
Planning 175
5 Unix 19
Banner page definition 154 Configuration file, definition 154
Banner page generation, Configurationoptions, AppleTalk 70
Advantagesldisadvantages 177 Configuration with ezsetup 24
Basic Setup Sets, NetBIOS 74 Configuration with ezsetup or npconfig, Unix 24
Bi-directional communications 176 Configuration with npconfig 24
Bi-directional communications. See also npd Configure terminal settings, Unix 28
BOOTP Configure the print setup 169
definition 154 Configuring print server using FTP 134
Port number 151 Connecting the printer to your network 168
bps definition 154 Controllingthe frame types used 121
BSD Copying a configuration using FTP 134
definition 154 cps definition 154
Interface script printing, Unix 36 CR definition 154
Index
CTS definition 154
Custom interface scripts, Unix 33 F
Custom MIB compiling and monitoring 130 Factory defaults, Unix 29
Custom MIB traps 128 FCC definition 155
Custom MIB variables 127 FF definition 155
Custom MIBs and traps 127 File servers, Novell 126
Flash memory, definition 156
Format problems 142
Frame types used 121
FTP daemon 131
Daemon definition 155 FTP daemon definition 156
DCD definition 155 FTP daemon print method 52
DCE definition 155 FTP print server 131
debug 94 FTP's PC/TCP print method 5 1
Default destination names 84
Default router, definition 155
Descrambling, Advantages/disadvantages 177
Descrambling, see also Scramblingldescrambling G
Destination, definition 155 Garbled data 142, 145
Destinations 15. 84 General options 119
Print 155 loss& 153
Print server 155 GOSIP definition 156
Direct memory access 155
Direct printing without the spooler, Unix 30
Direct socket printing 52, 151
Disable 94
W
Disabling AppIeTalk 7 1
Header string definition 156
Disabling the AppleTalk 7 1
Header string, for switching 177
DMA definition 155
Host configuration, AppleTalk 69
DNS definition 155
Host Configuration, NetBIOS 78
Domain definition 155
Host configuration, NetBIOS 78
Domain name server definition 155
Host configuration, Novell 57
DTE definition 155
Host configuration, Unix 30
Host definition 156
Host software, Novell 54
Host software, Unix configuration 20
E
EEPROM definition 155
Enable 94
Error, nothing prints 144
I
EtherTalk 67
I/0 port definition 156
Exec directory to configure parameters 136
UO ports 15
Executing a configuration file using FTP 137
IBM print spooler 49
ezsetup definition 155
ICMP definition 156
ezsetup installation program, Unix 21
ifnum definition 156
In use, error message 148
Install
K
kbps definition 156 M
Keycode 94 Managing with SNMP 127
Manual configuration through the serial port 28
Manual configuration with ARP 25
Manual configuration with BOOTP 27
L - Manual configuration with RARP 26
LAN definition 156 Manual, User's comments 181
Laserwriter 173 MIB 156
Laserwriter icon problem 147 MlB traps 128
LF to CRLF mapping 156 MIB variables 127
Line printer daemon definition 156 MIBs and traps 127
List arp 95 Model types, table 85
List commands 95 Model, definition 157
List date 95 Models 16. 85
List dest 95 Modifying a host to use npd, Unix 44
List diff 96 Modifying your script, Unix 33
List ifc 96 Monitoring a print queue using FTP 133
List key 96
List logins 96
List Iogpath 96
List model 97 N
List pserver 97 NCSA print method 51
List rprinter 97 Net use printing method, NetBIOS 78
T v
Variable definitions 150
Tab 159
Variables 86
Tab expansion definition 159
Default settings 150
Tab expansion, Advantagesldisadvantages 177
MIS 127
Tar definition 159
Product 128
TCP definition 159
System 128
TCP port, definition 159
TCP/IP definition 159
TCPIIP features 13
TCPnP on Windows workstations, NetBIOS 74
TCPflP options 122 W
TCPIIP other print methods 51 WARNING message 25
TCPIIP port numbers 151 WfW definition 159
TCPnP print methods 176 Windows 95
TCP/IP Problems 140 Host configuration 81
TCPnP problems 140 Windows configuration 172
TCPnP Unix configuration 19 Windows for Workgroups
Telnet 116 Host configuration 80
Definition 159 Windows for workgroups, NetBIOS 76
Error 141 Windows NT
Port number 151 Host configuration 78
Terminal configuration, Unix 28 Windows NT 4
Terminal server capabilities 125 Host configuration 8 1
Testing npd 44 Windows NT Version 3.5 75
Testing npd, Unix 44
Trailer string, definition 159
Transcript 47
Transcript definition 159 X
Traps, MIB 128 xtab definition 159
Troubleshooting 139