Ricoh ap3800c unix

UNIX Supplement
Introduction ........................................................................................................................... 2
How to Read This Manual.................................................................................................... 3
1.UNIX Configuration
Before Setup........................................................................................................................... 5
Using the lp/lpr commands.................................................................................................................... 5
Using the rsh/rcp/ftp commands............................................................................................................ 5
Using the Installation Shell Script........................................................................................ 6
Executing the Installation Shell Script.................................................................................................. 8
After Executing Install Shell............................................................................................................... 13
Printing Method................................................................................................................... 20
Printing with lpr, lp.............................................................................................................................. 20
Printing with rsh, rcp, ftp .................................................................................................................... 21
Printer Status....................................................................................................................... 25
Viewing the Print Job Status with lpq and lpstat................................................................................. 25
Viewing the Printer Status with rsh and ftp......................................................................................... 26
Copying Information to a File............................................................................................................. 27
1
INDEX.................................................................................................................................. 28

Introduction

To get maximum versatility from this machine all operators should carefully read and follow the in­structions in this manual. Please keep this manual in a handy place near the machine.
Please read the Safety Information before using this machine. It contains important information related to USER SAFETY and PREVENTING EQUIPMENT PROBLEMS.

Important

Parts of this manual are subject to change without prior notice. In no event will the company be liable for direct, indirect, speci al, incidental, or consequential damages as a resul t of handling or operatin g the machine.

Trademarks

PostScript is a registered trademark of Adobe Systems, Incorporated. Sun, SunOS and Solaris are trad emarks or regis tered trade marks of Sun Microsy stems, Inc. in the Unit-
ed States and other countries. HP-UX is a registered trademark of Hewlett-Pac kard Company. LINUX is a trademark of Linus Torvalds. RED HAT is a registered trademark of Red Hat, Inc. Other product names used here in are f or i dent if ic at ion purposes only and might be trad emar ks of thei r
respective companies. We disclaim any and all rights in those marks.
2

How to Read This Manual

R
R

Symbols

In this manual, the following symbols are used:
WARNING:
This symbol indicates a potentially hazardous situation which, if instructions are not followed, could result in death or serious injury.
CAUTION:
This symbol indicates a potentially hazardous situation which, if instructions are not followed, may re­sult in minor or moderate injury or damage to property.
* The statements above are notes for your safety.
Important
If this instruction is not followed, paper might be misfeed, originals might be damaged, or data might be lost. Be s ure to read this.
Preparation
This symbol indicates the prior knowledge or preparations required before operating.
Note
This symbol indicates precautions for operation, or actions to take after misoperation.
3
Limitation
This symbol indicates numerical limits, functions that cannot be used together, or conditions in which a particular function cannot be used.
Reference
This symbol indicates a reference.
[]
Keys that appear on the machine's panel display. Keys and buttons that appear on the computer's display.
{}
Keys built into the machine's operation panel. Keys on the computer's keyboard.
4

1. UNIX Configuration

This section explains how to set up a network printer and check the print status using UNIX.
Limitation
To print from a UNIX workstation, use the file that the printer supports.

Before Se tup

Setting up can vary depending on the printing commands. Please make sure to make the settings ac­cordingly.

Using the lp/lpr commands

A
Use the Installation Shell Script to register the printer host name and the IP address.
B
Start printing.
P.20 “Printing Method”

Using the rsh/rcp/ftp commands

5
A
Edit the host file to register the Printer host name and the IP address.
B
Start printing.
P.20 “Printing Method”
Reference
See P.13 “After Executing Install Shell” for host file editing.
Note
If you cannot edit the host file, use the install shell script to register the host name.

Using the Installation Shell Script

The instal lation sh ell scr ipt help s with the setup proce ss. The in stalla tion shell scri pt auto mates some of the tasks in configuring /et c/ hos ts, /etc/printcap, and in creating the spool directory for BSD UNIX, and in running lpadmin command for System V UNIX.
Preparation
The installation shell script can be used on the following three kinds of workstations. This installation
shell script cannot be used with other types of workstations.
Solaris 2.5.1, 2.6, 7, 8
HP-UX 8.x, 9.x, 10.x, 11.0
Red Hat Linux 6.x, 7
When you use NIS (Network Informa tion Serv ice) or DNS, you shoul d configur e the server befo re
running this installation shell script.
For more information abou t the confi guration utility of your OS, see the ma nual that came with the
utility.

Assigning the IP Address

6
Preparation
Configure the machine to use the TCP/IP protocol.
Make sure that the TCP/IP protocol on the machine is set to active. (The default is active.)
Assign an IP address to the machine and configure the other settings required for using the TCP/ IP protocol.
Reference
For more information about how to make the above settings, see the Administrator Reference 2.
Checking the IP address configuration
Follow the procedure below to make sure that the IP address has been configured correctly.
The following procedure uses the sample IP address: 192.168.15.16.
A
Enter the following:
# ping 192.168.15.16
If the address has been configured correctly, the following message appears.
192.168.15.1 6 is aliv e
If the address has been configured incorrectly, the following message appears.
no answer from 192. 16 8. 15 .1 6
Note
When you use NIS, the IP address and host name are written to /etc/hosts on the master server.
When you use DNS, the information is written to a data file on the name server. After writing the host name and IP ad dres s to the fi le , m ak e su re th at the c onfi gu ra tio n i s c or rec t b y pi nging the host name.
# ping host_name
If the host name is registered with an IP address, the server can access the printer using its host
name instead of its IP address.
7

Executing the Installation Shell Script

After having configured the printer IP address, follow the procedure below to execute the installation shell script and set up the workstation printing environment.
Preparation
Before executing the i nstallation shell s cript, the IP address, the host name and the print er name
are required.
Following procedures use sample IP address: 192.168.15.16, sample host name: nphost and sam-
ple printer name: np.
Note
Use ftp to get the installation shell script from the printer.
A
Log on to the workstation as root account.
Note
If you do not log on as root, the installation shell script will not run.
B
Get the ins tallation shell script from the printer.
A Move to the directory you want to copy the installation shell script to. B Use ftp to connect to the printer with the IP address that you just configured.
# ftp 192.168.15.16 Connected to 192.168.15.16 220 printer FTP se rve r re ad y. name (192.168. 15 .1 6:r oo t: )
C When a user name is requested, leave blank and press the {
331 Password required for root. Password:
{RETURN}
{{
} key.
}}
8
9
D When a password is requested, leave blank and press the {
230 User root logg ed in . ftp>
E Type the fo llowing to get the installation shell script.
ftp> get install
F Close the ftp session.
ftp> bye 221 Goodbye. #
C
Run the installation shell script.
# sh ./install
Note
Insert a period and slash before the current directory.
D
Enter a number to select the workstation OS that you are using.
Network printer install shell Copyright RICOH CO.,LTD. 1994-2000 Select your workstation OS type.
1. SunOS 4.x.x
2. Solaris 2.x, Solaris 7-8 (SunOS5.x)
3. HP-UX 8.x,9.x,10 .x ,1 1. x
4. UnixWare
5. Linux
6. other
Enter <1-6>:
2
{RETURN}
{{
} key.
}}
Loading...
+ 21 hidden pages