4-12 TCP/IP Network Configuration
- Assign a TCP/IP address to the AS/400 and the
TROY XCD print server.
- Use the CFGTCP command at your OS/400 prompt
to add the print server’s TCP/IP address to the AS/
400 host table.
- Use the following one-line OS/400 command to
create the LPD queue:
CRTOUTQ OUTQ(<queuename> RMSTSYS
(*INTNETADR) RMTPRTO(<service>)
AUTOSTRWTR(1) CNNTYPE(*IP) DESTTYPE
(*OTHER) MFRTYPMDL (<driver>)
INTNETADR(‘<ipaddress>’) TEXT
(‘<description>’)
where <queuename> is the new AS/400 print queue
name, <service> is the TROY XCD print server
service name, <driver> is the OS/400 printer driver
name (*HP4 is recommended if in doubt), and
<ipaddress> is the IP address of the print server.
Note that the IP address and description must be
enclosed in single quotes.
Other systems use similar procedures to set up the
TROY XCD print server. These programs will
generally ask for the following information:
Requested information: You should use:
remote printer or remote TROY XCD print server
binary or text service
name
remote host computer name Any name (must match
name in printcap file, if
any) or in some cases,
you may enter the TROY