× 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.



Viji:

So long as you have actually created the correct data in the IFS file, 
it's no problem to get it to the Unix box as a "file".  You can also get 
it there if it is stored as a QSYS.LIB DB2 file.  The easiest way I've 
found is FTP.  The iSeries has quite a capable FTP client and it can be 
driven with commands stored in another file (source PF, for example) 
which, if needed can also be generated for each transmission (e.g., if the 
names or directories or destinations need to change).

This will not get it actually sent to the printer on the Unix box, but 
there are ways in Unix to notice a "new" file and do something with it 
(like copy it to the printer).

Try it, you'll like it.

Dave Schnee
Barsa Consulting Group, LLC

Viji.X.Sethuraman wrote - - - - -

date: Wed, 17 Nov 2004 09:41:54 -0800
from: Viji.X.Sethuraman@xxxxxxxxxxxxx
subject: Printing from IFS to a Unix Box

Folks:

I have a requirement to create a print file on the iseries.   This has to 
be sent to a Unix box using the LPR command.  The problem is that the data 
will exceed 378 characters and so the spoolfile will not do.

The thought is to create a variable record length file on the IFS.

Now, can this file has to be sent to a print queue on a Unix box ? - The 
software is by ExStream.

Is this possible from an AS400 CLP using Qshell commands? Is it possible 
at all?

What with all the enhancements to Linux by IBM, I am hoping it is 
possible.... Has anyone done this before? Any help would be appreciated.

Thanks, viji

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.