LPD works most efficiently when two or more servers are running. It is possible to
run only one server, but LPD cannot receive any jobs while a current job is running.
If a large print job is running, LPR clients have to wait until LPD is ready to accept
any new LPR requests.
Youcan use the

Configure TCP/IP LPD

(CFGTCPLPD) command or the CHGLPDA
command to work with the LPD attributes.
Ending an LPD Server Job
Toend server jobs, use the
End TCP/IP Server
(ENDTCPSVR SERVER(*LPD))
command. This command also ends any active LPD jobs that are still processing an
LPR request.
Attributes of the Received Spooled File
On the AS/400 system all files that are printed have spooled file attributes
associated with the file. These attributes specify such things as lines per inch, page
widths, number of copies, and which fonts to use. If any file is received that does
not have attributes associated with it, default attributes are given to the file. Set
these attributes by using the first QPTMPLPD printer file that you find in the library
list (*LIBL). Files sent from non-AS/400 systems or files sent using the
SNDTCPSPLF command and that were transformed do not have attributes
associated with them.
The QPTMPLPD printer file can have copies in the QUSRSYS library or other
libraries. The copy of the printer file in QTCP is the default if there are no others in
the library list (*LIBL). This is the case even if the QTCP library is
not
in the library
list (*LIBL). The LPD processing adds the QTCP library to the library list if it is not
already in the list. An exception exists where a user has 25 libraries in the user
portion of the library list. In this situation, the system replaces the twenty-fifth library
with the QTCP library to ensure that it finds a copy of the QPTMPLPD file.
The QPTMPLPD printer file has a printer device type of *USERASCII because LPD
expects that data from non-AS/400 systems is ASCII data. If LPD receives data that
is not ASCII data from a non-AS/400 system, LPD spools the data as *USERASCII.
However, the data might not print correctly.
For the control file options and attributes that the AS/400 LPD function supports,
see Table36 on page 369.
User Profile Library Lists
All user profiles have a library list associated with them. When LPD creates a
spooled file on behalf of a user profile, it searches for the output queue requested
using the library list for that profile. Therefore, if the requested output queue does
not have a library qualifier (library/queuename), the library list is searched for in the
queue. If LPD does not find the queue in the library list, it uses the default output
queue QPRINT in library QGPL.
Important!:
Chapter12. Line Printer Daemon (LPD) 367