× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 30/06/2010, at 2:20 AM, dina ramzy wrote:

Is is possible to print an IFS file to AS400 network printer ?

You can spool the file and then assign it to whatever outq/printer you want.

If yes, how can this be done? How can the IFS file be converted to spool file or assigned to the printer queue ?


A number of ways:

1) OVRDBF STDOUT QSYSPRT
QSH CMD('cat the-stream-file-path')
DLTOVR STDOUT

2) FTP the file to QSYSPRT
put the-stream-file-path /qsys.lib/qsysprt.file

3) Redirect the file to a "print" utility within QSH
cat the-stream-file-path | Rfile -w /qys.lib/qsysprt.file


If the file contains more than just plain text then the example at the foot of the Rfile documentation may give you a means to deal with that.

4) DSPF the-stream-file-path
Type PRINT in the Control field and press Enter

5) Copy the stream file to a database file/source member and use normal OS/400 print facilities.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.