User`s manual
CN2610 User’s Manual Setting Up Printer
12-10
Steps SCO UNIX Command Description
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
‘CN2610 IP address’
2048 &
Start ‘asprint’ utility to read from pipe
‘iop1’ and write to the CN2610 printer
port.
‘/dev/iop1’: the device name the spooler
is writing to.
‘CN2610’: the host name of the CN2610
as defined in /etc/hosts, or its IP address.
‘2048’: the TCP port number (Group01)
of the printer port on the CN2610.
accept printer Laser1 #/usr/lib/accept Laser1 Set Laser 1 to accept print request.
enable Laser1 #enable printer Laser1 enable Laser1
print file to Laser1 #lp -dLaser1 file_name send print job to the CN2610
Repeat Repeat the above steps to set up another
printer. For printers in the same group, it
is not necessary to repeat every step.
Setting up a SOLARIS X86 Host
Steps SCO UNIX Command Description
Set free the occupied Floppy
disk
#/etc/init.d/volmgt stop
Uncompress all programs #tar /dev/fd0 ./
Uncompress printer.tar.Z
to ./printer
#tar xvf printer.tar.Z
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.