Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Kiran Jaikar asked how to print a 4GL report from an IDS 11.0 Linux server through a Windows XP client over Putty or Telnet, where the old Novell-style prn run command no longer worked. Art Kagel said there is no run command and that SYSTEM 'lp file' works only in SPL, offering a wrapper procedure. The 4GL printing from a Windows client stayed unanswered.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
How to print a report in IDS which is on RH Linux 5 Server
through Windows Xp client.
can we use the Run command
i.e run "lp <file name>"
but this doesn't work.
Please help
↪ replying to Kiran Jaikar
Keith Simmons — — source: IIUG Forums & Mailing Lists
2008/9/18 Kiran Jaikar <kiranjaikar@gmail.com>:
> How to print a report in IDS which is on RH Linux 5 Server
> through Windows Xp client.
>
> can we use the Run command
> i.e run "lp <file name>"
>
> but this doesn't work.
>
> Please help
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
How is the report being produced and where? What is the client being
used? IDS Version?
So many questions, so few answers !!
Keith
Because there is no 'run' command. Use:
SYSTEM 'lp myfilename';
Which only works in an SPL Stored Procedure, so you have to write your own
'run' command if you want to print from an SQL script directly:
create procedure run( cmd lvarchar );
SYSTEM cmd;
end procedure;
Art
On Thu, Sep 18, 2008 at 2:54 AM, Kiran Jaikar <kiranjaikar@gmail.com> wrote:
> How to print a report in IDS which is on RH Linux 5 Server
> through Windows Xp client.
>
> can we use the Run command
> i.e run "lp <file name>"
>
> but this doesn't work.
>
> Please help
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.
Thank you Keith,
The IDS Version is 11.0. The Report is designed in 4gl and it is produced in
the User directory on Linux.
currently we boot from dos prompt by lwp command of Novell Netware
and we use the "Run prn <report file name>" in the 4gl program and it works
but if the user connects to Linux Server through Windows Xp by Putty or
Telnet the prn from 4gl program doesn't work.
how can we print 4gl report of Linux through Windows Client.
Kiran
On 9/18/08, Keith Simmons <smiley73@googlemail.com> wrote:
>
> 2008/9/18 Kiran Jaikar <kiranjaikar@gmail.com>:
> > How to print a report in IDS which is on RH Linux 5 Server
> > through Windows Xp client.
> >
> > can we use the Run command
> > i.e run "lp <file name>"
> >
> > but this doesn't work.
> >
> > Please help
> >
> >
> >
>
>
*******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
> >
> How is the report being produced and where? What is the client being
> used? IDS Version?
>
> So many questions, so few answers !!
>
> Keith
>
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.