Allied Telesis FastPrint Server User Manual
Page 40

Chapter 5. TCP/IP
Printing configuration
FastPrint Server User’s Guide
30
•
In the sample commands shown, printer_name is the name of the print queue
serviced by the FastPrint Server, and Spooler_directory is the name of the
directory used to spool the print jobs.
Action
Action
Sample command
Sample command
Stop print services
/usr/lib/lpshut
Add a system printer
/usr/lib/lpadmin -p printer_name -v /dev/null
Restart the print services
/usr/lib/lpsched
Enable printing to the new
printer device
enable printer_name
Start accepting jobs for the
new printer device
accept printer_name
Create a spooling directory
mkdir /usr/spool/Spooler_directory
Make spooling daemon the
owner of this directory
chown daemon /usr/spool/Spooler_directory
Create read/write permissions
chmod 775 /usr/spool/Spooler_directory
Give permissions to LPD
processes.
chgrp daemon /usr/spool/Spooler_directory
Add remote printer(s)
(See following section).
5.4.1.2.1. Adding remote printers
A remote printer is added by inserting the following line in the /etc/printcap file.
Note: The entry is really one line, but can be entered as shown.
Use a TAB character where shown.
printer_name|Remote_Printer_Alias:\
[T
AB
] :lp=:\
[T
AB
] :rm=PS_NAME:\
[T
AB
] :rp=Logical_Printer_name:\
[T
AB
] :sd=Spooler_directory:\
[T
AB
] :mx#0:
where:
printer_name is the Print Queue name used to store jobs for the corresponding
logical printer.
PS_NAME is the FastPrint Server name defined in /etc/hosts.
Logical_Printer_name is the logical printer name on the FastPrint (L1..L8).
Spooler_directory is the directory you created in step 6.
example:
Marketing|RP1_SC123456:\
[T
AB
] :lp=:\
[T
AB
] :rm=PS_Rm203:\
[T
AB
] :rp=L1:\
[T
AB
] :sd=/usr/spool/Marketing:\
[T
AB
] :mx#0: