Administrator's Guide
|
|
Settings by System / Settings for UNIX
Setting Up Different UNIX Systems Using the lpr Command
Setting up with SunSoft Solaris 2.4 or higher
Setting up with SunOS 4.1.4 or higher
Setting up with IBM AIX 3.2.5 or higher
Setting up with HP-UX 9.05 or higher
Setting up with SCO UNIX 4.2 or higher (Open Server)
Using the ftp command
The following UNIX systems can print using the standard lpr command.
SunSoft Solaris 2.4 or higher
SunOS 4.1.4 or higher
IBM AIX 3.2.5 or higher
HP-UX 9.05 or higher
SCO UNIX 4.2 or higher
Setting up with SunSoft Solaris 2.4 or higher
In the following steps, substitute the name by which the internal print server will be known for HOSTNAME, and the name by which you want the printer to be known for Rprinter.
|
Register the IP address and host name in the \etc\hosts file.
|
For example:
22.33.44.55 HOSTNAME
|
Register the host name as a print server.
|
For example:
lpsystem -t bsd HOSTNAME
|
Create the printer.
|
For example:
lpadmin -p Rprinter -s HOSTNAME\aux-T unknown-1 any
|
Make the printer available for printing.
|
For example:
accept Rprinter
enable Rprinter
|
Print a file using the "lp" command.
|
For example:
lp -d RPrinter Print-File-Name
[Top]
Setting up with SunOS 4.1.4 or higher
In the following steps, substitute the name that the internal print server will be known by for HOSTNAME, and the name by which you want the printer to be known for Rprinter.
|
Register the IP address and host name in the /etc/hosts file.
|
For example:
22.33.44.55 HOSTNAME
|
Create a spool directory.
|
For example:
mkdir/var/spool/lpd/PRIFx
|
Add the printer entry to the /etc/printcap file.
|
For example:
RPrinter |
EPL-N2750:lp=:rm=HOSTNAME:rp=aux:sd=/var/spool/
lpd/PRIFx
|
Print a file using the "lpr" command.
|
For example:
lpr -s -PRPrinter Print-File-Name
|
Note:
|
|
Files that exceed 1MB may not be printed unless the -s option is used.
|
[Top]
Setting up with IBM AIX 3.2.5 or higher
In the following steps, substitute the name that the internal print server will be known by for HOSTNAME, and the name by which you want the printer to be known for Rprinter.
|
Register the IP address and host name in the /etc/hosts file.
|
For example:
22.33.44.55 HOSTNAME
|
Start smit.
|
For example:
smit printer
|
Set the printer name (for example: Rprinter) in:
|
"Manage Remote Printer"
"Client Services"
"Remote Printer Queues"
"NAME of queue to add".
Set the host name (for example: HOSTNAME) in:
"DESTINATION HOST for remote jobs".
Set the port name (for example: aux) in:
"Name of QUEUE on remote printer".
|
Print a file using the "lpr" command.
|
For example:
lpr -PRPrinter Print-File-Name
[Top]
Setting up with HP-UX 9.05 or higher
In the following steps, substitute the name that the internal print server will be known by for HOSTNAME, and the name by which you want the printer to be known for Rprinter.
|
Register the IP address and host name in the /etc/hosts file.
|
For example:
22.33.44.55 HOSTNAME
|
Terminate the printing service.
|
For example:
lpshut
|
Create the printer.
|
For example:
lpadmin -pRPrinter -v/dev/null -mrmodel-ormHOSTNAME -orpaux
|
Restart the printing service.
|
For example:
lpshed
|
Make the printer available for printing.
|
For example:
accept RPrinter
enable Rprinter
|
Print a file using the "lp" command.
|
For example:
lp -DRPrinter Print-File-Name
[Top]
Setting up with SCO UNIX 4.2 or higher (Open Server)
In the following steps, substitute the name that the internal print server will be known by for HOSTNAME, and the name by which you want the printer to be known for Rprinter.
|
Register the IP address and host name in the /etc/hosts file.
|
For example:
22.33.44.55 HOSTNAME
|
Execute rlpconf to register the printer.
|
For example:
rlpconf
|
Type the name of the printer.
|
For example:
Please enter the printer name (q to quit):RPrinter
|
Specify the remote printer as the printer type.
|
For example:
Is Rprinter a remote printer or a local printer (r/l)? r
|
Type the host name of the remote printer.
|
For example:
Please enter the name of the remote host that Rprinter is attached to:
HOSTNAME
Printer RPrinter is connected to host HOSTNAME
|
Confirm that the entries are correct.
|
For example:
Is this correct?(y/n)y
|
Specify that the RLP extended function (valid when the print server is SCO-UNIX) will not be used.
|
For example:
If HOSTNAME currently runs SCO OpenServer Release 5 or above, it can support the extended remote line printer protocol. Do you want to turn on the "extended RLP protocol" support flag?
If you are not sure, answer "n". (y/n)[n]n
|
Specify whether the created printer is to become the default printer.
|
For example:
Would you like this to be the system default printer?
(y/n)y
|
Print a file using the "lpr" command.
|
For example:
lpr -d RPrinter Print-File-Name
[Top]
Using the ftp command
ftp commands are common to all UNIX systems.
ftp programs use an interface that is common to all UNIX systems.
The following is an example of printing using the ftp command (Text after ">" is user input).
ftp 22.33.44.55
Connected to 22.33.44.55
220 <hostname> FTP server (EPSON FTPD version 1.01) ready.
Name:
331 Password Required for No Name.
Password:
230 User logged in.
ftp>binary
200 Type set to I.
ftp>put <binary file>
200 PORT command successful.
150 Opening data connection for binary_file
226 Transfer complete
ftp> bye
[Top]
Version 1.00E, Copyright © 2001, SEIKO EPSON CORPORATION |