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






Paul:

I need time to find out the state of the IFS... Thats a lot of info.  Thank
you.

Can I send you mail directly ?

Rgds,
viji



                                                                                
                                                          
                      Paul Tykodi                                               
                                                          
                      <ptykodi@xxxxxxxxx>         To:       
midrange-l@xxxxxxxxxxxx                                                       
                      Sent by:                    cc:                           
                                                          
                      midrange-l-bounces@m        Subject:  Re: Printing from 
IFS to a Unix Box                                           
                      idrange.com                                               
                                                          
                                                                                
                                                          
                                                                                
                                                          
                      11/18/2004 02:13 PM                                       
                                                          
                      Please respond to                                         
                                                          
                      Midrange Systems                                          
                                                          
                      Technical Discussion                                      
                                                          
                                                                                
                                                          
                                                                                
                                                          




Dear Viji,

If your IFS is supporting some form of Microsoft
operating system (Win NT, Win 2000, Win XP, Win 2003
Server), you have access to a command line LPR client
to perform the required function.

If your IFS is Win NT enabled, you need to install the
Microsoft TCP/IP Printing Service. If your IFS uses
Win 2000, Win XP, or Win 2003 Server, you need to
perform a slightly different procedure as follows:

Choose to enter the Control Panel and then choose Add
or Remove Programs. Next click on the Add/Remove
Windows Components button and then scroll down to the
entry Other Network File and Print Services. Choose to
add the Print Services for Unix option.

This feature is most frequently known for installing
the Windows LPD service for receiving incoming LPR
files from other hosts. It happens that this service
also installs an LPR client as well. The client can be
called from a command line in the Command Prompt
dialog  box, which I still think of as an MS-DOS
console window.

The lpr command syntax is as follows:

lpr -S<ip address of target> -P<print queue where file
is to be received by the remote host> filename.ext

If the Unix Box IP address was 10.10.5.100, the queue
on the Unix Box to receive the file was named viji
(queue names are case sensitive so be careful), and
the file was named health.prn; the command syntax
would be as follows:

lpr -S10.10.5.100 -Pviji health.prn

The command requires the pressing of the <enter> key
to execute when used interactively. Also the -S and -P
flags are case sensitive and must be capitalized.

If the IFS can "see" the IP Address of the Unix Box,
you could use the command line lpr to send the file to
the Unix box directly.

If the IFS is blocked from knowing about the Unix Box
IP Address, you could use the command line lpr to send
the file into an OS/400 OUTQ on the IBM host for
delivery to the Unix Box. OS/400 LPD receives incoming
LPR files as *USERASCII so their format will not be
changed as they pass through the IBM host.

HTH

Best Regards,

/Paul
--
Paul Tykodi
Principal Consultant
TCS - Tykodi Consulting Services LLC

E-mail: ptykodi@xxxxxxxxx

>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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
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 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.