MIL-3000FTX Series of FastPort Print Servers
5-7
3. Create log/accounting files. Change ownership to daemon:
touch /usr/adm/beta-errs
touch /usr/adm/beta-acct
chown daemon /usr/adm/beta-errs
chown daemon /usr/adm/beta-acct
chmod 644 /usr/adm/beta-errs
chmod 644 /usr/adm/beta-acct
4. Start the printer and queue by typing the following:
lpc start beta
5. You can now print files with the lpr or lp command:
lpr -Pbeta <filename>
, or
lpr -dbeta <filename>
5.4.6 Manual Installation with LPD on System V Machines
Access printers in System V systems through LP scheduler. System V
administration commands allow users to create a printer description file
called an “interface” filter. This filter is designed to customize the data for a
printer. Enable LPD on System V systems by using
SAM
on HP/UX,
admintool
on Solaris, or any other system admin. tool. For SCO UNIX,
refer to the
readme.lpd
file in the /SCO directory.
1. Use
lpshut
command to shut down the printer.
/usr/lib/lpshut
2. Add a line in this format to the
/etc/lp/systems
file.
alpha:x:-:bsd:-:1:10:-:-:
where alpha is the host name of the FastPort.
3. Use the
lpadmin
command to add a new printer.
/usr/lib/lpadmin -p <
printer> -s <host name>! <remote queue>
where printer is the printer’s name, host name is the host name, and
remote queue is a predefined queues (Table 5-1).
4. Start the print scheduler by entering:
/usr/lib/lpsched
5. Enable the printer.
enable <
printer name>