|
On Wednesday 06 March 2002 9:07 am, Vernon Hamberg wrote: > You can map the IFS directory to a network drive on the PC. You don't > need to save it to the PC, unless you want to. > > Your green screen session can know what is the IP address of the user. > There is an API, QDCRDEVD (Retrieve Device Description), that can give > you this. There is sample code on the midrange-l web site. It might > even be mine. ;-) > > Then you would need an rexecd (remote execution server) on the PC. Or > maybe Client Access' Remote Execution feature can use TCP/IP - then > you're set. > > Then use RUNRMTCMD, using the IP address you got earlier, to start > Acrobat, pointing at the document on the mapped drive. > > This can all be done by the code that processes option 9, as I'm sure > you know. > > Hope this is helpful. > > Vern Been there, done that ;-) We use a customised version of one of my free utilities[1] that uses @riadne Software's CoolSpools/400[2] to do the conversion to pdf. In our case it's used by people dialling in through our RAS box that have the file copied locally first then fires up the Acrobat reader. It seems to work well with just one option (a 'P' in this case) to take against the spoolfile. Mind you, I don't know how you could achieve this without either a rexecd or FTP server on the client, and Stephane seemed to indicate that this wasn't what they wanted. Personally I really like RUNRMTCMD as long as it's on a LAN and reasonable security precautions are in place. Being able to open up a spoolfile in a 132x66 window on my Linux box from an AS/400 option is very handy :) Regards, Martin [1] http://www.dbg400.net/usroutq.html [2] http://www.ariadnesoftware.co.uk -- martin@dbg400.net jamaro@firstlinux.net http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X [this space for hire] ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
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.