UNIX Networking
CalComp has qualified three types of print server devices
for its printers:
 | Model 971 - an internal network card w/AUI and UTP input
connectors
|
 | Model 981 - an external device w/AUI, coaxial, and UTP input
connectors, and a parallel and serial output connector
|
 | Digi Model 3410X FastPort - an external device w/UTP input
connector and parallel output connector
|
Configuring print servers 971 981 FastPort
FPFILTER Setup on System 5
LPD Setup on System 5
PRINTCAP File Entry for Model 971/981
System-specific TAR files
Model 971
LED Diagnostics
| |
LED |
Normal |
Failure |
| |
Link |
Green: |
link established; |
Off |
| Orange: |
no link |
| |
Status |
Green: |
blinks 5 times per second when no IP configured
blinks 2 times per second when IP configured |
Orange: blinks 2 times per second |
| Orange: |
Ethernet activity |
Setting Factory Defaults
If there is any doubt about the NVRAM
values, set the factory defaults by the following steps:
 | Turn off power to unit.
|
 | Remove card from the unit and install jumper across SW7 or
JP2, depending on the version of the plotter.
|
 | Install card and turn power on.
|
 | Turn power off, remove card from unit, and remove jumper.
|
 | Install card and turn power on.
|
The IP address has been changed to the factory default of
0.0.0.0 (you cannot ping 0.0.0.0). NetWare, AppleTalk, and LPD are enabled.
Configuring the 971
Connect the network cable to the appropriate connector.
The following tasks are accomplished by the system
administrator:
 | Make an entry in the ARP table
|
 | Telnet to port 2002
|
 | Configure the 971 in accordance with your operating system's
requirements
|
The 971 queue is 'raw'.
Refer to Model 971 Network Interface User's Guide P/N
M0016-490 and CalComp Ethernet Software Guide P/N M0062-240 for information pertaining to
your specific UNIX configuration.
Refer to CalComp Model 971 Ethernet Hardware Guide P/N
501987 for additional information.
Model 981
Connecting the 981
Set rear panel switches for appropriate media type:
| |
Cable Type |
S1 |
S2 |
Lights |
| |
AUI (10Base5) |
Up |
Up |
None |
| |
Coaxial (10Base2) |
Down |
Up |
Green (left)- Coax |
| |
UTP (10BaseT |
Up |
Down |
White (right)- UTP |
Connect the network cable to the appropriate rear panel
connector. Plug in the AC adapter.
Connect parallel or serial connector to printer/plotter.
Set front panel switches:
| |
D1 |
D2 |
Mode |
Description |
| |
Up |
Up |
Normal |
Default. No telnet connection.
Print to unit LEDs: Power and Ethernet blink |
| |
Up |
Down |
Telnet |
Telnet to port 2002 and print to
unit LEDs: Power and Ethernet blink |
| |
Down |
Down |
Diagnostic |
Attach a terminal to run serial
monitor; no print jobs accepted LEDs:Only
Ethernet blinks |
| |
Down |
Up |
Test Page |
Test page prints on parallel port
on power cycle. No print jobs accepted LEDs:
Only Power blinks |
Setting Factory Defaults
If there is any doubt about the NVRAM
values, set the factory defaults by the following steps:
 | Remove power from the 981.
|
 | Set front panel switches D1 and D2 Down.
|
 | Apply power.
|
 | Move either D1 or D2 Up and Down
at least five times. Set D1 Up and D2 Down.
|
 | Recycle power.
|
The IP address has been changed to the factory default of
0.0.0.0 (you cannot ping 0.0.0.0). NetWare, AppleTalk, and LPD are enabled.
Using the Self-test
The Model 981 performs a self-test when it powers up in the
Normal mode, with both switches, D1 and D2, in the Up position. If it
passes the self-test, the Power LED blinks regularly. If the 981 is properly connected to
an active network, the Ethernet LED will blink erratically.
When the unit fails the self-test, it stops, displays a
code to indicate the failure, then recycles the self-test every twenty seconds. The codes
below identify the failing component.
| |
Failure |
Power |
Ethernet |
Printer |
Config |
| |
CPU |
On |
On |
On |
Off |
| |
SRAM |
On |
On |
On |
On |
| |
EPROM |
On |
On |
Off |
|
| |
Ethernet |
On |
On |
Off |
Off |
| |
UART |
On |
Off |
On |
Off |
| |
Parallel |
On |
Off |
On |
On |
| |
NVRAM |
On |
Off |
Off |
On |
Printing a Test Page
Set the front panel switches D1 Down and
D2 Up, then power cycle the unit. The 981 will generate a PostScript
page, which can be printed on an ASCII printer as well.
Configuring the 981
Connect the network cable to the appropriate connector.
The following tasks are accomplished by the system
administrator:
 | Make an entry in the ARP table
|
 | Telnet to port 2002
|
 | Configure the 981 in accordance with your operating system's
requirements
|
The 981 queue is 'raw'.
Refer to Model 981 Network Interface User's Guide P/N
M0016-200 and CalComp Ethernet Software Guide P/N M0062-240 for information pertaining to
your specific UNIX configuration.
Digi Model 3410X FastPort
Connecting the FastPort
Set front panel switches:
|
D1 |
D2 |
Mode |
Description |
|
Up |
Up |
Normal |
Default. No telnet connection.
Print to unit LEDs: Power on, Network and
System blink |
|
Up |
Down |
Telnet |
Telnet to port 2002 and print
to unit LEDs: Power on, Network and System
blink |
|
Down |
Down |
Diagnostic |
Attach a terminal to run serial
monitor; no print jobs accepted LEDs: Power
on, Network blinks, System off |
|
Down |
Up |
Test Page |
Test page prints on parallel port
on power cycle. No print jobs accepted LEDs:
Power on, System and Parallel blink |
Connect FastPort to parallel conector on printer/plotter.
Connect AC adapter or power lead to FastPort.
Setting Factory Defaults
If there is any doubt about the NVRAM values, set the
factory defaults by the following steps:
 | Remove power from the FastPort.
|
 | Set front panel switches D1 and D2 Down.
|
 | Apply power.
|
 | Move either D1 or D2 Up and Down
at least five times. Set D1 Up and D2 Down.
|
 | Recycle power.
|
The IP address has been changed to the factory default of
0.0.0.0 (you cannot ping 0.0.0.0). The following protocols are enabled: TCP Sockets
(fpfilter), LPD, Netware, Microsoft Windows print services, HP DLC, AppleTalk, Parallel
port mode: Standard.
Using the Self-test
The FastPort performs a self-test when it powers up in the
Normal mode, with D1 and D2 in the Up position. If it passes the
self-test, the System LED blinks regularly. If the FastPort is properly connected to
an active network, the Network LED will blink erratically.
When the unit fails the self-test, it stops, displays a
code to indicate the failure, then recycles the self-test every twenty seconds. The LED
codes below indicate the failing component.
| |
Failure |
Parallel |
Network |
System |
| |
CPU |
Off |
Off |
Off |
| |
SRAM |
Off |
On |
Off |
| |
EPROM |
On |
On |
On |
| |
Ethernet |
Off |
Off |
On |
| |
Parallel |
Off |
On |
On |
| |
NVRAM |
On |
On |
Off |
Printing a Test Page
Set the front panel switches D1 Down
and D2 Up, then power cycle the unit. The FastPort will generate a
PostScript page, which can be printed on an ASCII printer as well.
Configuring the FastPort
Connect the UTP cable to the FastPort.
The following tasks are accomplished by the system
administrator:
 | Make an entry in the ARP table
|
 | Telnet to port 2002
|
 | Configure the FastPort in accordance with your operating
system's requirements
|
The FastPort queue is 'raw'.
Refer to Model 3410X FastPort User Manual P/N 75410 Rev
1.0, and CalComp Ethernet Software Guide P/N M0062-240 for information pertaining to your
specific UNIX configuration.
FPFILTER Setup on System
NOTE: You must be able to ping and telnet to the
print server.
<printer name>
any name you choose for the
printer
<host_name_of_printserver> the name in /etc/hosts file
FPFILTER
the utility to send
data to print server
Login as "Super User" by entering:
root
Shut Down the print spooler system with
the following command:
/usr/lib/lpshut
Issue the lpadmin command to add a new printer:
/usr/lib/lpadmin -p <printer name>
-v /dev/null -m standard -i any -o nobanner
Restart the lp spooler with the following command:
/usr/lib/lpsched
Start the printer with the following commands:
/bin/enable <printer name>
/usr/lib/accept <printer name>
Change to the subdirectory where the interface file is and
delete the file:
cd /usr/spool/lp/admins/lp/interfaces
cd /usr/spool/lp/interfaces
this cd command
line for HP/UX and SGI
mv <printer name> <printer name>.bak
Create a new interface file to use FPFILTER utility:
vi <printer
name>
create new file, add the following lines, and save the file
#!/bin/sh
/usr/local/calcomp/fpfilter
-P <host_name_of_printserver> $6
exit 0
Change the interface file owner, group, and mode:
cd /usr/spool/lp/admins/lp/interfaces
chown lp <printer name>
chgrp lp <printer name>
chmod 775 <printer name>
FPFILTER command (pound sign is UNIX command prompt):
# /usr/local/calcomp/fpfilter -P
<host_name_of_printserver> ./<plot file>
LPD Setup on System 5
NOTE: You must be able to ping and telnet to the print
server.
Login as "Super User" by entering:
root
Shut Down the print spooler system with
the following command:
/usr/lib/lpshut
Use the lpsystem command to add a line to the
/etc/lp/Systems file with the following form:
<host_name_of_printserver>:x:-:bsd:-:1:10:-:-
Example: lpsystem -t bsd
<host_name_of_printserver>
NOTE: Make sure that you are not in C
Shell for the next command. To check the shell, enter: ps
Issue the lpadmin command to add a new printer:
/usr/lib/lpadmin -p <printer namer> -I
any -s <host_name_of_printserver>!raw
Restart the lp spooler with the following command:
/usr/lib/lpsched
Start the printer with the following commands:
enable <printer namer>
accept <printer namer>
Send print jobs the lp command.
PRINTCAP File Entry for
Model 971/981
#
#
calcomp|plotter:\
name(s) of printer
:lp=: :rm=981:\
host name of 971/981/FastPort
(must match with hosts table)
:rp=raw:\
see note 1 below
:sh: :sf: :mx#0: :sd=/var/spool/calcomp:\ see note 2 below
:lf=/var/spool/calcomp/logfile:
see note 3 below
#
#
# END of calcomp
#
#
NOTES: 1. Use only 'raw' for 971 and FastPort. For the 981,
use 'raw' for the parallel connection
and 'raw-s' for
the serial connection.
2. Set up
spool directories as shown in the following examples:
mkdir /var/spool/calcomp
chmod 775 /var/spool/calcomp
chown daemon.daemon /var/spool/calcomp
3. Set up
a log file with the following example:
touch /var/spool/calcomp/logfile
4. Start
the printer command line example (where
'ccp' is the CalComp device name):
lpc restart ccp |