Allied Telesis FastPrint Server User Manual
Page 41

Chapter 5. TCP/IP
Printing configuration
FastPrint Server User’s Guide
31
Repeat this process for each logical printer/print queue combination that you wish to
create.
5.4.1.3. LPD on BSD
Before continuing, ensure that an IP address has been assigned to the FastPrint.
Remember the following:
•
The remote host name is the name of the FastPrint.
•
The remote printer name is the logical printer (L1..L8) on the FastPrint.
•
If asked for the LPD type, enter the service type as BSD.
•
In the sample commands shown, printer_name is the Print Queue serviced by the
logical printer on the FastPrint, and Spooler_dir is the name of the directory used to
spool the print jobs.
Action
Action
Sample command
Sample command
Create a spooling directory
mkdir /usr/spool/Spooler_dir
Set spooling daemon as owner
of this directory.
chown daemon /usr/spool/Spooler_dir
Create read/write permissions.
chmod 775 /usr/spool/Spooler_dir
Give permissions to LPD
processes.
chgrp daemon /usr/spool/Spooler_dir
Add remote printer(s)
See Adding remote printers on page 30.
Start lpc print mechanism
lpc start printer_name
5.4.2. Printing using LPD
For LPD printing instructions, refer to your UNIX manual. The following example is for
a BSD system:
lpr -P printer_name filename
where:
printer_name is the name of the print queue defined on the Unix host.
filename is the name of the file you wish to print.
example:
lpr -P Marketing /etc/hosts
In the above example, the /etc/hosts file is sent to the printer queue Marketing. It will
then be sent to the logical printer associated with this queue.
5.4.3. Printing using FTP
FTP printing lets you send print jobs to the printers directly. There is no spooling;
therefore, if the printer is not ready, the print job will be terminated immediately. The
advantage of FTP is that no host configuration is required.
To print using FTP, enter the following command lines:
#ftp Name
ftp>put FileName Ln