The library list of a user profile is the library list that is in effect at
sign-on time. Any libraries added by initialization programs or other
methods are
not
considered in the library list or associated with that
user profile.
Changing the QPTMPLPD Printer File Default Values
Tochange the default values in the QPTMPLPD printer file, use the

Change Printer

File

(CHGPRTF) command. For example, to change the number of lines per page
for all files received from non-AS/400 systems, specify the following:
CHGPRTF FILE(QUSRSYS/QPTMPLPD) PAGESIZE(60)
The change takes effect immediately and remains in effect until other changes are
made or until the printer file is created again. LPD overrides the following
CHGPRTF parameters, which you cannot change with the CHGPRTF command:
vFILE
vTOFILE
vPAGESIZE(*N n) (width option only is overridden)
vSPLFNAME
vOUTQ
vCOPIES
vUSRDTA
Note: The installation programs copy the QPTMPLPD printer file from the QTCP
library into the QUSRSYS library.That means two versions of this printer file
exist, with one in the QTCP library and one in the QUSRSYS library.To
preserve the installation values, change the QUSRSYS version.
LPD-Supported Commands on the AS/400
Table33 identifies what LPD commands that the AS/400 system supports.
Table33. LPD Commands on the AS/400
Command LPD Hex Code
PrintAny Waiting Jobs X X'01'
Receive a Printer Job X X'02'
Send Queue State (Short) X X'03'
Send Queue State (Long) X X'04'
Remove Jobs X X'05'
If the system receives any other commands, LPD ignores them and sends a return
code of 1, meaning failure, to the requesting system. The connection is closed
immediately. LPD logs an error that indicates unsupported function.
Table34 identifies which LPD subcommands the AS/400 system supports.
Table34. LPD Subcommands
Subcommand LPD Hex Code
Abort Job X'01'
Receive Control File X X'02'
Receive Data File X X'03'
368 OS/400 TCP/IPConfiguration and Reference V4R4