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






Scott:

Thanks for the input.  I have never used sockets before.  I need the luxury
of time to explore/learn/use it.  Is it easy to learn?  Can you give me a
lead to get some reading/reference material please?

You are right - the LPR only picks up input from a spoole file.... and
Qshell does not have what I need -- bummer

Rgds,
viji



                                                                                
                                                          
                      Scott Klement                                             
                                                          
                      <midrange-l@scottkle        To:       Midrange Systems 
Technical Discussion <midrange-l@xxxxxxxxxxxx>               
                      ment.com>                   cc:                           
                                                          
                      Sent by:                    Subject:  Re: Printing from 
IFS to a Unix Box                                           
                      midrange-l-bounces@m                                      
                                                          
                      idrange.com                                               
                                                          
                                                                                
                                                          
                                                                                
                                                          
                      11/17/2004 10:29 AM                                       
                                                          
                      Please respond to                                         
                                                          
                      Midrange Systems                                          
                                                          
                      Technical Discussion                                      
                                                          
                                                                                
                                                          
                                                                                
                                                          





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

You mean a stream file, right?

> 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?

AFIAK, there's no lpr command in QShell.  LPR support is available in the
form of CL commands -- but they only act upon spooled files on the iSeries
side.

You could certainly write an HLL program that would do this.  I did it in
ILE RPG a few years ago using the sockets API because I had the same
requirements that you do.

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

I'm not sure what this has to do with "enhancements to Linux"?  Linux has
ALWAYS had the capability to do this.

You have a rather unusual requirement here, because IBM expects LPR to be
used for printing, and expects that printouts will be spooled files on the
iSeries side.  They don't expect you to want to send a stream file! :)

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







This  message,together  with  any  attachments, is
intended only for the use of the individual or entity
to which it is addressed. It may contain information
that is confidential and prohibited from disclosure.
If you are not the intended recipient, you are hereby
notified that  any dissemination  or copying of this
message or any attachment is strictly prohibited. If
you have received this message in error, please notify
the  original  sender immediately by telephone or by
return e-mail and delete this message, along with any
attachments, from your computer.  Thank you.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.