background image

Using the Installation Shell Script

11

1

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.

The first line of the field is the name of the printer. You use this name when
logging on to a network printer from a workstation. You can define several
different names by separating each name with the “|” character.

The second and following lines contain the printer's attributes. Attributes
of the printer are represented by two character names referred to as capa-
bilities. For more information about capabilities, see the following table.

Making the spool directory

Create a spool directory under /var/spool/lpd. The name of the spool direc-
tory should be the name of the printer followed by a “d”.

Note

The spool directory is used to control the data used for a print job. For ex-
ample, when a print job is created, a temporary copy of the file data used
for printing is created in the spool directory. All workstations accessing the
network printer need to have a spool directory for the network printer.

A spool directory should be made for every network printer entry listed in
the /etc/printcap file.

The spool directory should normally be made under /var/spool/lpd and
the name should match that listed under the sd capability in /etc/printcap.
Change the owner and group of the directory to root and lp. The following
examples show how to make a /var/spool/lpd/npd spool directory.

# cd /var/spool/lpd
# mkdir npd
# chown root npd
# chgrp lp npd

Capability

Explanation

Value Required for the Network 
Printer.

rm

Host name of the printer

The host name that was registered 
with the /etc/hosts file.

rp

Optional specification
“lp” will be assigned, if the option 
is not used. 

Select options for printing. For 
more information about available 
options, see p.20 “Specifying the 
Device Option”.

sd

Path name of the spool directory.

Path name of the spool directory 
that is to be created.

lf

Path name of the log file.

Path name of the log file.

For example /var/log/lpd-errs.

mx

Maximum file size which the di-
rectory can copy. When set to 0, the 
size is unlimited. If nothing is en-
tered, the size is set to 1024 k. 

None or something suitable.

Содержание Aficio AP400N

Страница 1: ...UNIX Supplement...

Страница 2: ...otes For use with the following machines RICOH Aficio AP400 RICOH Aficio AP400N SAVIN MLP25 SAVIN MLP25N Gestetner P7325 Gestetner P7325N nashuatec P7325 nashuatec P7325N Rex Rotary P7325 Rex Rotary P...

Страница 3: ...t 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 Copyin...

Страница 4: ...ii...

Страница 5: ...s not followed paper might be misfeed originals might be damaged or data might be lost Be sure to read this Preparation This symbol indicates the prior knowledge or preparations required before op era...

Страница 6: ...2...

Страница 7: ...s A A A 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 B B B Start printing p 15 Printi...

Страница 8: ...ns SunOS 4 x x SunOS 5 x Solaris 2 x Solaris 7 8 HP UX 8 x 9 x 10 x 11 x Redhat Linux 5 2 6 x 7 0 7 1 7 2 OpenServer 5 06 UnixWare 7 1 1 Depending on the security setting when installed rsh rcp telnet...

Страница 9: ...lowing procedure uses the sample IP address 192 168 15 16 A A A A Enter the following ping 192 168 15 16 If the address has been configured correctly the following message appears 192 168 15 16 is ali...

Страница 10: ...workstation as root Note If you do not log on as root the installation shell script will not run B B B B Get the installation shell script from the printer A Move to the directory you want to copy th...

Страница 11: ...OpenServer appear on the screen but they are not supported Use Solaris HP UX or Linux If you select 7 the installation shell script exits E E E E Enter the IP address of the printer Enter Printer hos...

Страница 12: ...p 20 Specifying the De vice Option If you enter text text printing is enabled If you enter text printing with PCL and PostScript is unavailable Enter remote printer name default lp text Limitation Yo...

Страница 13: ...tcap and then execute the installation shell script again Select options during the setup process Or search the printer entry from etc printcap and change its rp capability to option setting Solaris H...

Страница 14: ...he network Each entry is delimited with a space or a tab and each line is separated with a return If you do not use NIS or DNS you must manually enter the IP address and host name of each workstation...

Страница 15: ...ectory All workstations accessing the network printer need to have a spool directory for the network printer A spool directory should be made for every network printer entry listed in the etc printcap...

Страница 16: ...e to the etc hosts file The following line is added to the etc hosts file The IP address and printer host name which you previously entered in the installation script will be used 192 168 15 16 nphost...

Страница 17: ...ter host name which you previously entered in the installation script will be used 192 168 15 16 np Network Printer 192 168 15 16 is the IP address np is the host name from to the end of the line is a...

Страница 18: ...onfiguration 14 1 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 usr lib enable np E Restart the scheduler usr lib lp...

Страница 19: ...lp d np file1 file2 Note printer_name is the name that was entered when executing the installation shell script You can use wild cards or for the file name The message print session full appears when...

Страница 20: ...available is five ftp three rsh rsh host_name print file_name For example host name is nphost file name is file1 rsh nphost print file1 Note host_name is the name entered when executing the installati...

Страница 21: ...ftp It is not possible to set options with the mput command A A A A Start ftp using the IP address or host name of the printer ftp IP_address B B B B Enter the user name Skip the password and then pr...

Страница 22: ...at o printer_name For example Printer name is np lpstat o np Note In case of HP UX do not put a space between o and printer name Viewing the Printer Status with rsh and ftp Use the rsh or ftp command...

Страница 23: ...are used as those above rcp host_name parameter file_name ftp host_name User user_name password ftp get parameter file_name Note Leave the user name and password blank and then press the RETURN EN TER...

Страница 24: ...wing settings are for printing with rsh rcp and ftp switch to PostScript feed paper from paper feed tray 1 set the printing amount to 3 sets and print with the resolution set to 600 dpi host_name npho...

Страница 25: ...is used ftp cd option Note The pwd command shows the current option settings ftp pwd List of the device options Device Option Value Function Summary filetype pcl postscript rps pdf Specifies the print...

Страница 26: ...ostscript orientation portrait landscape Specifies the feed direction of the paper resolution value of resolution 200 300 400 600 1200 Specifies the resolution for printing symbol set desktop iso4 iso...

Страница 27: ...filter text ftp ftp put file1 filter text Input Tray Select a default input tray Limitation Only the installed input trays are available Before printing a PostScript file the Input tray option must be...

Страница 28: ...sample shows how to print using A4 paper host name nphost file name file1 rsh rsh nphost print paper a4 file1 rcp rcp file1 nphost paper a4 ftp ftp put file1 paper a4 Paper Size Value A4 a4 A5 a5 A6...

Страница 29: ...to print using recycled paper host name nphost file name file1 rsh rsh nphost print mediatype recycled file1 rcp rcp file1 nphost mediatype recycled ftp ftp put file1 mediatype recycled Paper Type Va...

Страница 30: ...e output tray For more printer information see the Printer Reference The following sample shows how to print using standard tray host name nphost file name file1 rsh rsh nphost print outbin upper file...

Страница 31: ...ng This option enables duplex printing Limitation AD450 duplex unit is required Note Before selecting the duplex option the binding option must be set to on The print data and paper size affect the co...

Страница 32: ...ding option the duplex option must be set to on The print data and paper size affect the completion of the print job binding value of binding The following sample shows how to set duplex printing and...

Страница 33: ...orientation portrait ftp ftp put file1 orientation portrait Resolution Select the printing resolution Limitation If you want to select the 300 dpi option only the selected PCL5e from the printer langu...

Страница 34: ...from the printer language option is available symset value of font Font Value Desktop desktop ISO 4 iso4 ISO 6 iso6 ISO 11 iso11 ISO 15 iso15 ISO 17 iso17 ISO 21 iso21 ISO 60 iso60 ISO 69 iso69 ISO L...

Страница 35: ...to print a set of ISO 4 host name nphost file name file1 rsh rsh nphost print symset iso4 file1 rcp rcp file1 nphost symset iso4 ftp ftp put file1 symset iso4 VN Intl vnintl VN Math vnmath VN US vnus...

Страница 36: ...ray Option 23 Installation Shell Script 6 installation shell script 4 O Orientation Option 29 Output Tray Option 26 P Paper Size Option 24 Paper Type Option 25 Printer Language Option 22 Printer Statu...

Страница 37: ...Copyright 2003...

Страница 38: ...UNIX Supplement GB GB EN USA G095 8610...

Отзывы: