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



The other option would be to setup Apache and use the hotlink feature of many 5250 emulators and link to a PDF stored on the web server. You must include the http:// in order for it to work.

--
Mike Wills
http://mikewills.info
P: (507) 933-0880 | Skype: koldark

Sent from my iPod

On Mar 22, 2010, at 6:16 PM, "Helge Bichel" <hbi@xxxxxxx> wrote:

I have this working by using FTP.

Docmdstring = 'STRPCCMD PCCMD(' + q
+ 'rundll32 url,FileProtocolHandler'
+ ' ftp://' + %trim(FtpRmtSys)
+ %trim(FtpRmtPth) + q
+ ') PAUSE(*NO)';
docmd(docmdstring);

It's a bit cumbersome procedure.
1. Copy the PDF from your IFS to a public dir on a FTP server with a random filename.
2. Issue the above STRPCCMD.
3. Do some cleanup on the FTP server.

This requires anonymous access to the FTP server because it's not
practically having the user logon to the server each time.
Anonymous FTP is an issue regarding security, but Easy400's SECTCP can help.

Hope this can lead you to a solution or getting other members of this list
to enhanced this solution.

Brgds
Helge






-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l- bounces@xxxxxxxxxxxx] On Behalf Of Alexander, April
Sent: Monday, March 22, 2010 10:03 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: View PDF document

All,
Can anyone tell me how to view a pdf document from a green screen. I have searched the internet over and cannot
seem to find an answer. The only way I believe it can be done is using STRPCCMD, which I do not want to use if at
all possible. Any help would be appreciated. This will be selected by entering an option from a subfile, allowing to
print, email, or view.

Thank you,
April
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.