Hi Viji,

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

Sure.  Here, I've written a sockets tutorial just for you! :)
   http://www.scottklement.com/rpg/socktut/

Whether it's easy is up to you.  It's lower-level programming... you'll
need to know sockets in order to know how to write programs that
communicate over the internet.  You'll then need to learn the internals of
how LPR/LPD works in order to write that particular application. So, my
guess is that there's a large learning curve.

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

The other alternative is to create a *USERASCII spooled file from the data
you want to send to the Linux box.  When a spooled file is *USERASCII the
system doesn't try to interpret it, so you can write streams of data into
it like you would a stream file and (kinda) ignore the record length.

The problem with *USERASCII is that you end up with extra spaces at the
end of the file, but maybe that doesn't matter to you.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.