|
||||||||
|
|
![]() |
|
|
|
|
||
|
FTP to Printer Files Hey, Ted: We used to FTP a file from a PC to our iSeries, then run a batch job to print it out. Then we figured out how to eliminate the batch job. We discovered that the iSeries FTP server permits a client to write to a printer file. 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 --Bob Thanks for the tip, Bob. It's odd to me that the FTP manual does not mention that the remote file can be a printer file. --Ted
Editors: Howard Arner, Joe Hertvik, Ted Holt, David Morris,
Managing Editor: Shannon Pastore
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message. |
|
| Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved. |