
CN2510
Setting Up Printer
11-9
Setting up a SCO Unix Host
Steps
SCO UNIX Command
Description
Uncompress all programs
#uncompress print.tar.Z
Uncompress printer.tar.Z
to ./printer
#tar xvf printer.tar
compile/link
#make -f sco_unix.mak
make printer node
#mknod /dev/iop1 p
Create a unique pipe name for each printer
group. Since there are 16 groups of TCP port
numbers (from 2048 to 2063), you need to
create 16 respective pipe names. For
example: iop1, iop2, iop3, etc.
set it to printer
#chown lp /dev/iop1
Change the pipe owner to 1p
set rw
#chmod 600 /dev/iop1
Change access permission to 600 or rw-----
set printer name
#/usr/lib/lpadmin -pLaser1
-v/dev/iop1
Redirect the printer spooler to write to pipe
‘iop1’. Assumes the printer name is Laser1.
execute asprint for Group 01
#./asprint /dev/iop1
‘CN2510 IP address’ 2048 &
Start ‘asprint’ utility to read from pipe ‘iop1’
and write to the CN2510 printer port.
‘/dev/iop1’: the device name the spooler is
writing to.
‘CN2510’: the host name of the CN2510 as
defined in /etc/hosts, or its IP address.
‘2048’: the TCP port number (Group01) of the
printer port on the CN2510.
accept printer Laser1
#/usr/lib/accept Laser1
Set Laser 1 to accept print request.
enable Laser1
#enable Laser1
enable Laser1
print file to Laser1
#lp -dLaser1 file_name
send print job to the CN2510
Repeat
Repeat the above steps to set up another
printer. For printers in the same group, it is not
necessary to repeat every step.