Sometimes we use to FTP a file from a PC to our iSeries, and then run a batch job to print it out. There is a way to eliminate the batch job. Here's how it works.
First, create a program-described printer file.
crtprtf mylib/myprtf outq(myoutq) . . .
Second, use the put subcommand in an FTP client to write to the printer file. The following command prints file data.txt, which is in the temp directory of the client machine, on the iSeries.
put /temp/data.txt mylib/myprtf
Monday, October 15, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment