|
From: shc@xxxxxxxxxxxxxxxxx
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Printing from IFS
Date: Wed, 30 Jun 2010 10:07:47 +1000
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 / \
--------------------------------------------------------------------
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.