วันพฤหัสบดีที่ 13 มีนาคม พ.ศ. 2551

PRINTING A PC FILE TO AN AS/400 PRINTER USING FTP

If you're on a PC without Client Access or NetServer installed and
need to print a text file to an AS/400 printer, you can use FTP to
transfer the file to the QSYSPRT queue. Here's a sample session that
prints myfile.txt to QSYSPRT:

C:\>ftp as400
User (as400:(none)): chuck
331 Enter password.
Password: xxxxxxx
230 CHUCK logged on.
ftp> cd qsys
250 Current library changed to QSYS.
ftp> ascii
200 Representation type is ASCII nonprint.
ftp> put myfile.txt qsysprt
local: myfile.txt remote: qsysprt
200 PORT subcommand request successful.
150 Sending file to member QSYSPRT in library QSYS.
250 File transfer completed successfully.
4240 bytes sent in 0.49 seconds (8.49 KB/s)
ftp> quit
221 QUIT subcommand received.

Adapted from an answer by Scott Klement.

ไม่มีความคิดเห็น: