UNIX Supplement
Page 3
...Shell Script 10 Printing Method...15 Printing with lpr, lp...15 Printing with rsh, rcp, ftp 16 Printer Status ...18 Viewing the Print Job Status with lpq and lpstat 18 Viewing the Printer Status with rsh and ftp 18 Copying Information to Read This Manual 1 1. TABLE OF CONTENTS How to... a File 19 Specifying the Device Option 20 Configuring the Device Option 20 Printer Language...22 Text Printing ...23 Input Tray ...23 Paper Size...24 Paper Type...25 Output Tray ...26 Copies ...26 Collating ...27 Duplex Printing...27...
...Shell Script 10 Printing Method...15 Printing with lpr, lp...15 Printing with rsh, rcp, ftp 16 Printer Status ...18 Viewing the Print Job Status with lpq and lpstat 18 Viewing the Printer Status with rsh and ftp 18 Copying Information to Read This Manual 1 1. TABLE OF CONTENTS How to... a File 19 Specifying the Device Option 20 Configuring the Device Option 20 Printer Language...22 Text Printing ...23 Input Tray ...23 Paper Size...24 Paper Type...25 Output Tray ...26 Copies ...26 Collating ...27 Duplex Printing...27...
UNIX Supplement
Page 7
... name and the IP address. Using the lp/lpr commands A Use the installation shell script to register the device option, as well as the printer host name and the IP address. ⇒ p.4 "Using the Installation Shell Script" B Start printing. ⇒ p.15 "Printing Method" Using the rsh/rcp/ftp commands A Edit ... script to set up can vary depending on the printing commands. Note ❒ If you cannot edit the host file, use the file that the printer supports. 1. UNIX Configuration This section explains how to register the host name. 3
... name and the IP address. Using the lp/lpr commands A Use the installation shell script to register the device option, as well as the printer host name and the IP address. ⇒ p.4 "Using the Installation Shell Script" B Start printing. ⇒ p.15 "Printing Method" Using the rsh/rcp/ftp commands A Edit ... script to set up can vary depending on the printing commands. Note ❒ If you cannot edit the host file, use the file that the printer supports. 1. UNIX Configuration This section explains how to register the host name. 3
UNIX Supplement
Page 9
Checking the IP address configuration Follow the procedure below to make the above settings, see the Printer Reference. When you use NIS, the IP address and host name are written to /etc/hosts on the master server. After writing the host name ... answer from 192.168.15.16 Note ❒ When you use DNS, the information is registered with an IP address, the server can access the printer using the TCP/IP protocol.
Checking the IP address configuration Follow the procedure below to make the above settings, see the Printer Reference. When you use NIS, the IP address and host name are written to /etc/hosts on the master server. After writing the host name ... answer from 192.168.15.16 Note ❒ When you use DNS, the information is registered with an IP address, the server can access the printer using the TCP/IP protocol.
UNIX Supplement
Page 10
... ftp to connect to get install F Close the ftp session. Preparation Before executing the installation shell script, the IP address, the host name and the printer name are required. A Move to the directory you do not log on to get the installation shell script. name (192.168.15.16:root:) C ...the {RETURN} ( {ENTER} ) key. 230 User root logged in. Following procedures use sample IP address: 192.168.15.16, sample host name: nphost and sample printer name: np. ured. # ftp 192.168.15.16 Connected to . UNIX Configuration Executing the Installation Shell Script After having configured the...
... ftp to connect to get install F Close the ftp session. Preparation Before executing the installation shell script, the IP address, the host name and the printer name are required. A Move to the directory you do not log on to get the installation shell script. name (192.168.15.16:root:) C ...the {RETURN} ( {ENTER} ) key. 230 User root logged in. Following procedures use sample IP address: 192.168.15.16, sample host name: nphost and sample printer name: np. ured. # ftp 192.168.15.16 Connected to . UNIX Configuration Executing the Installation Shell Script After having configured the...
UNIX Supplement
Page 11
...Note ❒ The IP address will be added to the /etc/hosts file. 7 E Enter the IP address of the printer. F Enter the host name of the printer. Enter Printer host name : nphost Note ❒ The host name will be added to the /etc/hosts file. ❒ If no... was entered in step E, nothing is added to the /etc/hosts file. ❒ If the host name of the printer has already been configured, press the {RE- 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 4.UnixWare...
...Note ❒ The IP address will be added to the /etc/hosts file. 7 E Enter the IP address of the printer. F Enter the host name of the printer. Enter Printer host name : nphost Note ❒ The host name will be added to the /etc/hosts file. ❒ If no... was entered in step E, nothing is added to the /etc/hosts file. ❒ If the host name of the printer has already been configured, press the {RE- 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 4.UnixWare...
UNIX Supplement
Page 12
..., use ( _ ) instead of ( , ) for Red Hat Linux 6.2. ❒ When printing with the installation shell script is enabled. Enter logical printer name [default nphost_prn] If you want to 14 characters for HP-UX 11.0, 256 for Solaris 8 and Red Hat Linux 7.0, and 51 for operating systems...enter "text", printing with PCL or PostScript is unavailable. H Set the print option. stead of ( = ) and ( ; ) in "default". Enter remote printer name [default lp]:text Limitation ❒ You can enter up to use a different one. Enter a new 1 name, if you want to make sure that cannot...
..., use ( _ ) instead of ( , ) for Red Hat Linux 6.2. ❒ When printing with the installation shell script is enabled. Enter logical printer name [default nphost_prn] If you want to 14 characters for HP-UX 11.0, 256 for Solaris 8 and Red Hat Linux 7.0, and 51 for operating systems...enter "text", printing with PCL or PostScript is unavailable. H Set the print option. stead of ( = ) and ( ; ) in "default". Enter remote printer name [default lp]:text Limitation ❒ You can enter up to use a different one. Enter a new 1 name, if you want to make sure that cannot...
UNIX Supplement
Page 13
...from /etc/printcap, and change its rp capability to option setting. ❖ Solaris, HP-UX Delete the printer entry, and then execute the installation shell script again. Or, search the printer entry from /etc/printcap, and then execute the installation shell script again. Change the option in accordance with .../lpadmin -x printer_name C Restart the scheduler. # /usr/lib/lpsched 9 Select options during the setup process. To delete the printer entry, follow the procedure below. station you are using the lp or lpr command, the option specified when the installation shell script...
...from /etc/printcap, and change its rp capability to option setting. ❖ Solaris, HP-UX Delete the printer entry, and then execute the installation shell script again. Or, search the printer entry from /etc/printcap, and then execute the installation shell script again. Change the option in accordance with .../lpadmin -x printer_name C Restart the scheduler. # /usr/lib/lpsched 9 Select options during the setup process. To delete the printer entry, follow the procedure below. station you are using the lp or lpr command, the option specified when the installation shell script...
UNIX Supplement
Page 14
...=/var/spool/lpd/npd:\ :lf=/var/log/npd-errs:\ :sh:\ :mx#0: Note ❒ The /etc/printcap file is used . 192.168.15.16 nphost # Network Printer • 192.168.15.16 is the IP address, nphost is a comment. UNIX Configuration After Executing Installation Shell Script The printing environment is set up... is executed. Linux ❖ Adding the IP address and host name to the /etc/hosts file The following entry is the configuration for the network printer in the installation script will be used to the end of the line is the host name, from # to register the name and attributes of...
...=/var/spool/lpd/npd:\ :lf=/var/log/npd-errs:\ :sh:\ :mx#0: Note ❒ The /etc/printcap file is used . 192.168.15.16 nphost # Network Printer • 192.168.15.16 is the IP address, nphost is a comment. UNIX Configuration After Executing Installation Shell Script The printing environment is set up... is executed. Linux ❖ Adding the IP address and host name to the /etc/hosts file The following entry is the configuration for the network printer in the installation script will be used to the end of the line is the host name, from # to register the name and attributes of...
UNIX Supplement
Page 15
... about capabilities, see p.20 "Specifying the Device Option". For more information about available options, see the following table. Attributes of the printer. Capability rm rp sd lf mx Explanation Value Required for printing. You can copy. Optional specification "lp" will be assigned, if ... can define several fields. For example /var/log/lpd-errs. Note ❒ The spool directory is used to be the name of the printer followed by two character names referred to begin each entry with a colon, followed by separating each name with a colon, a back slash,...
... about capabilities, see p.20 "Specifying the Device Option". For more information about available options, see the following table. Attributes of the printer. Capability rm rp sd lf mx Explanation Value Required for printing. You can copy. Optional specification "lp" will be assigned, if ... can define several fields. For example /var/log/lpd-errs. Note ❒ The spool directory is used to be the name of the printer followed by two character names referred to begin each entry with a colon, followed by separating each name with a colon, a back slash,...
UNIX Supplement
Page 16
...printcap. UNIX Configuration ❖ Making the log file Error messages are logged to the end of the line is a comment. The IP address and printer host name which you must manually enter the IP address and host name of each line is separated with a return. ❒ If you do ... "d-errs". 1 Note ❒ The log file is Solaris 2.5.1, register the print server and print client to the print service. # lpsystem -t bsd -R 0 -y ″Network Printer″ nphost 12 Change the owner and group of the hosts communicating on the network. The following examples show how to make a /var/log/npd...
...printcap. UNIX Configuration ❖ Making the log file Error messages are logged to the end of the line is a comment. The IP address and printer host name which you must manually enter the IP address and host name of each line is separated with a return. ❒ If you do ... "d-errs". 1 Note ❒ The log file is Solaris 2.5.1, register the print server and print client to the print service. # lpsystem -t bsd -R 0 -y ″Network Printer″ nphost 12 Change the owner and group of the hosts communicating on the network. The following examples show how to make a /var/log/npd...
UNIX Supplement
Page 17
... or DNS, you previously entered in the /etc/hosts file. ❖ Registering the printer The installation shell script registers 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. Note ❒ The /etc/hosts file contains ...a list of the IP addresses and their host names of all of each workstation using the network printer in the installation script will be used . 13 For more information about "option", see p.20 "Specifying the Device Option". The IP address...
... or DNS, you previously entered in the /etc/hosts file. ❖ Registering the printer The installation shell script registers 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. Note ❒ The /etc/hosts file contains ...a list of the IP addresses and their host names of all of each workstation using the network printer in the installation script will be used . 13 For more information about "option", see p.20 "Specifying the Device Option". The IP address...
UNIX Supplement
Page 18
UNIX Configuration C Set the printer so that the print job is listed in the print queue. /usr/lib/accept np D Set the printer to perform the print job. 1 /usr/lib/enable np E Restart the scheduler. /usr/lib/lpsched 14
UNIX Configuration C Set the printer so that the print job is listed in the print queue. /usr/lib/accept np D Set the printer to perform the print job. 1 /usr/lib/enable np E Restart the scheduler. /usr/lib/lpsched 14
UNIX Supplement
Page 19
... that was entered when executing the installation shell script. ❒ You can check the number of print requests using % telnet, see the Printer Reference. ❒ The number of print sessions does not change, whether you increase or reduce the machine's total memory size. 15 You ...should try to the type of workstation being 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 ❖ Solaris, HP-UX % lp -d printer_name file_name [file_name...] For ...
... that was entered when executing the installation shell script. ❒ You can check the number of print requests using % telnet, see the Printer Reference. ❒ The number of print sessions does not change, whether you increase or reduce the machine's total memory size. 15 You ...should try to the type of workstation being 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 ❖ Solaris, HP-UX % lp -d printer_name file_name [file_name...] For ...
UNIX Supplement
Page 20
... the installation shell script. ❒ If you use a HP-UX, use wild cards ( * or ? ) for the file name. 16 When the printer has standard memory (32MB), one print session is five (ftp:three). rsh % rsh host_name print < file_name For example: host name is nphost, file name...message "print session full" appears when the maximum number of print requests has been reached. *1 *1 The maximum number of print session differs depending on printer's total memory size. UNIX Configuration Printing with rsh, rcp, ftp You can also print using the rsh, rcp and ftp commands. 1 Note ❒...
... the installation shell script. ❒ If you use a HP-UX, use wild cards ( * or ? ) for the file name. 16 When the printer has standard memory (32MB), one print session is five (ftp:three). rsh % rsh host_name print < file_name For example: host name is nphost, file name...message "print session full" appears when the maximum number of print requests has been reached. *1 *1 The maximum number of print session differs depending on printer's total memory size. UNIX Configuration Printing with rsh, rcp, ftp You can also print using the rsh, rcp and ftp commands. 1 Note ❒...
UNIX Supplement
Page 21
... name of files to binary. Name: Password: C Set the file transfer mode to be printed correctly. Printing Method ftp Depending on the number of the printer. % ftp IP_address B Enter the user name. Skip the password, and then press the {RETURN} ( {ENTER} ) key.
... name of files to binary. Name: Password: C Set the file transfer mode to be printed correctly. Printing Method ftp Depending on the number of the printer. % ftp IP_address B Enter the user name. Skip the password, and then press the {RETURN} ( {ENTER} ) key.
UNIX Supplement
Page 22
...You can use the remsh command instead of HP-UX, do not put a space between "-o" and "printer name". Viewing the Printer Status with lpq and lpstat ❖ BSD UNIX workstation, Linux % lpq -Pprinter_name For example: Printer name is np % lpq -Pnp ❖ System V UNIX, Solaris, HP-UX % lpstat -o ...} ( {ENTER} ) key. ❒ "-" indicates the standard output. Use the rsh, rcp or ftp commands to display the status of the printer or information about print jobs using specified parameters. Viewing the Print Job Status with rsh and ftp Use the rsh or ftp command to get...
...You can use the remsh command instead of HP-UX, do not put a space between "-o" and "printer name". Viewing the Printer Status with lpq and lpstat ❖ BSD UNIX workstation, Linux % lpq -Pprinter_name For example: Printer name is np % lpq -Pnp ❖ System V UNIX, Solaris, HP-UX % lpstat -o ...} ( {ENTER} ) key. ❒ "-" indicates the standard output. Use the rsh, rcp or ftp commands to display the status of the printer or information about print jobs using specified parameters. Viewing the Print Job Status with rsh and ftp Use the rsh or ftp command to get...
UNIX Supplement
Page 23
... are used with rsh, rcp and ftp: Parameter stat info Information returned Status of the printer. Record of the last 16 jobs printed. Information about print jobs. 1 Information about the paper tray, output tray and printer language. Printer Status Parameters that can use these commands for BSD and System V UNIX. TER} ) key. 19...
... are used with rsh, rcp and ftp: Parameter stat info Information returned Status of the printer. Record of the last 16 jobs printed. Information about print jobs. 1 Information about the paper tray, output tray and printer language. Printer Status Parameters that can use these commands for BSD and System V UNIX. TER} ) key. 19...
UNIX Supplement
Page 24
... rcp % rcp file1 nphost:filetype=postscript,tray=tray1,copies=3,resolution=600 • ftp ftp> put file_name option1=value1,... File_name is the printer host name. Do not use spaces. ❒ When the printing file contains the PCL, PJL, PostScript commands to control the option,...value1,... • ftp ftp> put file1 filetype=postscript,tray=tray1,copies=3,resolution=600 Limitation ❒ The optional character strings that the printer can vary depending on their operating systems. Note ❒ Multiple options must be separated by commas (,). UNIX Configuration Specifying the Device...
... rcp % rcp file1 nphost:filetype=postscript,tray=tray1,copies=3,resolution=600 • ftp ftp> put file_name option1=value1,... File_name is the printer host name. Do not use spaces. ❒ When the printing file contains the PCL, PJL, PostScript commands to control the option,...value1,... • ftp ftp> put file1 filetype=postscript,tray=tray1,copies=3,resolution=600 Limitation ❒ The optional character strings that the printer can vary depending on their operating systems. Note ❒ Multiple options must be separated by commas (,). UNIX Configuration Specifying the Device...
UNIX Supplement
Page 25
... or off shortedge, longedge Specifies the binding direction for duplex printing 21 For more information about changing the configured option, see p.9 "Deleting the printer". 1 ❒ When printing with ftp, if the option is specified using the lp or lpr command, when the shell script is on...whether duplex printing is imple- mented. ftp> pwd List of collated sets (1999) Specifies the number to change the printer option settings. You must create the other printer if you made here have been configured as Solaris 2.5 or later. -Using the cd command with ftp For printing...
... or off shortedge, longedge Specifies the binding direction for duplex printing 21 For more information about changing the configured option, see p.9 "Deleting the printer". 1 ❒ When printing with ftp, if the option is specified using the lp or lpr command, when the shell script is on...whether duplex printing is imple- mented. ftp> pwd List of collated sets (1999) Specifies the number to change the printer option settings. You must create the other printer if you made here have been configured as Solaris 2.5 or later. -Using the cd command with ftp For printing...
UNIX Supplement
Page 26
filetype=printer language fil=printer language Printer Language PCL5e PostScript 3 PDF Direct Print Value pcl postscript or rps pdf The following sample shows how to print in. UNIX Configuration Device Option orientation 1 ..., win30, winl1, winl2, winl5 Function Summary Specifies the feed direction of the paper Specifies the resolution for printing Specify the set of print characters Printer Language Select a printer language to print with PostScript 3 (host name: nphost, file name: file1). • rsh % rsh nphost print filetype=postscript < file1 • rcp % rcp file1 nphost...
filetype=printer language fil=printer language Printer Language PCL5e PostScript 3 PDF Direct Print Value pcl postscript or rps pdf The following sample shows how to print in. UNIX Configuration Device Option orientation 1 ..., win30, winl1, winl2, winl5 Function Summary Specifies the feed direction of the paper Specifies the resolution for printing Specify the set of print characters Printer Language Select a printer language to print with PostScript 3 (host name: nphost, file name: file1). • rsh % rsh nphost print filetype=postscript < file1 • rcp % rcp file1 nphost...