Page 2
Contents of this manual are subject to change without prior notice. In no event will the company be li- able for direct, indirect, special, incidental, or consequential damages as a result of handling or oper- ating the machine. Notes For use with the following machines • RICOH Aficio AP400 • RICOH Aficio AP400N • SAVIN MLP25 •...
TABLE OF CONTENTS How to Read This Manual ..................1 1. UNIX Configuration Before Setup......................3 Using the lp/lpr commands..................3 Using the rsh/rcp/ftp commands ................3 Using the Installation Shell Script................4 Assigning the IP Address ................... 5 Executing the Installation Shell Script ................ 6 After Executing Installation Shell Script ..............10 Printing Method....................
How to Read This Manual Symbols In this manual, the following symbols are used: R WARNING: This symbol indicates a potentially hazardous situation which, if instructions are not followed, could result in death or serious injury. R CAUTION: This symbol indicates a potentially hazardous situation which, if instructions are not followed, may result in minor or moderate injury or damage to property.
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 Setup Setting up can vary depending on the printing commands. Please make sure to make the settings accordingly.
UNIX Configuration Using the Installation Shell Script The installation shell script helps with the setup process. The installation shell script automates some of the tasks in configuring /etc/hosts, /etc/printcap, and in creating the spool directory for BSD UNIX, and in running the lpadmin com- mand for System V UNIX.
Using the Installation Shell Script Assigning the IP Address 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 re- quired for using the TCP/IP protocol.
UNIX Configuration 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 environ- ment. Preparation Before executing the installation shell script, the IP address, the host name and the printer name are required.
Page 11
❒ Insert a period and slash before the current directory. D D D D Enter a number to select the workstation OS that you are using. Network printer install shell Copyright RICOH CO.,LTD. 1994-2003 Select your workstation OS type 1.SunOS 4.x.x 2.Solaris 2.x, Solaris 7-8 (SunOS5.x) 3.HP-UX...
Page 12
UNIX Configuration G G G G Configure the printer name. Enter logical printer name [default nphost_prn] If you want to use the default name, press the { { { { RETURN} } } } key. Enter a new name, if you want to use a different one. Note ❒...
Page 13
Using the Installation Shell Script Deleting the printer To print using the lp or lpr command, the option specified when the installation shell script is executed is used. Change the option in accordance with the work- station you are using. ❖...
UNIX Configuration After Executing Installation Shell Script The printing environment is set up automatically when the installation shell script is executed. This section describes the set up contents when the installation shell script is ex- ecuted under Red Hat Linux, Solaris and HP-UX. Linux ❖...
Page 15
Using the Installation Shell Script ❒ Each entry is separated with colons into several fields. The syntax is to be- gin each entry with a colon, followed by the entry, and then end with a co- lon, a back slash, and then a return. ❒...
Page 16
UNIX Configuration ❖ ❖ ❖ ❖ Making the log file Error messages are logged to a file created in the /var/log directory. The log file name is the printer name followed by “d-errs”. Note ❒ The log file is used for logging some errors or warning messages by the UNIX workstation.
Page 17
Using the Installation Shell Script Register the printer as a remote printer. # lpadmin -p np -s nphost!"option" -T dump -I any • np is the printer name, nphost is the host name. For more information about “option”, see p.20 “Specifying the Device Option”. “lp”...
Page 18
UNIX Configuration Set the printer so that the print job is listed in the print queue. /usr/lib/accept np Set the printer to perform the print job. /usr/lib/enable np Restart the scheduler. /usr/lib/lpsched...
Printing Method Printing Method Printing with lpr, lp Execute one of the following commands according to the type of workstation be- ing used: ❖ ❖ ❖ ❖ BSD UNIX workstation, Linux % lpr -Pprinter_name file_name [file_name...] For example: printer name is np, file names are file1 and file2 % lpr -Pnp file1 file2 ❖...
UNIX Configuration Printing with rsh, rcp, ftp You can also print using the rsh, rcp and ftp commands. Note ❒ Print using the format that the printer can support. ❒ The message "print session full" appears when the maximum number of print requests has been reached.
Page 21
Printing Method Depending on the number of files to be printed, use the put or mput commands. Limitation ❒ File names cannot contain “=” or “,”. ❖ ❖ ❖ ❖ To print one file ftp> put file_name ❖ ❖ ❖ ❖ To print several files ftp>...
UNIX Configuration Printer Status You can use the following commands to have information and the printer status displayed or copied to a file. Use the lpq or lpstat command to display the status of the printer or information about print jobs. Use the rsh, rcp or ftp commands to get more detailed information from the printer.
Printer Status Parameters that can be used with rsh, rcp and ftp: Parameter Information returned Status of the printer. stat Information about print jobs. info Information about the paper tray, output tray and printer language. prnlog Record of the last 16 jobs printed. syslog Record of messages about the Network Interface Board.
UNIX Configuration Specifying the Device Option With the following options, you can print with specific printer functions. Configuring the Device Option The configuration of the print option can vary depending on the printing com- mands. • rsh % rsh host_name print option1=value1,… < file_name •...
Page 25
Specifying the Device Option ❒ Enter the option using the lp or lpr command, when the shell script is imple- mented. The option settings you made here have been configured as a default setting. You must create the other printer if you want to change the printer option settings.
UNIX Configuration Device Option Value Function Summary orientation portrait, landscape Specifies the feed direction of the paper resolution value of resolution (200, 300, Specifies the resolution for 400, 600, 1200) printing symbol set desktop, iso4, iso6, iso11, Specify the set of print charac- iso15, iso17, iso21, iso60, ters iso69, isol1, isol2, isol5, legal,...
Specifying the Device Option Text Printing Set this function when directly printing text files. Limitation ❒ Possible only when PDF is not selected as the printer language. filter=text fil=text The following sample shows how to print text files directly. • rsh % rsh nphost print filter=text <...
UNIX Configuration Paper Size Select the paper size. Limitation ❒ Possible only when PDF is not selected as the printer language. ❒ Only the loaded paper sizes are available. paper=value of paper size Paper Size Value jisb5 × 11 letter ×...
Specifying the Device Option Paper Type Select the paper type. Limitation ❒ Only the loaded paper types are available. mediatype=value of paper type Paper Type Value Plain paper plain Preprinted paper preprinted Letterhead letterhead Recycled paper recycled Color paper color Special paper special Thick paper...
UNIX Configuration Output Tray Select the output tray. outbin=value of output tray Limitation ❒ Only the installed output trays are available. Note ❒ The output tray value corresponds to the ID number of the output tray which is obtained from the printer information (e.g. info command in ftp, info command in % telnet.
Specifying the Device Option Collating Specify the number of collated sets. qty=number of collated sets (1 to 999) Limitation ❒ Do not specify “qty” and “copies” commands at the same time. The following sample shows how to print 10 copies using the collate function (host name: nphost, file name: file1).
UNIX Configuration • ftp ftp> put file1 duplex=on,binding=longedge Reference For more information about available paper size for duplex printing, see the Printer Reference. Binding Select the binding direction of duplex printing. Note ❒ Before selecting the binding option, the duplex option must be set to on. ❒...
Specifying the Device Option Orientation Select the feed direction of the paper. Limitation ❒ Possible only when PCL5e or PDF is not selected as the printer language. orientation=feed direction (portrait or landscape) Orientation value Portrait portrait Landscape landscape The following sample shows how to print the paper vertically using the orienta- tion function (host name : nphost, file name : file1).
UNIX Configuration • rcp % rcp file1 nphost:resolution=600 • ftp ftp> put file1 resolution=600 Symbol Set Select the set of print characters for the selected font. Limitation ❒ Only the selected PCL5e from the printer language option is available. symset=value of font Font Value Desktop...
Page 35
Specifying the Device Option Font Value VN Intl vnintl VN Math vnmath VN US vnus Win 3.0 win30 Win L1 winl1 Win L2 winl2 Win L5 winl5 The following sample shows how to print a set of ISO 4 (host name : nphost, file name : file1).